diff --git a/.cursor/skills/admin-dev/SKILL.md b/.cursor/skills/admin-dev/SKILL.md index 17895041..b1a61e9e 100644 --- a/.cursor/skills/admin-dev/SKILL.md +++ b/.cursor/skills/admin-dev/SKILL.md @@ -114,7 +114,7 @@ alert('保存失败') - **鉴权**:登录后 token 存 localStorage(`admin_token`);请求头由 client 自动带 Bearer token;401 时跳转登录页并清除 token。 - **提现**:列表/统计用 `GET /api/admin/withdrawals`;审核/拒绝用 `PUT /api/admin/withdrawals`(如 action: approve/reject);状态与 soul-api 一致(如 pending、processing、success、failed),前端展示可映射为「已完成/已拒绝」等文案。 -- **用户/订单**:用户列表 `GET /api/db/users`;订单 `GET /api/orders`;字段名与 soul-api 返回一致(如 userNickname、userAvatar、status、amount)。 +- **用户/订单**:用户列表 `GET /api/db/users`;订单 `GET /api/admin/orders`;字段名与 soul-api 返回一致(如 userNickname、userAvatar、status、amount)。 - **内容/章节**:`/api/admin/chapters`、`/api/admin/content` 等 CRUD;配置类用 `/api/admin/settings`、`/api/admin/referral-settings`、`/api/db/config/full`。 - **列表与表格**:管理端列表需有 user_name/userNickname、userAvatar、status、amount 等字段以便通用展示;若 soul-api 返回字段不同,仅在管理端做字段映射,不修改 soul-api 的 miniprogram 接口。 diff --git a/soul-admin/dist/assets/index-GNzyAsgf.js b/soul-admin/dist/assets/index-BYFF7tY-.js similarity index 85% rename from soul-admin/dist/assets/index-GNzyAsgf.js rename to soul-admin/dist/assets/index-BYFF7tY-.js index 9faea2fa..48495b57 100644 --- a/soul-admin/dist/assets/index-GNzyAsgf.js +++ b/soul-admin/dist/assets/index-BYFF7tY-.js @@ -534,8 +534,8 @@ Error generating stack: `+S.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HA=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Fi=Ce("zap",HA),Tx="admin_token";function Mx(){try{return localStorage.getItem(Tx)}catch{return null}}function WA(t){try{localStorage.setItem(Tx,t)}catch{}}function UA(){try{localStorage.removeItem(Tx)}catch{}}const KA="https://soulapi.quwanzhi.com",qA=()=>{const t="https://soulapi.quwanzhi.com";return t.length>0?t.replace(/\/$/,""):KA};function Ha(t){const e=qA(),n=t.startsWith("/")?t:`/${t}`;return e?`${e}${n}`:n}async function Qh(t,e={}){const{data:n,...r}=e,s=Ha(t),a=new Headers(r.headers),o=Mx();o&&a.set("Authorization",`Bearer ${o}`),n!=null&&!a.has("Content-Type")&&a.set("Content-Type","application/json");const c=n!=null?JSON.stringify(n):r.body,u=await fetch(s,{...r,headers:a,body:c,credentials:"include"}),f=(u.headers.get("Content-Type")||"").includes("application/json")?await u.json():u;if(!u.ok){const m=new Error((f==null?void 0:f.error)||`HTTP ${u.status}`);throw m.status=u.status,m.data=f,m}return f}function Fe(t,e){return Qh(t,{...e,method:"GET"})}function mt(t,e,n){return Qh(t,{...n,method:"POST",data:e})}function _t(t,e,n){return Qh(t,{...n,method:"PUT",data:e})}function ss(t,e){return Qh(t,{...e,method:"DELETE"})}const GA=[{icon:IM,label:"数据概览",href:"/dashboard"},{icon:Hr,label:"内容管理",href:"/content"},{icon:Ln,label:"用户管理",href:"/users"},{icon:cM,label:"找伙伴",href:"/find-partner"},{icon:Xo,label:"推广中心",href:"/distribution"}];function JA(){const t=ra(),e=sa(),[n,r]=b.useState(!1),[s,a]=b.useState(!1);b.useEffect(()=>{r(!0)},[]),b.useEffect(()=>{if(!n)return;a(!1);let c=!1;return Fe("/api/admin").then(u=>{c||(u&&u.success!==!1?a(!0):e("/login",{replace:!0}))}).catch(()=>{c||e("/login",{replace:!0})}),()=>{c=!0}},[n,e]);const o=async()=>{UA();try{await mt("/api/admin/logout",{})}catch{}e("/login",{replace:!0})};return!n||!s?i.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[i.jsx("div",{className:"w-64 bg-[#0f2137] border-r border-gray-700/50"}),i.jsx("div",{className:"flex-1 flex items-center justify-center",children:i.jsx("div",{className:"text-[#38bdac]",children:"加载中..."})})]}):i.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[i.jsxs("div",{className:"w-64 bg-[#0f2137] flex flex-col border-r border-gray-700/50 shadow-xl",children:[i.jsxs("div",{className:"p-6 border-b border-gray-700/50",children:[i.jsx("h1",{className:"text-xl font-bold text-[#38bdac]",children:"管理后台"}),i.jsx("p",{className:"text-xs text-gray-400 mt-1",children:"Soul创业派对"})]}),i.jsxs("nav",{className:"flex-1 p-4 space-y-1 overflow-y-auto",children:[GA.map(c=>{const u=t.pathname===c.href;return i.jsxs(mg,{to:c.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${u?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[i.jsx(c.icon,{className:"w-5 h-5 shrink-0"}),i.jsx("span",{className:"text-sm",children:c.label})]},c.href)}),i.jsx("div",{className:"pt-4 mt-4 border-t border-gray-700/50",children:i.jsxs(mg,{to:"/settings",className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${t.pathname==="/settings"?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[i.jsx(_a,{className:"w-5 h-5 shrink-0"}),i.jsx("span",{className:"text-sm",children:"系统设置"})]})})]}),i.jsx("div",{className:"p-4 border-t border-gray-700/50 space-y-1",children:i.jsxs("button",{type:"button",onClick:o,className:"w-full flex items-center gap-3 px-4 py-3 text-gray-400 hover:text-white rounded-lg hover:bg-gray-700/50 transition-colors",children:[i.jsx(HM,{className:"w-5 h-5"}),i.jsx("span",{className:"text-sm",children:"退出登录"})]})})]}),i.jsx("div",{className:"flex-1 overflow-auto bg-[#0a1628] min-w-0",children:i.jsx("div",{className:"w-full min-w-[1024px] min-h-full",children:i.jsx(iT,{})})})]})}function Db(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Ax(...t){return e=>{let n=!1;const r=t.map(s=>{const a=Db(s,e);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let s=0;s{let{children:a,...o}=r;HN(a)&&typeof Qu=="function"&&(a=Qu(a._payload));const c=b.Children.toArray(a),u=c.find(eR);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return i.jsx(e,{...o,ref:s,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return i.jsx(e,{...o,ref:s,children:a})});return n.displayName=`${t}.Slot`,n}var UN=WN("Slot");function XA(t){const e=b.forwardRef((n,r)=>{let{children:s,...a}=n;if(HN(s)&&typeof Qu=="function"&&(s=Qu(s._payload)),b.isValidElement(s)){const o=nR(s),c=tR(a,s.props);return s.type!==b.Fragment&&(c.ref=r?Ax(r,o):o),b.cloneElement(s,c)}return b.Children.count(s)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var ZA=Symbol("radix.slottable");function eR(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===ZA}function tR(t,e){const n={...e};for(const r in e){const s=t[r],a=e[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...c)=>{const u=a(...c);return s(...c),u}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...t,...n}}function nR(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function KN(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;etypeof t=="boolean"?`${t}`:t===0?"0":t,_b=qN,GN=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return _b(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:a}=e,o=Object.keys(s).map(h=>{const f=n==null?void 0:n[h],m=a==null?void 0:a[h];if(f===null)return null;const g=Lb(f)||Lb(m);return s[h][g]}),c=n&&Object.entries(n).reduce((h,f)=>{let[m,g]=f;return g===void 0||(h[m]=g),h},{}),u=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((h,f)=>{let{class:m,className:g,...y}=f;return Object.entries(y).every(v=>{let[j,w]=v;return Array.isArray(w)?w.includes({...a,...c}[j]):{...a,...c}[j]===w})?[...h,m,g]:h},[]);return _b(t,o,u,n==null?void 0:n.class,n==null?void 0:n.className)},rR=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r({classGroupId:t,validator:e}),JN=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),Xu="-",zb=[],iR="arbitrary..",aR=t=>{const e=lR(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return oR(o);const c=o.split(Xu),u=c[0]===""&&c.length>1?1:0;return YN(c,u,e)},getConflictingClassGroupIds:(o,c)=>{if(c){const u=r[o],h=n[o];return u?h?rR(h,u):u:h||zb}return n[o]||zb}}},YN=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const s=t[e],a=n.nextPart.get(s);if(a){const h=YN(t,e+1,a);if(h)return h}const o=n.validators;if(o===null)return;const c=e===0?t.join(Xu):t.slice(e).join(Xu),u=o.length;for(let h=0;ht.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?iR+r:void 0})(),lR=t=>{const{theme:e,classGroups:n}=t;return cR(n,e)},cR=(t,e)=>{const n=JN();for(const r in t){const s=t[r];Rx(s,n,r,e)}return n},Rx=(t,e,n,r)=>{const s=t.length;for(let a=0;a{if(typeof t=="string"){uR(t,e,n);return}if(typeof t=="function"){hR(t,e,n,r);return}fR(t,e,n,r)},uR=(t,e,n)=>{const r=t===""?e:QN(e,t);r.classGroupId=n},hR=(t,e,n,r)=>{if(pR(t)){Rx(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(sR(n,t))},fR=(t,e,n,r)=>{const s=Object.entries(t),a=s.length;for(let o=0;o{let n=t;const r=e.split(Xu),s=r.length;for(let a=0;a"isThemeGetter"in t&&t.isThemeGetter===!0,mR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const s=(a,o)=>{n[a]=o,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(a){let o=n[a];if(o!==void 0)return o;if((o=r[a])!==void 0)return s(a,o),o},set(a,o){a in n?n[a]=o:s(a,o)}}},jg="!",$b=":",gR=[],Fb=(t,e,n,r,s)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),xR=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=s=>{const a=[];let o=0,c=0,u=0,h;const f=s.length;for(let j=0;ju?h-u:void 0;return Fb(a,y,g,v)};if(e){const s=e+$b,a=r;r=o=>o.startsWith(s)?a(o.slice(s.length)):Fb(gR,!1,o,void 0,!0)}if(n){const s=r;r=a=>n({className:a,parseClassName:s})}return r},yR=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let a=0;a0&&(s.sort(),r.push(...s),s=[]),r.push(o)):s.push(o)}return s.length>0&&(s.sort(),r.push(...s)),r}},vR=t=>({cache:mR(t.cacheSize),parseClassName:xR(t),sortModifiers:yR(t),...aR(t)}),bR=/\s+/,wR=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:a}=e,o=[],c=t.trim().split(bR);let u="";for(let h=c.length-1;h>=0;h-=1){const f=c[h],{isExternal:m,modifiers:g,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:j}=n(f);if(m){u=f+(u.length>0?" "+u:u);continue}let w=!!j,k=r(w?v.substring(0,j):v);if(!k){if(!w){u=f+(u.length>0?" "+u:u);continue}if(k=r(v),!k){u=f+(u.length>0?" "+u:u);continue}w=!1}const E=g.length===0?"":g.length===1?g[0]:a(g).join(":"),C=y?E+jg:E,T=C+k;if(o.indexOf(T)>-1)continue;o.push(T);const O=s(k,w);for(let B=0;B0?" "+u:u)}return u},NR=(...t)=>{let e=0,n,r,s="";for(;e{if(typeof t=="string")return t;let e,n="";for(let r=0;r{let n,r,s,a;const o=u=>{const h=e.reduce((f,m)=>m(f),t());return n=vR(h),r=n.cache.get,s=n.cache.set,a=c,c(u)},c=u=>{const h=r(u);if(h)return h;const f=wR(u,n);return s(u,f),f};return a=o,(...u)=>a(NR(...u))},kR=[],mn=t=>{const e=n=>n[t]||kR;return e.isThemeGetter=!0,e},ZN=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ej=/^\((?:(\w[\w-]*):)?(.+)\)$/i,SR=/^\d+\/\d+$/,CR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ER=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,TR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,MR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,AR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Po=t=>SR.test(t),it=t=>!!t&&!Number.isNaN(Number(t)),Ti=t=>!!t&&Number.isInteger(Number(t)),ym=t=>t.endsWith("%")&&it(t.slice(0,-1)),Hs=t=>CR.test(t),RR=()=>!0,PR=t=>ER.test(t)&&!TR.test(t),tj=()=>!1,IR=t=>MR.test(t),OR=t=>AR.test(t),DR=t=>!Le(t)&&!_e(t),LR=t=>cl(t,sj,tj),Le=t=>ZN.test(t),Ma=t=>cl(t,ij,PR),vm=t=>cl(t,BR,it),Bb=t=>cl(t,nj,tj),_R=t=>cl(t,rj,OR),hu=t=>cl(t,aj,IR),_e=t=>ej.test(t),Zl=t=>dl(t,ij),zR=t=>dl(t,VR),Vb=t=>dl(t,nj),$R=t=>dl(t,sj),FR=t=>dl(t,rj),fu=t=>dl(t,aj,!0),cl=(t,e,n)=>{const r=ZN.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},dl=(t,e,n=!1)=>{const r=ej.exec(t);return r?r[1]?e(r[1]):n:!1},nj=t=>t==="position"||t==="percentage",rj=t=>t==="image"||t==="url",sj=t=>t==="length"||t==="size"||t==="bg-size",ij=t=>t==="length",BR=t=>t==="number",VR=t=>t==="family-name",aj=t=>t==="shadow",HR=()=>{const t=mn("color"),e=mn("font"),n=mn("text"),r=mn("font-weight"),s=mn("tracking"),a=mn("leading"),o=mn("breakpoint"),c=mn("container"),u=mn("spacing"),h=mn("radius"),f=mn("shadow"),m=mn("inset-shadow"),g=mn("text-shadow"),y=mn("drop-shadow"),v=mn("blur"),j=mn("perspective"),w=mn("aspect"),k=mn("ease"),E=mn("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...T(),_e,Le],B=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],P=()=>[_e,Le,u],I=()=>[Po,"full","auto",...P()],L=()=>[Ti,"none","subgrid",_e,Le],X=()=>["auto",{span:["full",Ti,_e,Le]},Ti,_e,Le],Z=()=>[Ti,"auto",_e,Le],Y=()=>["auto","min","max","fr",_e,Le],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],D=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...P()],ae=()=>[Po,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],_=()=>[t,_e,Le],se=()=>[...T(),Vb,Bb,{position:[_e,Le]}],q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",$R,LR,{size:[_e,Le]}],H=()=>[ym,Zl,Ma],de=()=>["","none","full",h,_e,Le],K=()=>["",it,Zl,Ma],fe=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>[it,ym,Vb,Bb],ue=()=>["","none",v,_e,Le],ye=()=>["none",it,_e,Le],V=()=>["none",it,_e,Le],ge=()=>[it,_e,Le],Me=()=>[Po,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Hs],breakpoint:[Hs],color:[RR],container:[Hs],"drop-shadow":[Hs],ease:["in","out","in-out"],font:[DR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Hs],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Hs],shadow:[Hs],spacing:["px",it],text:[Hs],"text-shadow":[Hs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Po,Le,_e,w]}],container:["container"],columns:[{columns:[it,Le,_e,c]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Ti,"auto",_e,Le]}],basis:[{basis:[Po,"full","auto",c,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[it,Po,"auto","initial","none",Le]}],grow:[{grow:["",it,_e,Le]}],shrink:[{shrink:["",it,_e,Le]}],order:[{order:[Ti,"first","last","none",_e,Le]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Y()}],"auto-rows":[{"auto-rows":Y()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...D(),"normal"]}],"justify-self":[{"justify-self":["auto",...D()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...D(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...D(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...D(),"baseline"]}],"place-self":[{"place-self":["auto",...D()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:ae()}],w:[{w:[c,"screen",...ae()]}],"min-w":[{"min-w":[c,"screen","none",...ae()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...ae()]}],h:[{h:["screen","lh",...ae()]}],"min-h":[{"min-h":["screen","lh","none",...ae()]}],"max-h":[{"max-h":["screen","lh",...ae()]}],"font-size":[{text:["base",n,Zl,Ma]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,_e,vm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ym,Le]}],"font-family":[{font:[zR,Le,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,_e,Le]}],"line-clamp":[{"line-clamp":[it,"none",_e,vm]}],leading:[{leading:[a,...P()]}],"list-image":[{"list-image":["none",_e,Le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",_e,Le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:[it,"from-font","auto",_e,Ma]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[it,"auto",_e,Le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_e,Le]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_e,Le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:q()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ti,_e,Le],radial:["",_e,Le],conic:[Ti,_e,Le]},FR,_R]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:H()}],"gradient-via-pos":[{via:H()}],"gradient-to-pos":[{to:H()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...fe(),"hidden","none"]}],"divide-style":[{divide:[...fe(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...fe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[it,_e,Le]}],"outline-w":[{outline:["",it,Zl,Ma]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",f,fu,hu]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",m,fu,hu]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[it,Ma]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",g,fu,hu]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[it,_e,Le]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[it]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[_e,Le]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[it]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:q()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",_e,Le]}],filter:[{filter:["","none",_e,Le]}],blur:[{blur:ue()}],brightness:[{brightness:[it,_e,Le]}],contrast:[{contrast:[it,_e,Le]}],"drop-shadow":[{"drop-shadow":["","none",y,fu,hu]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",it,_e,Le]}],"hue-rotate":[{"hue-rotate":[it,_e,Le]}],invert:[{invert:["",it,_e,Le]}],saturate:[{saturate:[it,_e,Le]}],sepia:[{sepia:["",it,_e,Le]}],"backdrop-filter":[{"backdrop-filter":["","none",_e,Le]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[it,_e,Le]}],"backdrop-contrast":[{"backdrop-contrast":[it,_e,Le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",it,_e,Le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[it,_e,Le]}],"backdrop-invert":[{"backdrop-invert":["",it,_e,Le]}],"backdrop-opacity":[{"backdrop-opacity":[it,_e,Le]}],"backdrop-saturate":[{"backdrop-saturate":[it,_e,Le]}],"backdrop-sepia":[{"backdrop-sepia":["",it,_e,Le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",_e,Le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[it,"initial",_e,Le]}],ease:[{ease:["linear","initial",k,_e,Le]}],delay:[{delay:[it,_e,Le]}],animate:[{animate:["none",E,_e,Le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,_e,Le]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:ge()}],"skew-x":[{"skew-x":ge()}],"skew-y":[{"skew-y":ge()}],transform:[{transform:[_e,Le,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Me()}],"translate-x":[{"translate-x":Me()}],"translate-y":[{"translate-y":Me()}],"translate-z":[{"translate-z":Me()}],"translate-none":["translate-none"],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_e,Le]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_e,Le]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[it,Zl,Ma,vm]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},WR=jR(HR);function bt(...t){return WR(qN(t))}const UR=GN("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function ne({className:t,variant:e,size:n,asChild:r=!1,...s}){const a=r?UN:"button";return i.jsx(a,{"data-slot":"button",className:bt(UR({variant:e,size:n,className:t})),...s})}function ce({className:t,type:e,...n}){return i.jsx("input",{type:e,"data-slot":"input",className:bt("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 md:text-sm focus-visible:ring-2 focus-visible:ring-ring",t),...n})}function KR(){const t=sa(),[e,n]=b.useState(""),[r,s]=b.useState(""),[a,o]=b.useState(""),[c,u]=b.useState(!1),h=async()=>{o(""),u(!0);try{const f=await mt("/api/admin",{username:e.trim(),password:r});if((f==null?void 0:f.success)!==!1&&(f!=null&&f.token)){WA(f.token),t("/dashboard",{replace:!0});return}o(f.error||"用户名或密码错误")}catch(f){const m=f;o(m.status===401?"用户名或密码错误":(m==null?void 0:m.message)||"网络错误,请重试")}finally{u(!1)}};return i.jsxs("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-4",children:[i.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[i.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-[#38bdac]/5 rounded-full blur-3xl"}),i.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-blue-500/5 rounded-full blur-3xl"})]}),i.jsxs("div",{className:"w-full max-w-md relative z-10",children:[i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("div",{className:"w-16 h-16 bg-[#38bdac]/20 rounded-2xl flex items-center justify-center mx-auto mb-4 border border-[#38bdac]/30",children:i.jsx(Ex,{className:"w-8 h-8 text-[#38bdac]"})}),i.jsx("h1",{className:"text-2xl font-bold text-white mb-2",children:"管理后台"}),i.jsx("p",{className:"text-gray-400",children:"一场SOUL的创业实验场"})]}),i.jsxs("div",{className:"bg-[#0f2137] rounded-2xl p-8 shadow-xl border border-gray-700/50 backdrop-blur-xl",children:[i.jsx("h2",{className:"text-xl font-semibold text-white mb-6 text-center",children:"管理员登录"}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"用户名"}),i.jsxs("div",{className:"relative",children:[i.jsx(qo,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),i.jsx(ce,{type:"text",value:e,onChange:f=>n(f.target.value),placeholder:"请输入用户名",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]"})]})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"密码"}),i.jsxs("div",{className:"relative",children:[i.jsx(BM,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),i.jsx(ce,{type:"password",value:r,onChange:f=>s(f.target.value),placeholder:"请输入密码",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]",onKeyDown:f=>f.key==="Enter"&&h()})]})]}),a&&i.jsx("div",{className:"bg-red-500/10 text-red-400 text-sm p-3 rounded-lg border border-red-500/20",children:a}),i.jsx(ne,{onClick:h,disabled:c,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white py-5 disabled:opacity-50",children:c?"登录中...":"登录"})]})]}),i.jsx("p",{className:"text-center text-gray-500 text-xs mt-6",children:"Soul创业实验场 · 后台管理系统"})]})]})}const Ae=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("rounded-xl border bg-card text-card-foreground shadow",t),...e}));Ae.displayName="Card";const Xe=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("flex flex-col space-y-1.5 p-6",t),...e}));Xe.displayName="CardHeader";const Ze=b.forwardRef(({className:t,...e},n)=>i.jsx("h3",{ref:n,className:bt("font-semibold leading-none tracking-tight",t),...e}));Ze.displayName="CardTitle";const zt=b.forwardRef(({className:t,...e},n)=>i.jsx("p",{ref:n,className:bt("text-sm text-muted-foreground",t),...e}));zt.displayName="CardDescription";const Re=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("p-6 pt-0",t),...e}));Re.displayName="CardContent";const qR=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("flex items-center p-6 pt-0",t),...e}));qR.displayName="CardFooter";const GR={success:{bg:"#f0fdf4",border:"#22c55e",icon:"✓"},error:{bg:"#fef2f2",border:"#ef4444",icon:"✕"},info:{bg:"#eff6ff",border:"#3b82f6",icon:"ℹ"}};function bm(t,e="info",n=3e3){const r=`toast-${Date.now()}`,s=GR[e],a=document.createElement("div");a.id=r,a.setAttribute("role","alert"),Object.assign(a.style,{position:"fixed",top:"24px",right:"24px",zIndex:"9999",display:"flex",alignItems:"center",gap:"10px",padding:"12px 18px",borderRadius:"10px",background:s.bg,border:`1.5px solid ${s.border}`,boxShadow:"0 4px 20px rgba(0,0,0,.12)",fontSize:"14px",color:"#1a1a1a",fontWeight:"500",maxWidth:"380px",lineHeight:"1.5",opacity:"0",transform:"translateY(-8px)",transition:"opacity .22s ease, transform .22s ease",pointerEvents:"none"});const o=document.createElement("span");Object.assign(o.style,{width:"20px",height:"20px",borderRadius:"50%",background:s.border,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",fontWeight:"700",flexShrink:"0"}),o.textContent=s.icon;const c=document.createElement("span");c.textContent=t,a.appendChild(o),a.appendChild(c),document.body.appendChild(a),requestAnimationFrame(()=>{a.style.opacity="1",a.style.transform="translateY(0)"});const u=setTimeout(()=>h(r),n);function h(f){clearTimeout(u);const m=document.getElementById(f);m&&(m.style.opacity="0",m.style.transform="translateY(-8px)",setTimeout(()=>{var g;return(g=m.parentNode)==null?void 0:g.removeChild(m)},250))}}const he={success:(t,e)=>bm(t,"success",e),error:(t,e)=>bm(t,"error",e),info:(t,e)=>bm(t,"info",e)};function rt(t,e,{checkForDefaultPrevented:n=!0}={}){return function(s){if(t==null||t(s),n===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function JR(t,e){const n=b.createContext(e),r=a=>{const{children:o,...c}=a,u=b.useMemo(()=>c,Object.values(c));return i.jsx(n.Provider,{value:u,children:o})};r.displayName=t+"Provider";function s(a){const o=b.useContext(n);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${t}\``)}return[r,s]}function ia(t,e=[]){let n=[];function r(a,o){const c=b.createContext(o),u=n.length;n=[...n,o];const h=m=>{var k;const{scope:g,children:y,...v}=m,j=((k=g==null?void 0:g[t])==null?void 0:k[u])||c,w=b.useMemo(()=>v,Object.values(v));return i.jsx(j.Provider,{value:w,children:y})};h.displayName=a+"Provider";function f(m,g){var j;const y=((j=g==null?void 0:g[t])==null?void 0:j[u])||c,v=b.useContext(y);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${a}\``)}return[h,f]}const s=()=>{const a=n.map(o=>b.createContext(o));return function(c){const u=(c==null?void 0:c[t])||a;return b.useMemo(()=>({[`__scope${t}`]:{...c,[t]:u}}),[c,u])}};return s.scopeName=t,[r,YR(s,...e)]}function YR(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const o=r.reduce((c,{useScope:u,scopeName:h})=>{const m=u(a)[`__scope${h}`];return{...c,...m}},{});return b.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return n.scopeName=e.scopeName,n}var Un=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},QR=Jh[" useId ".trim().toString()]||(()=>{}),XR=0;function Ki(t){const[e,n]=b.useState(QR());return Un(()=>{n(r=>r??String(XR++))},[t]),e?`radix-${e}`:""}var ZR=Jh[" useInsertionEffect ".trim().toString()]||Un;function Wa({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[s,a,o]=e5({defaultProp:e,onChange:n}),c=t!==void 0,u=c?t:s;{const f=b.useRef(t!==void 0);b.useEffect(()=>{const m=f.current;m!==c&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=c},[c,r])}const h=b.useCallback(f=>{var m;if(c){const g=t5(f)?f(t):f;g!==t&&((m=o.current)==null||m.call(o,g))}else a(f)},[c,t,a,o]);return[u,h]}function e5({defaultProp:t,onChange:e}){const[n,r]=b.useState(t),s=b.useRef(n),a=b.useRef(e);return ZR(()=>{a.current=e},[e]),b.useEffect(()=>{var o;s.current!==n&&((o=a.current)==null||o.call(a,n),s.current=n)},[n,s]),[n,r,a]}function t5(t){return typeof t=="function"}function Mc(t){const e=n5(t),n=b.forwardRef((r,s)=>{const{children:a,...o}=r,c=b.Children.toArray(a),u=c.find(s5);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return i.jsx(e,{...o,ref:s,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return i.jsx(e,{...o,ref:s,children:a})});return n.displayName=`${t}.Slot`,n}function n5(t){const e=b.forwardRef((n,r)=>{const{children:s,...a}=n;if(b.isValidElement(s)){const o=a5(s),c=i5(a,s.props);return s.type!==b.Fragment&&(c.ref=r?Ax(r,o):o),b.cloneElement(s,c)}return b.Children.count(s)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var r5=Symbol("radix.slottable");function s5(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===r5}function i5(t,e){const n={...e};for(const r in e){const s=t[r],a=e[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...c)=>{const u=a(...c);return s(...c),u}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...t,...n}}function a5(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var o5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],at=o5.reduce((t,e)=>{const n=Mc(`Primitive.${e}`),r=b.forwardRef((s,a)=>{const{asChild:o,...c}=s,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function l5(t,e){t&&Wc.flushSync(()=>t.dispatchEvent(e))}function Qi(t){const e=b.useRef(t);return b.useEffect(()=>{e.current=t}),b.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function c5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t);b.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var d5="DismissableLayer",kg="dismissableLayer.update",u5="dismissableLayer.pointerDownOutside",h5="dismissableLayer.focusOutside",Hb,oj=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Px=b.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:o,onDismiss:c,...u}=t,h=b.useContext(oj),[f,m]=b.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=b.useState({}),v=vt(e,R=>m(R)),j=Array.from(h.layers),[w]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=j.indexOf(w),E=f?j.indexOf(f):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,T=E>=k,O=m5(R=>{const P=R.target,I=[...h.branches].some(L=>L.contains(P));!T||I||(s==null||s(R),o==null||o(R),R.defaultPrevented||c==null||c())},g),B=g5(R=>{const P=R.target;[...h.branches].some(L=>L.contains(P))||(a==null||a(R),o==null||o(R),R.defaultPrevented||c==null||c())},g);return c5(R=>{E===h.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&c&&(R.preventDefault(),c()))},g),b.useEffect(()=>{if(f)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Hb=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),Wb(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Hb)}},[f,g,n,h]),b.useEffect(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),Wb())},[f,h]),b.useEffect(()=>{const R=()=>y({});return document.addEventListener(kg,R),()=>document.removeEventListener(kg,R)},[]),i.jsx(at.div,{...u,ref:v,style:{pointerEvents:C?T?"auto":"none":void 0,...t.style},onFocusCapture:rt(t.onFocusCapture,B.onFocusCapture),onBlurCapture:rt(t.onBlurCapture,B.onBlurCapture),onPointerDownCapture:rt(t.onPointerDownCapture,O.onPointerDownCapture)})});Px.displayName=d5;var f5="DismissableLayerBranch",p5=b.forwardRef((t,e)=>{const n=b.useContext(oj),r=b.useRef(null),s=vt(e,r);return b.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),i.jsx(at.div,{...t,ref:s})});p5.displayName=f5;function m5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t),r=b.useRef(!1),s=b.useRef(()=>{});return b.useEffect(()=>{const a=c=>{if(c.target&&!r.current){let u=function(){lj(u5,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=u,e.addEventListener("click",s.current,{once:!0})):u()}else e.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",a),e.removeEventListener("click",s.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function g5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t),r=b.useRef(!1);return b.useEffect(()=>{const s=a=>{a.target&&!r.current&&lj(h5,n,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Wb(){const t=new CustomEvent(kg);document.dispatchEvent(t)}function lj(t,e,n,{discrete:r}){const s=n.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&s.addEventListener(t,e,{once:!0}),r?l5(s,a):s.dispatchEvent(a)}var wm="focusScope.autoFocusOnMount",Nm="focusScope.autoFocusOnUnmount",Ub={bubbles:!1,cancelable:!0},x5="FocusScope",Ix=b.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:a,...o}=t,[c,u]=b.useState(null),h=Qi(s),f=Qi(a),m=b.useRef(null),g=vt(e,j=>u(j)),y=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let j=function(C){if(y.paused||!c)return;const T=C.target;c.contains(T)?m.current=T:Ri(m.current,{select:!0})},w=function(C){if(y.paused||!c)return;const T=C.relatedTarget;T!==null&&(c.contains(T)||Ri(m.current,{select:!0}))},k=function(C){if(document.activeElement===document.body)for(const O of C)O.removedNodes.length>0&&Ri(c)};document.addEventListener("focusin",j),document.addEventListener("focusout",w);const E=new MutationObserver(k);return c&&E.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",j),document.removeEventListener("focusout",w),E.disconnect()}}},[r,c,y.paused]),b.useEffect(()=>{if(c){qb.add(y);const j=document.activeElement;if(!c.contains(j)){const k=new CustomEvent(wm,Ub);c.addEventListener(wm,h),c.dispatchEvent(k),k.defaultPrevented||(y5(j5(cj(c)),{select:!0}),document.activeElement===j&&Ri(c))}return()=>{c.removeEventListener(wm,h),setTimeout(()=>{const k=new CustomEvent(Nm,Ub);c.addEventListener(Nm,f),c.dispatchEvent(k),k.defaultPrevented||Ri(j??document.body,{select:!0}),c.removeEventListener(Nm,f),qb.remove(y)},0)}}},[c,h,f,y]);const v=b.useCallback(j=>{if(!n&&!r||y.paused)return;const w=j.key==="Tab"&&!j.altKey&&!j.ctrlKey&&!j.metaKey,k=document.activeElement;if(w&&k){const E=j.currentTarget,[C,T]=v5(E);C&&T?!j.shiftKey&&k===T?(j.preventDefault(),n&&Ri(C,{select:!0})):j.shiftKey&&k===C&&(j.preventDefault(),n&&Ri(T,{select:!0})):k===E&&j.preventDefault()}},[n,r,y.paused]);return i.jsx(at.div,{tabIndex:-1,...o,ref:g,onKeyDown:v})});Ix.displayName=x5;function y5(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(Ri(r,{select:e}),document.activeElement!==n)return}function v5(t){const e=cj(t),n=Kb(e,t),r=Kb(e.reverse(),t);return[n,r]}function cj(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function Kb(t,e){for(const n of t)if(!b5(n,{upTo:e}))return n}function b5(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function w5(t){return t instanceof HTMLInputElement&&"select"in t}function Ri(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&w5(t)&&e&&t.select()}}var qb=N5();function N5(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=Gb(t,e),t.unshift(e)},remove(e){var n;t=Gb(t,e),(n=t[0])==null||n.resume()}}}function Gb(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function j5(t){return t.filter(e=>e.tagName!=="A")}var k5="Portal",Ox=b.forwardRef((t,e)=>{var c;const{container:n,...r}=t,[s,a]=b.useState(!1);Un(()=>a(!0),[]);const o=n||s&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?jN.createPortal(i.jsx(at.div,{...r,ref:e}),o):null});Ox.displayName=k5;function S5(t,e){return b.useReducer((n,r)=>e[n][r]??n,t)}var Kc=t=>{const{present:e,children:n}=t,r=C5(e),s=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),a=vt(r.ref,E5(s));return typeof n=="function"||r.isPresent?b.cloneElement(s,{ref:a}):null};Kc.displayName="Presence";function C5(t){const[e,n]=b.useState(),r=b.useRef(null),s=b.useRef(t),a=b.useRef("none"),o=t?"mounted":"unmounted",[c,u]=S5(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const h=pu(r.current);a.current=c==="mounted"?h:"none"},[c]),Un(()=>{const h=r.current,f=s.current;if(f!==t){const g=a.current,y=pu(h);t?u("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?u("UNMOUNT"):u(f&&g!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,u]),Un(()=>{if(e){let h;const f=e.ownerDocument.defaultView??window,m=y=>{const j=pu(r.current).includes(CSS.escape(y.animationName));if(y.target===e&&j&&(u("ANIMATION_END"),!s.current)){const w=e.style.animationFillMode;e.style.animationFillMode="forwards",h=f.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=w)})}},g=y=>{y.target===e&&(a.current=pu(r.current))};return e.addEventListener("animationstart",g),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{f.clearTimeout(h),e.removeEventListener("animationstart",g),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:b.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function pu(t){return(t==null?void 0:t.animationName)||"none"}function E5(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var jm=0;function dj(){b.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??Jb()),document.body.insertAdjacentElement("beforeend",t[1]??Jb()),jm++,()=>{jm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),jm--}},[])}function Jb(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var js=function(){return js=Object.assign||function(e){for(var n,r=1,s=arguments.length;r"u")return W5;var e=U5(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},q5=pj(),Go="data-scroll-locked",G5=function(t,e,n,r){var s=t.left,a=t.top,o=t.right,c=t.gap;return n===void 0&&(n="margin"),` - .`.concat(M5,` { + */const HA=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Fi=Ce("zap",HA),Tx="admin_token";function Mx(){try{return localStorage.getItem(Tx)}catch{return null}}function WA(t){try{localStorage.setItem(Tx,t)}catch{}}function UA(){try{localStorage.removeItem(Tx)}catch{}}const KA="https://soulapi.quwanzhi.com",qA=15e3,GA=()=>{const t="https://soulapi.quwanzhi.com";return t.length>0?t.replace(/\/$/,""):KA};function Ha(t){const e=GA(),n=t.startsWith("/")?t:`/${t}`;return e?`${e}${n}`:n}async function Qh(t,e={}){const{data:n,...r}=e,s=Ha(t),a=new Headers(r.headers),o=Mx();o&&a.set("Authorization",`Bearer ${o}`),n!=null&&!a.has("Content-Type")&&a.set("Content-Type","application/json");const c=n!=null?JSON.stringify(n):r.body,u=new AbortController,h=setTimeout(()=>u.abort(),qA),f=await fetch(s,{...r,headers:a,body:c,credentials:"include",signal:u.signal}).finally(()=>clearTimeout(h)),g=(f.headers.get("Content-Type")||"").includes("application/json")?await f.json():f;if(!f.ok){const y=new Error((g==null?void 0:g.error)||`HTTP ${f.status}`);throw y.status=f.status,y.data=g,y}return g}function Fe(t,e){return Qh(t,{...e,method:"GET"})}function mt(t,e,n){return Qh(t,{...n,method:"POST",data:e})}function _t(t,e,n){return Qh(t,{...n,method:"PUT",data:e})}function ss(t,e){return Qh(t,{...e,method:"DELETE"})}const JA=[{icon:IM,label:"数据概览",href:"/dashboard"},{icon:Hr,label:"内容管理",href:"/content"},{icon:Ln,label:"用户管理",href:"/users"},{icon:cM,label:"找伙伴",href:"/find-partner"},{icon:Xo,label:"推广中心",href:"/distribution"}];function YA(){const t=ra(),e=sa(),[n,r]=b.useState(!1),[s,a]=b.useState(!1);b.useEffect(()=>{r(!0)},[]),b.useEffect(()=>{if(!n)return;a(!1);let c=!1;return Fe("/api/admin").then(u=>{c||(u&&u.success!==!1?a(!0):e("/login",{replace:!0}))}).catch(()=>{c||e("/login",{replace:!0})}),()=>{c=!0}},[n,e]);const o=async()=>{UA();try{await mt("/api/admin/logout",{})}catch{}e("/login",{replace:!0})};return!n||!s?i.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[i.jsx("div",{className:"w-64 bg-[#0f2137] border-r border-gray-700/50"}),i.jsx("div",{className:"flex-1 flex items-center justify-center",children:i.jsx("div",{className:"text-[#38bdac]",children:"加载中..."})})]}):i.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[i.jsxs("div",{className:"w-64 bg-[#0f2137] flex flex-col border-r border-gray-700/50 shadow-xl",children:[i.jsxs("div",{className:"p-6 border-b border-gray-700/50",children:[i.jsx("h1",{className:"text-xl font-bold text-[#38bdac]",children:"管理后台"}),i.jsx("p",{className:"text-xs text-gray-400 mt-1",children:"Soul创业派对"})]}),i.jsxs("nav",{className:"flex-1 p-4 space-y-1 overflow-y-auto",children:[JA.map(c=>{const u=t.pathname===c.href;return i.jsxs(mg,{to:c.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${u?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[i.jsx(c.icon,{className:"w-5 h-5 shrink-0"}),i.jsx("span",{className:"text-sm",children:c.label})]},c.href)}),i.jsx("div",{className:"pt-4 mt-4 border-t border-gray-700/50",children:i.jsxs(mg,{to:"/settings",className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${t.pathname==="/settings"?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[i.jsx(_a,{className:"w-5 h-5 shrink-0"}),i.jsx("span",{className:"text-sm",children:"系统设置"})]})})]}),i.jsx("div",{className:"p-4 border-t border-gray-700/50 space-y-1",children:i.jsxs("button",{type:"button",onClick:o,className:"w-full flex items-center gap-3 px-4 py-3 text-gray-400 hover:text-white rounded-lg hover:bg-gray-700/50 transition-colors",children:[i.jsx(HM,{className:"w-5 h-5"}),i.jsx("span",{className:"text-sm",children:"退出登录"})]})})]}),i.jsx("div",{className:"flex-1 overflow-auto bg-[#0a1628] min-w-0",children:i.jsx("div",{className:"w-full min-w-[1024px] min-h-full",children:i.jsx(iT,{})})})]})}function Db(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Ax(...t){return e=>{let n=!1;const r=t.map(s=>{const a=Db(s,e);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let s=0;s{let{children:a,...o}=r;HN(a)&&typeof Qu=="function"&&(a=Qu(a._payload));const c=b.Children.toArray(a),u=c.find(tR);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return i.jsx(e,{...o,ref:s,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return i.jsx(e,{...o,ref:s,children:a})});return n.displayName=`${t}.Slot`,n}var UN=WN("Slot");function ZA(t){const e=b.forwardRef((n,r)=>{let{children:s,...a}=n;if(HN(s)&&typeof Qu=="function"&&(s=Qu(s._payload)),b.isValidElement(s)){const o=rR(s),c=nR(a,s.props);return s.type!==b.Fragment&&(c.ref=r?Ax(r,o):o),b.cloneElement(s,c)}return b.Children.count(s)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var eR=Symbol("radix.slottable");function tR(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===eR}function nR(t,e){const n={...e};for(const r in e){const s=t[r],a=e[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...c)=>{const u=a(...c);return s(...c),u}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...t,...n}}function rR(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function KN(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;etypeof t=="boolean"?`${t}`:t===0?"0":t,_b=qN,GN=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return _b(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:a}=e,o=Object.keys(s).map(h=>{const f=n==null?void 0:n[h],m=a==null?void 0:a[h];if(f===null)return null;const g=Lb(f)||Lb(m);return s[h][g]}),c=n&&Object.entries(n).reduce((h,f)=>{let[m,g]=f;return g===void 0||(h[m]=g),h},{}),u=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((h,f)=>{let{class:m,className:g,...y}=f;return Object.entries(y).every(v=>{let[j,w]=v;return Array.isArray(w)?w.includes({...a,...c}[j]):{...a,...c}[j]===w})?[...h,m,g]:h},[]);return _b(t,o,u,n==null?void 0:n.class,n==null?void 0:n.className)},sR=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r({classGroupId:t,validator:e}),JN=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),Xu="-",zb=[],aR="arbitrary..",oR=t=>{const e=cR(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return lR(o);const c=o.split(Xu),u=c[0]===""&&c.length>1?1:0;return YN(c,u,e)},getConflictingClassGroupIds:(o,c)=>{if(c){const u=r[o],h=n[o];return u?h?sR(h,u):u:h||zb}return n[o]||zb}}},YN=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const s=t[e],a=n.nextPart.get(s);if(a){const h=YN(t,e+1,a);if(h)return h}const o=n.validators;if(o===null)return;const c=e===0?t.join(Xu):t.slice(e).join(Xu),u=o.length;for(let h=0;ht.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?aR+r:void 0})(),cR=t=>{const{theme:e,classGroups:n}=t;return dR(n,e)},dR=(t,e)=>{const n=JN();for(const r in t){const s=t[r];Rx(s,n,r,e)}return n},Rx=(t,e,n,r)=>{const s=t.length;for(let a=0;a{if(typeof t=="string"){hR(t,e,n);return}if(typeof t=="function"){fR(t,e,n,r);return}pR(t,e,n,r)},hR=(t,e,n)=>{const r=t===""?e:QN(e,t);r.classGroupId=n},fR=(t,e,n,r)=>{if(mR(t)){Rx(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(iR(n,t))},pR=(t,e,n,r)=>{const s=Object.entries(t),a=s.length;for(let o=0;o{let n=t;const r=e.split(Xu),s=r.length;for(let a=0;a"isThemeGetter"in t&&t.isThemeGetter===!0,gR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const s=(a,o)=>{n[a]=o,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(a){let o=n[a];if(o!==void 0)return o;if((o=r[a])!==void 0)return s(a,o),o},set(a,o){a in n?n[a]=o:s(a,o)}}},jg="!",$b=":",xR=[],Fb=(t,e,n,r,s)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),yR=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=s=>{const a=[];let o=0,c=0,u=0,h;const f=s.length;for(let j=0;ju?h-u:void 0;return Fb(a,y,g,v)};if(e){const s=e+$b,a=r;r=o=>o.startsWith(s)?a(o.slice(s.length)):Fb(xR,!1,o,void 0,!0)}if(n){const s=r;r=a=>n({className:a,parseClassName:s})}return r},vR=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let a=0;a0&&(s.sort(),r.push(...s),s=[]),r.push(o)):s.push(o)}return s.length>0&&(s.sort(),r.push(...s)),r}},bR=t=>({cache:gR(t.cacheSize),parseClassName:yR(t),sortModifiers:vR(t),...oR(t)}),wR=/\s+/,NR=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:a}=e,o=[],c=t.trim().split(wR);let u="";for(let h=c.length-1;h>=0;h-=1){const f=c[h],{isExternal:m,modifiers:g,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:j}=n(f);if(m){u=f+(u.length>0?" "+u:u);continue}let w=!!j,k=r(w?v.substring(0,j):v);if(!k){if(!w){u=f+(u.length>0?" "+u:u);continue}if(k=r(v),!k){u=f+(u.length>0?" "+u:u);continue}w=!1}const E=g.length===0?"":g.length===1?g[0]:a(g).join(":"),C=y?E+jg:E,T=C+k;if(o.indexOf(T)>-1)continue;o.push(T);const O=s(k,w);for(let B=0;B0?" "+u:u)}return u},jR=(...t)=>{let e=0,n,r,s="";for(;e{if(typeof t=="string")return t;let e,n="";for(let r=0;r{let n,r,s,a;const o=u=>{const h=e.reduce((f,m)=>m(f),t());return n=bR(h),r=n.cache.get,s=n.cache.set,a=c,c(u)},c=u=>{const h=r(u);if(h)return h;const f=NR(u,n);return s(u,f),f};return a=o,(...u)=>a(jR(...u))},SR=[],mn=t=>{const e=n=>n[t]||SR;return e.isThemeGetter=!0,e},ZN=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ej=/^\((?:(\w[\w-]*):)?(.+)\)$/i,CR=/^\d+\/\d+$/,ER=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,TR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,MR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,AR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,RR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Po=t=>CR.test(t),it=t=>!!t&&!Number.isNaN(Number(t)),Ti=t=>!!t&&Number.isInteger(Number(t)),ym=t=>t.endsWith("%")&&it(t.slice(0,-1)),Hs=t=>ER.test(t),PR=()=>!0,IR=t=>TR.test(t)&&!MR.test(t),tj=()=>!1,OR=t=>AR.test(t),DR=t=>RR.test(t),LR=t=>!Le(t)&&!_e(t),_R=t=>cl(t,sj,tj),Le=t=>ZN.test(t),Ma=t=>cl(t,ij,IR),vm=t=>cl(t,VR,it),Bb=t=>cl(t,nj,tj),zR=t=>cl(t,rj,DR),hu=t=>cl(t,aj,OR),_e=t=>ej.test(t),Zl=t=>dl(t,ij),$R=t=>dl(t,HR),Vb=t=>dl(t,nj),FR=t=>dl(t,sj),BR=t=>dl(t,rj),fu=t=>dl(t,aj,!0),cl=(t,e,n)=>{const r=ZN.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},dl=(t,e,n=!1)=>{const r=ej.exec(t);return r?r[1]?e(r[1]):n:!1},nj=t=>t==="position"||t==="percentage",rj=t=>t==="image"||t==="url",sj=t=>t==="length"||t==="size"||t==="bg-size",ij=t=>t==="length",VR=t=>t==="number",HR=t=>t==="family-name",aj=t=>t==="shadow",WR=()=>{const t=mn("color"),e=mn("font"),n=mn("text"),r=mn("font-weight"),s=mn("tracking"),a=mn("leading"),o=mn("breakpoint"),c=mn("container"),u=mn("spacing"),h=mn("radius"),f=mn("shadow"),m=mn("inset-shadow"),g=mn("text-shadow"),y=mn("drop-shadow"),v=mn("blur"),j=mn("perspective"),w=mn("aspect"),k=mn("ease"),E=mn("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...T(),_e,Le],B=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],P=()=>[_e,Le,u],I=()=>[Po,"full","auto",...P()],L=()=>[Ti,"none","subgrid",_e,Le],X=()=>["auto",{span:["full",Ti,_e,Le]},Ti,_e,Le],Z=()=>[Ti,"auto",_e,Le],Y=()=>["auto","min","max","fr",_e,Le],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],D=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...P()],ae=()=>[Po,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],_=()=>[t,_e,Le],se=()=>[...T(),Vb,Bb,{position:[_e,Le]}],q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",FR,_R,{size:[_e,Le]}],H=()=>[ym,Zl,Ma],de=()=>["","none","full",h,_e,Le],K=()=>["",it,Zl,Ma],fe=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>[it,ym,Vb,Bb],ue=()=>["","none",v,_e,Le],ye=()=>["none",it,_e,Le],V=()=>["none",it,_e,Le],ge=()=>[it,_e,Le],Me=()=>[Po,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Hs],breakpoint:[Hs],color:[PR],container:[Hs],"drop-shadow":[Hs],ease:["in","out","in-out"],font:[LR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Hs],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Hs],shadow:[Hs],spacing:["px",it],text:[Hs],"text-shadow":[Hs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Po,Le,_e,w]}],container:["container"],columns:[{columns:[it,Le,_e,c]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Ti,"auto",_e,Le]}],basis:[{basis:[Po,"full","auto",c,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[it,Po,"auto","initial","none",Le]}],grow:[{grow:["",it,_e,Le]}],shrink:[{shrink:["",it,_e,Le]}],order:[{order:[Ti,"first","last","none",_e,Le]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Y()}],"auto-rows":[{"auto-rows":Y()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...D(),"normal"]}],"justify-self":[{"justify-self":["auto",...D()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...D(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...D(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...D(),"baseline"]}],"place-self":[{"place-self":["auto",...D()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:ae()}],w:[{w:[c,"screen",...ae()]}],"min-w":[{"min-w":[c,"screen","none",...ae()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...ae()]}],h:[{h:["screen","lh",...ae()]}],"min-h":[{"min-h":["screen","lh","none",...ae()]}],"max-h":[{"max-h":["screen","lh",...ae()]}],"font-size":[{text:["base",n,Zl,Ma]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,_e,vm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ym,Le]}],"font-family":[{font:[$R,Le,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,_e,Le]}],"line-clamp":[{"line-clamp":[it,"none",_e,vm]}],leading:[{leading:[a,...P()]}],"list-image":[{"list-image":["none",_e,Le]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",_e,Le]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:[it,"from-font","auto",_e,Ma]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[it,"auto",_e,Le]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_e,Le]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_e,Le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:q()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ti,_e,Le],radial:["",_e,Le],conic:[Ti,_e,Le]},BR,zR]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:H()}],"gradient-via-pos":[{via:H()}],"gradient-to-pos":[{to:H()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...fe(),"hidden","none"]}],"divide-style":[{divide:[...fe(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...fe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[it,_e,Le]}],"outline-w":[{outline:["",it,Zl,Ma]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",f,fu,hu]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",m,fu,hu]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[it,Ma]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",g,fu,hu]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[it,_e,Le]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[it]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[_e,Le]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[it]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:q()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",_e,Le]}],filter:[{filter:["","none",_e,Le]}],blur:[{blur:ue()}],brightness:[{brightness:[it,_e,Le]}],contrast:[{contrast:[it,_e,Le]}],"drop-shadow":[{"drop-shadow":["","none",y,fu,hu]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",it,_e,Le]}],"hue-rotate":[{"hue-rotate":[it,_e,Le]}],invert:[{invert:["",it,_e,Le]}],saturate:[{saturate:[it,_e,Le]}],sepia:[{sepia:["",it,_e,Le]}],"backdrop-filter":[{"backdrop-filter":["","none",_e,Le]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[it,_e,Le]}],"backdrop-contrast":[{"backdrop-contrast":[it,_e,Le]}],"backdrop-grayscale":[{"backdrop-grayscale":["",it,_e,Le]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[it,_e,Le]}],"backdrop-invert":[{"backdrop-invert":["",it,_e,Le]}],"backdrop-opacity":[{"backdrop-opacity":[it,_e,Le]}],"backdrop-saturate":[{"backdrop-saturate":[it,_e,Le]}],"backdrop-sepia":[{"backdrop-sepia":["",it,_e,Le]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",_e,Le]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[it,"initial",_e,Le]}],ease:[{ease:["linear","initial",k,_e,Le]}],delay:[{delay:[it,_e,Le]}],animate:[{animate:["none",E,_e,Le]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,_e,Le]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:ge()}],"skew-x":[{"skew-x":ge()}],"skew-y":[{"skew-y":ge()}],transform:[{transform:[_e,Le,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Me()}],"translate-x":[{"translate-x":Me()}],"translate-y":[{"translate-y":Me()}],"translate-z":[{"translate-z":Me()}],"translate-none":["translate-none"],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_e,Le]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_e,Le]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[it,Zl,Ma,vm]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},UR=kR(WR);function bt(...t){return UR(qN(t))}const KR=GN("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function ne({className:t,variant:e,size:n,asChild:r=!1,...s}){const a=r?UN:"button";return i.jsx(a,{"data-slot":"button",className:bt(KR({variant:e,size:n,className:t})),...s})}function ce({className:t,type:e,...n}){return i.jsx("input",{type:e,"data-slot":"input",className:bt("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 md:text-sm focus-visible:ring-2 focus-visible:ring-ring",t),...n})}function qR(){const t=sa(),[e,n]=b.useState(""),[r,s]=b.useState(""),[a,o]=b.useState(""),[c,u]=b.useState(!1),h=async()=>{o(""),u(!0);try{const f=await mt("/api/admin",{username:e.trim(),password:r});if((f==null?void 0:f.success)!==!1&&(f!=null&&f.token)){WA(f.token),t("/dashboard",{replace:!0});return}o(f.error||"用户名或密码错误")}catch(f){const m=f;o(m.status===401?"用户名或密码错误":(m==null?void 0:m.message)||"网络错误,请重试")}finally{u(!1)}};return i.jsxs("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-4",children:[i.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[i.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-[#38bdac]/5 rounded-full blur-3xl"}),i.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-blue-500/5 rounded-full blur-3xl"})]}),i.jsxs("div",{className:"w-full max-w-md relative z-10",children:[i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("div",{className:"w-16 h-16 bg-[#38bdac]/20 rounded-2xl flex items-center justify-center mx-auto mb-4 border border-[#38bdac]/30",children:i.jsx(Ex,{className:"w-8 h-8 text-[#38bdac]"})}),i.jsx("h1",{className:"text-2xl font-bold text-white mb-2",children:"管理后台"}),i.jsx("p",{className:"text-gray-400",children:"一场SOUL的创业实验场"})]}),i.jsxs("div",{className:"bg-[#0f2137] rounded-2xl p-8 shadow-xl border border-gray-700/50 backdrop-blur-xl",children:[i.jsx("h2",{className:"text-xl font-semibold text-white mb-6 text-center",children:"管理员登录"}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"用户名"}),i.jsxs("div",{className:"relative",children:[i.jsx(qo,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),i.jsx(ce,{type:"text",value:e,onChange:f=>n(f.target.value),placeholder:"请输入用户名",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]"})]})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"密码"}),i.jsxs("div",{className:"relative",children:[i.jsx(BM,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),i.jsx(ce,{type:"password",value:r,onChange:f=>s(f.target.value),placeholder:"请输入密码",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]",onKeyDown:f=>f.key==="Enter"&&h()})]})]}),a&&i.jsx("div",{className:"bg-red-500/10 text-red-400 text-sm p-3 rounded-lg border border-red-500/20",children:a}),i.jsx(ne,{onClick:h,disabled:c,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white py-5 disabled:opacity-50",children:c?"登录中...":"登录"})]})]}),i.jsx("p",{className:"text-center text-gray-500 text-xs mt-6",children:"Soul创业实验场 · 后台管理系统"})]})]})}const Ae=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("rounded-xl border bg-card text-card-foreground shadow",t),...e}));Ae.displayName="Card";const Xe=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("flex flex-col space-y-1.5 p-6",t),...e}));Xe.displayName="CardHeader";const Ze=b.forwardRef(({className:t,...e},n)=>i.jsx("h3",{ref:n,className:bt("font-semibold leading-none tracking-tight",t),...e}));Ze.displayName="CardTitle";const zt=b.forwardRef(({className:t,...e},n)=>i.jsx("p",{ref:n,className:bt("text-sm text-muted-foreground",t),...e}));zt.displayName="CardDescription";const Re=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("p-6 pt-0",t),...e}));Re.displayName="CardContent";const GR=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:bt("flex items-center p-6 pt-0",t),...e}));GR.displayName="CardFooter";const JR={success:{bg:"#f0fdf4",border:"#22c55e",icon:"✓"},error:{bg:"#fef2f2",border:"#ef4444",icon:"✕"},info:{bg:"#eff6ff",border:"#3b82f6",icon:"ℹ"}};function bm(t,e="info",n=3e3){const r=`toast-${Date.now()}`,s=JR[e],a=document.createElement("div");a.id=r,a.setAttribute("role","alert"),Object.assign(a.style,{position:"fixed",top:"24px",right:"24px",zIndex:"9999",display:"flex",alignItems:"center",gap:"10px",padding:"12px 18px",borderRadius:"10px",background:s.bg,border:`1.5px solid ${s.border}`,boxShadow:"0 4px 20px rgba(0,0,0,.12)",fontSize:"14px",color:"#1a1a1a",fontWeight:"500",maxWidth:"380px",lineHeight:"1.5",opacity:"0",transform:"translateY(-8px)",transition:"opacity .22s ease, transform .22s ease",pointerEvents:"none"});const o=document.createElement("span");Object.assign(o.style,{width:"20px",height:"20px",borderRadius:"50%",background:s.border,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",fontWeight:"700",flexShrink:"0"}),o.textContent=s.icon;const c=document.createElement("span");c.textContent=t,a.appendChild(o),a.appendChild(c),document.body.appendChild(a),requestAnimationFrame(()=>{a.style.opacity="1",a.style.transform="translateY(0)"});const u=setTimeout(()=>h(r),n);function h(f){clearTimeout(u);const m=document.getElementById(f);m&&(m.style.opacity="0",m.style.transform="translateY(-8px)",setTimeout(()=>{var g;return(g=m.parentNode)==null?void 0:g.removeChild(m)},250))}}const he={success:(t,e)=>bm(t,"success",e),error:(t,e)=>bm(t,"error",e),info:(t,e)=>bm(t,"info",e)};function rt(t,e,{checkForDefaultPrevented:n=!0}={}){return function(s){if(t==null||t(s),n===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function YR(t,e){const n=b.createContext(e),r=a=>{const{children:o,...c}=a,u=b.useMemo(()=>c,Object.values(c));return i.jsx(n.Provider,{value:u,children:o})};r.displayName=t+"Provider";function s(a){const o=b.useContext(n);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${t}\``)}return[r,s]}function ia(t,e=[]){let n=[];function r(a,o){const c=b.createContext(o),u=n.length;n=[...n,o];const h=m=>{var k;const{scope:g,children:y,...v}=m,j=((k=g==null?void 0:g[t])==null?void 0:k[u])||c,w=b.useMemo(()=>v,Object.values(v));return i.jsx(j.Provider,{value:w,children:y})};h.displayName=a+"Provider";function f(m,g){var j;const y=((j=g==null?void 0:g[t])==null?void 0:j[u])||c,v=b.useContext(y);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${a}\``)}return[h,f]}const s=()=>{const a=n.map(o=>b.createContext(o));return function(c){const u=(c==null?void 0:c[t])||a;return b.useMemo(()=>({[`__scope${t}`]:{...c,[t]:u}}),[c,u])}};return s.scopeName=t,[r,QR(s,...e)]}function QR(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const o=r.reduce((c,{useScope:u,scopeName:h})=>{const m=u(a)[`__scope${h}`];return{...c,...m}},{});return b.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return n.scopeName=e.scopeName,n}var Un=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},XR=Jh[" useId ".trim().toString()]||(()=>{}),ZR=0;function Ki(t){const[e,n]=b.useState(XR());return Un(()=>{n(r=>r??String(ZR++))},[t]),e?`radix-${e}`:""}var e5=Jh[" useInsertionEffect ".trim().toString()]||Un;function Wa({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[s,a,o]=t5({defaultProp:e,onChange:n}),c=t!==void 0,u=c?t:s;{const f=b.useRef(t!==void 0);b.useEffect(()=>{const m=f.current;m!==c&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=c},[c,r])}const h=b.useCallback(f=>{var m;if(c){const g=n5(f)?f(t):f;g!==t&&((m=o.current)==null||m.call(o,g))}else a(f)},[c,t,a,o]);return[u,h]}function t5({defaultProp:t,onChange:e}){const[n,r]=b.useState(t),s=b.useRef(n),a=b.useRef(e);return e5(()=>{a.current=e},[e]),b.useEffect(()=>{var o;s.current!==n&&((o=a.current)==null||o.call(a,n),s.current=n)},[n,s]),[n,r,a]}function n5(t){return typeof t=="function"}function Mc(t){const e=r5(t),n=b.forwardRef((r,s)=>{const{children:a,...o}=r,c=b.Children.toArray(a),u=c.find(i5);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return i.jsx(e,{...o,ref:s,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return i.jsx(e,{...o,ref:s,children:a})});return n.displayName=`${t}.Slot`,n}function r5(t){const e=b.forwardRef((n,r)=>{const{children:s,...a}=n;if(b.isValidElement(s)){const o=o5(s),c=a5(a,s.props);return s.type!==b.Fragment&&(c.ref=r?Ax(r,o):o),b.cloneElement(s,c)}return b.Children.count(s)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var s5=Symbol("radix.slottable");function i5(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===s5}function a5(t,e){const n={...e};for(const r in e){const s=t[r],a=e[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...c)=>{const u=a(...c);return s(...c),u}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...t,...n}}function o5(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var l5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],at=l5.reduce((t,e)=>{const n=Mc(`Primitive.${e}`),r=b.forwardRef((s,a)=>{const{asChild:o,...c}=s,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function c5(t,e){t&&Wc.flushSync(()=>t.dispatchEvent(e))}function Qi(t){const e=b.useRef(t);return b.useEffect(()=>{e.current=t}),b.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function d5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t);b.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var u5="DismissableLayer",kg="dismissableLayer.update",h5="dismissableLayer.pointerDownOutside",f5="dismissableLayer.focusOutside",Hb,oj=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Px=b.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:o,onDismiss:c,...u}=t,h=b.useContext(oj),[f,m]=b.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=b.useState({}),v=vt(e,R=>m(R)),j=Array.from(h.layers),[w]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=j.indexOf(w),E=f?j.indexOf(f):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,T=E>=k,O=g5(R=>{const P=R.target,I=[...h.branches].some(L=>L.contains(P));!T||I||(s==null||s(R),o==null||o(R),R.defaultPrevented||c==null||c())},g),B=x5(R=>{const P=R.target;[...h.branches].some(L=>L.contains(P))||(a==null||a(R),o==null||o(R),R.defaultPrevented||c==null||c())},g);return d5(R=>{E===h.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&c&&(R.preventDefault(),c()))},g),b.useEffect(()=>{if(f)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Hb=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),Wb(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Hb)}},[f,g,n,h]),b.useEffect(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),Wb())},[f,h]),b.useEffect(()=>{const R=()=>y({});return document.addEventListener(kg,R),()=>document.removeEventListener(kg,R)},[]),i.jsx(at.div,{...u,ref:v,style:{pointerEvents:C?T?"auto":"none":void 0,...t.style},onFocusCapture:rt(t.onFocusCapture,B.onFocusCapture),onBlurCapture:rt(t.onBlurCapture,B.onBlurCapture),onPointerDownCapture:rt(t.onPointerDownCapture,O.onPointerDownCapture)})});Px.displayName=u5;var p5="DismissableLayerBranch",m5=b.forwardRef((t,e)=>{const n=b.useContext(oj),r=b.useRef(null),s=vt(e,r);return b.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),i.jsx(at.div,{...t,ref:s})});m5.displayName=p5;function g5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t),r=b.useRef(!1),s=b.useRef(()=>{});return b.useEffect(()=>{const a=c=>{if(c.target&&!r.current){let u=function(){lj(h5,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=u,e.addEventListener("click",s.current,{once:!0})):u()}else e.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",a),e.removeEventListener("click",s.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function x5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t),r=b.useRef(!1);return b.useEffect(()=>{const s=a=>{a.target&&!r.current&&lj(f5,n,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Wb(){const t=new CustomEvent(kg);document.dispatchEvent(t)}function lj(t,e,n,{discrete:r}){const s=n.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&s.addEventListener(t,e,{once:!0}),r?c5(s,a):s.dispatchEvent(a)}var wm="focusScope.autoFocusOnMount",Nm="focusScope.autoFocusOnUnmount",Ub={bubbles:!1,cancelable:!0},y5="FocusScope",Ix=b.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:a,...o}=t,[c,u]=b.useState(null),h=Qi(s),f=Qi(a),m=b.useRef(null),g=vt(e,j=>u(j)),y=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let j=function(C){if(y.paused||!c)return;const T=C.target;c.contains(T)?m.current=T:Ri(m.current,{select:!0})},w=function(C){if(y.paused||!c)return;const T=C.relatedTarget;T!==null&&(c.contains(T)||Ri(m.current,{select:!0}))},k=function(C){if(document.activeElement===document.body)for(const O of C)O.removedNodes.length>0&&Ri(c)};document.addEventListener("focusin",j),document.addEventListener("focusout",w);const E=new MutationObserver(k);return c&&E.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",j),document.removeEventListener("focusout",w),E.disconnect()}}},[r,c,y.paused]),b.useEffect(()=>{if(c){qb.add(y);const j=document.activeElement;if(!c.contains(j)){const k=new CustomEvent(wm,Ub);c.addEventListener(wm,h),c.dispatchEvent(k),k.defaultPrevented||(v5(k5(cj(c)),{select:!0}),document.activeElement===j&&Ri(c))}return()=>{c.removeEventListener(wm,h),setTimeout(()=>{const k=new CustomEvent(Nm,Ub);c.addEventListener(Nm,f),c.dispatchEvent(k),k.defaultPrevented||Ri(j??document.body,{select:!0}),c.removeEventListener(Nm,f),qb.remove(y)},0)}}},[c,h,f,y]);const v=b.useCallback(j=>{if(!n&&!r||y.paused)return;const w=j.key==="Tab"&&!j.altKey&&!j.ctrlKey&&!j.metaKey,k=document.activeElement;if(w&&k){const E=j.currentTarget,[C,T]=b5(E);C&&T?!j.shiftKey&&k===T?(j.preventDefault(),n&&Ri(C,{select:!0})):j.shiftKey&&k===C&&(j.preventDefault(),n&&Ri(T,{select:!0})):k===E&&j.preventDefault()}},[n,r,y.paused]);return i.jsx(at.div,{tabIndex:-1,...o,ref:g,onKeyDown:v})});Ix.displayName=y5;function v5(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(Ri(r,{select:e}),document.activeElement!==n)return}function b5(t){const e=cj(t),n=Kb(e,t),r=Kb(e.reverse(),t);return[n,r]}function cj(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function Kb(t,e){for(const n of t)if(!w5(n,{upTo:e}))return n}function w5(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function N5(t){return t instanceof HTMLInputElement&&"select"in t}function Ri(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&N5(t)&&e&&t.select()}}var qb=j5();function j5(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=Gb(t,e),t.unshift(e)},remove(e){var n;t=Gb(t,e),(n=t[0])==null||n.resume()}}}function Gb(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function k5(t){return t.filter(e=>e.tagName!=="A")}var S5="Portal",Ox=b.forwardRef((t,e)=>{var c;const{container:n,...r}=t,[s,a]=b.useState(!1);Un(()=>a(!0),[]);const o=n||s&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?jN.createPortal(i.jsx(at.div,{...r,ref:e}),o):null});Ox.displayName=S5;function C5(t,e){return b.useReducer((n,r)=>e[n][r]??n,t)}var Kc=t=>{const{present:e,children:n}=t,r=E5(e),s=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),a=vt(r.ref,T5(s));return typeof n=="function"||r.isPresent?b.cloneElement(s,{ref:a}):null};Kc.displayName="Presence";function E5(t){const[e,n]=b.useState(),r=b.useRef(null),s=b.useRef(t),a=b.useRef("none"),o=t?"mounted":"unmounted",[c,u]=C5(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const h=pu(r.current);a.current=c==="mounted"?h:"none"},[c]),Un(()=>{const h=r.current,f=s.current;if(f!==t){const g=a.current,y=pu(h);t?u("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?u("UNMOUNT"):u(f&&g!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,u]),Un(()=>{if(e){let h;const f=e.ownerDocument.defaultView??window,m=y=>{const j=pu(r.current).includes(CSS.escape(y.animationName));if(y.target===e&&j&&(u("ANIMATION_END"),!s.current)){const w=e.style.animationFillMode;e.style.animationFillMode="forwards",h=f.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=w)})}},g=y=>{y.target===e&&(a.current=pu(r.current))};return e.addEventListener("animationstart",g),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{f.clearTimeout(h),e.removeEventListener("animationstart",g),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:b.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function pu(t){return(t==null?void 0:t.animationName)||"none"}function T5(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var jm=0;function dj(){b.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??Jb()),document.body.insertAdjacentElement("beforeend",t[1]??Jb()),jm++,()=>{jm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),jm--}},[])}function Jb(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var js=function(){return js=Object.assign||function(e){for(var n,r=1,s=arguments.length;r"u")return U5;var e=K5(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},G5=pj(),Go="data-scroll-locked",J5=function(t,e,n,r){var s=t.left,a=t.top,o=t.right,c=t.gap;return n===void 0&&(n="margin"),` + .`.concat(A5,` { overflow: hidden `).concat(r,`; padding-right: `).concat(c,"px ").concat(r,`; } @@ -569,23 +569,23 @@ Error generating stack: `+S.message+` } body[`).concat(Go,`] { - `).concat(A5,": ").concat(c,`px; + `).concat(R5,": ").concat(c,`px; } -`)},Qb=function(){var t=parseInt(document.body.getAttribute(Go)||"0",10);return isFinite(t)?t:0},J5=function(){b.useEffect(function(){return document.body.setAttribute(Go,(Qb()+1).toString()),function(){var t=Qb()-1;t<=0?document.body.removeAttribute(Go):document.body.setAttribute(Go,t.toString())}},[])},Y5=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,s=r===void 0?"margin":r;J5();var a=b.useMemo(function(){return K5(s)},[s]);return b.createElement(q5,{styles:G5(a,!e,s,n?"":"!important")})},Sg=!1;if(typeof window<"u")try{var mu=Object.defineProperty({},"passive",{get:function(){return Sg=!0,!0}});window.addEventListener("test",mu,mu),window.removeEventListener("test",mu,mu)}catch{Sg=!1}var Io=Sg?{passive:!1}:!1,Q5=function(t){return t.tagName==="TEXTAREA"},mj=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!Q5(t)&&n[e]==="visible")},X5=function(t){return mj(t,"overflowY")},Z5=function(t){return mj(t,"overflowX")},Xb=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=gj(t,r);if(s){var a=xj(t,r),o=a[1],c=a[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},eP=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},tP=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},gj=function(t,e){return t==="v"?X5(e):Z5(e)},xj=function(t,e){return t==="v"?eP(e):tP(e)},nP=function(t,e){return t==="h"&&e==="rtl"?-1:1},rP=function(t,e,n,r,s){var a=nP(t,window.getComputedStyle(e).direction),o=a*r,c=n.target,u=e.contains(c),h=!1,f=o>0,m=0,g=0;do{if(!c)break;var y=xj(t,c),v=y[0],j=y[1],w=y[2],k=j-w-a*v;(v||k)&&gj(t,c)&&(m+=k,g+=v);var E=c.parentNode;c=E&&E.nodeType===Node.DOCUMENT_FRAGMENT_NODE?E.host:E}while(!u&&c!==document.body||u&&(e.contains(c)||e===c));return(f&&Math.abs(m)<1||!f&&Math.abs(g)<1)&&(h=!0),h},gu=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Zb=function(t){return[t.deltaX,t.deltaY]},e1=function(t){return t&&"current"in t?t.current:t},sP=function(t,e){return t[0]===e[0]&&t[1]===e[1]},iP=function(t){return` +`)},Qb=function(){var t=parseInt(document.body.getAttribute(Go)||"0",10);return isFinite(t)?t:0},Y5=function(){b.useEffect(function(){return document.body.setAttribute(Go,(Qb()+1).toString()),function(){var t=Qb()-1;t<=0?document.body.removeAttribute(Go):document.body.setAttribute(Go,t.toString())}},[])},Q5=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,s=r===void 0?"margin":r;Y5();var a=b.useMemo(function(){return q5(s)},[s]);return b.createElement(G5,{styles:J5(a,!e,s,n?"":"!important")})},Sg=!1;if(typeof window<"u")try{var mu=Object.defineProperty({},"passive",{get:function(){return Sg=!0,!0}});window.addEventListener("test",mu,mu),window.removeEventListener("test",mu,mu)}catch{Sg=!1}var Io=Sg?{passive:!1}:!1,X5=function(t){return t.tagName==="TEXTAREA"},mj=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!X5(t)&&n[e]==="visible")},Z5=function(t){return mj(t,"overflowY")},eP=function(t){return mj(t,"overflowX")},Xb=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=gj(t,r);if(s){var a=xj(t,r),o=a[1],c=a[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},tP=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},nP=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},gj=function(t,e){return t==="v"?Z5(e):eP(e)},xj=function(t,e){return t==="v"?tP(e):nP(e)},rP=function(t,e){return t==="h"&&e==="rtl"?-1:1},sP=function(t,e,n,r,s){var a=rP(t,window.getComputedStyle(e).direction),o=a*r,c=n.target,u=e.contains(c),h=!1,f=o>0,m=0,g=0;do{if(!c)break;var y=xj(t,c),v=y[0],j=y[1],w=y[2],k=j-w-a*v;(v||k)&&gj(t,c)&&(m+=k,g+=v);var E=c.parentNode;c=E&&E.nodeType===Node.DOCUMENT_FRAGMENT_NODE?E.host:E}while(!u&&c!==document.body||u&&(e.contains(c)||e===c));return(f&&Math.abs(m)<1||!f&&Math.abs(g)<1)&&(h=!0),h},gu=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Zb=function(t){return[t.deltaX,t.deltaY]},e1=function(t){return t&&"current"in t?t.current:t},iP=function(t,e){return t[0]===e[0]&&t[1]===e[1]},aP=function(t){return` .block-interactivity-`.concat(t,` {pointer-events: none;} .allow-interactivity-`).concat(t,` {pointer-events: all;} -`)},aP=0,Oo=[];function oP(t){var e=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),s=b.useState(aP++)[0],a=b.useState(pj)[0],o=b.useRef(t);b.useEffect(function(){o.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var j=T5([t.lockRef.current],(t.shards||[]).map(e1),!0).filter(Boolean);return j.forEach(function(w){return w.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),j.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var c=b.useCallback(function(j,w){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!o.current.allowPinchZoom;var k=gu(j),E=n.current,C="deltaX"in j?j.deltaX:E[0]-k[0],T="deltaY"in j?j.deltaY:E[1]-k[1],O,B=j.target,R=Math.abs(C)>Math.abs(T)?"h":"v";if("touches"in j&&R==="h"&&B.type==="range")return!1;var P=window.getSelection(),I=P&&P.anchorNode,L=I?I===B||I.contains(B):!1;if(L)return!1;var X=Xb(R,B);if(!X)return!0;if(X?O=R:(O=R==="v"?"h":"v",X=Xb(R,B)),!X)return!1;if(!r.current&&"changedTouches"in j&&(C||T)&&(r.current=O),!O)return!0;var Z=r.current||O;return rP(Z,w,j,Z==="h"?C:T)},[]),u=b.useCallback(function(j){var w=j;if(!(!Oo.length||Oo[Oo.length-1]!==a)){var k="deltaY"in w?Zb(w):gu(w),E=e.current.filter(function(O){return O.name===w.type&&(O.target===w.target||w.target===O.shadowParent)&&sP(O.delta,k)})[0];if(E&&E.should){w.cancelable&&w.preventDefault();return}if(!E){var C=(o.current.shards||[]).map(e1).filter(Boolean).filter(function(O){return O.contains(w.target)}),T=C.length>0?c(w,C[0]):!o.current.noIsolation;T&&w.cancelable&&w.preventDefault()}}},[]),h=b.useCallback(function(j,w,k,E){var C={name:j,delta:w,target:k,should:E,shadowParent:lP(k)};e.current.push(C),setTimeout(function(){e.current=e.current.filter(function(T){return T!==C})},1)},[]),f=b.useCallback(function(j){n.current=gu(j),r.current=void 0},[]),m=b.useCallback(function(j){h(j.type,Zb(j),j.target,c(j,t.lockRef.current))},[]),g=b.useCallback(function(j){h(j.type,gu(j),j.target,c(j,t.lockRef.current))},[]);b.useEffect(function(){return Oo.push(a),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,Io),document.addEventListener("touchmove",u,Io),document.addEventListener("touchstart",f,Io),function(){Oo=Oo.filter(function(j){return j!==a}),document.removeEventListener("wheel",u,Io),document.removeEventListener("touchmove",u,Io),document.removeEventListener("touchstart",f,Io)}},[]);var y=t.removeScrollBar,v=t.inert;return b.createElement(b.Fragment,null,v?b.createElement(a,{styles:iP(s)}):null,y?b.createElement(Y5,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function lP(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const cP=_5(fj,oP);var Dx=b.forwardRef(function(t,e){return b.createElement(Xh,js({},t,{ref:e,sideCar:cP}))});Dx.classNames=Xh.classNames;var dP=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Do=new WeakMap,xu=new WeakMap,yu={},Em=0,yj=function(t){return t&&(t.host||yj(t.parentNode))},uP=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=yj(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},hP=function(t,e,n,r){var s=uP(e,Array.isArray(t)?t:[t]);yu[n]||(yu[n]=new WeakMap);var a=yu[n],o=[],c=new Set,u=new Set(s),h=function(m){!m||c.has(m)||(c.add(m),h(m.parentNode))};s.forEach(h);var f=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(g){if(c.has(g))f(g);else try{var y=g.getAttribute(r),v=y!==null&&y!=="false",j=(Do.get(g)||0)+1,w=(a.get(g)||0)+1;Do.set(g,j),a.set(g,w),o.push(g),j===1&&v&&xu.set(g,!0),w===1&&g.setAttribute(n,"true"),v||g.setAttribute(r,"true")}catch(k){console.error("aria-hidden: cannot operate on ",g,k)}})};return f(e),c.clear(),Em++,function(){o.forEach(function(m){var g=Do.get(m)-1,y=a.get(m)-1;Do.set(m,g),a.set(m,y),g||(xu.has(m)||m.removeAttribute(r),xu.delete(m)),y||m.removeAttribute(n)}),Em--,Em||(Do=new WeakMap,Do=new WeakMap,xu=new WeakMap,yu={})}},vj=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),s=dP(t);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),hP(r,s,n,"aria-hidden")):function(){return null}},Zh="Dialog",[bj]=ia(Zh),[fP,us]=bj(Zh),wj=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:a,modal:o=!0}=t,c=b.useRef(null),u=b.useRef(null),[h,f]=Wa({prop:r,defaultProp:s??!1,onChange:a,caller:Zh});return i.jsx(fP,{scope:e,triggerRef:c,contentRef:u,contentId:Ki(),titleId:Ki(),descriptionId:Ki(),open:h,onOpenChange:f,onOpenToggle:b.useCallback(()=>f(m=>!m),[f]),modal:o,children:n})};wj.displayName=Zh;var Nj="DialogTrigger",pP=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Nj,n),a=vt(e,s.triggerRef);return i.jsx(at.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":zx(s.open),...r,ref:a,onClick:rt(t.onClick,s.onOpenToggle)})});pP.displayName=Nj;var Lx="DialogPortal",[mP,jj]=bj(Lx,{forceMount:void 0}),kj=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,a=us(Lx,e);return i.jsx(mP,{scope:e,forceMount:n,children:b.Children.map(r,o=>i.jsx(Kc,{present:n||a.open,children:i.jsx(Ox,{asChild:!0,container:s,children:o})}))})};kj.displayName=Lx;var Zu="DialogOverlay",Sj=b.forwardRef((t,e)=>{const n=jj(Zu,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,a=us(Zu,t.__scopeDialog);return a.modal?i.jsx(Kc,{present:r||a.open,children:i.jsx(xP,{...s,ref:e})}):null});Sj.displayName=Zu;var gP=Mc("DialogOverlay.RemoveScroll"),xP=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Zu,n);return i.jsx(Dx,{as:gP,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsx(at.div,{"data-state":zx(s.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),Ua="DialogContent",Cj=b.forwardRef((t,e)=>{const n=jj(Ua,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,a=us(Ua,t.__scopeDialog);return i.jsx(Kc,{present:r||a.open,children:a.modal?i.jsx(yP,{...s,ref:e}):i.jsx(vP,{...s,ref:e})})});Cj.displayName=Ua;var yP=b.forwardRef((t,e)=>{const n=us(Ua,t.__scopeDialog),r=b.useRef(null),s=vt(e,n.contentRef,r);return b.useEffect(()=>{const a=r.current;if(a)return vj(a)},[]),i.jsx(Ej,{...t,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:rt(t.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:rt(t.onPointerDownOutside,a=>{const o=a.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&a.preventDefault()}),onFocusOutside:rt(t.onFocusOutside,a=>a.preventDefault())})}),vP=b.forwardRef((t,e)=>{const n=us(Ua,t.__scopeDialog),r=b.useRef(!1),s=b.useRef(!1);return i.jsx(Ej,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,c;(o=t.onCloseAutoFocus)==null||o.call(t,a),a.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),a.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:a=>{var u,h;(u=t.onInteractOutside)==null||u.call(t,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=a.target;((h=n.triggerRef.current)==null?void 0:h.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}})}),Ej=b.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:a,...o}=t,c=us(Ua,n),u=b.useRef(null),h=vt(e,u);return dj(),i.jsxs(i.Fragment,{children:[i.jsx(Ix,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:a,children:i.jsx(Px,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":zx(c.open),...o,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(bP,{titleId:c.titleId}),i.jsx(NP,{contentRef:u,descriptionId:c.descriptionId})]})]})}),_x="DialogTitle",Tj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(_x,n);return i.jsx(at.h2,{id:s.titleId,...r,ref:e})});Tj.displayName=_x;var Mj="DialogDescription",Aj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Mj,n);return i.jsx(at.p,{id:s.descriptionId,...r,ref:e})});Aj.displayName=Mj;var Rj="DialogClose",Pj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Rj,n);return i.jsx(at.button,{type:"button",...r,ref:e,onClick:rt(t.onClick,()=>s.onOpenChange(!1))})});Pj.displayName=Rj;function zx(t){return t?"open":"closed"}var Ij="DialogTitleWarning",[AV,Oj]=JR(Ij,{contentName:Ua,titleName:_x,docsSlug:"dialog"}),bP=({titleId:t})=>{const e=Oj(Ij),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. +`)},oP=0,Oo=[];function lP(t){var e=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),s=b.useState(oP++)[0],a=b.useState(pj)[0],o=b.useRef(t);b.useEffect(function(){o.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var j=M5([t.lockRef.current],(t.shards||[]).map(e1),!0).filter(Boolean);return j.forEach(function(w){return w.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),j.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var c=b.useCallback(function(j,w){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!o.current.allowPinchZoom;var k=gu(j),E=n.current,C="deltaX"in j?j.deltaX:E[0]-k[0],T="deltaY"in j?j.deltaY:E[1]-k[1],O,B=j.target,R=Math.abs(C)>Math.abs(T)?"h":"v";if("touches"in j&&R==="h"&&B.type==="range")return!1;var P=window.getSelection(),I=P&&P.anchorNode,L=I?I===B||I.contains(B):!1;if(L)return!1;var X=Xb(R,B);if(!X)return!0;if(X?O=R:(O=R==="v"?"h":"v",X=Xb(R,B)),!X)return!1;if(!r.current&&"changedTouches"in j&&(C||T)&&(r.current=O),!O)return!0;var Z=r.current||O;return sP(Z,w,j,Z==="h"?C:T)},[]),u=b.useCallback(function(j){var w=j;if(!(!Oo.length||Oo[Oo.length-1]!==a)){var k="deltaY"in w?Zb(w):gu(w),E=e.current.filter(function(O){return O.name===w.type&&(O.target===w.target||w.target===O.shadowParent)&&iP(O.delta,k)})[0];if(E&&E.should){w.cancelable&&w.preventDefault();return}if(!E){var C=(o.current.shards||[]).map(e1).filter(Boolean).filter(function(O){return O.contains(w.target)}),T=C.length>0?c(w,C[0]):!o.current.noIsolation;T&&w.cancelable&&w.preventDefault()}}},[]),h=b.useCallback(function(j,w,k,E){var C={name:j,delta:w,target:k,should:E,shadowParent:cP(k)};e.current.push(C),setTimeout(function(){e.current=e.current.filter(function(T){return T!==C})},1)},[]),f=b.useCallback(function(j){n.current=gu(j),r.current=void 0},[]),m=b.useCallback(function(j){h(j.type,Zb(j),j.target,c(j,t.lockRef.current))},[]),g=b.useCallback(function(j){h(j.type,gu(j),j.target,c(j,t.lockRef.current))},[]);b.useEffect(function(){return Oo.push(a),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,Io),document.addEventListener("touchmove",u,Io),document.addEventListener("touchstart",f,Io),function(){Oo=Oo.filter(function(j){return j!==a}),document.removeEventListener("wheel",u,Io),document.removeEventListener("touchmove",u,Io),document.removeEventListener("touchstart",f,Io)}},[]);var y=t.removeScrollBar,v=t.inert;return b.createElement(b.Fragment,null,v?b.createElement(a,{styles:aP(s)}):null,y?b.createElement(Q5,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function cP(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const dP=z5(fj,lP);var Dx=b.forwardRef(function(t,e){return b.createElement(Xh,js({},t,{ref:e,sideCar:dP}))});Dx.classNames=Xh.classNames;var uP=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Do=new WeakMap,xu=new WeakMap,yu={},Em=0,yj=function(t){return t&&(t.host||yj(t.parentNode))},hP=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=yj(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},fP=function(t,e,n,r){var s=hP(e,Array.isArray(t)?t:[t]);yu[n]||(yu[n]=new WeakMap);var a=yu[n],o=[],c=new Set,u=new Set(s),h=function(m){!m||c.has(m)||(c.add(m),h(m.parentNode))};s.forEach(h);var f=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(g){if(c.has(g))f(g);else try{var y=g.getAttribute(r),v=y!==null&&y!=="false",j=(Do.get(g)||0)+1,w=(a.get(g)||0)+1;Do.set(g,j),a.set(g,w),o.push(g),j===1&&v&&xu.set(g,!0),w===1&&g.setAttribute(n,"true"),v||g.setAttribute(r,"true")}catch(k){console.error("aria-hidden: cannot operate on ",g,k)}})};return f(e),c.clear(),Em++,function(){o.forEach(function(m){var g=Do.get(m)-1,y=a.get(m)-1;Do.set(m,g),a.set(m,y),g||(xu.has(m)||m.removeAttribute(r),xu.delete(m)),y||m.removeAttribute(n)}),Em--,Em||(Do=new WeakMap,Do=new WeakMap,xu=new WeakMap,yu={})}},vj=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),s=uP(t);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),fP(r,s,n,"aria-hidden")):function(){return null}},Zh="Dialog",[bj]=ia(Zh),[pP,us]=bj(Zh),wj=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:a,modal:o=!0}=t,c=b.useRef(null),u=b.useRef(null),[h,f]=Wa({prop:r,defaultProp:s??!1,onChange:a,caller:Zh});return i.jsx(pP,{scope:e,triggerRef:c,contentRef:u,contentId:Ki(),titleId:Ki(),descriptionId:Ki(),open:h,onOpenChange:f,onOpenToggle:b.useCallback(()=>f(m=>!m),[f]),modal:o,children:n})};wj.displayName=Zh;var Nj="DialogTrigger",mP=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Nj,n),a=vt(e,s.triggerRef);return i.jsx(at.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":zx(s.open),...r,ref:a,onClick:rt(t.onClick,s.onOpenToggle)})});mP.displayName=Nj;var Lx="DialogPortal",[gP,jj]=bj(Lx,{forceMount:void 0}),kj=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,a=us(Lx,e);return i.jsx(gP,{scope:e,forceMount:n,children:b.Children.map(r,o=>i.jsx(Kc,{present:n||a.open,children:i.jsx(Ox,{asChild:!0,container:s,children:o})}))})};kj.displayName=Lx;var Zu="DialogOverlay",Sj=b.forwardRef((t,e)=>{const n=jj(Zu,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,a=us(Zu,t.__scopeDialog);return a.modal?i.jsx(Kc,{present:r||a.open,children:i.jsx(yP,{...s,ref:e})}):null});Sj.displayName=Zu;var xP=Mc("DialogOverlay.RemoveScroll"),yP=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Zu,n);return i.jsx(Dx,{as:xP,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsx(at.div,{"data-state":zx(s.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),Ua="DialogContent",Cj=b.forwardRef((t,e)=>{const n=jj(Ua,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,a=us(Ua,t.__scopeDialog);return i.jsx(Kc,{present:r||a.open,children:a.modal?i.jsx(vP,{...s,ref:e}):i.jsx(bP,{...s,ref:e})})});Cj.displayName=Ua;var vP=b.forwardRef((t,e)=>{const n=us(Ua,t.__scopeDialog),r=b.useRef(null),s=vt(e,n.contentRef,r);return b.useEffect(()=>{const a=r.current;if(a)return vj(a)},[]),i.jsx(Ej,{...t,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:rt(t.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:rt(t.onPointerDownOutside,a=>{const o=a.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&a.preventDefault()}),onFocusOutside:rt(t.onFocusOutside,a=>a.preventDefault())})}),bP=b.forwardRef((t,e)=>{const n=us(Ua,t.__scopeDialog),r=b.useRef(!1),s=b.useRef(!1);return i.jsx(Ej,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,c;(o=t.onCloseAutoFocus)==null||o.call(t,a),a.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),a.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:a=>{var u,h;(u=t.onInteractOutside)==null||u.call(t,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=a.target;((h=n.triggerRef.current)==null?void 0:h.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}})}),Ej=b.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:a,...o}=t,c=us(Ua,n),u=b.useRef(null),h=vt(e,u);return dj(),i.jsxs(i.Fragment,{children:[i.jsx(Ix,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:a,children:i.jsx(Px,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":zx(c.open),...o,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(wP,{titleId:c.titleId}),i.jsx(jP,{contentRef:u,descriptionId:c.descriptionId})]})]})}),_x="DialogTitle",Tj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(_x,n);return i.jsx(at.h2,{id:s.titleId,...r,ref:e})});Tj.displayName=_x;var Mj="DialogDescription",Aj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Mj,n);return i.jsx(at.p,{id:s.descriptionId,...r,ref:e})});Aj.displayName=Mj;var Rj="DialogClose",Pj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=us(Rj,n);return i.jsx(at.button,{type:"button",...r,ref:e,onClick:rt(t.onClick,()=>s.onOpenChange(!1))})});Pj.displayName=Rj;function zx(t){return t?"open":"closed"}var Ij="DialogTitleWarning",[RV,Oj]=YR(Ij,{contentName:Ua,titleName:_x,docsSlug:"dialog"}),wP=({titleId:t})=>{const e=Oj(Ij),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},wP="DialogDescriptionWarning",NP=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Oj(wP).contentName}}.`;return b.useEffect(()=>{var a;const s=(a=t.current)==null?void 0:a.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},jP=wj,kP=kj,SP=Sj,CP=Cj,EP=Tj,TP=Aj,MP=Pj;function Zt(t){return i.jsx(jP,{"data-slot":"dialog",...t})}function AP(t){return i.jsx(kP,{...t})}const Dj=b.forwardRef(({className:t,...e},n)=>i.jsx(SP,{ref:n,className:bt("fixed inset-0 z-50 bg-black/50",t),...e}));Dj.displayName="DialogOverlay";const qt=b.forwardRef(({className:t,children:e,showCloseButton:n=!0,...r},s)=>i.jsxs(AP,{children:[i.jsx(Dj,{}),i.jsxs(CP,{ref:s,"aria-describedby":void 0,className:bt("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-background p-6 shadow-lg",t),...r,children:[e,n&&i.jsxs(MP,{className:"absolute right-4 top-4 rounded-sm opacity-70 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[i.jsx(Wn,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));qt.displayName="DialogContent";function en({className:t,...e}){return i.jsx("div",{className:bt("flex flex-col gap-2 text-center sm:text-left",t),...e})}function Nn({className:t,...e}){return i.jsx("div",{className:bt("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function tn(t){return i.jsx(EP,{className:"text-lg font-semibold leading-none",...t})}function RP(t){return i.jsx(TP,{className:"text-sm text-muted-foreground",...t})}const PP=GN("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 transition-colors",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-white",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Be({className:t,variant:e,asChild:n=!1,...r}){const s=n?UN:"span";return i.jsx(s,{className:bt(PP({variant:e}),t),...r})}var IP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],OP=IP.reduce((t,e)=>{const n=WN(`Primitive.${e}`),r=b.forwardRef((s,a)=>{const{asChild:o,...c}=s,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),DP="Label",Lj=b.forwardRef((t,e)=>i.jsx(OP.label,{...t,ref:e,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Lj.displayName=DP;var _j=Lj;const te=b.forwardRef(({className:t,...e},n)=>i.jsx(_j,{ref:n,className:bt("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...e}));te.displayName=_j.displayName;function $x(t){const e=t+"CollectionProvider",[n,r]=ia(e),[s,a]=n(e,{collectionRef:{current:null},itemMap:new Map}),o=j=>{const{scope:w,children:k}=j,E=er.useRef(null),C=er.useRef(new Map).current;return i.jsx(s,{scope:w,itemMap:C,collectionRef:E,children:k})};o.displayName=e;const c=t+"CollectionSlot",u=Mc(c),h=er.forwardRef((j,w)=>{const{scope:k,children:E}=j,C=a(c,k),T=vt(w,C.collectionRef);return i.jsx(u,{ref:T,children:E})});h.displayName=c;const f=t+"CollectionItemSlot",m="data-radix-collection-item",g=Mc(f),y=er.forwardRef((j,w)=>{const{scope:k,children:E,...C}=j,T=er.useRef(null),O=vt(w,T),B=a(f,k);return er.useEffect(()=>(B.itemMap.set(T,{ref:T,...C}),()=>void B.itemMap.delete(T))),i.jsx(g,{[m]:"",ref:O,children:E})});y.displayName=f;function v(j){const w=a(t+"CollectionConsumer",j);return er.useCallback(()=>{const E=w.collectionRef.current;if(!E)return[];const C=Array.from(E.querySelectorAll(`[${m}]`));return Array.from(w.itemMap.values()).sort((B,R)=>C.indexOf(B.ref.current)-C.indexOf(R.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:h,ItemSlot:y},v,r]}var LP=b.createContext(void 0);function ef(t){const e=b.useContext(LP);return t||e||"ltr"}var Tm="rovingFocusGroup.onEntryFocus",_P={bubbles:!1,cancelable:!0},qc="RovingFocusGroup",[Cg,zj,zP]=$x(qc),[$P,$j]=ia(qc,[zP]),[FP,BP]=$P(qc),Fj=b.forwardRef((t,e)=>i.jsx(Cg.Provider,{scope:t.__scopeRovingFocusGroup,children:i.jsx(Cg.Slot,{scope:t.__scopeRovingFocusGroup,children:i.jsx(VP,{...t,ref:e})})}));Fj.displayName=qc;var VP=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:h,preventScrollOnEntryFocus:f=!1,...m}=t,g=b.useRef(null),y=vt(e,g),v=ef(a),[j,w]=Wa({prop:o,defaultProp:c??null,onChange:u,caller:qc}),[k,E]=b.useState(!1),C=Qi(h),T=zj(n),O=b.useRef(!1),[B,R]=b.useState(0);return b.useEffect(()=>{const P=g.current;if(P)return P.addEventListener(Tm,C),()=>P.removeEventListener(Tm,C)},[C]),i.jsx(FP,{scope:n,orientation:r,dir:v,loop:s,currentTabStopId:j,onItemFocus:b.useCallback(P=>w(P),[w]),onItemShiftTab:b.useCallback(()=>E(!0),[]),onFocusableItemAdd:b.useCallback(()=>R(P=>P+1),[]),onFocusableItemRemove:b.useCallback(()=>R(P=>P-1),[]),children:i.jsx(at.div,{tabIndex:k||B===0?-1:0,"data-orientation":r,...m,ref:y,style:{outline:"none",...t.style},onMouseDown:rt(t.onMouseDown,()=>{O.current=!0}),onFocus:rt(t.onFocus,P=>{const I=!O.current;if(P.target===P.currentTarget&&I&&!k){const L=new CustomEvent(Tm,_P);if(P.currentTarget.dispatchEvent(L),!L.defaultPrevented){const X=T().filter($=>$.focusable),Z=X.find($=>$.active),Y=X.find($=>$.id===j),D=[Z,Y,...X].filter(Boolean).map($=>$.ref.current);Hj(D,f)}}O.current=!1}),onBlur:rt(t.onBlur,()=>E(!1))})})}),Bj="RovingFocusGroupItem",Vj=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:a,children:o,...c}=t,u=Ki(),h=a||u,f=BP(Bj,n),m=f.currentTabStopId===h,g=zj(n),{onFocusableItemAdd:y,onFocusableItemRemove:v,currentTabStopId:j}=f;return b.useEffect(()=>{if(r)return y(),()=>v()},[r,y,v]),i.jsx(Cg.ItemSlot,{scope:n,id:h,focusable:r,active:s,children:i.jsx(at.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...c,ref:e,onMouseDown:rt(t.onMouseDown,w=>{r?f.onItemFocus(h):w.preventDefault()}),onFocus:rt(t.onFocus,()=>f.onItemFocus(h)),onKeyDown:rt(t.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){f.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const k=UP(w,f.orientation,f.dir);if(k!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let C=g().filter(T=>T.focusable).map(T=>T.ref.current);if(k==="last")C.reverse();else if(k==="prev"||k==="next"){k==="prev"&&C.reverse();const T=C.indexOf(w.currentTarget);C=f.loop?KP(C,T+1):C.slice(T+1)}setTimeout(()=>Hj(C))}}),children:typeof o=="function"?o({isCurrentTabStop:m,hasTabStop:j!=null}):o})})});Vj.displayName=Bj;var HP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function WP(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function UP(t,e,n){const r=WP(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return HP[r]}function Hj(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function KP(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var qP=Fj,GP=Vj,tf="Tabs",[JP]=ia(tf,[$j]),Wj=$j(),[YP,Fx]=JP(tf),Uj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:s,defaultValue:a,orientation:o="horizontal",dir:c,activationMode:u="automatic",...h}=t,f=ef(c),[m,g]=Wa({prop:r,onChange:s,defaultProp:a??"",caller:tf});return i.jsx(YP,{scope:n,baseId:Ki(),value:m,onValueChange:g,orientation:o,dir:f,activationMode:u,children:i.jsx(at.div,{dir:f,"data-orientation":o,...h,ref:e})})});Uj.displayName=tf;var Kj="TabsList",qj=b.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...s}=t,a=Fx(Kj,n),o=Wj(n);return i.jsx(qP,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:i.jsx(at.div,{role:"tablist","aria-orientation":a.orientation,...s,ref:e})})});qj.displayName=Kj;var Gj="TabsTrigger",Jj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:s=!1,...a}=t,o=Fx(Gj,n),c=Wj(n),u=Xj(o.baseId,r),h=Zj(o.baseId,r),f=r===o.value;return i.jsx(GP,{asChild:!0,...c,focusable:!s,active:f,children:i.jsx(at.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":h,"data-state":f?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:u,...a,ref:e,onMouseDown:rt(t.onMouseDown,m=>{!s&&m.button===0&&m.ctrlKey===!1?o.onValueChange(r):m.preventDefault()}),onKeyDown:rt(t.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&o.onValueChange(r)}),onFocus:rt(t.onFocus,()=>{const m=o.activationMode!=="manual";!f&&!s&&m&&o.onValueChange(r)})})})});Jj.displayName=Gj;var Yj="TabsContent",Qj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:s,children:a,...o}=t,c=Fx(Yj,n),u=Xj(c.baseId,r),h=Zj(c.baseId,r),f=r===c.value,m=b.useRef(f);return b.useEffect(()=>{const g=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(g)},[]),i.jsx(Kc,{present:s||f,children:({present:g})=>i.jsx(at.div,{"data-state":f?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!g,id:h,tabIndex:0,...o,ref:e,style:{...t.style,animationDuration:m.current?"0s":void 0},children:g&&a})})});Qj.displayName=Yj;function Xj(t,e){return`${t}-trigger-${e}`}function Zj(t,e){return`${t}-content-${e}`}var QP=Uj,ek=qj,tk=Jj,nk=Qj;const Gc=QP,ul=b.forwardRef(({className:t,...e},n)=>i.jsx(ek,{ref:n,className:bt("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));ul.displayName=ek.displayName;const nn=b.forwardRef(({className:t,...e},n)=>i.jsx(tk,{ref:n,className:bt("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));nn.displayName=tk.displayName;const rn=b.forwardRef(({className:t,...e},n)=>i.jsx(nk,{ref:n,className:bt("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));rn.displayName=nk.displayName;function Bx(t){const e=b.useRef({value:t,previous:t});return b.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function Vx(t){const[e,n]=b.useState(void 0);return Un(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let o,c;if("borderBoxSize"in a){const u=a.borderBoxSize,h=Array.isArray(u)?u[0]:u;o=h.inlineSize,c=h.blockSize}else o=t.offsetWidth,c=t.offsetHeight;n({width:o,height:c})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var nf="Switch",[XP]=ia(nf),[ZP,eI]=XP(nf),rk=b.forwardRef((t,e)=>{const{__scopeSwitch:n,name:r,checked:s,defaultChecked:a,required:o,disabled:c,value:u="on",onCheckedChange:h,form:f,...m}=t,[g,y]=b.useState(null),v=vt(e,C=>y(C)),j=b.useRef(!1),w=g?f||!!g.closest("form"):!0,[k,E]=Wa({prop:s,defaultProp:a??!1,onChange:h,caller:nf});return i.jsxs(ZP,{scope:n,checked:k,disabled:c,children:[i.jsx(at.button,{type:"button",role:"switch","aria-checked":k,"aria-required":o,"data-state":ok(k),"data-disabled":c?"":void 0,disabled:c,value:u,...m,ref:v,onClick:rt(t.onClick,C=>{E(T=>!T),w&&(j.current=C.isPropagationStopped(),j.current||C.stopPropagation())})}),w&&i.jsx(ak,{control:g,bubbles:!j.current,name:r,value:u,checked:k,required:o,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});rk.displayName=nf;var sk="SwitchThumb",ik=b.forwardRef((t,e)=>{const{__scopeSwitch:n,...r}=t,s=eI(sk,n);return i.jsx(at.span,{"data-state":ok(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:e})});ik.displayName=sk;var tI="SwitchBubbleInput",ak=b.forwardRef(({__scopeSwitch:t,control:e,checked:n,bubbles:r=!0,...s},a)=>{const o=b.useRef(null),c=vt(o,a),u=Bx(n),h=Vx(e);return b.useEffect(()=>{const f=o.current;if(!f)return;const m=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(m,"checked").set;if(u!==n&&y){const v=new Event("click",{bubbles:r});y.call(f,n),f.dispatchEvent(v)}},[u,n,r]),i.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:c,style:{...s.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ak.displayName=tI;function ok(t){return t?"checked":"unchecked"}var lk=rk,nI=ik;const Nt=b.forwardRef(({className:t,...e},n)=>i.jsx(lk,{className:bt("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 focus-visible:ring-offset-[#0a1628] disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-gray-600 data-[state=checked]:bg-[#38bdac]",t),...e,ref:n,children:i.jsx(nI,{className:bt("pointer-events-none block h-4 w-4 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));Nt.displayName=lk.displayName;function Hx({open:t,onClose:e,userId:n,onUserUpdated:r}){var Cn;const[s,a]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,j]=b.useState(!1),[w,k]=b.useState("info"),[E,C]=b.useState(""),[T,O]=b.useState(""),[B,R]=b.useState([]),[P,I]=b.useState(""),[L,X]=b.useState(""),[Z,Y]=b.useState(""),[W,D]=b.useState(!1),[$,ae]=b.useState({isVip:!1,vipExpireDate:"",vipRole:"",vipName:"",vipProject:"",vipContact:"",vipBio:""}),[_,se]=b.useState([]),[q,z]=b.useState(!1),[H,de]=b.useState(!1),[K,fe]=b.useState(null),[Q,oe]=b.useState(null),[ue,ye]=b.useState(""),[V,ge]=b.useState(""),[Me,tt]=b.useState(""),[et,ot]=b.useState(!1),[Ge,dt]=b.useState(null),[Et,ht]=b.useState("");b.useEffect(()=>{t&&n&&(k("info"),fe(null),oe(null),dt(null),ht(""),X(""),Y(""),Tt(),Fe("/api/db/vip-roles").then(pe=>{pe!=null&&pe.success&&pe.data&&se(pe.data)}).catch(()=>{}))},[t,n]);async function Tt(){if(n){m(!0);try{const pe=await Fe(`/api/db/users?id=${encodeURIComponent(n)}`);if(pe!=null&&pe.success&&pe.user){const ve=pe.user;a(ve),C(ve.phone||""),O(ve.nickname||""),ye(ve.phone||""),ge(ve.wechatId||""),tt(ve.openId||"");try{R(typeof ve.tags=="string"?JSON.parse(ve.tags||"[]"):[])}catch{R([])}ae({isVip:!!(ve.isVip??!1),vipExpireDate:ve.vipExpireDate?String(ve.vipExpireDate).slice(0,10):"",vipRole:String(ve.vipRole??""),vipName:String(ve.vipName??""),vipProject:String(ve.vipProject??""),vipContact:String(ve.vipContact??""),vipBio:String(ve.vipBio??"")})}try{const ve=await Fe(`/api/user/track?userId=${encodeURIComponent(n)}&limit=50`);ve!=null&&ve.success&&ve.tracks&&c(ve.tracks)}catch{c([])}try{const ve=await Fe(`/api/db/users/referrals?userId=${encodeURIComponent(n)}`);ve!=null&&ve.success&&ve.referrals&&h(ve.referrals)}catch{h([])}}catch(pe){console.error("Load user detail error:",pe)}finally{m(!1)}}}async function rr(){if(!(s!=null&&s.phone)){he.info("用户未绑定手机号,无法同步");return}y(!0);try{const pe=await mt("/api/ckb/sync",{action:"full_sync",phone:s.phone,userId:s.id});pe!=null&&pe.success?(he.success("同步成功"),Tt()):he.error("同步失败: "+(pe==null?void 0:pe.error))}catch(pe){console.error("Sync CKB error:",pe),he.error("同步失败")}finally{y(!1)}}async function sr(){if(s){j(!0);try{const pe={id:s.id,phone:E||void 0,nickname:T||void 0,tags:JSON.stringify(B)},ve=await _t("/api/db/users",pe);ve!=null&&ve.success?(he.success("保存成功"),Tt(),r==null||r()):he.error("保存失败: "+(ve==null?void 0:ve.error))}catch(pe){console.error("Save user error:",pe),he.error("保存失败")}finally{j(!1)}}}const Er=()=>{P&&!B.includes(P)&&(R([...B,P]),I(""))},on=pe=>R(B.filter(ve=>ve!==pe));async function Kr(){if(s){if(!L){he.error("请输入新密码");return}if(L!==Z){he.error("两次密码不一致");return}if(L.length<6){he.error("密码至少 6 位");return}D(!0);try{const pe=await _t("/api/db/users",{id:s.id,password:L});pe!=null&&pe.success?(he.success("修改成功"),X(""),Y("")):he.error("修改失败: "+((pe==null?void 0:pe.error)||""))}catch{he.error("修改失败")}finally{D(!1)}}}async function gr(){if(s){if($.isVip&&!$.vipExpireDate.trim()){he.error("开启 VIP 请填写有效到期日");return}z(!0);try{const pe={id:s.id,isVip:$.isVip,vipExpireDate:$.isVip?$.vipExpireDate:void 0,vipRole:$.vipRole||void 0,vipName:$.vipName||void 0,vipProject:$.vipProject||void 0,vipContact:$.vipContact||void 0,vipBio:$.vipBio||void 0},ve=await _t("/api/db/users",pe);ve!=null&&ve.success?(he.success("VIP 设置已保存"),Tt(),r==null||r()):he.error("保存失败: "+((ve==null?void 0:ve.error)||""))}catch{he.error("保存失败")}finally{z(!1)}}}async function Tr(){if(!ue&&!Me&&!V){oe("请至少输入手机号、微信号或 OpenID 中的一项");return}de(!0),oe(null),fe(null);try{const pe=new URLSearchParams;ue&&pe.set("phone",ue),Me&&pe.set("openId",Me),V&&pe.set("wechatId",V);const ve=await Fe(`/api/admin/shensheshou/query?${pe}`);ve!=null&&ve.success&&ve.data?(fe(ve.data),s&&await _n(ve.data)):oe((ve==null?void 0:ve.error)||"未查询到数据,该用户可能未在神射手收录")}catch(pe){console.error("SSS query error:",pe),oe("请求失败,请检查神射手接口配置")}finally{de(!1)}}async function _n(pe){if(s)try{await mt("/api/admin/shensheshou/enrich",{userId:s.id,phone:ue||s.phone||"",openId:Me||s.openId||"",wechatId:V||s.wechatId||""}),Tt()}catch(ve){console.error("SSS enrich error:",ve)}}async function Jn(){if(s){ot(!0),dt(null);try{const pe={users:[{phone:s.phone||"",name:s.nickname||"",openId:s.openId||"",tags:B}]},ve=await mt("/api/admin/shensheshou/ingest",pe);ve!=null&&ve.success&&ve.data?dt(ve.data):dt({error:(ve==null?void 0:ve.error)||"推送失败"})}catch(pe){console.error("SSS ingest error:",pe),dt({error:"请求失败"})}finally{ot(!1)}}}const Yn=pe=>{const hn={view_chapter:Hr,purchase:wg,match:Ln,login:qo,register:qo,share:Ss,bind_phone:aA,bind_wechat:GM,fill_profile:xm,visit_page:Wo}[pe]||xg;return i.jsx(hn,{className:"w-4 h-4"})};return t?i.jsx(Zt,{open:t,onOpenChange:()=>e(),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] overflow-hidden",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(qo,{className:"w-5 h-5 text-[#38bdac]"}),"用户详情",(s==null?void 0:s.phone)&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 ml-2",children:"已绑定手机"}),(s==null?void 0:s.isVip)&&i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 border-0",children:"VIP"})]})}),f?i.jsxs("div",{className:"flex items-center justify-center py-20",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s?i.jsxs("div",{className:"flex flex-col h-[75vh]",children:[i.jsxs("div",{className:"flex items-center gap-4 p-4 bg-[#0a1628] rounded-lg mb-3",children:[i.jsx("div",{className:"w-16 h-16 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-2xl text-[#38bdac] shrink-0",children:s.avatar?i.jsx("img",{src:s.avatar,className:"w-full h-full rounded-full object-cover",alt:""}):((Cn=s.nickname)==null?void 0:Cn.charAt(0))||"?"}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[i.jsx("h3",{className:"text-lg font-bold text-white",children:s.nickname}),s.isAdmin&&i.jsx(Be,{className:"bg-purple-500/20 text-purple-400 border-0",children:"管理员"}),s.hasFullBook&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0",children:"全书已购"}),s.vipRole&&i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 border-0",children:s.vipRole})]}),i.jsxs("p",{className:"text-gray-400 text-sm mt-1",children:[s.phone?`📱 ${s.phone}`:"未绑定手机",s.wechatId&&` · 💬 ${s.wechatId}`,s.mbti&&` · ${s.mbti}`]}),i.jsxs("div",{className:"flex items-center gap-4 mt-1",children:[i.jsxs("p",{className:"text-gray-600 text-xs",children:["ID: ",s.id.slice(0,16),"…"]}),s.referralCode&&i.jsxs("p",{className:"text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"推广码:"}),i.jsx("code",{className:"text-[#38bdac] bg-[#38bdac]/10 px-1.5 py-0.5 rounded",children:s.referralCode})]})]})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-[#38bdac] font-bold text-lg",children:["¥",(s.earnings||0).toFixed(2)]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"累计收益"})]})]}),i.jsxs(Gc,{value:w,onValueChange:k,className:"flex-1 flex flex-col overflow-hidden",children:[i.jsxs(ul,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-3 flex-wrap h-auto gap-1",children:[i.jsx(nn,{value:"info",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"基础信息"}),i.jsx(nn,{value:"tags",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"标签体系"}),i.jsxs(nn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[i.jsx(Wo,{className:"w-3 h-3 mr-1"}),"用户旅程"]}),i.jsx(nn,{value:"relations",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"关系链路"}),i.jsxs(nn,{value:"shensheshou",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[i.jsx(Fi,{className:"w-3 h-3 mr-1"}),"用户资料完善"]})]}),i.jsxs(rn,{value:"info",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入手机号",value:E,onChange:pe=>C(pe.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入昵称",value:T,onChange:pe=>O(pe.target.value)})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[s.openId&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"微信 OpenID"}),i.jsx("p",{className:"text-gray-300 font-mono text-xs break-all",children:s.openId})]}),s.region&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[i.jsx(BN,{className:"w-4 h-4 text-gray-500"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-500 text-xs",children:"地区"}),i.jsx("p",{className:"text-white",children:s.region})]})]}),s.industry&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"行业"}),i.jsx("p",{className:"text-white",children:s.industry})]}),s.position&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"职位"}),i.jsx("p",{className:"text-white",children:s.position})]})]}),i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"推荐人数"}),i.jsx("p",{className:"text-2xl font-bold text-white",children:s.referralCount??0})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"待提现"}),i.jsxs("p",{className:"text-2xl font-bold text-yellow-400",children:["¥",(s.pendingEarnings??0).toFixed(2)]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"创建时间"}),i.jsx("p",{className:"text-sm text-white",children:s.createdAt?new Date(s.createdAt).toLocaleDateString():"-"})]})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(RM,{className:"w-4 h-4 text-yellow-400"}),i.jsx("span",{className:"text-white font-medium",children:"修改密码"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(ce,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"新密码(至少6位)",value:L,onChange:pe=>X(pe.target.value)}),i.jsx(ce,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"确认密码",value:Z,onChange:pe=>Y(pe.target.value)}),i.jsx(ne,{size:"sm",onClick:Kr,disabled:W||!L||!Z,className:"bg-yellow-500/20 hover:bg-yellow-500/30 text-yellow-400 border border-yellow-500/40",children:W?"保存中...":"确认修改"})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Pa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:"设成超级个体"})]}),i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-400 text-sm",children:"VIP 会员"}),i.jsx(Nt,{checked:$.isVip,onCheckedChange:pe=>ae(ve=>({...ve,isVip:pe}))})]}),$.isVip&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"到期日"}),i.jsx(ce,{type:"date",className:"bg-[#162840] border-gray-700 text-white text-sm",value:$.vipExpireDate,onChange:pe=>ae(ve=>({...ve,vipExpireDate:pe.target.value}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"角色"}),i.jsxs("select",{className:"w-full bg-[#162840] border border-gray-700 text-white rounded px-2 py-1.5 text-sm",value:$.vipRole,onChange:pe=>ae(ve=>({...ve,vipRole:pe.target.value})),children:[i.jsx("option",{value:"",children:"请选择"}),_.map(pe=>i.jsx("option",{value:pe.name,children:pe.name},pe.id))]})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"展示名"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white text-sm",placeholder:"创业老板排行展示名",value:$.vipName,onChange:pe=>ae(ve=>({...ve,vipName:pe.target.value}))})]}),i.jsx(ne,{size:"sm",onClick:gr,disabled:q,className:"bg-amber-500/20 hover:bg-amber-500/30 text-amber-400 border border-amber-500/40",children:q?"保存中...":"保存 VIP"})]})]})]}),s.isVip&&i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Pa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:"VIP 信息"}),i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 border-0 text-xs",children:s.vipRole||"VIP"})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[s.vipName&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"展示名:"}),i.jsx("span",{className:"text-white",children:s.vipName})]}),s.vipProject&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"项目:"}),i.jsx("span",{className:"text-white",children:s.vipProject})]}),s.vipContact&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"联系方式:"}),i.jsx("span",{className:"text-white",children:s.vipContact})]}),s.vipExpireDate&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"到期时间:"}),i.jsx("span",{className:"text-white",children:new Date(s.vipExpireDate).toLocaleDateString()})]})]}),s.vipBio&&i.jsx("p",{className:"text-gray-400 text-sm mt-2",children:s.vipBio})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-purple-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Tc,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"微信归属"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"该用户归属在哪个微信号下"})]}),i.jsxs("div",{className:"flex gap-2 items-center",children:[i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"输入归属微信号(如 wxid_xxxx)",value:Et,onChange:pe=>ht(pe.target.value)}),i.jsxs(ne,{size:"sm",onClick:async()=>{if(!(!Et||!s))try{await _t("/api/db/users",{id:s.id,wechatId:Et}),he.success("已保存微信归属"),Tt()}catch{he.error("保存失败")}},className:"bg-purple-500/20 hover:bg-purple-500/30 text-purple-400 border border-purple-500/30 shrink-0",children:[i.jsx(an,{className:"w-4 h-4 mr-1"})," 保存"]})]}),s.wechatId&&i.jsxs("p",{className:"text-gray-500 text-xs mt-2",children:["当前归属:",i.jsx("span",{className:"text-purple-400",children:s.wechatId})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Ss,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"存客宝同步"})]}),i.jsx(ne,{size:"sm",onClick:rr,disabled:g||!s.phone,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 同步中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1"})," 同步数据"]})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"同步状态:"}),s.ckbSyncedAt?i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 ml-1",children:"已同步"}):i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 border-0 ml-1",children:"未同步"})]}),i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"最后同步:"}),i.jsx("span",{className:"text-gray-300 ml-1",children:s.ckbSyncedAt?new Date(s.ckbSyncedAt).toLocaleString():"-"})]})]})]})]}),i.jsxs(rn,{value:"tags",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(xm,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"用户标签"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"基于《一场 Soul 的创业实验》维度打标"})]}),i.jsxs("div",{className:"mb-3 p-2.5 bg-[#38bdac]/5 border border-[#38bdac]/20 rounded-lg flex items-center gap-2 text-xs text-gray-400",children:[i.jsx(gg,{className:"w-3.5 h-3.5 text-[#38bdac] shrink-0"}),"命中的标签自动高亮 · 系统根据行为轨迹和填写资料自动打标 · 手动点击补充或取消"]}),i.jsx("div",{className:"mb-4 space-y-3",children:[{category:"身份类型",tags:["创业者","打工人","自由职业","学生","投资人","合伙人"]},{category:"行业背景",tags:["电商","内容","传统行业","科技/AI","金融","教育","餐饮"]},{category:"痛点标签",tags:["找资源","找方向","找合伙人","想赚钱","想学习","找情感出口"]},{category:"付费意愿",tags:["高意向","已付费","观望中","薅羊毛"]},{category:"MBTI",tags:["ENTJ","INTJ","ENFP","INFP","ENTP","INTP","ESTJ","ISFJ"]}].map(pe=>i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1.5",children:pe.category}),i.jsx("div",{className:"flex flex-wrap gap-1.5",children:pe.tags.map(ve=>i.jsxs("button",{type:"button",onClick:()=>{B.includes(ve)?on(ve):R([...B,ve])},className:`px-2 py-0.5 rounded text-xs border transition-all ${B.includes(ve)?"bg-[#38bdac]/20 border-[#38bdac]/50 text-[#38bdac]":"bg-transparent border-gray-700 text-gray-500 hover:border-gray-500 hover:text-gray-300"}`,children:[B.includes(ve)?"✓ ":"",ve]},ve))})]},pe.category))}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-3",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"已选标签"}),i.jsxs("div",{className:"flex flex-wrap gap-2 mb-3 min-h-[32px]",children:[B.map((pe,ve)=>i.jsxs(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0 pr-1",children:[pe,i.jsx("button",{type:"button",onClick:()=>on(pe),className:"ml-1 hover:text-red-400",children:i.jsx(Wn,{className:"w-3 h-3"})})]},ve)),B.length===0&&i.jsx("span",{className:"text-gray-600 text-sm",children:"暂未选择标签"})]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"自定义标签(回车添加)",value:P,onChange:pe=>I(pe.target.value),onKeyDown:pe=>pe.key==="Enter"&&Er()}),i.jsx(ne,{onClick:Er,className:"bg-[#38bdac] hover:bg-[#2da396]",children:"添加"})]})]})]}),s.ckbTags&&i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[i.jsx(xm,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"存客宝标签"})]}),i.jsx("div",{className:"flex flex-wrap gap-2",children:(typeof s.ckbTags=="string"?s.ckbTags.split(","):[]).map((pe,ve)=>i.jsx(Be,{className:"bg-purple-500/20 text-purple-400 border-0",children:pe.trim()},ve))})]})]}),i.jsxs(rn,{value:"journey",className:"flex-1 overflow-auto",children:[i.jsxs("div",{className:"mb-3 p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[i.jsx(Wo,{className:"w-4 h-4 text-[#38bdac]"}),i.jsxs("span",{className:"text-gray-400 text-sm",children:["记录用户从注册到付费的完整行动路径,共 ",o.length," 条记录"]})]}),i.jsx("div",{className:"space-y-2",children:o.length>0?o.map((pe,ve)=>i.jsxs("div",{className:"flex items-start gap-3 p-3 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex flex-col items-center",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-[#38bdac]",children:Yn(pe.action)}),ve0?u.map((pe,ve)=>{var Mr;const hn=pe;return i.jsxs("div",{className:"flex items-center justify-between p-2 bg-[#162840] rounded",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:"w-6 h-6 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-xs text-[#38bdac]",children:((Mr=hn.nickname)==null?void 0:Mr.charAt(0))||"?"}),i.jsx("span",{className:"text-white text-sm",children:hn.nickname})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[hn.status==="vip"&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"已购"}),i.jsx("span",{className:"text-gray-500 text-xs",children:hn.createdAt?new Date(hn.createdAt).toLocaleDateString():""})]})]},hn.id||ve)}):i.jsx("p",{className:"text-gray-500 text-sm text-center py-4",children:"暂无推荐用户"})})]})}),i.jsxs(rn,{value:"shensheshou",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Fi,{className:"w-5 h-5 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"用户资料完善"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"通过多维度查询神射手数据,自动回填用户基础信息"})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-2 mb-3",children:[i.jsxs("div",{children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"手机号"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"11位手机号",value:ue,onChange:pe=>ye(pe.target.value)})]}),i.jsxs("div",{children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信号"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"微信 ID",value:V,onChange:pe=>ge(pe.target.value)})]}),i.jsxs("div",{className:"col-span-2",children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信 OpenID"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"openid_xxxx(自动填入)",value:Me,onChange:pe=>tt(pe.target.value)})]})]}),i.jsx(ne,{onClick:Tr,disabled:H,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:H?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 查询并自动回填中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Ui,{className:"w-4 h-4 mr-1"})," 查询并自动完善用户资料"]})}),i.jsx("p",{className:"text-gray-600 text-xs mt-2",children:"查询成功后,神射手返回的标签将自动同步到该用户"}),Q&&i.jsx("div",{className:"mt-3 p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-red-400 text-sm",children:Q}),K&&i.jsxs("div",{className:"mt-3 space-y-3",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"神射手 RFM 分"}),i.jsx("p",{className:"text-2xl font-bold text-[#38bdac]",children:K.rfm_score??"-"})]}),i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"用户等级"}),i.jsx("p",{className:"text-2xl font-bold text-white",children:K.user_level??"-"})]})]}),K.tags&&K.tags.length>0&&i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"神射手标签"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:K.tags.map((pe,ve)=>i.jsx(Be,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/20",children:pe},ve))})]}),K.last_active&&i.jsxs("div",{className:"text-sm text-gray-500",children:["最近活跃:",K.last_active]})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx(Fi,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"推送用户数据到神射手"})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"将本用户信息(手机号、昵称、标签等)同步至神射手,自动完善用户画像"})]}),i.jsx(ne,{onClick:Jn,disabled:et||!s.phone,variant:"outline",className:"border-purple-500/40 text-purple-400 hover:bg-purple-500/10 bg-transparent shrink-0 ml-4",children:et?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 推送中"]}):i.jsxs(i.Fragment,{children:[i.jsx(Fi,{className:"w-4 h-4 mr-1"})," 推送"]})})]}),!s.phone&&i.jsx("p",{className:"text-yellow-500/70 text-xs",children:"⚠ 用户未绑定手机号,无法推送"}),Ge&&i.jsx("div",{className:"mt-3 p-3 bg-[#162840] rounded-lg text-sm",children:Ge.error?i.jsx("p",{className:"text-red-400",children:String(Ge.error)}):i.jsxs("div",{className:"space-y-1",children:[i.jsxs("p",{className:"text-green-400 flex items-center gap-1",children:[i.jsx(gg,{className:"w-4 h-4"})," 推送成功"]}),Ge.enriched!==void 0&&i.jsxs("p",{className:"text-gray-400",children:["自动补全标签数:",String(Ge.new_tags_added??0)]})]})})]})]})]}),i.jsxs("div",{className:"flex justify-end gap-2 pt-3 border-t border-gray-700 mt-3",children:[i.jsxs(ne,{variant:"outline",onClick:e,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"关闭"]}),i.jsxs(ne,{onClick:sr,disabled:v,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),v?"保存中...":"保存修改"]})]})]}):i.jsx("div",{className:"text-center py-12 text-gray-500",children:"用户不存在"})]})}):null}function rI(){const t=sa(),[e,n]=b.useState(!0),[r,s]=b.useState(!0),[a,o]=b.useState(!0),[c,u]=b.useState([]),[h,f]=b.useState([]),[m,g]=b.useState(0),[y,v]=b.useState(0),[j,w]=b.useState(0),[k,E]=b.useState(0),[C,T]=b.useState(null),[O,B]=b.useState(null),[R,P]=b.useState(!1),I=W=>{const D=W;if((D==null?void 0:D.status)===401)T("登录已过期,请重新登录");else{if((D==null?void 0:D.name)==="AbortError")return;T("加载失败,请检查网络或联系管理员")}};async function L(W){const D=W?{signal:W}:void 0;n(!0),T(null);try{const _=await Fe("/api/admin/dashboard/stats",D);_!=null&&_.success&&(g(_.totalUsers??0),v(_.paidOrderCount??0),w(_.totalRevenue??0),E(_.conversionRate??0))}catch(_){if((_==null?void 0:_.name)!=="AbortError"){console.error("stats 失败,尝试 overview 降级",_);try{const se=await Fe("/api/admin/dashboard/overview",D);se!=null&&se.success&&(g(se.totalUsers??0),v(se.paidOrderCount??0),w(se.totalRevenue??0),E(se.conversionRate??0))}catch(se){I(se)}}}finally{n(!1)}s(!0),o(!0);const $=async()=>{try{const _=await Fe("/api/admin/dashboard/recent-orders",D);if(_!=null&&_.success&&_.recentOrders)f(_.recentOrders);else throw new Error("no data")}catch(_){if((_==null?void 0:_.name)!=="AbortError")try{const se=await Fe("/api/orders?page=1&pageSize=20&status=paid",D),z=((se==null?void 0:se.orders)??[]).filter(H=>["paid","completed","success"].includes(H.status||""));f(z.slice(0,5))}catch{f([])}}finally{s(!1)}},ae=async()=>{try{const _=await Fe("/api/admin/dashboard/new-users",D);if(_!=null&&_.success&&_.newUsers)u(_.newUsers);else throw new Error("no data")}catch(_){if((_==null?void 0:_.name)!=="AbortError")try{const se=await Fe("/api/db/users?page=1&pageSize=10",D);u((se==null?void 0:se.users)??[])}catch{u([])}}finally{o(!1)}};await Promise.all([$(),ae()])}b.useEffect(()=>{const W=new AbortController;L(W.signal);const D=setInterval(()=>L(),3e4);return()=>{W.abort(),clearInterval(D)}},[]);const X=m,Z=W=>{const D=W.productType||"",$=W.description||"";if($){if(D==="section"&&$.includes("章节")){if($.includes("-")){const ae=$.split("-");if(ae.length>=3)return{title:`第${ae[1]}章 第${ae[2]}节`,subtitle:"《一场Soul的创业实验》"}}return{title:$,subtitle:"章节购买"}}return D==="fullbook"||$.includes("全书")?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:D==="match"||$.includes("伙伴")?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:$,subtitle:D==="section"?"单章":D==="fullbook"?"全书":"其他"}}return D==="section"?{title:`章节 ${W.productId||""}`,subtitle:"单章购买"}:D==="fullbook"?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:D==="match"?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:"未知商品",subtitle:D||"其他"}},Y=[{title:"总用户数",value:e?null:X,icon:Ln,color:"text-blue-400",bg:"bg-blue-500/20",link:"/users"},{title:"总收入",value:e?null:`¥${(j??0).toFixed(2)}`,icon:fc,color:"text-[#38bdac]",bg:"bg-[#38bdac]/20",link:"/orders"},{title:"订单数",value:e?null:y,icon:wg,color:"text-purple-400",bg:"bg-purple-500/20",link:"/orders"},{title:"转化率",value:e?null:`${typeof k=="number"?k.toFixed(1):0}%`,icon:Hr,color:"text-orange-400",bg:"bg-orange-500/20",link:"/distribution"}];return i.jsxs("div",{className:"p-8 w-full",children:[i.jsx("h1",{className:"text-2xl font-bold mb-8 text-white",children:"数据概览"}),C&&i.jsxs("div",{className:"mb-6 px-4 py-3 rounded-lg bg-amber-500/20 border border-amber-500/50 text-amber-200 text-sm flex items-center justify-between",children:[i.jsx("span",{children:C}),i.jsx("button",{type:"button",onClick:()=>L(),className:"text-amber-400 hover:text-amber-300 underline",children:"重试"})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8",children:Y.map((W,D)=>i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl cursor-pointer hover:border-[#38bdac]/50 transition-colors group",onClick:()=>W.link&&t(W.link),children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsx(Ze,{className:"text-sm font-medium text-gray-400",children:W.title}),i.jsx("div",{className:`p-2 rounded-lg ${W.bg}`,children:i.jsx(W.icon,{className:`w-4 h-4 ${W.color}`})})]}),i.jsx(Re,{children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{className:"text-2xl font-bold text-white min-h-[2rem] flex items-center",children:W.value!=null?W.value:i.jsxs("span",{className:"inline-flex items-center gap-2 text-gray-500",children:[i.jsx(qe,{className:"w-4 h-4 animate-spin"}),"加载中"]})}),i.jsx(Ho,{className:"w-5 h-5 text-gray-600 group-hover:text-[#38bdac] transition-colors"})]})})]},D))}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between",children:[i.jsx(Ze,{className:"text-white",children:"最近订单"}),i.jsxs("button",{type:"button",onClick:()=>L(),disabled:r||a,className:"text-xs text-gray-400 hover:text-[#38bdac] flex items-center gap-1 disabled:opacity-50",title:"刷新",children:[r||a?i.jsx(qe,{className:"w-3.5 h-3.5 animate-spin"}):i.jsx(qe,{className:"w-3.5 h-3.5"}),"刷新(每 30 秒自动更新)"]})]}),i.jsx(Re,{children:i.jsx("div",{className:"space-y-3",children:r&&h.length===0?i.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[i.jsx(qe,{className:"w-8 h-8 animate-spin mb-2"}),i.jsx("span",{className:"text-sm",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[h.slice(0,5).map(W=>{var se;const D=W.referrerId?c.find(q=>q.id===W.referrerId):void 0,$=W.referralCode||(D==null?void 0:D.referralCode)||(D==null?void 0:D.nickname)||(W.referrerId?String(W.referrerId).slice(0,8):""),ae=Z(W),_=W.userNickname||((se=c.find(q=>q.id===W.userId))==null?void 0:se.nickname)||"匿名用户";return i.jsxs("div",{className:"flex items-start justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30 hover:border-[#38bdac]/30 transition-colors",children:[i.jsxs("div",{className:"flex items-start gap-3 flex-1",children:[W.userAvatar?i.jsx("img",{src:W.userAvatar,alt:_,className:"w-9 h-9 rounded-full object-cover flex-shrink-0 mt-0.5",onError:q=>{q.currentTarget.style.display="none";const z=q.currentTarget.nextElementSibling;z&&z.classList.remove("hidden")}}):null,i.jsx("div",{className:`w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 mt-0.5 ${W.userAvatar?"hidden":""}`,children:_.charAt(0)}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx("button",{type:"button",onClick:()=>{W.userId&&(B(W.userId),P(!0))},className:"text-sm text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:_}),i.jsx("span",{className:"text-gray-600",children:"·"}),i.jsx("span",{className:"text-sm font-medium text-white truncate",children:ae.title})]}),i.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[ae.subtitle&&ae.subtitle!=="章节购买"&&i.jsx("span",{className:"px-1.5 py-0.5 bg-gray-700/50 rounded",children:ae.subtitle}),i.jsx("span",{children:new Date(W.createdAt||0).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})]}),$&&i.jsxs("p",{className:"text-xs text-gray-600 mt-1",children:["推荐: ",$]})]})]}),i.jsxs("div",{className:"text-right ml-4 flex-shrink-0",children:[i.jsxs("p",{className:"text-sm font-bold text-[#38bdac]",children:["+¥",Number(W.amount).toFixed(2)]}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:W.paymentMethod||"微信"})]})]},W.id)}),h.length===0&&!r&&i.jsxs("div",{className:"text-center py-12",children:[i.jsx(wg,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),i.jsx("p",{className:"text-gray-500",children:"暂无订单数据"})]})]})})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"新注册用户"})}),i.jsx(Re,{children:i.jsx("div",{className:"space-y-3",children:a&&c.length===0?i.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[i.jsx(qe,{className:"w-8 h-8 animate-spin mb-2"}),i.jsx("span",{className:"text-sm",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[c.slice(0,5).map(W=>{var D;return i.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:((D=W.nickname)==null?void 0:D.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsx("button",{type:"button",onClick:()=>{B(W.id),P(!0)},className:"text-sm font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:W.nickname||"匿名用户"}),i.jsx("p",{className:"text-xs text-gray-500",children:W.phone||"-"})]})]}),i.jsx("p",{className:"text-xs text-gray-400",children:W.createdAt?new Date(W.createdAt).toLocaleDateString():"-"})]},W.id)}),c.length===0&&!a&&i.jsx("p",{className:"text-gray-500 text-center py-8",children:"暂无用户数据"})]})})})]})]}),i.jsx(Hx,{open:R,onClose:()=>{P(!1),B(null)},userId:O,onUserUpdated:()=>L()})]})}const fr=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{className:"relative w-full overflow-auto",children:i.jsx("table",{ref:n,className:bt("w-full caption-bottom text-sm",t),...e})}));fr.displayName="Table";const pr=b.forwardRef(({className:t,...e},n)=>i.jsx("thead",{ref:n,className:bt("[&_tr]:border-b",t),...e}));pr.displayName="TableHeader";const mr=b.forwardRef(({className:t,...e},n)=>i.jsx("tbody",{ref:n,className:bt("[&_tr:last-child]:border-0",t),...e}));mr.displayName="TableBody";const ct=b.forwardRef(({className:t,...e},n)=>i.jsx("tr",{ref:n,className:bt("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));ct.displayName="TableRow";const Te=b.forwardRef(({className:t,...e},n)=>i.jsx("th",{ref:n,className:bt("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...e}));Te.displayName="TableHead";const we=b.forwardRef(({className:t,...e},n)=>i.jsx("td",{ref:n,className:bt("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...e}));we.displayName="TableCell";function Wx(t,e){const[n,r]=b.useState(t);return b.useEffect(()=>{const s=setTimeout(()=>r(t),e);return()=>clearTimeout(s)},[t,e]),n}function ls({page:t,totalPages:e,total:n,pageSize:r,onPageChange:s,onPageSizeChange:a,pageSizeOptions:o=[10,20,50,100]}){return e<=1&&!a?null:i.jsxs("div",{className:"flex items-center justify-between gap-4 py-4 px-5 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-400",children:[i.jsxs("span",{children:["共 ",n," 条"]}),a&&i.jsx("select",{value:r,onChange:c=>a(Number(c.target.value)),className:"bg-[#0f2137] border border-gray-600 rounded px-2 py-1 text-gray-300 text-sm",children:o.map(c=>i.jsxs("option",{value:c,children:[c," 条/页"]},c))})]}),e>1&&i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("button",{type:"button",onClick:()=>s(1),disabled:t<=1,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"首页"}),i.jsx("button",{type:"button",onClick:()=>s(t-1),disabled:t<=1,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"上一页"}),i.jsxs("span",{className:"px-3 py-1 text-gray-400 text-sm",children:[t," / ",e]}),i.jsx("button",{type:"button",onClick:()=>s(t+1),disabled:t>=e,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"下一页"}),i.jsx("button",{type:"button",onClick:()=>s(e),disabled:t>=e,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"末页"})]})]})}function sI(){const[t,e]=b.useState([]),[n,r]=b.useState([]),[s,a]=b.useState(0),[o,c]=b.useState(0),[u,h]=b.useState(0),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,j]=b.useState(""),w=Wx(v,300),[k,E]=b.useState("all"),[C,T]=b.useState(!0),[O,B]=b.useState(null),[R,P]=b.useState(null),[I,L]=b.useState(""),[X,Z]=b.useState(!1);async function Y(){T(!0),B(null);try{const q=k==="all"?"":k==="completed"?"completed":k,z=new URLSearchParams({page:String(f),pageSize:String(g),...q&&{status:q},...w&&{search:w}}),[H,de]=await Promise.all([Fe(`/api/orders?${z}`),Fe("/api/db/users?page=1&pageSize=500")]);H!=null&&H.success&&(e(H.orders||[]),a(H.total??0),c(H.totalRevenue??0),h(H.todayRevenue??0)),de!=null&&de.success&&de.users&&r(de.users)}catch(q){console.error("加载订单失败",q),B("加载订单失败,请检查网络后重试")}finally{T(!1)}}b.useEffect(()=>{m(1)},[w,k]),b.useEffect(()=>{Y()},[f,g,w,k]);const W=q=>{var z;return q.userNickname||((z=n.find(H=>H.id===q.userId))==null?void 0:z.nickname)||"匿名用户"},D=q=>{var z;return((z=n.find(H=>H.id===q))==null?void 0:z.phone)||"-"},$=q=>{const z=q.productType||q.type||"",H=q.description||"";if(H){if(z==="section"&&H.includes("章节")){if(H.includes("-")){const de=H.split("-");if(de.length>=3)return{name:`第${de[1]}章 第${de[2]}节`,type:"《一场Soul的创业实验》"}}return{name:H,type:"章节购买"}}return z==="fullbook"||H.includes("全书")?{name:"《一场Soul的创业实验》",type:"全书购买"}:z==="vip"||H.includes("VIP")?{name:"VIP年度会员",type:"VIP"}:z==="match"||H.includes("伙伴")?{name:"找伙伴匹配",type:"功能服务"}:{name:H,type:"其他"}}return z==="section"?{name:`章节 ${q.productId||q.sectionId||""}`,type:"单章"}:z==="fullbook"?{name:"《一场Soul的创业实验》",type:"全书"}:z==="vip"?{name:"VIP年度会员",type:"VIP"}:z==="match"?{name:"找伙伴匹配",type:"功能"}:{name:"未知商品",type:z||"其他"}},ae=Math.ceil(s/g)||1;async function _(){var q;if(!(!(R!=null&&R.orderSn)&&!(R!=null&&R.id))){Z(!0),B(null);try{const z=await _t("/api/admin/orders/refund",{orderSn:R.orderSn||R.id,reason:I||void 0});z!=null&&z.success?(P(null),L(""),Y()):B((z==null?void 0:z.error)||"退款失败")}catch(z){const H=z;B(((q=H==null?void 0:H.data)==null?void 0:q.error)||"退款失败,请检查网络后重试")}finally{Z(!1)}}}function se(){if(t.length===0){he.info("暂无数据可导出");return}const q=["订单号","用户","手机号","商品","金额","支付方式","状态","退款原因","分销佣金","下单时间"],z=t.map(Q=>{const oe=$(Q);return[Q.orderSn||Q.id||"",W(Q),D(Q.userId),oe.name,Number(Q.amount||0).toFixed(2),Q.paymentMethod==="wechat"?"微信支付":Q.paymentMethod==="alipay"?"支付宝":Q.paymentMethod||"微信支付",Q.status==="refunded"?"已退款":Q.status==="paid"||Q.status==="completed"?"已完成":Q.status==="pending"||Q.status==="created"?"待支付":"已失败",Q.status==="refunded"&&Q.refundReason?Q.refundReason:"-",Q.referrerEarnings?Number(Q.referrerEarnings).toFixed(2):"-",Q.createdAt?new Date(Q.createdAt).toLocaleString("zh-CN"):""].join(",")}),H="\uFEFF"+[q.join(","),...z].join(` -`),de=new Blob([H],{type:"text/csv;charset=utf-8"}),K=URL.createObjectURL(de),fe=document.createElement("a");fe.href=K,fe.download=`订单列表_${new Date().toISOString().slice(0,10)}.csv`,fe.click(),URL.revokeObjectURL(K)}return i.jsxs("div",{className:"p-8 w-full",children:[O&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:O}),i.jsx("button",{type:"button",onClick:()=>B(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"订单管理"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",t.length," 笔订单"]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs(ne,{variant:"outline",onClick:Y,disabled:C,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${C?"animate-spin":""}`}),"刷新"]}),i.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[i.jsx("span",{className:"text-gray-400",children:"总收入:"}),i.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",o.toFixed(2)]}),i.jsx("span",{className:"text-gray-600",children:"|"}),i.jsx("span",{className:"text-gray-400",children:"今日:"}),i.jsxs("span",{className:"text-[#FFD700] font-bold",children:["¥",u.toFixed(2)]})]})]})]}),i.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[i.jsxs("div",{className:"relative flex-1 max-w-md",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),i.jsx(ce,{type:"text",placeholder:"搜索订单号/用户/章节...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500",value:v,onChange:q=>j(q.target.value)})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx($N,{className:"w-4 h-4 text-gray-400"}),i.jsxs("select",{value:k,onChange:q=>E(q.target.value),className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"pending",children:"待支付"}),i.jsx("option",{value:"created",children:"已创建"}),i.jsx("option",{value:"failed",children:"已失败"}),i.jsx("option",{value:"refunded",children:"已退款"})]})]}),i.jsxs(ne,{variant:"outline",onClick:se,disabled:t.length===0,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(eM,{className:"w-4 h-4 mr-2"}),"导出 CSV"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:C?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs("div",{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"订单号"}),i.jsx(Te,{className:"text-gray-400",children:"用户"}),i.jsx(Te,{className:"text-gray-400",children:"商品"}),i.jsx(Te,{className:"text-gray-400",children:"金额"}),i.jsx(Te,{className:"text-gray-400",children:"支付方式"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"退款原因"}),i.jsx(Te,{className:"text-gray-400",children:"分销佣金"}),i.jsx(Te,{className:"text-gray-400",children:"下单时间"}),i.jsx(Te,{className:"text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(q=>{const z=$(q);return i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsxs(we,{className:"font-mono text-xs text-gray-400",children:[(q.orderSn||q.id||"").slice(0,12),"..."]}),i.jsx(we,{children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:W(q)}),i.jsx("p",{className:"text-gray-500 text-xs",children:D(q.userId)})]})}),i.jsx(we,{children:i.jsxs("div",{children:[i.jsxs("p",{className:"text-white text-sm flex items-center gap-2",children:[z.name,(q.productType||q.type)==="vip"&&i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0 text-xs",children:"VIP"})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:z.type})]})}),i.jsxs(we,{className:"text-[#38bdac] font-bold",children:["¥",Number(q.amount||0).toFixed(2)]}),i.jsx(we,{className:"text-gray-300",children:q.paymentMethod==="wechat"?"微信支付":q.paymentMethod==="alipay"?"支付宝":q.paymentMethod||"微信支付"}),i.jsx(we,{children:q.status==="refunded"?i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 hover:bg-gray-500/20 border-0",children:"已退款"}):q.status==="paid"||q.status==="completed"?i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"}):q.status==="pending"||q.status==="created"?i.jsx(Be,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:"待支付"}):i.jsx(Be,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已失败"})}),i.jsx(we,{className:"text-gray-400 text-sm max-w-[120px] truncate",title:q.refundReason,children:q.status==="refunded"&&q.refundReason?q.refundReason:"-"}),i.jsx(we,{className:"text-[#FFD700]",children:q.referrerEarnings?`¥${Number(q.referrerEarnings).toFixed(2)}`:"-"}),i.jsx(we,{className:"text-gray-400 text-sm",children:new Date(q.createdAt).toLocaleString("zh-CN")}),i.jsx(we,{children:(q.status==="paid"||q.status==="completed")&&i.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{P(q),L("")},children:[i.jsx(VN,{className:"w-3 h-3 mr-1"}),"退款"]})})]},q.id)}),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:10,className:"text-center py-12 text-gray-500",children:"暂无订单数据"})})]})]}),i.jsx(ls,{page:f,totalPages:ae,total:s,pageSize:g,onPageChange:m,onPageSizeChange:q=>{y(q),m(1)}})]})})}),i.jsx(Zt,{open:!!R,onOpenChange:q=>!q&&P(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:"订单退款"})}),R&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",R.orderSn||R.id]}),i.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",Number(R.amount||0).toFixed(2)]}),i.jsxs("div",{children:[i.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),i.jsx("div",{className:"form-input",children:i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:I,onChange:q=>L(q.target.value)})})]}),i.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>P(null),disabled:X,children:"取消"}),i.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:_,disabled:X,children:X?"退款中...":"确认退款"})]})]})})]})}const Jc=b.forwardRef(({className:t,...e},n)=>i.jsx("textarea",{className:bt("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...e}));Jc.displayName="Textarea";const vu=[{id:"register",label:"注册/登录",icon:"👤",color:"bg-blue-500/20 border-blue-500/40 text-blue-400",desc:"微信授权登录或手机号注册"},{id:"browse",label:"浏览章节",icon:"📖",color:"bg-purple-500/20 border-purple-500/40 text-purple-400",desc:"点击免费/付费章节预览"},{id:"bind_phone",label:"绑定手机",icon:"📱",color:"bg-cyan-500/20 border-cyan-500/40 text-cyan-400",desc:"触发付费章节后绑定手机"},{id:"first_pay",label:"首次付款",icon:"💳",color:"bg-green-500/20 border-green-500/40 text-green-400",desc:"购买单章或全书"},{id:"fill_profile",label:"完善资料",icon:"✍️",color:"bg-yellow-500/20 border-yellow-500/40 text-yellow-400",desc:"填写头像、MBTI、行业等"},{id:"match",label:"派对房匹配",icon:"🤝",color:"bg-orange-500/20 border-orange-500/40 text-orange-400",desc:"参与 Soul 派对房"},{id:"vip",label:"升级 VIP",icon:"👑",color:"bg-amber-500/20 border-amber-500/40 text-amber-400",desc:"付款 ¥1980 购买全书"},{id:"distribution",label:"开启分销",icon:"🔗",color:"bg-[#38bdac]/20 border-[#38bdac]/40 text-[#38bdac]",desc:"生成推广码并推荐好友"}];function iI(){var Yr,Tn,ms,Ps,Is;const[t,e]=IN(),n=t.get("pool"),[r,s]=b.useState([]),[a,o]=b.useState(0),[c,u]=b.useState(1),[h,f]=b.useState(10),[m,g]=b.useState(""),y=Wx(m,300),v=n==="vip"?"vip":n==="complete"?"complete":"all",[j,w]=b.useState(v),[k,E]=b.useState(!0),[C,T]=b.useState(!1),[O,B]=b.useState(null),[R,P]=b.useState(!1),[I,L]=b.useState("desc");b.useEffect(()=>{n==="vip"?w("vip"):n==="complete"?w("complete"):n==="all"&&w("all")},[n]);const[X,Z]=b.useState(!1),[Y,W]=b.useState(null),[D,$]=b.useState(!1),[ae,_]=b.useState(!1),[se,q]=b.useState({referrals:[],stats:{}}),[z,H]=b.useState(!1),[de,K]=b.useState(null),[fe,Q]=b.useState(!1),[oe,ue]=b.useState(null),[ye,V]=b.useState({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),[ge,Me]=b.useState([]),[tt,et]=b.useState(!1),[ot,Ge]=b.useState(!1),[dt,Et]=b.useState(null),[ht,Tt]=b.useState({title:"",description:"",trigger:"",sort:0,enabled:!0}),[rr,sr]=b.useState([]),[Er,on]=b.useState(!1),[Kr,gr]=b.useState(!1),[Tr,_n]=b.useState(null),[Jn,Yn]=b.useState({name:"",sort:0}),[Cn,pe]=b.useState({}),[ve,hn]=b.useState(!1);async function Mr(G=!1){var nt;E(!0),G&&T(!0),B(null);try{if(R){const wt=new URLSearchParams({search:y,limit:String(h*5)}),ft=await Fe(`/api/db/users/rfm?${wt}`);if(ft!=null&&ft.success){let Qt=ft.users||[];I==="asc"&&(Qt=[...Qt].reverse());const li=(c-1)*h;s(Qt.slice(li,li+h)),o(((nt=ft.users)==null?void 0:nt.length)??0),Qt.length===0&&(P(!1),B("暂无订单数据,RFM 排序需要用户有购买记录后才能生效"))}else P(!1),B((ft==null?void 0:ft.error)||"RFM 加载失败,已切回普通模式")}else{const wt=new URLSearchParams({page:String(c),pageSize:String(h),search:y,...j==="vip"&&{vip:"true"},...j==="complete"&&{pool:"complete"}}),ft=await Fe(`/api/db/users?${wt}`);ft!=null&&ft.success?(s(ft.users||[]),o(ft.total??0)):B((ft==null?void 0:ft.error)||"加载失败")}}catch(wt){console.error("Load users error:",wt),B("网络错误")}finally{E(!1),G&&T(!1)}}b.useEffect(()=>{u(1)},[y,j,R]),b.useEffect(()=>{Mr()},[c,h,y,j,R,I]);const fs=Math.ceil(a/h)||1,ua=()=>{R?I==="desc"?L("asc"):(P(!1),L("desc")):(P(!0),L("desc"))},En=G=>({S:"bg-amber-500/20 text-amber-400",A:"bg-green-500/20 text-green-400",B:"bg-blue-500/20 text-blue-400",C:"bg-gray-500/20 text-gray-400",D:"bg-red-500/20 text-red-400"})[G||""]||"bg-gray-500/20 text-gray-400";async function qr(G){if(confirm("确定要删除这个用户吗?"))try{const nt=await ss(`/api/db/users?id=${encodeURIComponent(G)}`);nt!=null&&nt.success?Mr():he.error("删除失败: "+((nt==null?void 0:nt.error)||""))}catch{he.error("删除失败")}}const ha=G=>{W(G),V({phone:G.phone||"",nickname:G.nickname||"",password:"",isAdmin:!!(G.isAdmin??!1),hasFullBook:!!(G.hasFullBook??!1)}),Z(!0)},xr=()=>{W(null),V({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),Z(!0)};async function Gr(){if(!ye.phone||!ye.nickname){he.error("请填写手机号和昵称");return}$(!0);try{if(Y){const G=await _t("/api/db/users",{id:Y.id,nickname:ye.nickname,isAdmin:ye.isAdmin,hasFullBook:ye.hasFullBook,...ye.password&&{password:ye.password}});if(!(G!=null&&G.success)){he.error("更新失败: "+((G==null?void 0:G.error)||""));return}}else{const G=await mt("/api/db/users",{phone:ye.phone,nickname:ye.nickname,password:ye.password,isAdmin:ye.isAdmin});if(!(G!=null&&G.success)){he.error("创建失败: "+((G==null?void 0:G.error)||""));return}}Z(!1),Mr()}catch{he.error("保存失败")}finally{$(!1)}}async function ai(G){K(G),_(!0),H(!0);try{const nt=await Fe(`/api/db/users/referrals?userId=${encodeURIComponent(G.id)}`);nt!=null&&nt.success?q({referrals:nt.referrals||[],stats:nt.stats||{}}):q({referrals:[],stats:{}})}catch{q({referrals:[],stats:{}})}finally{H(!1)}}const ut=b.useCallback(async()=>{et(!0);try{const G=await Fe("/api/db/user-rules");G!=null&&G.success&&Me(G.rules||[])}catch{}finally{et(!1)}},[]);async function Ar(){if(!ht.title){he.error("请填写规则标题");return}$(!0);try{if(dt){const G=await _t("/api/db/user-rules",{id:dt.id,...ht});if(!(G!=null&&G.success)){he.error("更新失败: "+((G==null?void 0:G.error)||""));return}}else{const G=await mt("/api/db/user-rules",ht);if(!(G!=null&&G.success)){he.error("创建失败: "+((G==null?void 0:G.error)||""));return}}Ge(!1),ut()}catch{he.error("保存失败")}finally{$(!1)}}async function io(G){if(confirm("确定删除?"))try{const nt=await ss(`/api/db/user-rules?id=${G}`);nt!=null&&nt.success&&ut()}catch{}}async function xn(G){try{await _t("/api/db/user-rules",{id:G.id,enabled:!G.enabled}),ut()}catch{}}const Jr=b.useCallback(async()=>{on(!0);try{const G=await Fe("/api/db/vip-roles");G!=null&&G.success&&sr(G.roles||[])}catch{}finally{on(!1)}},[]);async function oi(){if(!Jn.name){he.error("请填写角色名称");return}$(!0);try{if(Tr){const G=await _t("/api/db/vip-roles",{id:Tr.id,...Jn});if(!(G!=null&&G.success)){he.error("更新失败");return}}else{const G=await mt("/api/db/vip-roles",Jn);if(!(G!=null&&G.success)){he.error("创建失败");return}}gr(!1),Jr()}catch{he.error("保存失败")}finally{$(!1)}}async function Rr(G){if(confirm("确定删除?"))try{const nt=await ss(`/api/db/vip-roles?id=${G}`);nt!=null&&nt.success&&Jr()}catch{}}const ps=b.useCallback(async()=>{hn(!0);try{const G=await Fe("/api/db/users/journey-stats");G!=null&&G.success&&G.stats&&pe(G.stats)}catch{}finally{hn(!1)}},[]);return i.jsxs("div",{className:"p-8 w-full",children:[O&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:O}),i.jsx("button",{type:"button",onClick:()=>B(null),children:"×"})]}),i.jsx("div",{className:"flex justify-between items-center mb-6",children:i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"用户管理"}),i.jsxs("p",{className:"text-gray-400 mt-1 text-sm",children:["共 ",a," 位注册用户",R&&" · RFM 排序中"]})]})}),i.jsxs(Gc,{defaultValue:"users",className:"w-full",children:[i.jsxs(ul,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-6 flex-wrap h-auto gap-1",children:[i.jsxs(nn,{value:"users",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",children:[i.jsx(Ln,{className:"w-4 h-4"})," 用户列表"]}),i.jsxs(nn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:ps,children:[i.jsx(Wo,{className:"w-4 h-4"})," 用户旅程总览"]}),i.jsxs(nn,{value:"rules",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:ut,children:[i.jsx(_a,{className:"w-4 h-4"})," 规则配置"]}),i.jsxs(nn,{value:"vip-roles",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Jr,children:[i.jsx(Pa,{className:"w-4 h-4"})," VIP 角色"]})]}),i.jsxs(rn,{value:"users",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-4 justify-end flex-wrap",children:[i.jsxs(ne,{variant:"outline",onClick:()=>Mr(!0),disabled:C,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${C?"animate-spin":""}`})," 刷新"]}),i.jsxs("select",{value:j,onChange:G=>{const nt=G.target.value;w(nt),u(1),n&&(t.delete("pool"),e(t))},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",disabled:R,children:[i.jsx("option",{value:"all",children:"全部用户"}),i.jsx("option",{value:"vip",children:"VIP会员(超级个体)"}),i.jsx("option",{value:"complete",children:"完善资料用户"})]}),i.jsxs("div",{className:"relative",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),i.jsx(ce,{type:"text",placeholder:"搜索用户...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500 w-56",value:m,onChange:G=>g(G.target.value)})]}),i.jsxs(ne,{onClick:xr,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ng,{className:"w-4 h-4 mr-2"})," 添加用户"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:k?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs("div",{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"用户信息"}),i.jsx(Te,{className:"text-gray-400",children:"绑定信息"}),i.jsx(Te,{className:"text-gray-400",children:"购买状态"}),i.jsx(Te,{className:"text-gray-400",children:"分销收益"}),i.jsxs(Te,{className:"text-gray-400 cursor-pointer select-none",onClick:ua,children:[i.jsxs("div",{className:"flex items-center gap-1 group",children:[i.jsx(fc,{className:"w-3.5 h-3.5"}),i.jsx("span",{children:"RFM分值"}),R?I==="desc"?i.jsx(Ec,{className:"w-3.5 h-3.5 text-[#38bdac]"}):i.jsx(DN,{className:"w-3.5 h-3.5 text-[#38bdac]"}):i.jsx(ST,{className:"w-3.5 h-3.5 text-gray-600 group-hover:text-gray-400"})]}),R&&i.jsx("div",{className:"text-[10px] text-[#38bdac] font-normal mt-0.5",children:"点击切换方向/关闭"})]}),i.jsx(Te,{className:"text-gray-400",children:"注册时间"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[r.map(G=>{var nt,wt,ft;return i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:G.avatar?i.jsx("img",{src:G.avatar,className:"w-full h-full rounded-full object-cover",alt:""}):((nt=G.nickname)==null?void 0:nt.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("button",{type:"button",onClick:()=>{ue(G.id),Q(!0)},className:"font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:G.nickname}),G.isAdmin&&i.jsx(Be,{className:"bg-purple-500/20 text-purple-400 hover:bg-purple-500/20 border-0 text-xs",children:"管理员"}),G.openId&&!((wt=G.id)!=null&&wt.startsWith("user_"))&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0 text-xs",children:"微信"})]}),i.jsx("p",{className:"text-xs text-gray-500 font-mono",children:G.openId?G.openId.slice(0,12)+"...":(ft=G.id)==null?void 0:ft.slice(0,12)})]})]})}),i.jsx(we,{children:i.jsxs("div",{className:"space-y-1",children:[G.phone&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"📱"}),i.jsx("span",{className:"text-gray-300",children:G.phone})]}),G.wechatId&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"💬"}),i.jsx("span",{className:"text-gray-300",children:G.wechatId})]}),G.openId&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"🔗"}),i.jsxs("span",{className:"text-gray-500 truncate max-w-[100px]",title:G.openId,children:[G.openId.slice(0,12),"..."]})]}),!G.phone&&!G.wechatId&&!G.openId&&i.jsx("span",{className:"text-gray-600 text-xs",children:"未绑定"})]})}),i.jsx(we,{children:G.hasFullBook?i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0",children:"VIP"}):i.jsx(Be,{variant:"outline",className:"text-gray-500 border-gray-600",children:"未购买"})}),i.jsx(we,{children:i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"text-white font-medium",children:["¥",parseFloat(String(G.earnings||0)).toFixed(2)]}),parseFloat(String(G.pendingEarnings||0))>0&&i.jsxs("div",{className:"text-xs text-yellow-400",children:["待提现: ¥",parseFloat(String(G.pendingEarnings||0)).toFixed(2)]}),i.jsxs("div",{className:"text-xs text-[#38bdac] cursor-pointer hover:underline flex items-center gap-1",onClick:()=>ai(G),role:"button",tabIndex:0,onKeyDown:Qt=>Qt.key==="Enter"&&ai(G),children:[i.jsx(Ln,{className:"w-3 h-3"})," 绑定",G.referralCount||0,"人"]})]})}),i.jsx(we,{children:G.rfmScore!==void 0?i.jsx("div",{className:"flex flex-col gap-1",children:i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("span",{className:"text-white font-bold text-base",children:G.rfmScore}),i.jsx(Be,{className:`border-0 text-xs ${En(G.rfmLevel)}`,children:G.rfmLevel})]})}):i.jsxs("span",{className:"text-gray-600 text-sm",children:["— ",i.jsx("span",{className:"text-xs text-gray-700",children:"点列头排序"})]})}),i.jsx(we,{className:"text-gray-400",children:G.createdAt?new Date(G.createdAt).toLocaleDateString():"-"}),i.jsx(we,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{ue(G.id),Q(!0)},className:"text-gray-400 hover:text-blue-400 hover:bg-blue-400/10",title:"用户详情",children:i.jsx(yg,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>ha(G),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",title:"编辑用户",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",onClick:()=>qr(G.id),title:"删除",children:i.jsx(wn,{className:"w-4 h-4"})})]})})]},G.id)}),r.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无用户数据"})})]})]}),i.jsx(ls,{page:c,totalPages:fs,total:a,pageSize:h,onPageChange:u,onPageSizeChange:G=>{f(G),u(1)}})]})})})]}),i.jsxs(rn,{value:"journey",children:[i.jsxs("div",{className:"flex items-center justify-between mb-5",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"用户从注册到 VIP 的完整行动路径,点击各阶段查看用户动态"}),i.jsxs(ne,{variant:"outline",onClick:ps,disabled:ve,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${ve?"animate-spin":""}`})," 刷新数据"]})]}),i.jsxs("div",{className:"relative mb-8",children:[i.jsx("div",{className:"absolute top-16 left-0 right-0 h-0.5 bg-gradient-to-r from-blue-500/20 via-[#38bdac]/30 to-amber-500/20 mx-20"}),i.jsx("div",{className:"grid grid-cols-4 gap-4 lg:grid-cols-8",children:vu.map((G,nt)=>i.jsxs("div",{className:"relative flex flex-col items-center",children:[i.jsxs("div",{className:`relative w-full p-3 rounded-xl border ${G.color} text-center cursor-default`,children:[i.jsx("div",{className:"text-2xl mb-1",children:G.icon}),i.jsx("div",{className:`text-xs font-medium ${G.color.split(" ").find(wt=>wt.startsWith("text-"))}`,children:G.label}),Cn[G.id]!==void 0&&i.jsxs("div",{className:"mt-1.5 text-xs text-gray-400",children:[i.jsx("span",{className:"font-bold text-white",children:Cn[G.id]})," 人"]}),i.jsx("div",{className:"absolute -top-2.5 -left-2.5 w-5 h-5 rounded-full bg-[#0a1628] border border-gray-700 flex items-center justify-center text-[10px] text-gray-500",children:nt+1})]}),nti.jsxs("div",{className:"flex items-start gap-3 p-2 bg-[#0a1628] rounded",children:[i.jsx("span",{className:"text-[#38bdac] font-mono text-xs shrink-0 mt-0.5",children:G.step}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-300",children:G.action}),i.jsxs("p",{className:"text-gray-600 text-xs",children:["→ ",G.next]})]})]},G.step))})]}),i.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/50 rounded-lg p-4",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Hr,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"行为锚点统计"}),i.jsx("span",{className:"text-gray-500 text-xs ml-auto",children:"实时更新"})]}),ve?i.jsx("div",{className:"flex items-center justify-center py-8",children:i.jsx(qe,{className:"w-5 h-5 text-[#38bdac] animate-spin"})}):Object.keys(Cn).length>0?i.jsx("div",{className:"space-y-2",children:vu.map(G=>{const nt=Cn[G.id]||0,wt=Math.max(...vu.map(Qt=>Cn[Qt.id]||0),1),ft=Math.round(nt/wt*100);return i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("span",{className:"text-gray-500 text-xs w-20 shrink-0",children:[G.icon," ",G.label]}),i.jsx("div",{className:"flex-1 h-2 bg-[#0a1628] rounded-full overflow-hidden",children:i.jsx("div",{className:"h-full bg-[#38bdac]/60 rounded-full transition-all",style:{width:`${ft}%`}})}),i.jsx("span",{className:"text-gray-400 text-xs w-10 text-right",children:nt})]},G.id)})}):i.jsx("div",{className:"text-center py-8",children:i.jsx("p",{className:"text-gray-500 text-sm",children:"点击「刷新数据」加载统计"})})]})]})]}),i.jsxs(rn,{value:"rules",children:[i.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"用户旅程引导规则,定义各行为节点的触发条件与引导内容"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(ne,{variant:"outline",onClick:ut,disabled:tt,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${tt?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:()=>{Et(null),Tt({title:"",description:"",trigger:"",sort:0,enabled:!0}),Ge(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"})," 添加规则"]})]})]}),tt?i.jsx("div",{className:"flex items-center justify-center py-12",children:i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):ge.length===0?i.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[i.jsx(Hr,{className:"w-12 h-12 text-[#38bdac]/30 mx-auto mb-4"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"暂无规则(重启服务将自动写入10条默认规则)"}),i.jsxs(ne,{onClick:ut,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(qe,{className:"w-4 h-4 mr-2"})," 重新加载"]})]}):i.jsx("div",{className:"space-y-2",children:ge.map(G=>i.jsx("div",{className:`p-4 rounded-lg border transition-all ${G.enabled?"bg-[#0f2137] border-gray-700/50":"bg-[#0a1628]/50 border-gray-700/30 opacity-55"}`,children:i.jsxs("div",{className:"flex items-start justify-between",children:[i.jsxs("div",{className:"flex-1",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-wrap mb-1",children:[i.jsx(kt,{className:"w-4 h-4 text-[#38bdac] shrink-0"}),i.jsx("span",{className:"text-white font-medium",children:G.title}),G.trigger&&i.jsxs(Be,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/30 text-xs",children:["触发:",G.trigger]}),i.jsx(Be,{className:`text-xs border-0 ${G.enabled?"bg-green-500/20 text-green-400":"bg-gray-500/20 text-gray-400"}`,children:G.enabled?"启用":"禁用"})]}),G.description&&i.jsx("p",{className:"text-gray-400 text-sm ml-6",children:G.description})]}),i.jsxs("div",{className:"flex items-center gap-2 ml-4 shrink-0",children:[i.jsx(Nt,{checked:G.enabled,onCheckedChange:()=>xn(G)}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{Et(G),Tt({title:G.title,description:G.description,trigger:G.trigger,sort:G.sort,enabled:G.enabled}),Ge(!0)},className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>io(G.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(wn,{className:"w-4 h-4"})})]})]})},G.id))})]}),i.jsxs(rn,{value:"vip-roles",children:[i.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"管理用户 VIP 角色分类,这些角色将在用户详情和会员展示中使用"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(ne,{variant:"outline",onClick:Jr,disabled:Er,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${Er?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:()=>{_n(null),Yn({name:"",sort:0}),gr(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"})," 添加角色"]})]})]}),Er?i.jsx("div",{className:"flex items-center justify-center py-12",children:i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):rr.length===0?i.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[i.jsx(Pa,{className:"w-12 h-12 text-amber-400/30 mx-auto mb-4"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"暂无 VIP 角色"}),i.jsxs(ne,{onClick:()=>{_n(null),Yn({name:"",sort:0}),gr(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"})," 添加第一个角色"]})]}):i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3",children:rr.map(G=>i.jsxs("div",{className:"p-4 bg-[#0f2137] border border-amber-500/20 rounded-xl hover:border-amber-500/40 transition-all group",children:[i.jsxs("div",{className:"flex items-start justify-between mb-2",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Pa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:G.name})]}),i.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx("button",{type:"button",onClick:()=>{_n(G),Yn({name:G.name,sort:G.sort}),gr(!0)},className:"text-gray-500 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx("button",{type:"button",onClick:()=>Rr(G.id),className:"text-gray-500 hover:text-red-400",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsxs("p",{className:"text-gray-600 text-xs",children:["排序: ",G.sort]})]},G.id))})]})]}),i.jsx(Zt,{open:X,onOpenChange:Z,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[Y?i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Ng,{className:"w-5 h-5 text-[#38bdac]"}),Y?"编辑用户":"添加用户"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入手机号",value:ye.phone,onChange:G=>V({...ye,phone:G.target.value}),disabled:!!Y})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入昵称",value:ye.nickname,onChange:G=>V({...ye,nickname:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:Y?"新密码 (留空则不修改)":"密码"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:Y?"留空则不修改":"请输入密码",value:ye.password,onChange:G=>V({...ye,password:G.target.value})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-300",children:"管理员权限"}),i.jsx(Nt,{checked:ye.isAdmin,onCheckedChange:G=>V({...ye,isAdmin:G})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-300",children:"已购全书"}),i.jsx(Nt,{checked:ye.hasFullBook,onCheckedChange:G=>V({...ye,hasFullBook:G})})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>Z(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:Gr,disabled:D,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),D?"保存中...":"保存"]})]})]})}),i.jsx(Zt,{open:ot,onOpenChange:Ge,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),dt?"编辑规则":"添加规则"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"规则标题 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:匹配后填写头像、付款1980需填写信息",value:ht.title,onChange:G=>Tt({...ht,title:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"规则描述"}),i.jsx(Jc,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[80px] resize-none",placeholder:"详细说明规则内容...",value:ht.description,onChange:G=>Tt({...ht,description:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"触发条件"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:完成匹配、付款后、注册时",value:ht.trigger,onChange:G=>Tt({...ht,trigger:G.target.value})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{children:i.jsx(te,{className:"text-gray-300",children:"启用状态"})}),i.jsx(Nt,{checked:ht.enabled,onCheckedChange:G=>Tt({...ht,enabled:G})})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>Ge(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:Ar,disabled:D,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),D?"保存中...":"保存"]})]})]})}),i.jsx(Zt,{open:Kr,onOpenChange:gr,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Pa,{className:"w-5 h-5 text-amber-400"}),Tr?"编辑 VIP 角色":"添加 VIP 角色"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色名称 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:创业者、资源整合者、技术咖",value:Jn.name,onChange:G=>Yn({...Jn,name:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序(越小越前)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Jn.sort,onChange:G=>Yn({...Jn,sort:parseInt(G.target.value)||0})})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>gr(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:oi,disabled:D,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),D?"保存中...":"保存"]})]})]})}),i.jsx(Zt,{open:ae,onOpenChange:_,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-2xl max-h-[80vh] overflow-auto",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"绑定关系 - ",de==null?void 0:de.nickname]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-4 gap-3",children:[i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-[#38bdac]",children:((Yr=se.stats)==null?void 0:Yr.total)||0}),i.jsx("div",{className:"text-xs text-gray-400",children:"绑定总数"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-green-400",children:((Tn=se.stats)==null?void 0:Tn.purchased)||0}),i.jsx("div",{className:"text-xs text-gray-400",children:"已付费"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsxs("div",{className:"text-2xl font-bold text-yellow-400",children:["¥",(((ms=se.stats)==null?void 0:ms.earnings)||0).toFixed(2)]}),i.jsx("div",{className:"text-xs text-gray-400",children:"累计收益"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsxs("div",{className:"text-2xl font-bold text-orange-400",children:["¥",(((Ps=se.stats)==null?void 0:Ps.pendingEarnings)||0).toFixed(2)]}),i.jsx("div",{className:"text-xs text-gray-400",children:"待提现"})]})]}),z?i.jsxs("div",{className:"flex items-center justify-center py-8",children:[i.jsx(qe,{className:"w-5 h-5 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):(((Is=se.referrals)==null?void 0:Is.length)??0)>0?i.jsx("div",{className:"space-y-2 max-h-[300px] overflow-y-auto",children:(se.referrals??[]).map((G,nt)=>{var ft;const wt=G;return i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg p-3",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:((ft=wt.nickname)==null?void 0:ft.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white text-sm",children:wt.nickname}),i.jsx("div",{className:"text-xs text-gray-500",children:wt.phone||(wt.hasOpenId?"微信用户":"未绑定")})]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[wt.status==="vip"&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"全书已购"}),wt.status==="paid"&&i.jsxs(Be,{className:"bg-blue-500/20 text-blue-400 border-0 text-xs",children:["已付费",wt.purchasedSections,"章"]}),wt.status==="free"&&i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 border-0 text-xs",children:"未付费"}),i.jsx("span",{className:"text-xs text-gray-500",children:wt.createdAt?new Date(wt.createdAt).toLocaleDateString():""})]})]},wt.id||nt)})}):i.jsx("div",{className:"text-center py-8 text-gray-500",children:"暂无绑定用户"})]}),i.jsx(Nn,{children:i.jsx(ne,{variant:"outline",onClick:()=>_(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"关闭"})})]})}),i.jsx(Hx,{open:fe,onClose:()=>Q(!1),userId:oe,onUserUpdated:Mr})]})}function eh(t,[e,n]){return Math.min(n,Math.max(e,t))}var ck=["PageUp","PageDown"],dk=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],uk={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},hl="Slider",[Eg,aI,oI]=$x(hl),[hk]=ia(hl,[oI]),[lI,rf]=hk(hl),fk=b.forwardRef((t,e)=>{const{name:n,min:r=0,max:s=100,step:a=1,orientation:o="horizontal",disabled:c=!1,minStepsBetweenThumbs:u=0,defaultValue:h=[r],value:f,onValueChange:m=()=>{},onValueCommit:g=()=>{},inverted:y=!1,form:v,...j}=t,w=b.useRef(new Set),k=b.useRef(0),C=o==="horizontal"?cI:dI,[T=[],O]=Wa({prop:f,defaultProp:h,onChange:X=>{var Y;(Y=[...w.current][k.current])==null||Y.focus(),m(X)}}),B=b.useRef(T);function R(X){const Z=mI(T,X);L(X,Z)}function P(X){L(X,k.current)}function I(){const X=B.current[k.current];T[k.current]!==X&&g(T)}function L(X,Z,{commit:Y}={commit:!1}){const W=vI(a),D=bI(Math.round((X-r)/a)*a+r,W),$=eh(D,[r,s]);O((ae=[])=>{const _=fI(ae,$,Z);if(yI(_,u*a)){k.current=_.indexOf($);const se=String(_)!==String(ae);return se&&Y&&g(_),se?_:ae}else return ae})}return i.jsx(lI,{scope:t.__scopeSlider,name:n,disabled:c,min:r,max:s,valueIndexToChangeRef:k,thumbs:w.current,values:T,orientation:o,form:v,children:i.jsx(Eg.Provider,{scope:t.__scopeSlider,children:i.jsx(Eg.Slot,{scope:t.__scopeSlider,children:i.jsx(C,{"aria-disabled":c,"data-disabled":c?"":void 0,...j,ref:e,onPointerDown:rt(j.onPointerDown,()=>{c||(B.current=T)}),min:r,max:s,inverted:y,onSlideStart:c?void 0:R,onSlideMove:c?void 0:P,onSlideEnd:c?void 0:I,onHomeKeyDown:()=>!c&&L(r,0,{commit:!0}),onEndKeyDown:()=>!c&&L(s,T.length-1,{commit:!0}),onStepKeyDown:({event:X,direction:Z})=>{if(!c){const D=ck.includes(X.key)||X.shiftKey&&dk.includes(X.key)?10:1,$=k.current,ae=T[$],_=a*D*Z;L(ae+_,$,{commit:!0})}}})})})})});fk.displayName=hl;var[pk,mk]=hk(hl,{startEdge:"left",endEdge:"right",size:"width",direction:1}),cI=b.forwardRef((t,e)=>{const{min:n,max:r,dir:s,inverted:a,onSlideStart:o,onSlideMove:c,onSlideEnd:u,onStepKeyDown:h,...f}=t,[m,g]=b.useState(null),y=vt(e,C=>g(C)),v=b.useRef(void 0),j=ef(s),w=j==="ltr",k=w&&!a||!w&&a;function E(C){const T=v.current||m.getBoundingClientRect(),O=[0,T.width],R=Ux(O,k?[n,r]:[r,n]);return v.current=T,R(C-T.left)}return i.jsx(pk,{scope:t.__scopeSlider,startEdge:k?"left":"right",endEdge:k?"right":"left",direction:k?1:-1,size:"width",children:i.jsx(gk,{dir:j,"data-orientation":"horizontal",...f,ref:y,style:{...f.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:C=>{const T=E(C.clientX);o==null||o(T)},onSlideMove:C=>{const T=E(C.clientX);c==null||c(T)},onSlideEnd:()=>{v.current=void 0,u==null||u()},onStepKeyDown:C=>{const O=uk[k?"from-left":"from-right"].includes(C.key);h==null||h({event:C,direction:O?-1:1})}})})}),dI=b.forwardRef((t,e)=>{const{min:n,max:r,inverted:s,onSlideStart:a,onSlideMove:o,onSlideEnd:c,onStepKeyDown:u,...h}=t,f=b.useRef(null),m=vt(e,f),g=b.useRef(void 0),y=!s;function v(j){const w=g.current||f.current.getBoundingClientRect(),k=[0,w.height],C=Ux(k,y?[r,n]:[n,r]);return g.current=w,C(j-w.top)}return i.jsx(pk,{scope:t.__scopeSlider,startEdge:y?"bottom":"top",endEdge:y?"top":"bottom",size:"height",direction:y?1:-1,children:i.jsx(gk,{"data-orientation":"vertical",...h,ref:m,style:{...h.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:j=>{const w=v(j.clientY);a==null||a(w)},onSlideMove:j=>{const w=v(j.clientY);o==null||o(w)},onSlideEnd:()=>{g.current=void 0,c==null||c()},onStepKeyDown:j=>{const k=uk[y?"from-bottom":"from-top"].includes(j.key);u==null||u({event:j,direction:k?-1:1})}})})}),gk=b.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:s,onSlideEnd:a,onHomeKeyDown:o,onEndKeyDown:c,onStepKeyDown:u,...h}=t,f=rf(hl,n);return i.jsx(at.span,{...h,ref:e,onKeyDown:rt(t.onKeyDown,m=>{m.key==="Home"?(o(m),m.preventDefault()):m.key==="End"?(c(m),m.preventDefault()):ck.concat(dk).includes(m.key)&&(u(m),m.preventDefault())}),onPointerDown:rt(t.onPointerDown,m=>{const g=m.target;g.setPointerCapture(m.pointerId),m.preventDefault(),f.thumbs.has(g)?g.focus():r(m)}),onPointerMove:rt(t.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&s(m)}),onPointerUp:rt(t.onPointerUp,m=>{const g=m.target;g.hasPointerCapture(m.pointerId)&&(g.releasePointerCapture(m.pointerId),a(m))})})}),xk="SliderTrack",yk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,s=rf(xk,n);return i.jsx(at.span,{"data-disabled":s.disabled?"":void 0,"data-orientation":s.orientation,...r,ref:e})});yk.displayName=xk;var Tg="SliderRange",vk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,s=rf(Tg,n),a=mk(Tg,n),o=b.useRef(null),c=vt(e,o),u=s.values.length,h=s.values.map(g=>Nk(g,s.min,s.max)),f=u>1?Math.min(...h):0,m=100-Math.max(...h);return i.jsx(at.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...r,ref:c,style:{...t.style,[a.startEdge]:f+"%",[a.endEdge]:m+"%"}})});vk.displayName=Tg;var Mg="SliderThumb",bk=b.forwardRef((t,e)=>{const n=aI(t.__scopeSlider),[r,s]=b.useState(null),a=vt(e,c=>s(c)),o=b.useMemo(()=>r?n().findIndex(c=>c.ref.current===r):-1,[n,r]);return i.jsx(uI,{...t,ref:a,index:o})}),uI=b.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:s,...a}=t,o=rf(Mg,n),c=mk(Mg,n),[u,h]=b.useState(null),f=vt(e,E=>h(E)),m=u?o.form||!!u.closest("form"):!0,g=Vx(u),y=o.values[r],v=y===void 0?0:Nk(y,o.min,o.max),j=pI(r,o.values.length),w=g==null?void 0:g[c.size],k=w?gI(w,v,c.direction):0;return b.useEffect(()=>{if(u)return o.thumbs.add(u),()=>{o.thumbs.delete(u)}},[u,o.thumbs]),i.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:`calc(${v}% + ${k}px)`},children:[i.jsx(Eg.ItemSlot,{scope:t.__scopeSlider,children:i.jsx(at.span,{role:"slider","aria-label":t["aria-label"]||j,"aria-valuemin":o.min,"aria-valuenow":y,"aria-valuemax":o.max,"aria-orientation":o.orientation,"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,tabIndex:o.disabled?void 0:0,...a,ref:f,style:y===void 0?{display:"none"}:t.style,onFocus:rt(t.onFocus,()=>{o.valueIndexToChangeRef.current=r})})}),m&&i.jsx(wk,{name:s??(o.name?o.name+(o.values.length>1?"[]":""):void 0),form:o.form,value:y},r)]})});bk.displayName=Mg;var hI="RadioBubbleInput",wk=b.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const s=b.useRef(null),a=vt(s,r),o=Bx(e);return b.useEffect(()=>{const c=s.current;if(!c)return;const u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("input",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),i.jsx(at.input,{style:{display:"none"},...n,ref:a,defaultValue:e})});wk.displayName=hI;function fI(t=[],e,n){const r=[...t];return r[n]=e,r.sort((s,a)=>s-a)}function Nk(t,e,n){const a=100/(n-e)*(t-e);return eh(a,[0,100])}function pI(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function mI(t,e){if(t.length===1)return 0;const n=t.map(s=>Math.abs(s-e)),r=Math.min(...n);return n.indexOf(r)}function gI(t,e,n){const r=t/2,a=Ux([0,50],[0,r]);return(r-a(e)*n)*n}function xI(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function yI(t,e){if(e>0){const n=xI(t);return Math.min(...n)>=e}return!0}function Ux(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function vI(t){return(String(t).split(".")[1]||"").length}function bI(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var wI=fk,NI=yk,jI=vk,kI=bk;function SI({className:t,defaultValue:e,value:n,min:r=0,max:s=100,...a}){const o=b.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,s],[n,e,r,s]);return i.jsxs(wI,{defaultValue:e,value:n,min:r,max:s,className:bt("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50",t),...a,children:[i.jsx(NI,{className:"bg-gray-600 relative grow overflow-hidden rounded-full h-1.5 w-full",children:i.jsx(jI,{className:"bg-[#38bdac] absolute h-full rounded-full"})}),Array.from({length:o.length},(c,u)=>i.jsx(kI,{className:"block size-4 shrink-0 rounded-full border-2 border-[#38bdac] bg-white shadow-sm focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"},u))]})}const CI={distributorShare:90,minWithdrawAmount:10,bindingDays:30,userDiscount:5,enableAutoWithdraw:!1,vipOrderShareVip:20,vipOrderShareNonVip:10};function jk(t){const[e,n]=b.useState(CI),[r,s]=b.useState(!0),[a,o]=b.useState(!1);b.useEffect(()=>{Fe("/api/admin/referral-settings").then(h=>{const f=h==null?void 0:h.data;f&&typeof f=="object"&&n({distributorShare:f.distributorShare??90,minWithdrawAmount:f.minWithdrawAmount??10,bindingDays:f.bindingDays??30,userDiscount:f.userDiscount??5,enableAutoWithdraw:f.enableAutoWithdraw??!1,vipOrderShareVip:f.vipOrderShareVip??20,vipOrderShareNonVip:f.vipOrderShareNonVip??10})}).catch(console.error).finally(()=>s(!1))},[]);const c=async()=>{o(!0);try{const h={distributorShare:Number(e.distributorShare)||0,minWithdrawAmount:Number(e.minWithdrawAmount)||0,bindingDays:Number(e.bindingDays)||0,userDiscount:Number(e.userDiscount)||0,enableAutoWithdraw:!!e.enableAutoWithdraw,vipOrderShareVip:Number(e.vipOrderShareVip)||20,vipOrderShareNonVip:Number(e.vipOrderShareNonVip)||10},f=await mt("/api/admin/referral-settings",h);if(!f||f.success===!1){he.error("保存失败: "+(f&&typeof f=="object"&&"error"in f?f.error:""));return}he.success(`✅ 分销配置已保存成功! +For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},NP="DialogDescriptionWarning",jP=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Oj(NP).contentName}}.`;return b.useEffect(()=>{var a;const s=(a=t.current)==null?void 0:a.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},kP=wj,SP=kj,CP=Sj,EP=Cj,TP=Tj,MP=Aj,AP=Pj;function Zt(t){return i.jsx(kP,{"data-slot":"dialog",...t})}function RP(t){return i.jsx(SP,{...t})}const Dj=b.forwardRef(({className:t,...e},n)=>i.jsx(CP,{ref:n,className:bt("fixed inset-0 z-50 bg-black/50",t),...e}));Dj.displayName="DialogOverlay";const qt=b.forwardRef(({className:t,children:e,showCloseButton:n=!0,...r},s)=>i.jsxs(RP,{children:[i.jsx(Dj,{}),i.jsxs(EP,{ref:s,"aria-describedby":void 0,className:bt("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-background p-6 shadow-lg",t),...r,children:[e,n&&i.jsxs(AP,{className:"absolute right-4 top-4 rounded-sm opacity-70 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[i.jsx(Wn,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));qt.displayName="DialogContent";function en({className:t,...e}){return i.jsx("div",{className:bt("flex flex-col gap-2 text-center sm:text-left",t),...e})}function Nn({className:t,...e}){return i.jsx("div",{className:bt("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function tn(t){return i.jsx(TP,{className:"text-lg font-semibold leading-none",...t})}function PP(t){return i.jsx(MP,{className:"text-sm text-muted-foreground",...t})}const IP=GN("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 transition-colors",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-white",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Be({className:t,variant:e,asChild:n=!1,...r}){const s=n?UN:"span";return i.jsx(s,{className:bt(IP({variant:e}),t),...r})}var OP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],DP=OP.reduce((t,e)=>{const n=WN(`Primitive.${e}`),r=b.forwardRef((s,a)=>{const{asChild:o,...c}=s,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),LP="Label",Lj=b.forwardRef((t,e)=>i.jsx(DP.label,{...t,ref:e,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Lj.displayName=LP;var _j=Lj;const te=b.forwardRef(({className:t,...e},n)=>i.jsx(_j,{ref:n,className:bt("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...e}));te.displayName=_j.displayName;function $x(t){const e=t+"CollectionProvider",[n,r]=ia(e),[s,a]=n(e,{collectionRef:{current:null},itemMap:new Map}),o=j=>{const{scope:w,children:k}=j,E=er.useRef(null),C=er.useRef(new Map).current;return i.jsx(s,{scope:w,itemMap:C,collectionRef:E,children:k})};o.displayName=e;const c=t+"CollectionSlot",u=Mc(c),h=er.forwardRef((j,w)=>{const{scope:k,children:E}=j,C=a(c,k),T=vt(w,C.collectionRef);return i.jsx(u,{ref:T,children:E})});h.displayName=c;const f=t+"CollectionItemSlot",m="data-radix-collection-item",g=Mc(f),y=er.forwardRef((j,w)=>{const{scope:k,children:E,...C}=j,T=er.useRef(null),O=vt(w,T),B=a(f,k);return er.useEffect(()=>(B.itemMap.set(T,{ref:T,...C}),()=>void B.itemMap.delete(T))),i.jsx(g,{[m]:"",ref:O,children:E})});y.displayName=f;function v(j){const w=a(t+"CollectionConsumer",j);return er.useCallback(()=>{const E=w.collectionRef.current;if(!E)return[];const C=Array.from(E.querySelectorAll(`[${m}]`));return Array.from(w.itemMap.values()).sort((B,R)=>C.indexOf(B.ref.current)-C.indexOf(R.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:h,ItemSlot:y},v,r]}var _P=b.createContext(void 0);function ef(t){const e=b.useContext(_P);return t||e||"ltr"}var Tm="rovingFocusGroup.onEntryFocus",zP={bubbles:!1,cancelable:!0},qc="RovingFocusGroup",[Cg,zj,$P]=$x(qc),[FP,$j]=ia(qc,[$P]),[BP,VP]=FP(qc),Fj=b.forwardRef((t,e)=>i.jsx(Cg.Provider,{scope:t.__scopeRovingFocusGroup,children:i.jsx(Cg.Slot,{scope:t.__scopeRovingFocusGroup,children:i.jsx(HP,{...t,ref:e})})}));Fj.displayName=qc;var HP=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:h,preventScrollOnEntryFocus:f=!1,...m}=t,g=b.useRef(null),y=vt(e,g),v=ef(a),[j,w]=Wa({prop:o,defaultProp:c??null,onChange:u,caller:qc}),[k,E]=b.useState(!1),C=Qi(h),T=zj(n),O=b.useRef(!1),[B,R]=b.useState(0);return b.useEffect(()=>{const P=g.current;if(P)return P.addEventListener(Tm,C),()=>P.removeEventListener(Tm,C)},[C]),i.jsx(BP,{scope:n,orientation:r,dir:v,loop:s,currentTabStopId:j,onItemFocus:b.useCallback(P=>w(P),[w]),onItemShiftTab:b.useCallback(()=>E(!0),[]),onFocusableItemAdd:b.useCallback(()=>R(P=>P+1),[]),onFocusableItemRemove:b.useCallback(()=>R(P=>P-1),[]),children:i.jsx(at.div,{tabIndex:k||B===0?-1:0,"data-orientation":r,...m,ref:y,style:{outline:"none",...t.style},onMouseDown:rt(t.onMouseDown,()=>{O.current=!0}),onFocus:rt(t.onFocus,P=>{const I=!O.current;if(P.target===P.currentTarget&&I&&!k){const L=new CustomEvent(Tm,zP);if(P.currentTarget.dispatchEvent(L),!L.defaultPrevented){const X=T().filter($=>$.focusable),Z=X.find($=>$.active),Y=X.find($=>$.id===j),D=[Z,Y,...X].filter(Boolean).map($=>$.ref.current);Hj(D,f)}}O.current=!1}),onBlur:rt(t.onBlur,()=>E(!1))})})}),Bj="RovingFocusGroupItem",Vj=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:a,children:o,...c}=t,u=Ki(),h=a||u,f=VP(Bj,n),m=f.currentTabStopId===h,g=zj(n),{onFocusableItemAdd:y,onFocusableItemRemove:v,currentTabStopId:j}=f;return b.useEffect(()=>{if(r)return y(),()=>v()},[r,y,v]),i.jsx(Cg.ItemSlot,{scope:n,id:h,focusable:r,active:s,children:i.jsx(at.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...c,ref:e,onMouseDown:rt(t.onMouseDown,w=>{r?f.onItemFocus(h):w.preventDefault()}),onFocus:rt(t.onFocus,()=>f.onItemFocus(h)),onKeyDown:rt(t.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){f.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const k=KP(w,f.orientation,f.dir);if(k!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let C=g().filter(T=>T.focusable).map(T=>T.ref.current);if(k==="last")C.reverse();else if(k==="prev"||k==="next"){k==="prev"&&C.reverse();const T=C.indexOf(w.currentTarget);C=f.loop?qP(C,T+1):C.slice(T+1)}setTimeout(()=>Hj(C))}}),children:typeof o=="function"?o({isCurrentTabStop:m,hasTabStop:j!=null}):o})})});Vj.displayName=Bj;var WP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function UP(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function KP(t,e,n){const r=UP(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return WP[r]}function Hj(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function qP(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var GP=Fj,JP=Vj,tf="Tabs",[YP]=ia(tf,[$j]),Wj=$j(),[QP,Fx]=YP(tf),Uj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:s,defaultValue:a,orientation:o="horizontal",dir:c,activationMode:u="automatic",...h}=t,f=ef(c),[m,g]=Wa({prop:r,onChange:s,defaultProp:a??"",caller:tf});return i.jsx(QP,{scope:n,baseId:Ki(),value:m,onValueChange:g,orientation:o,dir:f,activationMode:u,children:i.jsx(at.div,{dir:f,"data-orientation":o,...h,ref:e})})});Uj.displayName=tf;var Kj="TabsList",qj=b.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...s}=t,a=Fx(Kj,n),o=Wj(n);return i.jsx(GP,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:i.jsx(at.div,{role:"tablist","aria-orientation":a.orientation,...s,ref:e})})});qj.displayName=Kj;var Gj="TabsTrigger",Jj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:s=!1,...a}=t,o=Fx(Gj,n),c=Wj(n),u=Xj(o.baseId,r),h=Zj(o.baseId,r),f=r===o.value;return i.jsx(JP,{asChild:!0,...c,focusable:!s,active:f,children:i.jsx(at.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":h,"data-state":f?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:u,...a,ref:e,onMouseDown:rt(t.onMouseDown,m=>{!s&&m.button===0&&m.ctrlKey===!1?o.onValueChange(r):m.preventDefault()}),onKeyDown:rt(t.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&o.onValueChange(r)}),onFocus:rt(t.onFocus,()=>{const m=o.activationMode!=="manual";!f&&!s&&m&&o.onValueChange(r)})})})});Jj.displayName=Gj;var Yj="TabsContent",Qj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:s,children:a,...o}=t,c=Fx(Yj,n),u=Xj(c.baseId,r),h=Zj(c.baseId,r),f=r===c.value,m=b.useRef(f);return b.useEffect(()=>{const g=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(g)},[]),i.jsx(Kc,{present:s||f,children:({present:g})=>i.jsx(at.div,{"data-state":f?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!g,id:h,tabIndex:0,...o,ref:e,style:{...t.style,animationDuration:m.current?"0s":void 0},children:g&&a})})});Qj.displayName=Yj;function Xj(t,e){return`${t}-trigger-${e}`}function Zj(t,e){return`${t}-content-${e}`}var XP=Uj,ek=qj,tk=Jj,nk=Qj;const Gc=XP,ul=b.forwardRef(({className:t,...e},n)=>i.jsx(ek,{ref:n,className:bt("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));ul.displayName=ek.displayName;const nn=b.forwardRef(({className:t,...e},n)=>i.jsx(tk,{ref:n,className:bt("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));nn.displayName=tk.displayName;const rn=b.forwardRef(({className:t,...e},n)=>i.jsx(nk,{ref:n,className:bt("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));rn.displayName=nk.displayName;function Bx(t){const e=b.useRef({value:t,previous:t});return b.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function Vx(t){const[e,n]=b.useState(void 0);return Un(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let o,c;if("borderBoxSize"in a){const u=a.borderBoxSize,h=Array.isArray(u)?u[0]:u;o=h.inlineSize,c=h.blockSize}else o=t.offsetWidth,c=t.offsetHeight;n({width:o,height:c})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var nf="Switch",[ZP]=ia(nf),[eI,tI]=ZP(nf),rk=b.forwardRef((t,e)=>{const{__scopeSwitch:n,name:r,checked:s,defaultChecked:a,required:o,disabled:c,value:u="on",onCheckedChange:h,form:f,...m}=t,[g,y]=b.useState(null),v=vt(e,C=>y(C)),j=b.useRef(!1),w=g?f||!!g.closest("form"):!0,[k,E]=Wa({prop:s,defaultProp:a??!1,onChange:h,caller:nf});return i.jsxs(eI,{scope:n,checked:k,disabled:c,children:[i.jsx(at.button,{type:"button",role:"switch","aria-checked":k,"aria-required":o,"data-state":ok(k),"data-disabled":c?"":void 0,disabled:c,value:u,...m,ref:v,onClick:rt(t.onClick,C=>{E(T=>!T),w&&(j.current=C.isPropagationStopped(),j.current||C.stopPropagation())})}),w&&i.jsx(ak,{control:g,bubbles:!j.current,name:r,value:u,checked:k,required:o,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});rk.displayName=nf;var sk="SwitchThumb",ik=b.forwardRef((t,e)=>{const{__scopeSwitch:n,...r}=t,s=tI(sk,n);return i.jsx(at.span,{"data-state":ok(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:e})});ik.displayName=sk;var nI="SwitchBubbleInput",ak=b.forwardRef(({__scopeSwitch:t,control:e,checked:n,bubbles:r=!0,...s},a)=>{const o=b.useRef(null),c=vt(o,a),u=Bx(n),h=Vx(e);return b.useEffect(()=>{const f=o.current;if(!f)return;const m=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(m,"checked").set;if(u!==n&&y){const v=new Event("click",{bubbles:r});y.call(f,n),f.dispatchEvent(v)}},[u,n,r]),i.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:c,style:{...s.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ak.displayName=nI;function ok(t){return t?"checked":"unchecked"}var lk=rk,rI=ik;const Nt=b.forwardRef(({className:t,...e},n)=>i.jsx(lk,{className:bt("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 focus-visible:ring-offset-[#0a1628] disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-gray-600 data-[state=checked]:bg-[#38bdac]",t),...e,ref:n,children:i.jsx(rI,{className:bt("pointer-events-none block h-4 w-4 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));Nt.displayName=lk.displayName;function Hx({open:t,onClose:e,userId:n,onUserUpdated:r}){var Cn;const[s,a]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,j]=b.useState(!1),[w,k]=b.useState("info"),[E,C]=b.useState(""),[T,O]=b.useState(""),[B,R]=b.useState([]),[P,I]=b.useState(""),[L,X]=b.useState(""),[Z,Y]=b.useState(""),[W,D]=b.useState(!1),[$,ae]=b.useState({isVip:!1,vipExpireDate:"",vipRole:"",vipName:"",vipProject:"",vipContact:"",vipBio:""}),[_,se]=b.useState([]),[q,z]=b.useState(!1),[H,de]=b.useState(!1),[K,fe]=b.useState(null),[Q,oe]=b.useState(null),[ue,ye]=b.useState(""),[V,ge]=b.useState(""),[Me,tt]=b.useState(""),[et,ot]=b.useState(!1),[Ge,dt]=b.useState(null),[Et,ht]=b.useState("");b.useEffect(()=>{t&&n&&(k("info"),fe(null),oe(null),dt(null),ht(""),X(""),Y(""),Tt(),Fe("/api/db/vip-roles").then(pe=>{pe!=null&&pe.success&&pe.data&&se(pe.data)}).catch(()=>{}))},[t,n]);async function Tt(){if(n){m(!0);try{const pe=await Fe(`/api/db/users?id=${encodeURIComponent(n)}`);if(pe!=null&&pe.success&&pe.user){const ve=pe.user;a(ve),C(ve.phone||""),O(ve.nickname||""),ye(ve.phone||""),ge(ve.wechatId||""),tt(ve.openId||"");try{R(typeof ve.tags=="string"?JSON.parse(ve.tags||"[]"):[])}catch{R([])}ae({isVip:!!(ve.isVip??!1),vipExpireDate:ve.vipExpireDate?String(ve.vipExpireDate).slice(0,10):"",vipRole:String(ve.vipRole??""),vipName:String(ve.vipName??""),vipProject:String(ve.vipProject??""),vipContact:String(ve.vipContact??""),vipBio:String(ve.vipBio??"")})}try{const ve=await Fe(`/api/user/track?userId=${encodeURIComponent(n)}&limit=50`);ve!=null&&ve.success&&ve.tracks&&c(ve.tracks)}catch{c([])}try{const ve=await Fe(`/api/db/users/referrals?userId=${encodeURIComponent(n)}`);ve!=null&&ve.success&&ve.referrals&&h(ve.referrals)}catch{h([])}}catch(pe){console.error("Load user detail error:",pe)}finally{m(!1)}}}async function rr(){if(!(s!=null&&s.phone)){he.info("用户未绑定手机号,无法同步");return}y(!0);try{const pe=await mt("/api/ckb/sync",{action:"full_sync",phone:s.phone,userId:s.id});pe!=null&&pe.success?(he.success("同步成功"),Tt()):he.error("同步失败: "+(pe==null?void 0:pe.error))}catch(pe){console.error("Sync CKB error:",pe),he.error("同步失败")}finally{y(!1)}}async function sr(){if(s){j(!0);try{const pe={id:s.id,phone:E||void 0,nickname:T||void 0,tags:JSON.stringify(B)},ve=await _t("/api/db/users",pe);ve!=null&&ve.success?(he.success("保存成功"),Tt(),r==null||r()):he.error("保存失败: "+(ve==null?void 0:ve.error))}catch(pe){console.error("Save user error:",pe),he.error("保存失败")}finally{j(!1)}}}const Er=()=>{P&&!B.includes(P)&&(R([...B,P]),I(""))},on=pe=>R(B.filter(ve=>ve!==pe));async function Kr(){if(s){if(!L){he.error("请输入新密码");return}if(L!==Z){he.error("两次密码不一致");return}if(L.length<6){he.error("密码至少 6 位");return}D(!0);try{const pe=await _t("/api/db/users",{id:s.id,password:L});pe!=null&&pe.success?(he.success("修改成功"),X(""),Y("")):he.error("修改失败: "+((pe==null?void 0:pe.error)||""))}catch{he.error("修改失败")}finally{D(!1)}}}async function gr(){if(s){if($.isVip&&!$.vipExpireDate.trim()){he.error("开启 VIP 请填写有效到期日");return}z(!0);try{const pe={id:s.id,isVip:$.isVip,vipExpireDate:$.isVip?$.vipExpireDate:void 0,vipRole:$.vipRole||void 0,vipName:$.vipName||void 0,vipProject:$.vipProject||void 0,vipContact:$.vipContact||void 0,vipBio:$.vipBio||void 0},ve=await _t("/api/db/users",pe);ve!=null&&ve.success?(he.success("VIP 设置已保存"),Tt(),r==null||r()):he.error("保存失败: "+((ve==null?void 0:ve.error)||""))}catch{he.error("保存失败")}finally{z(!1)}}}async function Tr(){if(!ue&&!Me&&!V){oe("请至少输入手机号、微信号或 OpenID 中的一项");return}de(!0),oe(null),fe(null);try{const pe=new URLSearchParams;ue&&pe.set("phone",ue),Me&&pe.set("openId",Me),V&&pe.set("wechatId",V);const ve=await Fe(`/api/admin/shensheshou/query?${pe}`);ve!=null&&ve.success&&ve.data?(fe(ve.data),s&&await _n(ve.data)):oe((ve==null?void 0:ve.error)||"未查询到数据,该用户可能未在神射手收录")}catch(pe){console.error("SSS query error:",pe),oe("请求失败,请检查神射手接口配置")}finally{de(!1)}}async function _n(pe){if(s)try{await mt("/api/admin/shensheshou/enrich",{userId:s.id,phone:ue||s.phone||"",openId:Me||s.openId||"",wechatId:V||s.wechatId||""}),Tt()}catch(ve){console.error("SSS enrich error:",ve)}}async function Jn(){if(s){ot(!0),dt(null);try{const pe={users:[{phone:s.phone||"",name:s.nickname||"",openId:s.openId||"",tags:B}]},ve=await mt("/api/admin/shensheshou/ingest",pe);ve!=null&&ve.success&&ve.data?dt(ve.data):dt({error:(ve==null?void 0:ve.error)||"推送失败"})}catch(pe){console.error("SSS ingest error:",pe),dt({error:"请求失败"})}finally{ot(!1)}}}const Yn=pe=>{const hn={view_chapter:Hr,purchase:wg,match:Ln,login:qo,register:qo,share:Ss,bind_phone:aA,bind_wechat:GM,fill_profile:xm,visit_page:Wo}[pe]||xg;return i.jsx(hn,{className:"w-4 h-4"})};return t?i.jsx(Zt,{open:t,onOpenChange:()=>e(),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] overflow-hidden",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(qo,{className:"w-5 h-5 text-[#38bdac]"}),"用户详情",(s==null?void 0:s.phone)&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 ml-2",children:"已绑定手机"}),(s==null?void 0:s.isVip)&&i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 border-0",children:"VIP"})]})}),f?i.jsxs("div",{className:"flex items-center justify-center py-20",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s?i.jsxs("div",{className:"flex flex-col h-[75vh]",children:[i.jsxs("div",{className:"flex items-center gap-4 p-4 bg-[#0a1628] rounded-lg mb-3",children:[i.jsx("div",{className:"w-16 h-16 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-2xl text-[#38bdac] shrink-0",children:s.avatar?i.jsx("img",{src:s.avatar,className:"w-full h-full rounded-full object-cover",alt:""}):((Cn=s.nickname)==null?void 0:Cn.charAt(0))||"?"}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[i.jsx("h3",{className:"text-lg font-bold text-white",children:s.nickname}),s.isAdmin&&i.jsx(Be,{className:"bg-purple-500/20 text-purple-400 border-0",children:"管理员"}),s.hasFullBook&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0",children:"全书已购"}),s.vipRole&&i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 border-0",children:s.vipRole})]}),i.jsxs("p",{className:"text-gray-400 text-sm mt-1",children:[s.phone?`📱 ${s.phone}`:"未绑定手机",s.wechatId&&` · 💬 ${s.wechatId}`,s.mbti&&` · ${s.mbti}`]}),i.jsxs("div",{className:"flex items-center gap-4 mt-1",children:[i.jsxs("p",{className:"text-gray-600 text-xs",children:["ID: ",s.id.slice(0,16),"…"]}),s.referralCode&&i.jsxs("p",{className:"text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"推广码:"}),i.jsx("code",{className:"text-[#38bdac] bg-[#38bdac]/10 px-1.5 py-0.5 rounded",children:s.referralCode})]})]})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-[#38bdac] font-bold text-lg",children:["¥",(s.earnings||0).toFixed(2)]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"累计收益"})]})]}),i.jsxs(Gc,{value:w,onValueChange:k,className:"flex-1 flex flex-col overflow-hidden",children:[i.jsxs(ul,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-3 flex-wrap h-auto gap-1",children:[i.jsx(nn,{value:"info",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"基础信息"}),i.jsx(nn,{value:"tags",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"标签体系"}),i.jsxs(nn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[i.jsx(Wo,{className:"w-3 h-3 mr-1"}),"用户旅程"]}),i.jsx(nn,{value:"relations",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"关系链路"}),i.jsxs(nn,{value:"shensheshou",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[i.jsx(Fi,{className:"w-3 h-3 mr-1"}),"用户资料完善"]})]}),i.jsxs(rn,{value:"info",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入手机号",value:E,onChange:pe=>C(pe.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入昵称",value:T,onChange:pe=>O(pe.target.value)})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[s.openId&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"微信 OpenID"}),i.jsx("p",{className:"text-gray-300 font-mono text-xs break-all",children:s.openId})]}),s.region&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[i.jsx(BN,{className:"w-4 h-4 text-gray-500"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-500 text-xs",children:"地区"}),i.jsx("p",{className:"text-white",children:s.region})]})]}),s.industry&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"行业"}),i.jsx("p",{className:"text-white",children:s.industry})]}),s.position&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"职位"}),i.jsx("p",{className:"text-white",children:s.position})]})]}),i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"推荐人数"}),i.jsx("p",{className:"text-2xl font-bold text-white",children:s.referralCount??0})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"待提现"}),i.jsxs("p",{className:"text-2xl font-bold text-yellow-400",children:["¥",(s.pendingEarnings??0).toFixed(2)]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"创建时间"}),i.jsx("p",{className:"text-sm text-white",children:s.createdAt?new Date(s.createdAt).toLocaleDateString():"-"})]})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(RM,{className:"w-4 h-4 text-yellow-400"}),i.jsx("span",{className:"text-white font-medium",children:"修改密码"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(ce,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"新密码(至少6位)",value:L,onChange:pe=>X(pe.target.value)}),i.jsx(ce,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"确认密码",value:Z,onChange:pe=>Y(pe.target.value)}),i.jsx(ne,{size:"sm",onClick:Kr,disabled:W||!L||!Z,className:"bg-yellow-500/20 hover:bg-yellow-500/30 text-yellow-400 border border-yellow-500/40",children:W?"保存中...":"确认修改"})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Pa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:"设成超级个体"})]}),i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-400 text-sm",children:"VIP 会员"}),i.jsx(Nt,{checked:$.isVip,onCheckedChange:pe=>ae(ve=>({...ve,isVip:pe}))})]}),$.isVip&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"到期日"}),i.jsx(ce,{type:"date",className:"bg-[#162840] border-gray-700 text-white text-sm",value:$.vipExpireDate,onChange:pe=>ae(ve=>({...ve,vipExpireDate:pe.target.value}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"角色"}),i.jsxs("select",{className:"w-full bg-[#162840] border border-gray-700 text-white rounded px-2 py-1.5 text-sm",value:$.vipRole,onChange:pe=>ae(ve=>({...ve,vipRole:pe.target.value})),children:[i.jsx("option",{value:"",children:"请选择"}),_.map(pe=>i.jsx("option",{value:pe.name,children:pe.name},pe.id))]})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"展示名"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white text-sm",placeholder:"创业老板排行展示名",value:$.vipName,onChange:pe=>ae(ve=>({...ve,vipName:pe.target.value}))})]}),i.jsx(ne,{size:"sm",onClick:gr,disabled:q,className:"bg-amber-500/20 hover:bg-amber-500/30 text-amber-400 border border-amber-500/40",children:q?"保存中...":"保存 VIP"})]})]})]}),s.isVip&&i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Pa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:"VIP 信息"}),i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 border-0 text-xs",children:s.vipRole||"VIP"})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[s.vipName&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"展示名:"}),i.jsx("span",{className:"text-white",children:s.vipName})]}),s.vipProject&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"项目:"}),i.jsx("span",{className:"text-white",children:s.vipProject})]}),s.vipContact&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"联系方式:"}),i.jsx("span",{className:"text-white",children:s.vipContact})]}),s.vipExpireDate&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"到期时间:"}),i.jsx("span",{className:"text-white",children:new Date(s.vipExpireDate).toLocaleDateString()})]})]}),s.vipBio&&i.jsx("p",{className:"text-gray-400 text-sm mt-2",children:s.vipBio})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-purple-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Tc,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"微信归属"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"该用户归属在哪个微信号下"})]}),i.jsxs("div",{className:"flex gap-2 items-center",children:[i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"输入归属微信号(如 wxid_xxxx)",value:Et,onChange:pe=>ht(pe.target.value)}),i.jsxs(ne,{size:"sm",onClick:async()=>{if(!(!Et||!s))try{await _t("/api/db/users",{id:s.id,wechatId:Et}),he.success("已保存微信归属"),Tt()}catch{he.error("保存失败")}},className:"bg-purple-500/20 hover:bg-purple-500/30 text-purple-400 border border-purple-500/30 shrink-0",children:[i.jsx(an,{className:"w-4 h-4 mr-1"})," 保存"]})]}),s.wechatId&&i.jsxs("p",{className:"text-gray-500 text-xs mt-2",children:["当前归属:",i.jsx("span",{className:"text-purple-400",children:s.wechatId})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Ss,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"存客宝同步"})]}),i.jsx(ne,{size:"sm",onClick:rr,disabled:g||!s.phone,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 同步中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1"})," 同步数据"]})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"同步状态:"}),s.ckbSyncedAt?i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 ml-1",children:"已同步"}):i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 border-0 ml-1",children:"未同步"})]}),i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"最后同步:"}),i.jsx("span",{className:"text-gray-300 ml-1",children:s.ckbSyncedAt?new Date(s.ckbSyncedAt).toLocaleString():"-"})]})]})]})]}),i.jsxs(rn,{value:"tags",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(xm,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"用户标签"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"基于《一场 Soul 的创业实验》维度打标"})]}),i.jsxs("div",{className:"mb-3 p-2.5 bg-[#38bdac]/5 border border-[#38bdac]/20 rounded-lg flex items-center gap-2 text-xs text-gray-400",children:[i.jsx(gg,{className:"w-3.5 h-3.5 text-[#38bdac] shrink-0"}),"命中的标签自动高亮 · 系统根据行为轨迹和填写资料自动打标 · 手动点击补充或取消"]}),i.jsx("div",{className:"mb-4 space-y-3",children:[{category:"身份类型",tags:["创业者","打工人","自由职业","学生","投资人","合伙人"]},{category:"行业背景",tags:["电商","内容","传统行业","科技/AI","金融","教育","餐饮"]},{category:"痛点标签",tags:["找资源","找方向","找合伙人","想赚钱","想学习","找情感出口"]},{category:"付费意愿",tags:["高意向","已付费","观望中","薅羊毛"]},{category:"MBTI",tags:["ENTJ","INTJ","ENFP","INFP","ENTP","INTP","ESTJ","ISFJ"]}].map(pe=>i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1.5",children:pe.category}),i.jsx("div",{className:"flex flex-wrap gap-1.5",children:pe.tags.map(ve=>i.jsxs("button",{type:"button",onClick:()=>{B.includes(ve)?on(ve):R([...B,ve])},className:`px-2 py-0.5 rounded text-xs border transition-all ${B.includes(ve)?"bg-[#38bdac]/20 border-[#38bdac]/50 text-[#38bdac]":"bg-transparent border-gray-700 text-gray-500 hover:border-gray-500 hover:text-gray-300"}`,children:[B.includes(ve)?"✓ ":"",ve]},ve))})]},pe.category))}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-3",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"已选标签"}),i.jsxs("div",{className:"flex flex-wrap gap-2 mb-3 min-h-[32px]",children:[B.map((pe,ve)=>i.jsxs(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0 pr-1",children:[pe,i.jsx("button",{type:"button",onClick:()=>on(pe),className:"ml-1 hover:text-red-400",children:i.jsx(Wn,{className:"w-3 h-3"})})]},ve)),B.length===0&&i.jsx("span",{className:"text-gray-600 text-sm",children:"暂未选择标签"})]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"自定义标签(回车添加)",value:P,onChange:pe=>I(pe.target.value),onKeyDown:pe=>pe.key==="Enter"&&Er()}),i.jsx(ne,{onClick:Er,className:"bg-[#38bdac] hover:bg-[#2da396]",children:"添加"})]})]})]}),s.ckbTags&&i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[i.jsx(xm,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"存客宝标签"})]}),i.jsx("div",{className:"flex flex-wrap gap-2",children:(typeof s.ckbTags=="string"?s.ckbTags.split(","):[]).map((pe,ve)=>i.jsx(Be,{className:"bg-purple-500/20 text-purple-400 border-0",children:pe.trim()},ve))})]})]}),i.jsxs(rn,{value:"journey",className:"flex-1 overflow-auto",children:[i.jsxs("div",{className:"mb-3 p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[i.jsx(Wo,{className:"w-4 h-4 text-[#38bdac]"}),i.jsxs("span",{className:"text-gray-400 text-sm",children:["记录用户从注册到付费的完整行动路径,共 ",o.length," 条记录"]})]}),i.jsx("div",{className:"space-y-2",children:o.length>0?o.map((pe,ve)=>i.jsxs("div",{className:"flex items-start gap-3 p-3 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex flex-col items-center",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-[#38bdac]",children:Yn(pe.action)}),ve0?u.map((pe,ve)=>{var Mr;const hn=pe;return i.jsxs("div",{className:"flex items-center justify-between p-2 bg-[#162840] rounded",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:"w-6 h-6 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-xs text-[#38bdac]",children:((Mr=hn.nickname)==null?void 0:Mr.charAt(0))||"?"}),i.jsx("span",{className:"text-white text-sm",children:hn.nickname})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[hn.status==="vip"&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"已购"}),i.jsx("span",{className:"text-gray-500 text-xs",children:hn.createdAt?new Date(hn.createdAt).toLocaleDateString():""})]})]},hn.id||ve)}):i.jsx("p",{className:"text-gray-500 text-sm text-center py-4",children:"暂无推荐用户"})})]})}),i.jsxs(rn,{value:"shensheshou",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Fi,{className:"w-5 h-5 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"用户资料完善"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"通过多维度查询神射手数据,自动回填用户基础信息"})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-2 mb-3",children:[i.jsxs("div",{children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"手机号"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"11位手机号",value:ue,onChange:pe=>ye(pe.target.value)})]}),i.jsxs("div",{children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信号"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"微信 ID",value:V,onChange:pe=>ge(pe.target.value)})]}),i.jsxs("div",{className:"col-span-2",children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信 OpenID"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"openid_xxxx(自动填入)",value:Me,onChange:pe=>tt(pe.target.value)})]})]}),i.jsx(ne,{onClick:Tr,disabled:H,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:H?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 查询并自动回填中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Ui,{className:"w-4 h-4 mr-1"})," 查询并自动完善用户资料"]})}),i.jsx("p",{className:"text-gray-600 text-xs mt-2",children:"查询成功后,神射手返回的标签将自动同步到该用户"}),Q&&i.jsx("div",{className:"mt-3 p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-red-400 text-sm",children:Q}),K&&i.jsxs("div",{className:"mt-3 space-y-3",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"神射手 RFM 分"}),i.jsx("p",{className:"text-2xl font-bold text-[#38bdac]",children:K.rfm_score??"-"})]}),i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"用户等级"}),i.jsx("p",{className:"text-2xl font-bold text-white",children:K.user_level??"-"})]})]}),K.tags&&K.tags.length>0&&i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"神射手标签"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:K.tags.map((pe,ve)=>i.jsx(Be,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/20",children:pe},ve))})]}),K.last_active&&i.jsxs("div",{className:"text-sm text-gray-500",children:["最近活跃:",K.last_active]})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx(Fi,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"推送用户数据到神射手"})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"将本用户信息(手机号、昵称、标签等)同步至神射手,自动完善用户画像"})]}),i.jsx(ne,{onClick:Jn,disabled:et||!s.phone,variant:"outline",className:"border-purple-500/40 text-purple-400 hover:bg-purple-500/10 bg-transparent shrink-0 ml-4",children:et?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 推送中"]}):i.jsxs(i.Fragment,{children:[i.jsx(Fi,{className:"w-4 h-4 mr-1"})," 推送"]})})]}),!s.phone&&i.jsx("p",{className:"text-yellow-500/70 text-xs",children:"⚠ 用户未绑定手机号,无法推送"}),Ge&&i.jsx("div",{className:"mt-3 p-3 bg-[#162840] rounded-lg text-sm",children:Ge.error?i.jsx("p",{className:"text-red-400",children:String(Ge.error)}):i.jsxs("div",{className:"space-y-1",children:[i.jsxs("p",{className:"text-green-400 flex items-center gap-1",children:[i.jsx(gg,{className:"w-4 h-4"})," 推送成功"]}),Ge.enriched!==void 0&&i.jsxs("p",{className:"text-gray-400",children:["自动补全标签数:",String(Ge.new_tags_added??0)]})]})})]})]})]}),i.jsxs("div",{className:"flex justify-end gap-2 pt-3 border-t border-gray-700 mt-3",children:[i.jsxs(ne,{variant:"outline",onClick:e,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"关闭"]}),i.jsxs(ne,{onClick:sr,disabled:v,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),v?"保存中...":"保存修改"]})]})]}):i.jsx("div",{className:"text-center py-12 text-gray-500",children:"用户不存在"})]})}):null}function sI(){const t=sa(),[e,n]=b.useState(!0),[r,s]=b.useState(!0),[a,o]=b.useState(!0),[c,u]=b.useState([]),[h,f]=b.useState([]),[m,g]=b.useState(0),[y,v]=b.useState(0),[j,w]=b.useState(0),[k,E]=b.useState(0),[C,T]=b.useState(null),[O,B]=b.useState(null),[R,P]=b.useState(!1),I=W=>{const D=W;if((D==null?void 0:D.status)===401)T("登录已过期,请重新登录");else{if((D==null?void 0:D.name)==="AbortError")return;T("加载失败,请检查网络或联系管理员")}};async function L(W){const D=W?{signal:W}:void 0;n(!0),T(null);try{const _=await Fe("/api/admin/dashboard/stats",D);_!=null&&_.success&&(g(_.totalUsers??0),v(_.paidOrderCount??0),w(_.totalRevenue??0),E(_.conversionRate??0))}catch(_){if((_==null?void 0:_.name)!=="AbortError"){console.error("stats 失败,尝试 overview 降级",_);try{const se=await Fe("/api/admin/dashboard/overview",D);se!=null&&se.success&&(g(se.totalUsers??0),v(se.paidOrderCount??0),w(se.totalRevenue??0),E(se.conversionRate??0))}catch(se){I(se)}}}finally{n(!1)}s(!0),o(!0);const $=async()=>{try{const _=await Fe("/api/admin/dashboard/recent-orders",D);if(_!=null&&_.success&&_.recentOrders)f(_.recentOrders);else throw new Error("no data")}catch(_){if((_==null?void 0:_.name)!=="AbortError")try{const se=await Fe("/api/admin/orders?page=1&pageSize=20&status=paid",D),z=((se==null?void 0:se.orders)??[]).filter(H=>["paid","completed","success"].includes(H.status||""));f(z.slice(0,5))}catch{f([])}}finally{s(!1)}},ae=async()=>{try{const _=await Fe("/api/admin/dashboard/new-users",D);if(_!=null&&_.success&&_.newUsers)u(_.newUsers);else throw new Error("no data")}catch(_){if((_==null?void 0:_.name)!=="AbortError")try{const se=await Fe("/api/db/users?page=1&pageSize=10",D);u((se==null?void 0:se.users)??[])}catch{u([])}}finally{o(!1)}};await Promise.all([$(),ae()])}b.useEffect(()=>{const W=new AbortController;L(W.signal);const D=setInterval(()=>L(),3e4);return()=>{W.abort(),clearInterval(D)}},[]);const X=m,Z=W=>{const D=W.productType||"",$=W.description||"";if($){if(D==="section"&&$.includes("章节")){if($.includes("-")){const ae=$.split("-");if(ae.length>=3)return{title:`第${ae[1]}章 第${ae[2]}节`,subtitle:"《一场Soul的创业实验》"}}return{title:$,subtitle:"章节购买"}}return D==="fullbook"||$.includes("全书")?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:D==="match"||$.includes("伙伴")?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:$,subtitle:D==="section"?"单章":D==="fullbook"?"全书":"其他"}}return D==="section"?{title:`章节 ${W.productId||""}`,subtitle:"单章购买"}:D==="fullbook"?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:D==="match"?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:"未知商品",subtitle:D||"其他"}},Y=[{title:"总用户数",value:e?null:X,icon:Ln,color:"text-blue-400",bg:"bg-blue-500/20",link:"/users"},{title:"总收入",value:e?null:`¥${(j??0).toFixed(2)}`,icon:fc,color:"text-[#38bdac]",bg:"bg-[#38bdac]/20",link:"/orders"},{title:"订单数",value:e?null:y,icon:wg,color:"text-purple-400",bg:"bg-purple-500/20",link:"/orders"},{title:"转化率",value:e?null:`${typeof k=="number"?k.toFixed(1):0}%`,icon:Hr,color:"text-orange-400",bg:"bg-orange-500/20",link:"/distribution"}];return i.jsxs("div",{className:"p-8 w-full",children:[i.jsx("h1",{className:"text-2xl font-bold mb-8 text-white",children:"数据概览"}),C&&i.jsxs("div",{className:"mb-6 px-4 py-3 rounded-lg bg-amber-500/20 border border-amber-500/50 text-amber-200 text-sm flex items-center justify-between",children:[i.jsx("span",{children:C}),i.jsx("button",{type:"button",onClick:()=>L(),className:"text-amber-400 hover:text-amber-300 underline",children:"重试"})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8",children:Y.map((W,D)=>i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl cursor-pointer hover:border-[#38bdac]/50 transition-colors group",onClick:()=>W.link&&t(W.link),children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsx(Ze,{className:"text-sm font-medium text-gray-400",children:W.title}),i.jsx("div",{className:`p-2 rounded-lg ${W.bg}`,children:i.jsx(W.icon,{className:`w-4 h-4 ${W.color}`})})]}),i.jsx(Re,{children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{className:"text-2xl font-bold text-white min-h-[2rem] flex items-center",children:W.value!=null?W.value:i.jsxs("span",{className:"inline-flex items-center gap-2 text-gray-500",children:[i.jsx(qe,{className:"w-4 h-4 animate-spin"}),"加载中"]})}),i.jsx(Ho,{className:"w-5 h-5 text-gray-600 group-hover:text-[#38bdac] transition-colors"})]})})]},D))}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between",children:[i.jsx(Ze,{className:"text-white",children:"最近订单"}),i.jsxs("button",{type:"button",onClick:()=>L(),disabled:r||a,className:"text-xs text-gray-400 hover:text-[#38bdac] flex items-center gap-1 disabled:opacity-50",title:"刷新",children:[r||a?i.jsx(qe,{className:"w-3.5 h-3.5 animate-spin"}):i.jsx(qe,{className:"w-3.5 h-3.5"}),"刷新(每 30 秒自动更新)"]})]}),i.jsx(Re,{children:i.jsx("div",{className:"space-y-3",children:r&&h.length===0?i.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[i.jsx(qe,{className:"w-8 h-8 animate-spin mb-2"}),i.jsx("span",{className:"text-sm",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[h.slice(0,5).map(W=>{var se;const D=W.referrerId?c.find(q=>q.id===W.referrerId):void 0,$=W.referralCode||(D==null?void 0:D.referralCode)||(D==null?void 0:D.nickname)||(W.referrerId?String(W.referrerId).slice(0,8):""),ae=Z(W),_=W.userNickname||((se=c.find(q=>q.id===W.userId))==null?void 0:se.nickname)||"匿名用户";return i.jsxs("div",{className:"flex items-start justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30 hover:border-[#38bdac]/30 transition-colors",children:[i.jsxs("div",{className:"flex items-start gap-3 flex-1",children:[W.userAvatar?i.jsx("img",{src:W.userAvatar,alt:_,className:"w-9 h-9 rounded-full object-cover flex-shrink-0 mt-0.5",onError:q=>{q.currentTarget.style.display="none";const z=q.currentTarget.nextElementSibling;z&&z.classList.remove("hidden")}}):null,i.jsx("div",{className:`w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 mt-0.5 ${W.userAvatar?"hidden":""}`,children:_.charAt(0)}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx("button",{type:"button",onClick:()=>{W.userId&&(B(W.userId),P(!0))},className:"text-sm text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:_}),i.jsx("span",{className:"text-gray-600",children:"·"}),i.jsx("span",{className:"text-sm font-medium text-white truncate",children:ae.title})]}),i.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[ae.subtitle&&ae.subtitle!=="章节购买"&&i.jsx("span",{className:"px-1.5 py-0.5 bg-gray-700/50 rounded",children:ae.subtitle}),i.jsx("span",{children:new Date(W.createdAt||0).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})]}),$&&i.jsxs("p",{className:"text-xs text-gray-600 mt-1",children:["推荐: ",$]})]})]}),i.jsxs("div",{className:"text-right ml-4 flex-shrink-0",children:[i.jsxs("p",{className:"text-sm font-bold text-[#38bdac]",children:["+¥",Number(W.amount).toFixed(2)]}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:W.paymentMethod||"微信"})]})]},W.id)}),h.length===0&&!r&&i.jsxs("div",{className:"text-center py-12",children:[i.jsx(wg,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),i.jsx("p",{className:"text-gray-500",children:"暂无订单数据"})]})]})})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"新注册用户"})}),i.jsx(Re,{children:i.jsx("div",{className:"space-y-3",children:a&&c.length===0?i.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[i.jsx(qe,{className:"w-8 h-8 animate-spin mb-2"}),i.jsx("span",{className:"text-sm",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[c.slice(0,5).map(W=>{var D;return i.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:((D=W.nickname)==null?void 0:D.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsx("button",{type:"button",onClick:()=>{B(W.id),P(!0)},className:"text-sm font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:W.nickname||"匿名用户"}),i.jsx("p",{className:"text-xs text-gray-500",children:W.phone||"-"})]})]}),i.jsx("p",{className:"text-xs text-gray-400",children:W.createdAt?new Date(W.createdAt).toLocaleDateString():"-"})]},W.id)}),c.length===0&&!a&&i.jsx("p",{className:"text-gray-500 text-center py-8",children:"暂无用户数据"})]})})})]})]}),i.jsx(Hx,{open:R,onClose:()=>{P(!1),B(null)},userId:O,onUserUpdated:()=>L()})]})}const fr=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{className:"relative w-full overflow-auto",children:i.jsx("table",{ref:n,className:bt("w-full caption-bottom text-sm",t),...e})}));fr.displayName="Table";const pr=b.forwardRef(({className:t,...e},n)=>i.jsx("thead",{ref:n,className:bt("[&_tr]:border-b",t),...e}));pr.displayName="TableHeader";const mr=b.forwardRef(({className:t,...e},n)=>i.jsx("tbody",{ref:n,className:bt("[&_tr:last-child]:border-0",t),...e}));mr.displayName="TableBody";const ct=b.forwardRef(({className:t,...e},n)=>i.jsx("tr",{ref:n,className:bt("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));ct.displayName="TableRow";const Te=b.forwardRef(({className:t,...e},n)=>i.jsx("th",{ref:n,className:bt("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...e}));Te.displayName="TableHead";const we=b.forwardRef(({className:t,...e},n)=>i.jsx("td",{ref:n,className:bt("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...e}));we.displayName="TableCell";function Wx(t,e){const[n,r]=b.useState(t);return b.useEffect(()=>{const s=setTimeout(()=>r(t),e);return()=>clearTimeout(s)},[t,e]),n}function ls({page:t,totalPages:e,total:n,pageSize:r,onPageChange:s,onPageSizeChange:a,pageSizeOptions:o=[10,20,50,100]}){return e<=1&&!a?null:i.jsxs("div",{className:"flex items-center justify-between gap-4 py-4 px-5 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-400",children:[i.jsxs("span",{children:["共 ",n," 条"]}),a&&i.jsx("select",{value:r,onChange:c=>a(Number(c.target.value)),className:"bg-[#0f2137] border border-gray-600 rounded px-2 py-1 text-gray-300 text-sm",children:o.map(c=>i.jsxs("option",{value:c,children:[c," 条/页"]},c))})]}),e>1&&i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("button",{type:"button",onClick:()=>s(1),disabled:t<=1,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"首页"}),i.jsx("button",{type:"button",onClick:()=>s(t-1),disabled:t<=1,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"上一页"}),i.jsxs("span",{className:"px-3 py-1 text-gray-400 text-sm",children:[t," / ",e]}),i.jsx("button",{type:"button",onClick:()=>s(t+1),disabled:t>=e,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"下一页"}),i.jsx("button",{type:"button",onClick:()=>s(e),disabled:t>=e,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"末页"})]})]})}function iI(){const[t,e]=b.useState([]),[n,r]=b.useState([]),[s,a]=b.useState(0),[o,c]=b.useState(0),[u,h]=b.useState(0),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,j]=b.useState(""),w=Wx(v,300),[k,E]=b.useState("all"),[C,T]=b.useState(!0),[O,B]=b.useState(null),[R,P]=b.useState(null),[I,L]=b.useState(""),[X,Z]=b.useState(!1);async function Y(){T(!0),B(null);try{const q=k==="all"?"":k==="completed"?"completed":k,z=new URLSearchParams({page:String(f),pageSize:String(g),...q&&{status:q},...w&&{search:w}}),[H,de]=await Promise.all([Fe(`/api/admin/orders?${z}`),Fe("/api/db/users?page=1&pageSize=500")]);H!=null&&H.success&&(e(H.orders||[]),a(H.total??0),c(H.totalRevenue??0),h(H.todayRevenue??0)),de!=null&&de.success&&de.users&&r(de.users)}catch(q){console.error("加载订单失败",q),B("加载订单失败,请检查网络后重试")}finally{T(!1)}}b.useEffect(()=>{m(1)},[w,k]),b.useEffect(()=>{Y()},[f,g,w,k]);const W=q=>{var z;return q.userNickname||((z=n.find(H=>H.id===q.userId))==null?void 0:z.nickname)||"匿名用户"},D=q=>{var z;return((z=n.find(H=>H.id===q))==null?void 0:z.phone)||"-"},$=q=>{const z=q.productType||q.type||"",H=q.description||"";if(H){if(z==="section"&&H.includes("章节")){if(H.includes("-")){const de=H.split("-");if(de.length>=3)return{name:`第${de[1]}章 第${de[2]}节`,type:"《一场Soul的创业实验》"}}return{name:H,type:"章节购买"}}return z==="fullbook"||H.includes("全书")?{name:"《一场Soul的创业实验》",type:"全书购买"}:z==="vip"||H.includes("VIP")?{name:"VIP年度会员",type:"VIP"}:z==="match"||H.includes("伙伴")?{name:"找伙伴匹配",type:"功能服务"}:{name:H,type:"其他"}}return z==="section"?{name:`章节 ${q.productId||q.sectionId||""}`,type:"单章"}:z==="fullbook"?{name:"《一场Soul的创业实验》",type:"全书"}:z==="vip"?{name:"VIP年度会员",type:"VIP"}:z==="match"?{name:"找伙伴匹配",type:"功能"}:{name:"未知商品",type:z||"其他"}},ae=Math.ceil(s/g)||1;async function _(){var q;if(!(!(R!=null&&R.orderSn)&&!(R!=null&&R.id))){Z(!0),B(null);try{const z=await _t("/api/admin/orders/refund",{orderSn:R.orderSn||R.id,reason:I||void 0});z!=null&&z.success?(P(null),L(""),Y()):B((z==null?void 0:z.error)||"退款失败")}catch(z){const H=z;B(((q=H==null?void 0:H.data)==null?void 0:q.error)||"退款失败,请检查网络后重试")}finally{Z(!1)}}}function se(){if(t.length===0){he.info("暂无数据可导出");return}const q=["订单号","用户","手机号","商品","金额","支付方式","状态","退款原因","分销佣金","下单时间"],z=t.map(Q=>{const oe=$(Q);return[Q.orderSn||Q.id||"",W(Q),D(Q.userId),oe.name,Number(Q.amount||0).toFixed(2),Q.paymentMethod==="wechat"?"微信支付":Q.paymentMethod==="alipay"?"支付宝":Q.paymentMethod||"微信支付",Q.status==="refunded"?"已退款":Q.status==="paid"||Q.status==="completed"?"已完成":Q.status==="pending"||Q.status==="created"?"待支付":"已失败",Q.status==="refunded"&&Q.refundReason?Q.refundReason:"-",Q.referrerEarnings?Number(Q.referrerEarnings).toFixed(2):"-",Q.createdAt?new Date(Q.createdAt).toLocaleString("zh-CN"):""].join(",")}),H="\uFEFF"+[q.join(","),...z].join(` +`),de=new Blob([H],{type:"text/csv;charset=utf-8"}),K=URL.createObjectURL(de),fe=document.createElement("a");fe.href=K,fe.download=`订单列表_${new Date().toISOString().slice(0,10)}.csv`,fe.click(),URL.revokeObjectURL(K)}return i.jsxs("div",{className:"p-8 w-full",children:[O&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:O}),i.jsx("button",{type:"button",onClick:()=>B(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"订单管理"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",t.length," 笔订单"]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs(ne,{variant:"outline",onClick:Y,disabled:C,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${C?"animate-spin":""}`}),"刷新"]}),i.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[i.jsx("span",{className:"text-gray-400",children:"总收入:"}),i.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",o.toFixed(2)]}),i.jsx("span",{className:"text-gray-600",children:"|"}),i.jsx("span",{className:"text-gray-400",children:"今日:"}),i.jsxs("span",{className:"text-[#FFD700] font-bold",children:["¥",u.toFixed(2)]})]})]})]}),i.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[i.jsxs("div",{className:"relative flex-1 max-w-md",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),i.jsx(ce,{type:"text",placeholder:"搜索订单号/用户/章节...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500",value:v,onChange:q=>j(q.target.value)})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx($N,{className:"w-4 h-4 text-gray-400"}),i.jsxs("select",{value:k,onChange:q=>E(q.target.value),className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"pending",children:"待支付"}),i.jsx("option",{value:"created",children:"已创建"}),i.jsx("option",{value:"failed",children:"已失败"}),i.jsx("option",{value:"refunded",children:"已退款"})]})]}),i.jsxs(ne,{variant:"outline",onClick:se,disabled:t.length===0,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(eM,{className:"w-4 h-4 mr-2"}),"导出 CSV"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:C?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs("div",{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"订单号"}),i.jsx(Te,{className:"text-gray-400",children:"用户"}),i.jsx(Te,{className:"text-gray-400",children:"商品"}),i.jsx(Te,{className:"text-gray-400",children:"金额"}),i.jsx(Te,{className:"text-gray-400",children:"支付方式"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"退款原因"}),i.jsx(Te,{className:"text-gray-400",children:"分销佣金"}),i.jsx(Te,{className:"text-gray-400",children:"下单时间"}),i.jsx(Te,{className:"text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(q=>{const z=$(q);return i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsxs(we,{className:"font-mono text-xs text-gray-400",children:[(q.orderSn||q.id||"").slice(0,12),"..."]}),i.jsx(we,{children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:W(q)}),i.jsx("p",{className:"text-gray-500 text-xs",children:D(q.userId)})]})}),i.jsx(we,{children:i.jsxs("div",{children:[i.jsxs("p",{className:"text-white text-sm flex items-center gap-2",children:[z.name,(q.productType||q.type)==="vip"&&i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0 text-xs",children:"VIP"})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:z.type})]})}),i.jsxs(we,{className:"text-[#38bdac] font-bold",children:["¥",Number(q.amount||0).toFixed(2)]}),i.jsx(we,{className:"text-gray-300",children:q.paymentMethod==="wechat"?"微信支付":q.paymentMethod==="alipay"?"支付宝":q.paymentMethod||"微信支付"}),i.jsx(we,{children:q.status==="refunded"?i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 hover:bg-gray-500/20 border-0",children:"已退款"}):q.status==="paid"||q.status==="completed"?i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"}):q.status==="pending"||q.status==="created"?i.jsx(Be,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:"待支付"}):i.jsx(Be,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已失败"})}),i.jsx(we,{className:"text-gray-400 text-sm max-w-[120px] truncate",title:q.refundReason,children:q.status==="refunded"&&q.refundReason?q.refundReason:"-"}),i.jsx(we,{className:"text-[#FFD700]",children:q.referrerEarnings?`¥${Number(q.referrerEarnings).toFixed(2)}`:"-"}),i.jsx(we,{className:"text-gray-400 text-sm",children:new Date(q.createdAt).toLocaleString("zh-CN")}),i.jsx(we,{children:(q.status==="paid"||q.status==="completed")&&i.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{P(q),L("")},children:[i.jsx(VN,{className:"w-3 h-3 mr-1"}),"退款"]})})]},q.id)}),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:10,className:"text-center py-12 text-gray-500",children:"暂无订单数据"})})]})]}),i.jsx(ls,{page:f,totalPages:ae,total:s,pageSize:g,onPageChange:m,onPageSizeChange:q=>{y(q),m(1)}})]})})}),i.jsx(Zt,{open:!!R,onOpenChange:q=>!q&&P(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:"订单退款"})}),R&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",R.orderSn||R.id]}),i.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",Number(R.amount||0).toFixed(2)]}),i.jsxs("div",{children:[i.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),i.jsx("div",{className:"form-input",children:i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:I,onChange:q=>L(q.target.value)})})]}),i.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>P(null),disabled:X,children:"取消"}),i.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:_,disabled:X,children:X?"退款中...":"确认退款"})]})]})})]})}const Jc=b.forwardRef(({className:t,...e},n)=>i.jsx("textarea",{className:bt("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...e}));Jc.displayName="Textarea";const vu=[{id:"register",label:"注册/登录",icon:"👤",color:"bg-blue-500/20 border-blue-500/40 text-blue-400",desc:"微信授权登录或手机号注册"},{id:"browse",label:"浏览章节",icon:"📖",color:"bg-purple-500/20 border-purple-500/40 text-purple-400",desc:"点击免费/付费章节预览"},{id:"bind_phone",label:"绑定手机",icon:"📱",color:"bg-cyan-500/20 border-cyan-500/40 text-cyan-400",desc:"触发付费章节后绑定手机"},{id:"first_pay",label:"首次付款",icon:"💳",color:"bg-green-500/20 border-green-500/40 text-green-400",desc:"购买单章或全书"},{id:"fill_profile",label:"完善资料",icon:"✍️",color:"bg-yellow-500/20 border-yellow-500/40 text-yellow-400",desc:"填写头像、MBTI、行业等"},{id:"match",label:"派对房匹配",icon:"🤝",color:"bg-orange-500/20 border-orange-500/40 text-orange-400",desc:"参与 Soul 派对房"},{id:"vip",label:"升级 VIP",icon:"👑",color:"bg-amber-500/20 border-amber-500/40 text-amber-400",desc:"付款 ¥1980 购买全书"},{id:"distribution",label:"开启分销",icon:"🔗",color:"bg-[#38bdac]/20 border-[#38bdac]/40 text-[#38bdac]",desc:"生成推广码并推荐好友"}];function aI(){var Yr,Tn,ms,Ps,Is;const[t,e]=IN(),n=t.get("pool"),[r,s]=b.useState([]),[a,o]=b.useState(0),[c,u]=b.useState(1),[h,f]=b.useState(10),[m,g]=b.useState(""),y=Wx(m,300),v=n==="vip"?"vip":n==="complete"?"complete":"all",[j,w]=b.useState(v),[k,E]=b.useState(!0),[C,T]=b.useState(!1),[O,B]=b.useState(null),[R,P]=b.useState(!1),[I,L]=b.useState("desc");b.useEffect(()=>{n==="vip"?w("vip"):n==="complete"?w("complete"):n==="all"&&w("all")},[n]);const[X,Z]=b.useState(!1),[Y,W]=b.useState(null),[D,$]=b.useState(!1),[ae,_]=b.useState(!1),[se,q]=b.useState({referrals:[],stats:{}}),[z,H]=b.useState(!1),[de,K]=b.useState(null),[fe,Q]=b.useState(!1),[oe,ue]=b.useState(null),[ye,V]=b.useState({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),[ge,Me]=b.useState([]),[tt,et]=b.useState(!1),[ot,Ge]=b.useState(!1),[dt,Et]=b.useState(null),[ht,Tt]=b.useState({title:"",description:"",trigger:"",sort:0,enabled:!0}),[rr,sr]=b.useState([]),[Er,on]=b.useState(!1),[Kr,gr]=b.useState(!1),[Tr,_n]=b.useState(null),[Jn,Yn]=b.useState({name:"",sort:0}),[Cn,pe]=b.useState({}),[ve,hn]=b.useState(!1);async function Mr(G=!1){var nt;E(!0),G&&T(!0),B(null);try{if(R){const wt=new URLSearchParams({search:y,limit:String(h*5)}),ft=await Fe(`/api/db/users/rfm?${wt}`);if(ft!=null&&ft.success){let Qt=ft.users||[];I==="asc"&&(Qt=[...Qt].reverse());const li=(c-1)*h;s(Qt.slice(li,li+h)),o(((nt=ft.users)==null?void 0:nt.length)??0),Qt.length===0&&(P(!1),B("暂无订单数据,RFM 排序需要用户有购买记录后才能生效"))}else P(!1),B((ft==null?void 0:ft.error)||"RFM 加载失败,已切回普通模式")}else{const wt=new URLSearchParams({page:String(c),pageSize:String(h),search:y,...j==="vip"&&{vip:"true"},...j==="complete"&&{pool:"complete"}}),ft=await Fe(`/api/db/users?${wt}`);ft!=null&&ft.success?(s(ft.users||[]),o(ft.total??0)):B((ft==null?void 0:ft.error)||"加载失败")}}catch(wt){console.error("Load users error:",wt),B("网络错误")}finally{E(!1),G&&T(!1)}}b.useEffect(()=>{u(1)},[y,j,R]),b.useEffect(()=>{Mr()},[c,h,y,j,R,I]);const fs=Math.ceil(a/h)||1,ua=()=>{R?I==="desc"?L("asc"):(P(!1),L("desc")):(P(!0),L("desc"))},En=G=>({S:"bg-amber-500/20 text-amber-400",A:"bg-green-500/20 text-green-400",B:"bg-blue-500/20 text-blue-400",C:"bg-gray-500/20 text-gray-400",D:"bg-red-500/20 text-red-400"})[G||""]||"bg-gray-500/20 text-gray-400";async function qr(G){if(confirm("确定要删除这个用户吗?"))try{const nt=await ss(`/api/db/users?id=${encodeURIComponent(G)}`);nt!=null&&nt.success?Mr():he.error("删除失败: "+((nt==null?void 0:nt.error)||""))}catch{he.error("删除失败")}}const ha=G=>{W(G),V({phone:G.phone||"",nickname:G.nickname||"",password:"",isAdmin:!!(G.isAdmin??!1),hasFullBook:!!(G.hasFullBook??!1)}),Z(!0)},xr=()=>{W(null),V({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),Z(!0)};async function Gr(){if(!ye.phone||!ye.nickname){he.error("请填写手机号和昵称");return}$(!0);try{if(Y){const G=await _t("/api/db/users",{id:Y.id,nickname:ye.nickname,isAdmin:ye.isAdmin,hasFullBook:ye.hasFullBook,...ye.password&&{password:ye.password}});if(!(G!=null&&G.success)){he.error("更新失败: "+((G==null?void 0:G.error)||""));return}}else{const G=await mt("/api/db/users",{phone:ye.phone,nickname:ye.nickname,password:ye.password,isAdmin:ye.isAdmin});if(!(G!=null&&G.success)){he.error("创建失败: "+((G==null?void 0:G.error)||""));return}}Z(!1),Mr()}catch{he.error("保存失败")}finally{$(!1)}}async function ai(G){K(G),_(!0),H(!0);try{const nt=await Fe(`/api/db/users/referrals?userId=${encodeURIComponent(G.id)}`);nt!=null&&nt.success?q({referrals:nt.referrals||[],stats:nt.stats||{}}):q({referrals:[],stats:{}})}catch{q({referrals:[],stats:{}})}finally{H(!1)}}const ut=b.useCallback(async()=>{et(!0);try{const G=await Fe("/api/db/user-rules");G!=null&&G.success&&Me(G.rules||[])}catch{}finally{et(!1)}},[]);async function Ar(){if(!ht.title){he.error("请填写规则标题");return}$(!0);try{if(dt){const G=await _t("/api/db/user-rules",{id:dt.id,...ht});if(!(G!=null&&G.success)){he.error("更新失败: "+((G==null?void 0:G.error)||""));return}}else{const G=await mt("/api/db/user-rules",ht);if(!(G!=null&&G.success)){he.error("创建失败: "+((G==null?void 0:G.error)||""));return}}Ge(!1),ut()}catch{he.error("保存失败")}finally{$(!1)}}async function io(G){if(confirm("确定删除?"))try{const nt=await ss(`/api/db/user-rules?id=${G}`);nt!=null&&nt.success&&ut()}catch{}}async function xn(G){try{await _t("/api/db/user-rules",{id:G.id,enabled:!G.enabled}),ut()}catch{}}const Jr=b.useCallback(async()=>{on(!0);try{const G=await Fe("/api/db/vip-roles");G!=null&&G.success&&sr(G.roles||[])}catch{}finally{on(!1)}},[]);async function oi(){if(!Jn.name){he.error("请填写角色名称");return}$(!0);try{if(Tr){const G=await _t("/api/db/vip-roles",{id:Tr.id,...Jn});if(!(G!=null&&G.success)){he.error("更新失败");return}}else{const G=await mt("/api/db/vip-roles",Jn);if(!(G!=null&&G.success)){he.error("创建失败");return}}gr(!1),Jr()}catch{he.error("保存失败")}finally{$(!1)}}async function Rr(G){if(confirm("确定删除?"))try{const nt=await ss(`/api/db/vip-roles?id=${G}`);nt!=null&&nt.success&&Jr()}catch{}}const ps=b.useCallback(async()=>{hn(!0);try{const G=await Fe("/api/db/users/journey-stats");G!=null&&G.success&&G.stats&&pe(G.stats)}catch{}finally{hn(!1)}},[]);return i.jsxs("div",{className:"p-8 w-full",children:[O&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:O}),i.jsx("button",{type:"button",onClick:()=>B(null),children:"×"})]}),i.jsx("div",{className:"flex justify-between items-center mb-6",children:i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"用户管理"}),i.jsxs("p",{className:"text-gray-400 mt-1 text-sm",children:["共 ",a," 位注册用户",R&&" · RFM 排序中"]})]})}),i.jsxs(Gc,{defaultValue:"users",className:"w-full",children:[i.jsxs(ul,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-6 flex-wrap h-auto gap-1",children:[i.jsxs(nn,{value:"users",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",children:[i.jsx(Ln,{className:"w-4 h-4"})," 用户列表"]}),i.jsxs(nn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:ps,children:[i.jsx(Wo,{className:"w-4 h-4"})," 用户旅程总览"]}),i.jsxs(nn,{value:"rules",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:ut,children:[i.jsx(_a,{className:"w-4 h-4"})," 规则配置"]}),i.jsxs(nn,{value:"vip-roles",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Jr,children:[i.jsx(Pa,{className:"w-4 h-4"})," VIP 角色"]})]}),i.jsxs(rn,{value:"users",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-4 justify-end flex-wrap",children:[i.jsxs(ne,{variant:"outline",onClick:()=>Mr(!0),disabled:C,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${C?"animate-spin":""}`})," 刷新"]}),i.jsxs("select",{value:j,onChange:G=>{const nt=G.target.value;w(nt),u(1),n&&(t.delete("pool"),e(t))},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",disabled:R,children:[i.jsx("option",{value:"all",children:"全部用户"}),i.jsx("option",{value:"vip",children:"VIP会员(超级个体)"}),i.jsx("option",{value:"complete",children:"完善资料用户"})]}),i.jsxs("div",{className:"relative",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),i.jsx(ce,{type:"text",placeholder:"搜索用户...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500 w-56",value:m,onChange:G=>g(G.target.value)})]}),i.jsxs(ne,{onClick:xr,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ng,{className:"w-4 h-4 mr-2"})," 添加用户"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:k?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs("div",{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"用户信息"}),i.jsx(Te,{className:"text-gray-400",children:"绑定信息"}),i.jsx(Te,{className:"text-gray-400",children:"购买状态"}),i.jsx(Te,{className:"text-gray-400",children:"分销收益"}),i.jsxs(Te,{className:"text-gray-400 cursor-pointer select-none",onClick:ua,children:[i.jsxs("div",{className:"flex items-center gap-1 group",children:[i.jsx(fc,{className:"w-3.5 h-3.5"}),i.jsx("span",{children:"RFM分值"}),R?I==="desc"?i.jsx(Ec,{className:"w-3.5 h-3.5 text-[#38bdac]"}):i.jsx(DN,{className:"w-3.5 h-3.5 text-[#38bdac]"}):i.jsx(ST,{className:"w-3.5 h-3.5 text-gray-600 group-hover:text-gray-400"})]}),R&&i.jsx("div",{className:"text-[10px] text-[#38bdac] font-normal mt-0.5",children:"点击切换方向/关闭"})]}),i.jsx(Te,{className:"text-gray-400",children:"注册时间"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[r.map(G=>{var nt,wt,ft;return i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:G.avatar?i.jsx("img",{src:G.avatar,className:"w-full h-full rounded-full object-cover",alt:""}):((nt=G.nickname)==null?void 0:nt.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("button",{type:"button",onClick:()=>{ue(G.id),Q(!0)},className:"font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:G.nickname}),G.isAdmin&&i.jsx(Be,{className:"bg-purple-500/20 text-purple-400 hover:bg-purple-500/20 border-0 text-xs",children:"管理员"}),G.openId&&!((wt=G.id)!=null&&wt.startsWith("user_"))&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0 text-xs",children:"微信"})]}),i.jsx("p",{className:"text-xs text-gray-500 font-mono",children:G.openId?G.openId.slice(0,12)+"...":(ft=G.id)==null?void 0:ft.slice(0,12)})]})]})}),i.jsx(we,{children:i.jsxs("div",{className:"space-y-1",children:[G.phone&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"📱"}),i.jsx("span",{className:"text-gray-300",children:G.phone})]}),G.wechatId&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"💬"}),i.jsx("span",{className:"text-gray-300",children:G.wechatId})]}),G.openId&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"🔗"}),i.jsxs("span",{className:"text-gray-500 truncate max-w-[100px]",title:G.openId,children:[G.openId.slice(0,12),"..."]})]}),!G.phone&&!G.wechatId&&!G.openId&&i.jsx("span",{className:"text-gray-600 text-xs",children:"未绑定"})]})}),i.jsx(we,{children:G.hasFullBook?i.jsx(Be,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0",children:"VIP"}):i.jsx(Be,{variant:"outline",className:"text-gray-500 border-gray-600",children:"未购买"})}),i.jsx(we,{children:i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"text-white font-medium",children:["¥",parseFloat(String(G.earnings||0)).toFixed(2)]}),parseFloat(String(G.pendingEarnings||0))>0&&i.jsxs("div",{className:"text-xs text-yellow-400",children:["待提现: ¥",parseFloat(String(G.pendingEarnings||0)).toFixed(2)]}),i.jsxs("div",{className:"text-xs text-[#38bdac] cursor-pointer hover:underline flex items-center gap-1",onClick:()=>ai(G),role:"button",tabIndex:0,onKeyDown:Qt=>Qt.key==="Enter"&&ai(G),children:[i.jsx(Ln,{className:"w-3 h-3"})," 绑定",G.referralCount||0,"人"]})]})}),i.jsx(we,{children:G.rfmScore!==void 0?i.jsx("div",{className:"flex flex-col gap-1",children:i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("span",{className:"text-white font-bold text-base",children:G.rfmScore}),i.jsx(Be,{className:`border-0 text-xs ${En(G.rfmLevel)}`,children:G.rfmLevel})]})}):i.jsxs("span",{className:"text-gray-600 text-sm",children:["— ",i.jsx("span",{className:"text-xs text-gray-700",children:"点列头排序"})]})}),i.jsx(we,{className:"text-gray-400",children:G.createdAt?new Date(G.createdAt).toLocaleDateString():"-"}),i.jsx(we,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{ue(G.id),Q(!0)},className:"text-gray-400 hover:text-blue-400 hover:bg-blue-400/10",title:"用户详情",children:i.jsx(yg,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>ha(G),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",title:"编辑用户",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",onClick:()=>qr(G.id),title:"删除",children:i.jsx(wn,{className:"w-4 h-4"})})]})})]},G.id)}),r.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无用户数据"})})]})]}),i.jsx(ls,{page:c,totalPages:fs,total:a,pageSize:h,onPageChange:u,onPageSizeChange:G=>{f(G),u(1)}})]})})})]}),i.jsxs(rn,{value:"journey",children:[i.jsxs("div",{className:"flex items-center justify-between mb-5",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"用户从注册到 VIP 的完整行动路径,点击各阶段查看用户动态"}),i.jsxs(ne,{variant:"outline",onClick:ps,disabled:ve,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${ve?"animate-spin":""}`})," 刷新数据"]})]}),i.jsxs("div",{className:"relative mb-8",children:[i.jsx("div",{className:"absolute top-16 left-0 right-0 h-0.5 bg-gradient-to-r from-blue-500/20 via-[#38bdac]/30 to-amber-500/20 mx-20"}),i.jsx("div",{className:"grid grid-cols-4 gap-4 lg:grid-cols-8",children:vu.map((G,nt)=>i.jsxs("div",{className:"relative flex flex-col items-center",children:[i.jsxs("div",{className:`relative w-full p-3 rounded-xl border ${G.color} text-center cursor-default`,children:[i.jsx("div",{className:"text-2xl mb-1",children:G.icon}),i.jsx("div",{className:`text-xs font-medium ${G.color.split(" ").find(wt=>wt.startsWith("text-"))}`,children:G.label}),Cn[G.id]!==void 0&&i.jsxs("div",{className:"mt-1.5 text-xs text-gray-400",children:[i.jsx("span",{className:"font-bold text-white",children:Cn[G.id]})," 人"]}),i.jsx("div",{className:"absolute -top-2.5 -left-2.5 w-5 h-5 rounded-full bg-[#0a1628] border border-gray-700 flex items-center justify-center text-[10px] text-gray-500",children:nt+1})]}),nti.jsxs("div",{className:"flex items-start gap-3 p-2 bg-[#0a1628] rounded",children:[i.jsx("span",{className:"text-[#38bdac] font-mono text-xs shrink-0 mt-0.5",children:G.step}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-300",children:G.action}),i.jsxs("p",{className:"text-gray-600 text-xs",children:["→ ",G.next]})]})]},G.step))})]}),i.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/50 rounded-lg p-4",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Hr,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"行为锚点统计"}),i.jsx("span",{className:"text-gray-500 text-xs ml-auto",children:"实时更新"})]}),ve?i.jsx("div",{className:"flex items-center justify-center py-8",children:i.jsx(qe,{className:"w-5 h-5 text-[#38bdac] animate-spin"})}):Object.keys(Cn).length>0?i.jsx("div",{className:"space-y-2",children:vu.map(G=>{const nt=Cn[G.id]||0,wt=Math.max(...vu.map(Qt=>Cn[Qt.id]||0),1),ft=Math.round(nt/wt*100);return i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("span",{className:"text-gray-500 text-xs w-20 shrink-0",children:[G.icon," ",G.label]}),i.jsx("div",{className:"flex-1 h-2 bg-[#0a1628] rounded-full overflow-hidden",children:i.jsx("div",{className:"h-full bg-[#38bdac]/60 rounded-full transition-all",style:{width:`${ft}%`}})}),i.jsx("span",{className:"text-gray-400 text-xs w-10 text-right",children:nt})]},G.id)})}):i.jsx("div",{className:"text-center py-8",children:i.jsx("p",{className:"text-gray-500 text-sm",children:"点击「刷新数据」加载统计"})})]})]})]}),i.jsxs(rn,{value:"rules",children:[i.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"用户旅程引导规则,定义各行为节点的触发条件与引导内容"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(ne,{variant:"outline",onClick:ut,disabled:tt,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${tt?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:()=>{Et(null),Tt({title:"",description:"",trigger:"",sort:0,enabled:!0}),Ge(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"})," 添加规则"]})]})]}),tt?i.jsx("div",{className:"flex items-center justify-center py-12",children:i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):ge.length===0?i.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[i.jsx(Hr,{className:"w-12 h-12 text-[#38bdac]/30 mx-auto mb-4"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"暂无规则(重启服务将自动写入10条默认规则)"}),i.jsxs(ne,{onClick:ut,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(qe,{className:"w-4 h-4 mr-2"})," 重新加载"]})]}):i.jsx("div",{className:"space-y-2",children:ge.map(G=>i.jsx("div",{className:`p-4 rounded-lg border transition-all ${G.enabled?"bg-[#0f2137] border-gray-700/50":"bg-[#0a1628]/50 border-gray-700/30 opacity-55"}`,children:i.jsxs("div",{className:"flex items-start justify-between",children:[i.jsxs("div",{className:"flex-1",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-wrap mb-1",children:[i.jsx(kt,{className:"w-4 h-4 text-[#38bdac] shrink-0"}),i.jsx("span",{className:"text-white font-medium",children:G.title}),G.trigger&&i.jsxs(Be,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/30 text-xs",children:["触发:",G.trigger]}),i.jsx(Be,{className:`text-xs border-0 ${G.enabled?"bg-green-500/20 text-green-400":"bg-gray-500/20 text-gray-400"}`,children:G.enabled?"启用":"禁用"})]}),G.description&&i.jsx("p",{className:"text-gray-400 text-sm ml-6",children:G.description})]}),i.jsxs("div",{className:"flex items-center gap-2 ml-4 shrink-0",children:[i.jsx(Nt,{checked:G.enabled,onCheckedChange:()=>xn(G)}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{Et(G),Tt({title:G.title,description:G.description,trigger:G.trigger,sort:G.sort,enabled:G.enabled}),Ge(!0)},className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>io(G.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(wn,{className:"w-4 h-4"})})]})]})},G.id))})]}),i.jsxs(rn,{value:"vip-roles",children:[i.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"管理用户 VIP 角色分类,这些角色将在用户详情和会员展示中使用"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(ne,{variant:"outline",onClick:Jr,disabled:Er,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${Er?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:()=>{_n(null),Yn({name:"",sort:0}),gr(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"})," 添加角色"]})]})]}),Er?i.jsx("div",{className:"flex items-center justify-center py-12",children:i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):rr.length===0?i.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[i.jsx(Pa,{className:"w-12 h-12 text-amber-400/30 mx-auto mb-4"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"暂无 VIP 角色"}),i.jsxs(ne,{onClick:()=>{_n(null),Yn({name:"",sort:0}),gr(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"})," 添加第一个角色"]})]}):i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3",children:rr.map(G=>i.jsxs("div",{className:"p-4 bg-[#0f2137] border border-amber-500/20 rounded-xl hover:border-amber-500/40 transition-all group",children:[i.jsxs("div",{className:"flex items-start justify-between mb-2",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Pa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:G.name})]}),i.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx("button",{type:"button",onClick:()=>{_n(G),Yn({name:G.name,sort:G.sort}),gr(!0)},className:"text-gray-500 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx("button",{type:"button",onClick:()=>Rr(G.id),className:"text-gray-500 hover:text-red-400",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsxs("p",{className:"text-gray-600 text-xs",children:["排序: ",G.sort]})]},G.id))})]})]}),i.jsx(Zt,{open:X,onOpenChange:Z,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[Y?i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Ng,{className:"w-5 h-5 text-[#38bdac]"}),Y?"编辑用户":"添加用户"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入手机号",value:ye.phone,onChange:G=>V({...ye,phone:G.target.value}),disabled:!!Y})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入昵称",value:ye.nickname,onChange:G=>V({...ye,nickname:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:Y?"新密码 (留空则不修改)":"密码"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:Y?"留空则不修改":"请输入密码",value:ye.password,onChange:G=>V({...ye,password:G.target.value})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-300",children:"管理员权限"}),i.jsx(Nt,{checked:ye.isAdmin,onCheckedChange:G=>V({...ye,isAdmin:G})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-300",children:"已购全书"}),i.jsx(Nt,{checked:ye.hasFullBook,onCheckedChange:G=>V({...ye,hasFullBook:G})})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>Z(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:Gr,disabled:D,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),D?"保存中...":"保存"]})]})]})}),i.jsx(Zt,{open:ot,onOpenChange:Ge,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),dt?"编辑规则":"添加规则"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"规则标题 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:匹配后填写头像、付款1980需填写信息",value:ht.title,onChange:G=>Tt({...ht,title:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"规则描述"}),i.jsx(Jc,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[80px] resize-none",placeholder:"详细说明规则内容...",value:ht.description,onChange:G=>Tt({...ht,description:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"触发条件"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:完成匹配、付款后、注册时",value:ht.trigger,onChange:G=>Tt({...ht,trigger:G.target.value})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{children:i.jsx(te,{className:"text-gray-300",children:"启用状态"})}),i.jsx(Nt,{checked:ht.enabled,onCheckedChange:G=>Tt({...ht,enabled:G})})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>Ge(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:Ar,disabled:D,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),D?"保存中...":"保存"]})]})]})}),i.jsx(Zt,{open:Kr,onOpenChange:gr,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Pa,{className:"w-5 h-5 text-amber-400"}),Tr?"编辑 VIP 角色":"添加 VIP 角色"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色名称 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:创业者、资源整合者、技术咖",value:Jn.name,onChange:G=>Yn({...Jn,name:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序(越小越前)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Jn.sort,onChange:G=>Yn({...Jn,sort:parseInt(G.target.value)||0})})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>gr(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:oi,disabled:D,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),D?"保存中...":"保存"]})]})]})}),i.jsx(Zt,{open:ae,onOpenChange:_,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-2xl max-h-[80vh] overflow-auto",children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"绑定关系 - ",de==null?void 0:de.nickname]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-4 gap-3",children:[i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-[#38bdac]",children:((Yr=se.stats)==null?void 0:Yr.total)||0}),i.jsx("div",{className:"text-xs text-gray-400",children:"绑定总数"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-green-400",children:((Tn=se.stats)==null?void 0:Tn.purchased)||0}),i.jsx("div",{className:"text-xs text-gray-400",children:"已付费"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsxs("div",{className:"text-2xl font-bold text-yellow-400",children:["¥",(((ms=se.stats)==null?void 0:ms.earnings)||0).toFixed(2)]}),i.jsx("div",{className:"text-xs text-gray-400",children:"累计收益"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsxs("div",{className:"text-2xl font-bold text-orange-400",children:["¥",(((Ps=se.stats)==null?void 0:Ps.pendingEarnings)||0).toFixed(2)]}),i.jsx("div",{className:"text-xs text-gray-400",children:"待提现"})]})]}),z?i.jsxs("div",{className:"flex items-center justify-center py-8",children:[i.jsx(qe,{className:"w-5 h-5 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):(((Is=se.referrals)==null?void 0:Is.length)??0)>0?i.jsx("div",{className:"space-y-2 max-h-[300px] overflow-y-auto",children:(se.referrals??[]).map((G,nt)=>{var ft;const wt=G;return i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg p-3",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:((ft=wt.nickname)==null?void 0:ft.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white text-sm",children:wt.nickname}),i.jsx("div",{className:"text-xs text-gray-500",children:wt.phone||(wt.hasOpenId?"微信用户":"未绑定")})]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[wt.status==="vip"&&i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"全书已购"}),wt.status==="paid"&&i.jsxs(Be,{className:"bg-blue-500/20 text-blue-400 border-0 text-xs",children:["已付费",wt.purchasedSections,"章"]}),wt.status==="free"&&i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 border-0 text-xs",children:"未付费"}),i.jsx("span",{className:"text-xs text-gray-500",children:wt.createdAt?new Date(wt.createdAt).toLocaleDateString():""})]})]},wt.id||nt)})}):i.jsx("div",{className:"text-center py-8 text-gray-500",children:"暂无绑定用户"})]}),i.jsx(Nn,{children:i.jsx(ne,{variant:"outline",onClick:()=>_(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"关闭"})})]})}),i.jsx(Hx,{open:fe,onClose:()=>Q(!1),userId:oe,onUserUpdated:Mr})]})}function eh(t,[e,n]){return Math.min(n,Math.max(e,t))}var ck=["PageUp","PageDown"],dk=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],uk={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},hl="Slider",[Eg,oI,lI]=$x(hl),[hk]=ia(hl,[lI]),[cI,rf]=hk(hl),fk=b.forwardRef((t,e)=>{const{name:n,min:r=0,max:s=100,step:a=1,orientation:o="horizontal",disabled:c=!1,minStepsBetweenThumbs:u=0,defaultValue:h=[r],value:f,onValueChange:m=()=>{},onValueCommit:g=()=>{},inverted:y=!1,form:v,...j}=t,w=b.useRef(new Set),k=b.useRef(0),C=o==="horizontal"?dI:uI,[T=[],O]=Wa({prop:f,defaultProp:h,onChange:X=>{var Y;(Y=[...w.current][k.current])==null||Y.focus(),m(X)}}),B=b.useRef(T);function R(X){const Z=gI(T,X);L(X,Z)}function P(X){L(X,k.current)}function I(){const X=B.current[k.current];T[k.current]!==X&&g(T)}function L(X,Z,{commit:Y}={commit:!1}){const W=bI(a),D=wI(Math.round((X-r)/a)*a+r,W),$=eh(D,[r,s]);O((ae=[])=>{const _=pI(ae,$,Z);if(vI(_,u*a)){k.current=_.indexOf($);const se=String(_)!==String(ae);return se&&Y&&g(_),se?_:ae}else return ae})}return i.jsx(cI,{scope:t.__scopeSlider,name:n,disabled:c,min:r,max:s,valueIndexToChangeRef:k,thumbs:w.current,values:T,orientation:o,form:v,children:i.jsx(Eg.Provider,{scope:t.__scopeSlider,children:i.jsx(Eg.Slot,{scope:t.__scopeSlider,children:i.jsx(C,{"aria-disabled":c,"data-disabled":c?"":void 0,...j,ref:e,onPointerDown:rt(j.onPointerDown,()=>{c||(B.current=T)}),min:r,max:s,inverted:y,onSlideStart:c?void 0:R,onSlideMove:c?void 0:P,onSlideEnd:c?void 0:I,onHomeKeyDown:()=>!c&&L(r,0,{commit:!0}),onEndKeyDown:()=>!c&&L(s,T.length-1,{commit:!0}),onStepKeyDown:({event:X,direction:Z})=>{if(!c){const D=ck.includes(X.key)||X.shiftKey&&dk.includes(X.key)?10:1,$=k.current,ae=T[$],_=a*D*Z;L(ae+_,$,{commit:!0})}}})})})})});fk.displayName=hl;var[pk,mk]=hk(hl,{startEdge:"left",endEdge:"right",size:"width",direction:1}),dI=b.forwardRef((t,e)=>{const{min:n,max:r,dir:s,inverted:a,onSlideStart:o,onSlideMove:c,onSlideEnd:u,onStepKeyDown:h,...f}=t,[m,g]=b.useState(null),y=vt(e,C=>g(C)),v=b.useRef(void 0),j=ef(s),w=j==="ltr",k=w&&!a||!w&&a;function E(C){const T=v.current||m.getBoundingClientRect(),O=[0,T.width],R=Ux(O,k?[n,r]:[r,n]);return v.current=T,R(C-T.left)}return i.jsx(pk,{scope:t.__scopeSlider,startEdge:k?"left":"right",endEdge:k?"right":"left",direction:k?1:-1,size:"width",children:i.jsx(gk,{dir:j,"data-orientation":"horizontal",...f,ref:y,style:{...f.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:C=>{const T=E(C.clientX);o==null||o(T)},onSlideMove:C=>{const T=E(C.clientX);c==null||c(T)},onSlideEnd:()=>{v.current=void 0,u==null||u()},onStepKeyDown:C=>{const O=uk[k?"from-left":"from-right"].includes(C.key);h==null||h({event:C,direction:O?-1:1})}})})}),uI=b.forwardRef((t,e)=>{const{min:n,max:r,inverted:s,onSlideStart:a,onSlideMove:o,onSlideEnd:c,onStepKeyDown:u,...h}=t,f=b.useRef(null),m=vt(e,f),g=b.useRef(void 0),y=!s;function v(j){const w=g.current||f.current.getBoundingClientRect(),k=[0,w.height],C=Ux(k,y?[r,n]:[n,r]);return g.current=w,C(j-w.top)}return i.jsx(pk,{scope:t.__scopeSlider,startEdge:y?"bottom":"top",endEdge:y?"top":"bottom",size:"height",direction:y?1:-1,children:i.jsx(gk,{"data-orientation":"vertical",...h,ref:m,style:{...h.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:j=>{const w=v(j.clientY);a==null||a(w)},onSlideMove:j=>{const w=v(j.clientY);o==null||o(w)},onSlideEnd:()=>{g.current=void 0,c==null||c()},onStepKeyDown:j=>{const k=uk[y?"from-bottom":"from-top"].includes(j.key);u==null||u({event:j,direction:k?-1:1})}})})}),gk=b.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:s,onSlideEnd:a,onHomeKeyDown:o,onEndKeyDown:c,onStepKeyDown:u,...h}=t,f=rf(hl,n);return i.jsx(at.span,{...h,ref:e,onKeyDown:rt(t.onKeyDown,m=>{m.key==="Home"?(o(m),m.preventDefault()):m.key==="End"?(c(m),m.preventDefault()):ck.concat(dk).includes(m.key)&&(u(m),m.preventDefault())}),onPointerDown:rt(t.onPointerDown,m=>{const g=m.target;g.setPointerCapture(m.pointerId),m.preventDefault(),f.thumbs.has(g)?g.focus():r(m)}),onPointerMove:rt(t.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&s(m)}),onPointerUp:rt(t.onPointerUp,m=>{const g=m.target;g.hasPointerCapture(m.pointerId)&&(g.releasePointerCapture(m.pointerId),a(m))})})}),xk="SliderTrack",yk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,s=rf(xk,n);return i.jsx(at.span,{"data-disabled":s.disabled?"":void 0,"data-orientation":s.orientation,...r,ref:e})});yk.displayName=xk;var Tg="SliderRange",vk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,s=rf(Tg,n),a=mk(Tg,n),o=b.useRef(null),c=vt(e,o),u=s.values.length,h=s.values.map(g=>Nk(g,s.min,s.max)),f=u>1?Math.min(...h):0,m=100-Math.max(...h);return i.jsx(at.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...r,ref:c,style:{...t.style,[a.startEdge]:f+"%",[a.endEdge]:m+"%"}})});vk.displayName=Tg;var Mg="SliderThumb",bk=b.forwardRef((t,e)=>{const n=oI(t.__scopeSlider),[r,s]=b.useState(null),a=vt(e,c=>s(c)),o=b.useMemo(()=>r?n().findIndex(c=>c.ref.current===r):-1,[n,r]);return i.jsx(hI,{...t,ref:a,index:o})}),hI=b.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:s,...a}=t,o=rf(Mg,n),c=mk(Mg,n),[u,h]=b.useState(null),f=vt(e,E=>h(E)),m=u?o.form||!!u.closest("form"):!0,g=Vx(u),y=o.values[r],v=y===void 0?0:Nk(y,o.min,o.max),j=mI(r,o.values.length),w=g==null?void 0:g[c.size],k=w?xI(w,v,c.direction):0;return b.useEffect(()=>{if(u)return o.thumbs.add(u),()=>{o.thumbs.delete(u)}},[u,o.thumbs]),i.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:`calc(${v}% + ${k}px)`},children:[i.jsx(Eg.ItemSlot,{scope:t.__scopeSlider,children:i.jsx(at.span,{role:"slider","aria-label":t["aria-label"]||j,"aria-valuemin":o.min,"aria-valuenow":y,"aria-valuemax":o.max,"aria-orientation":o.orientation,"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,tabIndex:o.disabled?void 0:0,...a,ref:f,style:y===void 0?{display:"none"}:t.style,onFocus:rt(t.onFocus,()=>{o.valueIndexToChangeRef.current=r})})}),m&&i.jsx(wk,{name:s??(o.name?o.name+(o.values.length>1?"[]":""):void 0),form:o.form,value:y},r)]})});bk.displayName=Mg;var fI="RadioBubbleInput",wk=b.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const s=b.useRef(null),a=vt(s,r),o=Bx(e);return b.useEffect(()=>{const c=s.current;if(!c)return;const u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("input",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),i.jsx(at.input,{style:{display:"none"},...n,ref:a,defaultValue:e})});wk.displayName=fI;function pI(t=[],e,n){const r=[...t];return r[n]=e,r.sort((s,a)=>s-a)}function Nk(t,e,n){const a=100/(n-e)*(t-e);return eh(a,[0,100])}function mI(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function gI(t,e){if(t.length===1)return 0;const n=t.map(s=>Math.abs(s-e)),r=Math.min(...n);return n.indexOf(r)}function xI(t,e,n){const r=t/2,a=Ux([0,50],[0,r]);return(r-a(e)*n)*n}function yI(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function vI(t,e){if(e>0){const n=yI(t);return Math.min(...n)>=e}return!0}function Ux(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function bI(t){return(String(t).split(".")[1]||"").length}function wI(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var NI=fk,jI=yk,kI=vk,SI=bk;function CI({className:t,defaultValue:e,value:n,min:r=0,max:s=100,...a}){const o=b.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,s],[n,e,r,s]);return i.jsxs(NI,{defaultValue:e,value:n,min:r,max:s,className:bt("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50",t),...a,children:[i.jsx(jI,{className:"bg-gray-600 relative grow overflow-hidden rounded-full h-1.5 w-full",children:i.jsx(kI,{className:"bg-[#38bdac] absolute h-full rounded-full"})}),Array.from({length:o.length},(c,u)=>i.jsx(SI,{className:"block size-4 shrink-0 rounded-full border-2 border-[#38bdac] bg-white shadow-sm focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"},u))]})}const EI={distributorShare:90,minWithdrawAmount:10,bindingDays:30,userDiscount:5,enableAutoWithdraw:!1,vipOrderShareVip:20,vipOrderShareNonVip:10};function jk(t){const[e,n]=b.useState(EI),[r,s]=b.useState(!0),[a,o]=b.useState(!1);b.useEffect(()=>{Fe("/api/admin/referral-settings").then(h=>{const f=h==null?void 0:h.data;f&&typeof f=="object"&&n({distributorShare:f.distributorShare??90,minWithdrawAmount:f.minWithdrawAmount??10,bindingDays:f.bindingDays??30,userDiscount:f.userDiscount??5,enableAutoWithdraw:f.enableAutoWithdraw??!1,vipOrderShareVip:f.vipOrderShareVip??20,vipOrderShareNonVip:f.vipOrderShareNonVip??10})}).catch(console.error).finally(()=>s(!1))},[]);const c=async()=>{o(!0);try{const h={distributorShare:Number(e.distributorShare)||0,minWithdrawAmount:Number(e.minWithdrawAmount)||0,bindingDays:Number(e.bindingDays)||0,userDiscount:Number(e.userDiscount)||0,enableAutoWithdraw:!!e.enableAutoWithdraw,vipOrderShareVip:Number(e.vipOrderShareVip)||20,vipOrderShareNonVip:Number(e.vipOrderShareNonVip)||10},f=await mt("/api/admin/referral-settings",h);if(!f||f.success===!1){he.error("保存失败: "+(f&&typeof f=="object"&&"error"in f?f.error:""));return}he.success(`✅ 分销配置已保存成功! • 小程序与网站的推广规则会一起生效 • 绑定关系会使用新的天数配置 • 佣金比例会立即应用到新订单 -如有缓存,请刷新前台/小程序页面。`)}catch(h){console.error(h),he.error("保存失败: "+(h instanceof Error?h.message:String(h)))}finally{o(!1)}},u=h=>f=>{const m=parseFloat(f.target.value||"0");n(g=>({...g,[h]:isNaN(m)?0:m}))};return r?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Xo,{className:"w-5 h-5 text-[#38bdac]"}),"推广 / 分销设置"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理「好友优惠」「你得 90% 收益」「绑定期 30 天」「提现门槛」等规则,小程序和 Web 共用这套配置。"})]}),i.jsxs(ne,{onClick:c,disabled:a||r,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),a?"保存中...":"保存配置"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"flex items-center gap-2 text-white",children:[i.jsx(sA,{className:"w-4 h-4 text-[#38bdac]"}),"推广规则"]}),i.jsx(zt,{className:"text-gray-400",children:"这三项会直接体现在小程序「推广规则」卡片上,同时影响实收佣金计算。"})]}),i.jsx(Re,{className:"space-y-6",children:i.jsxs("div",{className:"grid grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(du,{className:"w-3 h-3 text-[#38bdac]"}),"好友优惠(%)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.userDiscount,onChange:u("userDiscount")}),i.jsx("p",{className:"text-xs text-gray-500",children:"例如 5 表示好友立减 5%(在价格配置基础上生效)。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(Ln,{className:"w-3 h-3 text-[#38bdac]"}),"推广者分成(%)"]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx(SI,{className:"flex-1",min:10,max:100,step:1,value:[e.distributorShare],onValueChange:([h])=>n(f=>({...f,distributorShare:h}))}),i.jsx(ce,{type:"number",min:0,max:100,className:"w-20 bg-[#0a1628] border-gray-700 text-white text-center",value:e.distributorShare,onChange:u("distributorShare")})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["内容订单佣金 = 订单金额 ×"," ",i.jsxs("span",{className:"text-[#38bdac] font-mono",children:[e.distributorShare,"%"]}),";会员订单见下方。"]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(du,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者是会员 %)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareVip,onChange:u("vipOrderShareVip")}),i.jsx("p",{className:"text-xs text-gray-500",children:"推广者已是会员时,会员订单佣金比例,默认 20%。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(du,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者非会员 %)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareNonVip,onChange:u("vipOrderShareNonVip")}),i.jsx("p",{className:"text-xs text-gray-500",children:"推广者非会员时,会员订单佣金比例,默认 10%。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(Ln,{className:"w-3 h-3 text-[#38bdac]"}),"绑定有效期(天)"]}),i.jsx(ce,{type:"number",min:1,max:365,className:"bg-[#0a1628] border-gray-700 text-white",value:e.bindingDays,onChange:u("bindingDays")}),i.jsx("p",{className:"text-xs text-gray-500",children:"好友通过你的链接进来并登录后,绑定在你名下的天数。"})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"flex items-center gap-2 text-white",children:[i.jsx(Xo,{className:"w-4 h-4 text-[#38bdac]"}),"提现规则"]}),i.jsx(zt,{className:"text-gray-400",children:"与「提现中心」「自动提现」相关的参数,影响推广者看到的可提现金额和最低门槛。"})]}),i.jsx(Re,{className:"space-y-6",children:i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最低提现金额(元)"}),i.jsx(ce,{type:"number",min:0,step:1,className:"bg-[#0a1628] border-gray-700 text-white",value:e.minWithdrawAmount,onChange:u("minWithdrawAmount")}),i.jsx("p",{className:"text-xs text-gray-500",children:"小程序「满 X 元可提现」展示的门槛,同时用于后端接口校验。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:["自动提现开关",i.jsx(Be,{variant:"outline",className:"border-[#38bdac]/40 text-[#38bdac] text-[10px]",children:"预留"})]}),i.jsxs("div",{className:"flex items-center gap-3 mt-1",children:[i.jsx(Nt,{checked:e.enableAutoWithdraw,onCheckedChange:h=>n(f=>({...f,enableAutoWithdraw:h}))}),i.jsx("span",{className:"text-sm text-gray-400",children:"开启后,可结合定时任务实现「收益自动打款到微信零钱」。"})]})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"flex items-center gap-2 text-gray-200 text-sm",children:[i.jsx(du,{className:"w-4 h-4 text-[#38bdac]"}),"使用说明"]})}),i.jsxs(Re,{className:"space-y-2 text-xs text-gray-400 leading-relaxed",children:[i.jsxs("p",{children:["1. 以上配置会写入"," ",i.jsx("code",{className:"font-mono text-[11px] text-[#38bdac]",children:"system_config.referral_config"}),",小程序「推广中心」、Web 推广页以及支付回调都会读取同一份配置。"]}),i.jsx("p",{children:"2. 修改后新订单立即生效;旧订单的历史佣金不会自动重算,只影响之后产生的订单。"}),i.jsx("p",{children:"3. 如遇前端展示与实际结算不一致,优先以此处配置为准,再排查缓存和小程序版本。"})]})]})]})]})}function EI(){var ye;const[t,e]=b.useState("overview"),[n,r]=b.useState([]),[s,a]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState([]),[g,y]=b.useState(!0),[v,j]=b.useState(null),[w,k]=b.useState(""),[E,C]=b.useState("all"),[T,O]=b.useState(1),[B,R]=b.useState(10),[P,I]=b.useState(0),[L,X]=b.useState(new Set),[Z,Y]=b.useState(null),[W,D]=b.useState(""),[$,ae]=b.useState(!1);b.useEffect(()=>{_()},[]),b.useEffect(()=>{O(1)},[t,E]),b.useEffect(()=>{se(t)},[t]),b.useEffect(()=>{["orders","bindings","withdrawals"].includes(t)&&se(t,!0)},[T,B,E,w]);async function _(){j(null);try{const V=await Fe("/api/admin/distribution/overview");V!=null&&V.success&&V.overview&&a(V.overview)}catch(V){console.error("[Admin] 概览接口异常:",V),j("加载概览失败")}try{const V=await Fe("/api/db/users");m((V==null?void 0:V.users)||[])}catch(V){console.error("[Admin] 用户数据加载失败:",V)}}async function se(V,ge=!1){var Me;if(!(!ge&&L.has(V))){y(!0);try{const tt=f;switch(V){case"overview":break;case"orders":{try{const et=new URLSearchParams({page:String(T),pageSize:String(B),...E!=="all"&&{status:E},...w&&{search:w}}),ot=await Fe(`/api/orders?${et}`);if(ot!=null&&ot.success&&ot.orders){const Ge=ot.orders.map(dt=>{const Et=tt.find(Tt=>Tt.id===dt.userId),ht=dt.referrerId?tt.find(Tt=>Tt.id===dt.referrerId):null;return{...dt,amount:parseFloat(String(dt.amount))||0,userNickname:(Et==null?void 0:Et.nickname)||dt.userNickname||"未知用户",userPhone:(Et==null?void 0:Et.phone)||dt.userPhone||"-",referrerNickname:(ht==null?void 0:ht.nickname)||null,referrerCode:(ht==null?void 0:ht.referralCode)??null,type:dt.productType||dt.type}});r(Ge),I(ot.total??Ge.length)}else r([]),I(0)}catch(et){console.error(et),j("加载订单失败"),r([])}break}case"bindings":{try{const et=new URLSearchParams({page:String(T),pageSize:String(B),...E!=="all"&&{status:E}}),ot=await Fe(`/api/db/distribution?${et}`);c((ot==null?void 0:ot.bindings)||[]),I((ot==null?void 0:ot.total)??((Me=ot==null?void 0:ot.bindings)==null?void 0:Me.length)??0)}catch(et){console.error(et),j("加载绑定数据失败"),c([])}break}case"withdrawals":{try{const et=E==="completed"?"success":E==="rejected"?"failed":E,ot=new URLSearchParams({...et&&et!=="all"&&{status:et},page:String(T),pageSize:String(B)}),Ge=await Fe(`/api/admin/withdrawals?${ot}`);if(Ge!=null&&Ge.success&&Ge.withdrawals){const dt=Ge.withdrawals.map(Et=>({...Et,account:Et.account??"未绑定微信号",status:Et.status==="success"?"completed":Et.status==="failed"?"rejected":Et.status}));h(dt),I((Ge==null?void 0:Ge.total)??dt.length)}else Ge!=null&&Ge.success||j(`获取提现记录失败: ${(Ge==null?void 0:Ge.error)||"未知错误"}`),h([])}catch(et){console.error(et),j("加载提现数据失败"),h([])}break}}X(et=>new Set(et).add(V))}catch(tt){console.error(tt)}finally{y(!1)}}}async function q(){j(null),X(V=>{const ge=new Set(V);return ge.delete(t),ge}),t==="overview"&&_(),await se(t,!0)}async function z(V){if(confirm("确认审核通过并打款?"))try{const ge=await _t("/api/admin/withdrawals",{id:V,action:"approve"});if(!(ge!=null&&ge.success)){const Me=(ge==null?void 0:ge.message)||(ge==null?void 0:ge.error)||"操作失败";he.error(Me);return}await q()}catch(ge){console.error(ge),he.error("操作失败")}}async function H(V){const ge=prompt("请输入拒绝原因:");if(ge)try{const Me=await _t("/api/admin/withdrawals",{id:V,action:"reject",errorMessage:ge});if(!(Me!=null&&Me.success)){he.error((Me==null?void 0:Me.error)||"操作失败");return}await q()}catch(Me){console.error(Me),he.error("操作失败")}}async function de(){var V;if(!(!(Z!=null&&Z.orderSn)&&!(Z!=null&&Z.id))){ae(!0),j(null);try{const ge=await _t("/api/admin/orders/refund",{orderSn:Z.orderSn||Z.id,reason:W||void 0});ge!=null&&ge.success?(Y(null),D(""),await se("orders",!0)):j((ge==null?void 0:ge.error)||"退款失败")}catch(ge){const Me=ge;j(((V=Me==null?void 0:Me.data)==null?void 0:V.error)||"退款失败,请检查网络后重试")}finally{ae(!1)}}}function K(V){const ge={active:"bg-green-500/20 text-green-400",converted:"bg-blue-500/20 text-blue-400",expired:"bg-gray-500/20 text-gray-400",cancelled:"bg-red-500/20 text-red-400",pending:"bg-orange-500/20 text-orange-400",pending_confirm:"bg-orange-500/20 text-orange-400",processing:"bg-blue-500/20 text-blue-400",completed:"bg-green-500/20 text-green-400",rejected:"bg-red-500/20 text-red-400"},Me={active:"有效",converted:"已转化",expired:"已过期",cancelled:"已取消",pending:"待审核",pending_confirm:"待用户确认",processing:"处理中",completed:"已完成",rejected:"已拒绝"};return i.jsx(Be,{className:`${ge[V]||"bg-gray-500/20 text-gray-400"} border-0`,children:Me[V]||V})}const fe=Math.ceil(P/B)||1,Q=n,oe=o.filter(V=>{var Me,tt,et,ot;if(!w)return!0;const ge=w.toLowerCase();return((Me=V.refereeNickname)==null?void 0:Me.toLowerCase().includes(ge))||((tt=V.refereePhone)==null?void 0:tt.includes(ge))||((et=V.referrerName)==null?void 0:et.toLowerCase().includes(ge))||((ot=V.referrerCode)==null?void 0:ot.toLowerCase().includes(ge))}),ue=u.filter(V=>{var Me;if(!w)return!0;const ge=w.toLowerCase();return((Me=V.userName)==null?void 0:Me.toLowerCase().includes(ge))||V.account&&V.account.toLowerCase().includes(ge)});return i.jsxs("div",{className:"p-8 w-full",children:[v&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:v}),i.jsx("button",{type:"button",onClick:()=>j(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex items-center justify-between mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold text-white",children:"推广中心"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理:订单、分销绑定、提现审核"})]}),i.jsxs(ne,{onClick:q,disabled:g,variant:"outline",className:"border-gray-700 text-gray-300 hover:bg-gray-800",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${g?"animate-spin":""}`}),"刷新数据"]})]}),i.jsx("div",{className:"flex gap-2 mb-6 border-b border-gray-700 pb-4 flex-wrap",children:[{key:"overview",label:"数据概览",icon:fc},{key:"orders",label:"订单管理",icon:Ju},{key:"bindings",label:"绑定管理",icon:Ss},{key:"withdrawals",label:"提现审核",icon:Xo},{key:"settings",label:"推广设置",icon:_a}].map(V=>i.jsxs("button",{type:"button",onClick:()=>{e(V.key),C("all"),k("")},className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-colors ${t===V.key?"bg-[#38bdac] text-white":"text-gray-400 hover:text-white hover:bg-gray-800"}`,children:[i.jsx(V.icon,{className:"w-4 h-4"}),V.label]},V.key))}),g?i.jsxs("div",{className:"flex items-center justify-center py-20",children:[i.jsx(qe,{className:"w-8 h-8 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[t==="overview"&&s&&i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日点击"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayClicks}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"总点击次数(实时)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:i.jsx(yg,{className:"w-6 h-6 text-blue-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日独立用户"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayUniqueVisitors??0}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"去重访客数(实时)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-cyan-500/20 flex items-center justify-center",children:i.jsx(Ln,{className:"w-6 h-6 text-cyan-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日总文章点击率"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:(s.todayClickRate??0).toFixed(2)}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"人均点击(总点击/独立用户)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/20 flex items-center justify-center",children:i.jsx(fc,{className:"w-6 h-6 text-amber-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日绑定"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayBindings})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-green-500/20 flex items-center justify-center",children:i.jsx(Ss,{className:"w-6 h-6 text-green-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日转化"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayConversions})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-purple-500/20 flex items-center justify-center",children:i.jsx(Rb,{className:"w-6 h-6 text-purple-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日佣金"}),i.jsxs("p",{className:"text-2xl font-bold text-[#38bdac] mt-1",children:["¥",s.todayEarnings.toFixed(2)]})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac]/20 flex items-center justify-center",children:i.jsx(Ju,{className:"w-6 h-6 text-[#38bdac]"})})]})})})]}),(((ye=s.todayClicksByPage)==null?void 0:ye.length)??0)>0&&i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(yg,{className:"w-5 h-5 text-[#38bdac]"}),"每篇文章今日点击(按来源页/文章统计)"]}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"实际用户与实际文章的点击均计入;今日总点击与上表一致"})]}),i.jsx(Re,{children:i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[i.jsx("th",{className:"pb-3 pr-4",children:"来源页/文章"}),i.jsx("th",{className:"pb-3 pr-4 text-right",children:"今日点击"}),i.jsx("th",{className:"pb-3 text-right",children:"占比"})]})}),i.jsx("tbody",{children:[...s.todayClicksByPage??[]].sort((V,ge)=>ge.clicks-V.clicks).map((V,ge)=>i.jsxs("tr",{className:"border-b border-gray-700/50",children:[i.jsx("td",{className:"py-2 pr-4 text-white font-mono",children:V.page||"(未区分)"}),i.jsx("td",{className:"py-2 pr-4 text-right text-white",children:V.clicks}),i.jsxs("td",{className:"py-2 text-right text-gray-400",children:[s.todayClicks>0?(V.clicks/s.todayClicks*100).toFixed(1):0,"%"]})]},ge))})]})})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsx(Ae,{className:"bg-orange-500/10 border-orange-500/30",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-orange-500/20 flex items-center justify-center",children:i.jsx(xg,{className:"w-6 h-6 text-orange-400"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("p",{className:"text-orange-300 font-medium",children:"即将过期绑定"}),i.jsxs("p",{className:"text-2xl font-bold text-white",children:[s.expiringBindings," 个"]}),i.jsx("p",{className:"text-orange-300/60 text-sm",children:"7天内到期,需关注转化"})]})]})})}),i.jsx(Ae,{className:"bg-blue-500/10 border-blue-500/30",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:i.jsx(Xo,{className:"w-6 h-6 text-blue-400"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("p",{className:"text-blue-300 font-medium",children:"待审核提现"}),i.jsxs("p",{className:"text-2xl font-bold text-white",children:[s.pendingWithdrawals," 笔"]}),i.jsxs("p",{className:"text-blue-300/60 text-sm",children:["共 ¥",s.pendingWithdrawAmount.toFixed(2)]})]}),i.jsx(ne,{onClick:()=>e("withdrawals"),variant:"outline",className:"border-blue-500/50 text-blue-400 hover:bg-blue-500/20",children:"去审核"})]})})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Gu,{className:"w-5 h-5 text-[#38bdac]"}),"本月统计"]})}),i.jsx(Re,{children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"点击量"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthClicks})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"绑定数"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthBindings})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"转化数"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthConversions})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"佣金"}),i.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",s.monthEarnings.toFixed(2)]})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(fc,{className:"w-5 h-5 text-[#38bdac]"}),"累计统计"]})}),i.jsxs(Re,{children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总点击"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalClicks.toLocaleString()})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总绑定"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalBindings.toLocaleString()})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总转化"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalConversions})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总佣金"}),i.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",s.totalEarnings.toFixed(2)]})]})]}),i.jsxs("div",{className:"mt-4 p-4 bg-[#38bdac]/10 rounded-lg flex items-center justify-between",children:[i.jsx("span",{className:"text-gray-300",children:"点击转化率"}),i.jsxs("span",{className:"text-[#38bdac] font-bold text-xl",children:[s.conversionRate,"%"]})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"推广统计"]})}),i.jsx(Re,{children:i.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-white",children:s.totalDistributors}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"推广用户数"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-green-400",children:s.activeDistributors}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"有收益用户"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-[#38bdac]",children:"90%"}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"佣金比例"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-orange-400",children:"30天"}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"绑定有效期"})]})]})})]})]}),t==="orders"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:V=>k(V.target.value),placeholder:"搜索订单号、用户名、手机号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:V=>C(V.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"pending",children:"待支付"}),i.jsx("option",{value:"failed",children:"已失败"}),i.jsx("option",{value:"refunded",children:"已退款"})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-0",children:[n.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无订单数据"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"订单号"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"商品"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"支付方式"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"退款原因"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"推荐人/邀请码"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"分销佣金"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"下单时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:Q.map(V=>{var ge,Me;return i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsxs("td",{className:"p-4 font-mono text-xs text-gray-400",children:[(ge=V.id)==null?void 0:ge.slice(0,12),"..."]}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:V.userNickname}),i.jsx("p",{className:"text-gray-500 text-xs",children:V.userPhone})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:(()=>{const tt=V.productType||V.type;return tt==="fullbook"?`${V.bookName||"《底层逻辑》"} - 全本`:tt==="match"?"匹配次数购买":`${V.bookName||"《底层逻辑》"} - ${V.sectionTitle||V.chapterTitle||`章节${V.productId||V.sectionId||""}`}`})()}),i.jsx("p",{className:"text-gray-500 text-xs",children:(()=>{const tt=V.productType||V.type;return tt==="fullbook"?"全书解锁":tt==="match"?"功能权益":V.chapterTitle||"单章购买"})()})]})}),i.jsxs("td",{className:"p-4 text-[#38bdac] font-bold",children:["¥",typeof V.amount=="number"?V.amount.toFixed(2):parseFloat(String(V.amount||"0")).toFixed(2)]}),i.jsx("td",{className:"p-4 text-gray-300",children:V.paymentMethod==="wechat"?"微信支付":V.paymentMethod==="alipay"?"支付宝":V.paymentMethod||"微信支付"}),i.jsx("td",{className:"p-4",children:V.status==="refunded"?i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 border-0",children:"已退款"}):V.status==="completed"||V.status==="paid"?i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0",children:"已完成"}):V.status==="pending"||V.status==="created"?i.jsx(Be,{className:"bg-yellow-500/20 text-yellow-400 border-0",children:"待支付"}):i.jsx(Be,{className:"bg-red-500/20 text-red-400 border-0",children:"已失败"})}),i.jsx("td",{className:"p-4 text-gray-400 text-sm max-w-[120px]",title:V.refundReason,children:V.status==="refunded"&&V.refundReason?V.refundReason:"-"}),i.jsx("td",{className:"p-4 text-gray-300 text-sm",children:V.referrerId||V.referralCode?i.jsxs("span",{title:V.referralCode||V.referrerCode||V.referrerId||"",children:[V.referrerNickname||V.referralCode||V.referrerCode||((Me=V.referrerId)==null?void 0:Me.slice(0,8)),(V.referralCode||V.referrerCode)&&` (${V.referralCode||V.referrerCode})`]}):"-"}),i.jsx("td",{className:"p-4 text-[#FFD700]",children:V.referrerEarnings?`¥${(typeof V.referrerEarnings=="number"?V.referrerEarnings:parseFloat(String(V.referrerEarnings))).toFixed(2)}`:"-"}),i.jsx("td",{className:"p-4 text-gray-400 text-sm",children:V.createdAt?new Date(V.createdAt).toLocaleString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:(V.status==="paid"||V.status==="completed")&&i.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{Y(V),D("")},children:[i.jsx(VN,{className:"w-3 h-3 mr-1"}),"退款"]})})]},V.id)})})]})}),t==="orders"&&i.jsx(ls,{page:T,totalPages:fe,total:P,pageSize:B,onPageChange:O,onPageSizeChange:V=>{R(V),O(1)}})]})})]}),t==="bindings"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:V=>k(V.target.value),placeholder:"搜索用户昵称、手机号、推广码...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:V=>C(V.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"active",children:"有效"}),i.jsx("option",{value:"converted",children:"已转化"}),i.jsx("option",{value:"expired",children:"已过期"})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-0",children:[oe.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无绑定数据"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"访客"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"分销商"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"绑定时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"到期时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"佣金"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:oe.map(V=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-medium",children:V.refereeNickname||"匿名用户"}),i.jsx("p",{className:"text-gray-500 text-xs",children:V.refereePhone})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white",children:V.referrerName||"-"}),i.jsx("p",{className:"text-gray-500 text-xs font-mono",children:V.referrerCode})]})}),i.jsx("td",{className:"p-4 text-gray-400",children:V.boundAt?new Date(V.boundAt).toLocaleDateString("zh-CN"):"-"}),i.jsx("td",{className:"p-4 text-gray-400",children:V.expiresAt?new Date(V.expiresAt).toLocaleDateString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:K(V.status)}),i.jsx("td",{className:"p-4",children:V.commission?i.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",V.commission.toFixed(2)]}):i.jsx("span",{className:"text-gray-500",children:"-"})})]},V.id))})]})}),t==="bindings"&&i.jsx(ls,{page:T,totalPages:fe,total:P,pageSize:B,onPageChange:O,onPageSizeChange:V=>{R(V),O(1)}})]})})]}),t==="withdrawals"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:V=>k(V.target.value),placeholder:"搜索用户名称、账号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:V=>C(V.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"pending",children:"待审核"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"rejected",children:"已拒绝"})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-0",children:[ue.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无提现记录"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"申请人"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"收款方式"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"收款账号"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:ue.map(V=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4",children:i.jsxs("div",{className:"flex items-center gap-2",children:[V.userAvatar?i.jsx("img",{src:V.userAvatar,alt:"",className:"w-8 h-8 rounded-full object-cover"}):i.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-600 flex items-center justify-center text-white text-sm font-medium",children:(V.userName||V.name||"?").slice(0,1)}),i.jsx("p",{className:"text-white font-medium",children:V.userName||V.name})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",V.amount.toFixed(2)]})}),i.jsx("td",{className:"p-4",children:i.jsx(Be,{className:V.method==="wechat"?"bg-green-500/20 text-green-400 border-0":"bg-blue-500/20 text-blue-400 border-0",children:V.method==="wechat"?"微信":"支付宝"})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-mono text-xs",children:V.account}),i.jsx("p",{className:"text-gray-500 text-xs",children:V.name})]})}),i.jsx("td",{className:"p-4 text-gray-400",children:V.createdAt?new Date(V.createdAt).toLocaleString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:K(V.status)}),i.jsx("td",{className:"p-4 text-right",children:V.status==="pending"&&i.jsxs("div",{className:"flex gap-2 justify-end",children:[i.jsxs(ne,{size:"sm",onClick:()=>z(V.id),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Rb,{className:"w-4 h-4 mr-1"}),"通过"]}),i.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>H(V.id),className:"border-red-500/50 text-red-400 hover:bg-red-500/20",children:[i.jsx(_N,{className:"w-4 h-4 mr-1"}),"拒绝"]})]})})]},V.id))})]})}),t==="withdrawals"&&i.jsx(ls,{page:T,totalPages:fe,total:P,pageSize:B,onPageChange:O,onPageSizeChange:V=>{R(V),O(1)}})]})})]})]}),i.jsx(Zt,{open:!!Z,onOpenChange:V=>!V&&Y(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:"订单退款"})}),Z&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",Z.orderSn||Z.id]}),i.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",typeof Z.amount=="number"?Z.amount.toFixed(2):parseFloat(String(Z.amount||"0")).toFixed(2)]}),i.jsxs("div",{children:[i.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),i.jsx("div",{className:"form-input",children:i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:W,onChange:V=>D(V.target.value)})})]}),i.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>Y(null),disabled:$,children:"取消"}),i.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:de,disabled:$,children:$?"退款中...":"确认退款"})]})]})}),t==="settings"&&i.jsx("div",{className:"-mx-8 -mt-6",children:i.jsx(jk,{embedded:!0})})]})}function TI(){const[t,e]=b.useState([]),[n,r]=b.useState({total:0,pendingCount:0,pendingAmount:0,successCount:0,successAmount:0,failedCount:0}),[s,a]=b.useState(!0),[o,c]=b.useState(null),[u,h]=b.useState("all"),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,j]=b.useState(0),[w,k]=b.useState(null);async function E(){var R,P,I,L,X,Z,Y;a(!0),c(null);try{const W=new URLSearchParams({status:u,page:String(f),pageSize:String(g)}),D=await Fe(`/api/admin/withdrawals?${W}`);if(D!=null&&D.success){const $=D.withdrawals||[];e($),j(D.total??((R=D.stats)==null?void 0:R.total)??$.length),r({total:((P=D.stats)==null?void 0:P.total)??D.total??$.length,pendingCount:((I=D.stats)==null?void 0:I.pendingCount)??0,pendingAmount:((L=D.stats)==null?void 0:L.pendingAmount)??0,successCount:((X=D.stats)==null?void 0:X.successCount)??0,successAmount:((Z=D.stats)==null?void 0:Z.successAmount)??0,failedCount:((Y=D.stats)==null?void 0:Y.failedCount)??0})}else c("加载提现记录失败")}catch(W){console.error("Load withdrawals error:",W),c("加载失败,请检查网络后重试")}finally{a(!1)}}b.useEffect(()=>{m(1)},[u]),b.useEffect(()=>{E()},[u,f,g]);const C=Math.ceil(v/g)||1;async function T(R){const P=t.find(I=>I.id===R);if(P!=null&&P.userCommissionInfo&&P.userCommissionInfo.availableAfterThis<0){if(!confirm(`⚠️ 风险警告:该用户审核后余额为负数(¥${P.userCommissionInfo.availableAfterThis.toFixed(2)}),可能存在超额提现。 +如有缓存,请刷新前台/小程序页面。`)}catch(h){console.error(h),he.error("保存失败: "+(h instanceof Error?h.message:String(h)))}finally{o(!1)}},u=h=>f=>{const m=parseFloat(f.target.value||"0");n(g=>({...g,[h]:isNaN(m)?0:m}))};return r?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Xo,{className:"w-5 h-5 text-[#38bdac]"}),"推广 / 分销设置"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理「好友优惠」「你得 90% 收益」「绑定期 30 天」「提现门槛」等规则,小程序和 Web 共用这套配置。"})]}),i.jsxs(ne,{onClick:c,disabled:a||r,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),a?"保存中...":"保存配置"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"flex items-center gap-2 text-white",children:[i.jsx(sA,{className:"w-4 h-4 text-[#38bdac]"}),"推广规则"]}),i.jsx(zt,{className:"text-gray-400",children:"这三项会直接体现在小程序「推广规则」卡片上,同时影响实收佣金计算。"})]}),i.jsx(Re,{className:"space-y-6",children:i.jsxs("div",{className:"grid grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(du,{className:"w-3 h-3 text-[#38bdac]"}),"好友优惠(%)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.userDiscount,onChange:u("userDiscount")}),i.jsx("p",{className:"text-xs text-gray-500",children:"例如 5 表示好友立减 5%(在价格配置基础上生效)。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(Ln,{className:"w-3 h-3 text-[#38bdac]"}),"推广者分成(%)"]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx(CI,{className:"flex-1",min:10,max:100,step:1,value:[e.distributorShare],onValueChange:([h])=>n(f=>({...f,distributorShare:h}))}),i.jsx(ce,{type:"number",min:0,max:100,className:"w-20 bg-[#0a1628] border-gray-700 text-white text-center",value:e.distributorShare,onChange:u("distributorShare")})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["内容订单佣金 = 订单金额 ×"," ",i.jsxs("span",{className:"text-[#38bdac] font-mono",children:[e.distributorShare,"%"]}),";会员订单见下方。"]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(du,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者是会员 %)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareVip,onChange:u("vipOrderShareVip")}),i.jsx("p",{className:"text-xs text-gray-500",children:"推广者已是会员时,会员订单佣金比例,默认 20%。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(du,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者非会员 %)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareNonVip,onChange:u("vipOrderShareNonVip")}),i.jsx("p",{className:"text-xs text-gray-500",children:"推广者非会员时,会员订单佣金比例,默认 10%。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(Ln,{className:"w-3 h-3 text-[#38bdac]"}),"绑定有效期(天)"]}),i.jsx(ce,{type:"number",min:1,max:365,className:"bg-[#0a1628] border-gray-700 text-white",value:e.bindingDays,onChange:u("bindingDays")}),i.jsx("p",{className:"text-xs text-gray-500",children:"好友通过你的链接进来并登录后,绑定在你名下的天数。"})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"flex items-center gap-2 text-white",children:[i.jsx(Xo,{className:"w-4 h-4 text-[#38bdac]"}),"提现规则"]}),i.jsx(zt,{className:"text-gray-400",children:"与「提现中心」「自动提现」相关的参数,影响推广者看到的可提现金额和最低门槛。"})]}),i.jsx(Re,{className:"space-y-6",children:i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最低提现金额(元)"}),i.jsx(ce,{type:"number",min:0,step:1,className:"bg-[#0a1628] border-gray-700 text-white",value:e.minWithdrawAmount,onChange:u("minWithdrawAmount")}),i.jsx("p",{className:"text-xs text-gray-500",children:"小程序「满 X 元可提现」展示的门槛,同时用于后端接口校验。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:["自动提现开关",i.jsx(Be,{variant:"outline",className:"border-[#38bdac]/40 text-[#38bdac] text-[10px]",children:"预留"})]}),i.jsxs("div",{className:"flex items-center gap-3 mt-1",children:[i.jsx(Nt,{checked:e.enableAutoWithdraw,onCheckedChange:h=>n(f=>({...f,enableAutoWithdraw:h}))}),i.jsx("span",{className:"text-sm text-gray-400",children:"开启后,可结合定时任务实现「收益自动打款到微信零钱」。"})]})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"flex items-center gap-2 text-gray-200 text-sm",children:[i.jsx(du,{className:"w-4 h-4 text-[#38bdac]"}),"使用说明"]})}),i.jsxs(Re,{className:"space-y-2 text-xs text-gray-400 leading-relaxed",children:[i.jsxs("p",{children:["1. 以上配置会写入"," ",i.jsx("code",{className:"font-mono text-[11px] text-[#38bdac]",children:"system_config.referral_config"}),",小程序「推广中心」、Web 推广页以及支付回调都会读取同一份配置。"]}),i.jsx("p",{children:"2. 修改后新订单立即生效;旧订单的历史佣金不会自动重算,只影响之后产生的订单。"}),i.jsx("p",{children:"3. 如遇前端展示与实际结算不一致,优先以此处配置为准,再排查缓存和小程序版本。"})]})]})]})]})}function TI(){var ye;const[t,e]=b.useState("overview"),[n,r]=b.useState([]),[s,a]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState([]),[g,y]=b.useState(!0),[v,j]=b.useState(null),[w,k]=b.useState(""),[E,C]=b.useState("all"),[T,O]=b.useState(1),[B,R]=b.useState(10),[P,I]=b.useState(0),[L,X]=b.useState(new Set),[Z,Y]=b.useState(null),[W,D]=b.useState(""),[$,ae]=b.useState(!1);b.useEffect(()=>{_()},[]),b.useEffect(()=>{O(1)},[t,E]),b.useEffect(()=>{se(t)},[t]),b.useEffect(()=>{["orders","bindings","withdrawals"].includes(t)&&se(t,!0)},[T,B,E,w]);async function _(){j(null);try{const V=await Fe("/api/admin/distribution/overview");V!=null&&V.success&&V.overview&&a(V.overview)}catch(V){console.error("[Admin] 概览接口异常:",V),j("加载概览失败")}try{const V=await Fe("/api/db/users");m((V==null?void 0:V.users)||[])}catch(V){console.error("[Admin] 用户数据加载失败:",V)}}async function se(V,ge=!1){var Me;if(!(!ge&&L.has(V))){y(!0);try{const tt=f;switch(V){case"overview":break;case"orders":{try{const et=new URLSearchParams({page:String(T),pageSize:String(B),...E!=="all"&&{status:E},...w&&{search:w}}),ot=await Fe(`/api/admin/orders?${et}`);if(ot!=null&&ot.success&&ot.orders){const Ge=ot.orders.map(dt=>{const Et=tt.find(Tt=>Tt.id===dt.userId),ht=dt.referrerId?tt.find(Tt=>Tt.id===dt.referrerId):null;return{...dt,amount:parseFloat(String(dt.amount))||0,userNickname:(Et==null?void 0:Et.nickname)||dt.userNickname||"未知用户",userPhone:(Et==null?void 0:Et.phone)||dt.userPhone||"-",referrerNickname:(ht==null?void 0:ht.nickname)||null,referrerCode:(ht==null?void 0:ht.referralCode)??null,type:dt.productType||dt.type}});r(Ge),I(ot.total??Ge.length)}else r([]),I(0)}catch(et){console.error(et),j("加载订单失败"),r([])}break}case"bindings":{try{const et=new URLSearchParams({page:String(T),pageSize:String(B),...E!=="all"&&{status:E}}),ot=await Fe(`/api/db/distribution?${et}`);c((ot==null?void 0:ot.bindings)||[]),I((ot==null?void 0:ot.total)??((Me=ot==null?void 0:ot.bindings)==null?void 0:Me.length)??0)}catch(et){console.error(et),j("加载绑定数据失败"),c([])}break}case"withdrawals":{try{const et=E==="completed"?"success":E==="rejected"?"failed":E,ot=new URLSearchParams({...et&&et!=="all"&&{status:et},page:String(T),pageSize:String(B)}),Ge=await Fe(`/api/admin/withdrawals?${ot}`);if(Ge!=null&&Ge.success&&Ge.withdrawals){const dt=Ge.withdrawals.map(Et=>({...Et,account:Et.account??"未绑定微信号",status:Et.status==="success"?"completed":Et.status==="failed"?"rejected":Et.status}));h(dt),I((Ge==null?void 0:Ge.total)??dt.length)}else Ge!=null&&Ge.success||j(`获取提现记录失败: ${(Ge==null?void 0:Ge.error)||"未知错误"}`),h([])}catch(et){console.error(et),j("加载提现数据失败"),h([])}break}}X(et=>new Set(et).add(V))}catch(tt){console.error(tt)}finally{y(!1)}}}async function q(){j(null),X(V=>{const ge=new Set(V);return ge.delete(t),ge}),t==="overview"&&_(),await se(t,!0)}async function z(V){if(confirm("确认审核通过并打款?"))try{const ge=await _t("/api/admin/withdrawals",{id:V,action:"approve"});if(!(ge!=null&&ge.success)){const Me=(ge==null?void 0:ge.message)||(ge==null?void 0:ge.error)||"操作失败";he.error(Me);return}await q()}catch(ge){console.error(ge),he.error("操作失败")}}async function H(V){const ge=prompt("请输入拒绝原因:");if(ge)try{const Me=await _t("/api/admin/withdrawals",{id:V,action:"reject",errorMessage:ge});if(!(Me!=null&&Me.success)){he.error((Me==null?void 0:Me.error)||"操作失败");return}await q()}catch(Me){console.error(Me),he.error("操作失败")}}async function de(){var V;if(!(!(Z!=null&&Z.orderSn)&&!(Z!=null&&Z.id))){ae(!0),j(null);try{const ge=await _t("/api/admin/orders/refund",{orderSn:Z.orderSn||Z.id,reason:W||void 0});ge!=null&&ge.success?(Y(null),D(""),await se("orders",!0)):j((ge==null?void 0:ge.error)||"退款失败")}catch(ge){const Me=ge;j(((V=Me==null?void 0:Me.data)==null?void 0:V.error)||"退款失败,请检查网络后重试")}finally{ae(!1)}}}function K(V){const ge={active:"bg-green-500/20 text-green-400",converted:"bg-blue-500/20 text-blue-400",expired:"bg-gray-500/20 text-gray-400",cancelled:"bg-red-500/20 text-red-400",pending:"bg-orange-500/20 text-orange-400",pending_confirm:"bg-orange-500/20 text-orange-400",processing:"bg-blue-500/20 text-blue-400",completed:"bg-green-500/20 text-green-400",rejected:"bg-red-500/20 text-red-400"},Me={active:"有效",converted:"已转化",expired:"已过期",cancelled:"已取消",pending:"待审核",pending_confirm:"待用户确认",processing:"处理中",completed:"已完成",rejected:"已拒绝"};return i.jsx(Be,{className:`${ge[V]||"bg-gray-500/20 text-gray-400"} border-0`,children:Me[V]||V})}const fe=Math.ceil(P/B)||1,Q=n,oe=o.filter(V=>{var Me,tt,et,ot;if(!w)return!0;const ge=w.toLowerCase();return((Me=V.refereeNickname)==null?void 0:Me.toLowerCase().includes(ge))||((tt=V.refereePhone)==null?void 0:tt.includes(ge))||((et=V.referrerName)==null?void 0:et.toLowerCase().includes(ge))||((ot=V.referrerCode)==null?void 0:ot.toLowerCase().includes(ge))}),ue=u.filter(V=>{var Me;if(!w)return!0;const ge=w.toLowerCase();return((Me=V.userName)==null?void 0:Me.toLowerCase().includes(ge))||V.account&&V.account.toLowerCase().includes(ge)});return i.jsxs("div",{className:"p-8 w-full",children:[v&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:v}),i.jsx("button",{type:"button",onClick:()=>j(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex items-center justify-between mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold text-white",children:"推广中心"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理:订单、分销绑定、提现审核"})]}),i.jsxs(ne,{onClick:q,disabled:g,variant:"outline",className:"border-gray-700 text-gray-300 hover:bg-gray-800",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${g?"animate-spin":""}`}),"刷新数据"]})]}),i.jsx("div",{className:"flex gap-2 mb-6 border-b border-gray-700 pb-4 flex-wrap",children:[{key:"overview",label:"数据概览",icon:fc},{key:"orders",label:"订单管理",icon:Ju},{key:"bindings",label:"绑定管理",icon:Ss},{key:"withdrawals",label:"提现审核",icon:Xo},{key:"settings",label:"推广设置",icon:_a}].map(V=>i.jsxs("button",{type:"button",onClick:()=>{e(V.key),C("all"),k("")},className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-colors ${t===V.key?"bg-[#38bdac] text-white":"text-gray-400 hover:text-white hover:bg-gray-800"}`,children:[i.jsx(V.icon,{className:"w-4 h-4"}),V.label]},V.key))}),g?i.jsxs("div",{className:"flex items-center justify-center py-20",children:[i.jsx(qe,{className:"w-8 h-8 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[t==="overview"&&s&&i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日点击"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayClicks}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"总点击次数(实时)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:i.jsx(yg,{className:"w-6 h-6 text-blue-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日独立用户"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayUniqueVisitors??0}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"去重访客数(实时)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-cyan-500/20 flex items-center justify-center",children:i.jsx(Ln,{className:"w-6 h-6 text-cyan-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日总文章点击率"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:(s.todayClickRate??0).toFixed(2)}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"人均点击(总点击/独立用户)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/20 flex items-center justify-center",children:i.jsx(fc,{className:"w-6 h-6 text-amber-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日绑定"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayBindings})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-green-500/20 flex items-center justify-center",children:i.jsx(Ss,{className:"w-6 h-6 text-green-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日转化"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayConversions})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-purple-500/20 flex items-center justify-center",children:i.jsx(Rb,{className:"w-6 h-6 text-purple-400"})})]})})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日佣金"}),i.jsxs("p",{className:"text-2xl font-bold text-[#38bdac] mt-1",children:["¥",s.todayEarnings.toFixed(2)]})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac]/20 flex items-center justify-center",children:i.jsx(Ju,{className:"w-6 h-6 text-[#38bdac]"})})]})})})]}),(((ye=s.todayClicksByPage)==null?void 0:ye.length)??0)>0&&i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(yg,{className:"w-5 h-5 text-[#38bdac]"}),"每篇文章今日点击(按来源页/文章统计)"]}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"实际用户与实际文章的点击均计入;今日总点击与上表一致"})]}),i.jsx(Re,{children:i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[i.jsx("th",{className:"pb-3 pr-4",children:"来源页/文章"}),i.jsx("th",{className:"pb-3 pr-4 text-right",children:"今日点击"}),i.jsx("th",{className:"pb-3 text-right",children:"占比"})]})}),i.jsx("tbody",{children:[...s.todayClicksByPage??[]].sort((V,ge)=>ge.clicks-V.clicks).map((V,ge)=>i.jsxs("tr",{className:"border-b border-gray-700/50",children:[i.jsx("td",{className:"py-2 pr-4 text-white font-mono",children:V.page||"(未区分)"}),i.jsx("td",{className:"py-2 pr-4 text-right text-white",children:V.clicks}),i.jsxs("td",{className:"py-2 text-right text-gray-400",children:[s.todayClicks>0?(V.clicks/s.todayClicks*100).toFixed(1):0,"%"]})]},ge))})]})})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsx(Ae,{className:"bg-orange-500/10 border-orange-500/30",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-orange-500/20 flex items-center justify-center",children:i.jsx(xg,{className:"w-6 h-6 text-orange-400"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("p",{className:"text-orange-300 font-medium",children:"即将过期绑定"}),i.jsxs("p",{className:"text-2xl font-bold text-white",children:[s.expiringBindings," 个"]}),i.jsx("p",{className:"text-orange-300/60 text-sm",children:"7天内到期,需关注转化"})]})]})})}),i.jsx(Ae,{className:"bg-blue-500/10 border-blue-500/30",children:i.jsx(Re,{className:"p-6",children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:i.jsx(Xo,{className:"w-6 h-6 text-blue-400"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("p",{className:"text-blue-300 font-medium",children:"待审核提现"}),i.jsxs("p",{className:"text-2xl font-bold text-white",children:[s.pendingWithdrawals," 笔"]}),i.jsxs("p",{className:"text-blue-300/60 text-sm",children:["共 ¥",s.pendingWithdrawAmount.toFixed(2)]})]}),i.jsx(ne,{onClick:()=>e("withdrawals"),variant:"outline",className:"border-blue-500/50 text-blue-400 hover:bg-blue-500/20",children:"去审核"})]})})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Gu,{className:"w-5 h-5 text-[#38bdac]"}),"本月统计"]})}),i.jsx(Re,{children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"点击量"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthClicks})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"绑定数"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthBindings})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"转化数"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthConversions})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"佣金"}),i.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",s.monthEarnings.toFixed(2)]})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(fc,{className:"w-5 h-5 text-[#38bdac]"}),"累计统计"]})}),i.jsxs(Re,{children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总点击"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalClicks.toLocaleString()})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总绑定"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalBindings.toLocaleString()})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总转化"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalConversions})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总佣金"}),i.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",s.totalEarnings.toFixed(2)]})]})]}),i.jsxs("div",{className:"mt-4 p-4 bg-[#38bdac]/10 rounded-lg flex items-center justify-between",children:[i.jsx("span",{className:"text-gray-300",children:"点击转化率"}),i.jsxs("span",{className:"text-[#38bdac] font-bold text-xl",children:[s.conversionRate,"%"]})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(Xe,{children:i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"推广统计"]})}),i.jsx(Re,{children:i.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-white",children:s.totalDistributors}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"推广用户数"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-green-400",children:s.activeDistributors}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"有收益用户"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-[#38bdac]",children:"90%"}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"佣金比例"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-orange-400",children:"30天"}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"绑定有效期"})]})]})})]})]}),t==="orders"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:V=>k(V.target.value),placeholder:"搜索订单号、用户名、手机号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:V=>C(V.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"pending",children:"待支付"}),i.jsx("option",{value:"failed",children:"已失败"}),i.jsx("option",{value:"refunded",children:"已退款"})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-0",children:[n.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无订单数据"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"订单号"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"商品"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"支付方式"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"退款原因"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"推荐人/邀请码"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"分销佣金"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"下单时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:Q.map(V=>{var ge,Me;return i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsxs("td",{className:"p-4 font-mono text-xs text-gray-400",children:[(ge=V.id)==null?void 0:ge.slice(0,12),"..."]}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:V.userNickname}),i.jsx("p",{className:"text-gray-500 text-xs",children:V.userPhone})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:(()=>{const tt=V.productType||V.type;return tt==="fullbook"?`${V.bookName||"《底层逻辑》"} - 全本`:tt==="match"?"匹配次数购买":`${V.bookName||"《底层逻辑》"} - ${V.sectionTitle||V.chapterTitle||`章节${V.productId||V.sectionId||""}`}`})()}),i.jsx("p",{className:"text-gray-500 text-xs",children:(()=>{const tt=V.productType||V.type;return tt==="fullbook"?"全书解锁":tt==="match"?"功能权益":V.chapterTitle||"单章购买"})()})]})}),i.jsxs("td",{className:"p-4 text-[#38bdac] font-bold",children:["¥",typeof V.amount=="number"?V.amount.toFixed(2):parseFloat(String(V.amount||"0")).toFixed(2)]}),i.jsx("td",{className:"p-4 text-gray-300",children:V.paymentMethod==="wechat"?"微信支付":V.paymentMethod==="alipay"?"支付宝":V.paymentMethod||"微信支付"}),i.jsx("td",{className:"p-4",children:V.status==="refunded"?i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 border-0",children:"已退款"}):V.status==="completed"||V.status==="paid"?i.jsx(Be,{className:"bg-green-500/20 text-green-400 border-0",children:"已完成"}):V.status==="pending"||V.status==="created"?i.jsx(Be,{className:"bg-yellow-500/20 text-yellow-400 border-0",children:"待支付"}):i.jsx(Be,{className:"bg-red-500/20 text-red-400 border-0",children:"已失败"})}),i.jsx("td",{className:"p-4 text-gray-400 text-sm max-w-[120px]",title:V.refundReason,children:V.status==="refunded"&&V.refundReason?V.refundReason:"-"}),i.jsx("td",{className:"p-4 text-gray-300 text-sm",children:V.referrerId||V.referralCode?i.jsxs("span",{title:V.referralCode||V.referrerCode||V.referrerId||"",children:[V.referrerNickname||V.referralCode||V.referrerCode||((Me=V.referrerId)==null?void 0:Me.slice(0,8)),(V.referralCode||V.referrerCode)&&` (${V.referralCode||V.referrerCode})`]}):"-"}),i.jsx("td",{className:"p-4 text-[#FFD700]",children:V.referrerEarnings?`¥${(typeof V.referrerEarnings=="number"?V.referrerEarnings:parseFloat(String(V.referrerEarnings))).toFixed(2)}`:"-"}),i.jsx("td",{className:"p-4 text-gray-400 text-sm",children:V.createdAt?new Date(V.createdAt).toLocaleString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:(V.status==="paid"||V.status==="completed")&&i.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{Y(V),D("")},children:[i.jsx(VN,{className:"w-3 h-3 mr-1"}),"退款"]})})]},V.id)})})]})}),t==="orders"&&i.jsx(ls,{page:T,totalPages:fe,total:P,pageSize:B,onPageChange:O,onPageSizeChange:V=>{R(V),O(1)}})]})})]}),t==="bindings"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:V=>k(V.target.value),placeholder:"搜索用户昵称、手机号、推广码...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:V=>C(V.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"active",children:"有效"}),i.jsx("option",{value:"converted",children:"已转化"}),i.jsx("option",{value:"expired",children:"已过期"})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-0",children:[oe.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无绑定数据"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"访客"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"分销商"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"绑定时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"到期时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"佣金"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:oe.map(V=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-medium",children:V.refereeNickname||"匿名用户"}),i.jsx("p",{className:"text-gray-500 text-xs",children:V.refereePhone})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white",children:V.referrerName||"-"}),i.jsx("p",{className:"text-gray-500 text-xs font-mono",children:V.referrerCode})]})}),i.jsx("td",{className:"p-4 text-gray-400",children:V.boundAt?new Date(V.boundAt).toLocaleDateString("zh-CN"):"-"}),i.jsx("td",{className:"p-4 text-gray-400",children:V.expiresAt?new Date(V.expiresAt).toLocaleDateString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:K(V.status)}),i.jsx("td",{className:"p-4",children:V.commission?i.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",V.commission.toFixed(2)]}):i.jsx("span",{className:"text-gray-500",children:"-"})})]},V.id))})]})}),t==="bindings"&&i.jsx(ls,{page:T,totalPages:fe,total:P,pageSize:B,onPageChange:O,onPageSizeChange:V=>{R(V),O(1)}})]})})]}),t==="withdrawals"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:V=>k(V.target.value),placeholder:"搜索用户名称、账号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:V=>C(V.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"pending",children:"待审核"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"rejected",children:"已拒绝"})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-0",children:[ue.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无提现记录"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"申请人"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"收款方式"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"收款账号"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:ue.map(V=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4",children:i.jsxs("div",{className:"flex items-center gap-2",children:[V.userAvatar?i.jsx("img",{src:V.userAvatar,alt:"",className:"w-8 h-8 rounded-full object-cover"}):i.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-600 flex items-center justify-center text-white text-sm font-medium",children:(V.userName||V.name||"?").slice(0,1)}),i.jsx("p",{className:"text-white font-medium",children:V.userName||V.name})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",V.amount.toFixed(2)]})}),i.jsx("td",{className:"p-4",children:i.jsx(Be,{className:V.method==="wechat"?"bg-green-500/20 text-green-400 border-0":"bg-blue-500/20 text-blue-400 border-0",children:V.method==="wechat"?"微信":"支付宝"})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-mono text-xs",children:V.account}),i.jsx("p",{className:"text-gray-500 text-xs",children:V.name})]})}),i.jsx("td",{className:"p-4 text-gray-400",children:V.createdAt?new Date(V.createdAt).toLocaleString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:K(V.status)}),i.jsx("td",{className:"p-4 text-right",children:V.status==="pending"&&i.jsxs("div",{className:"flex gap-2 justify-end",children:[i.jsxs(ne,{size:"sm",onClick:()=>z(V.id),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Rb,{className:"w-4 h-4 mr-1"}),"通过"]}),i.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>H(V.id),className:"border-red-500/50 text-red-400 hover:bg-red-500/20",children:[i.jsx(_N,{className:"w-4 h-4 mr-1"}),"拒绝"]})]})})]},V.id))})]})}),t==="withdrawals"&&i.jsx(ls,{page:T,totalPages:fe,total:P,pageSize:B,onPageChange:O,onPageSizeChange:V=>{R(V),O(1)}})]})})]})]}),i.jsx(Zt,{open:!!Z,onOpenChange:V=>!V&&Y(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:"订单退款"})}),Z&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",Z.orderSn||Z.id]}),i.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",typeof Z.amount=="number"?Z.amount.toFixed(2):parseFloat(String(Z.amount||"0")).toFixed(2)]}),i.jsxs("div",{children:[i.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),i.jsx("div",{className:"form-input",children:i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:W,onChange:V=>D(V.target.value)})})]}),i.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>Y(null),disabled:$,children:"取消"}),i.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:de,disabled:$,children:$?"退款中...":"确认退款"})]})]})}),t==="settings"&&i.jsx("div",{className:"-mx-8 -mt-6",children:i.jsx(jk,{embedded:!0})})]})}function MI(){const[t,e]=b.useState([]),[n,r]=b.useState({total:0,pendingCount:0,pendingAmount:0,successCount:0,successAmount:0,failedCount:0}),[s,a]=b.useState(!0),[o,c]=b.useState(null),[u,h]=b.useState("all"),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,j]=b.useState(0),[w,k]=b.useState(null);async function E(){var R,P,I,L,X,Z,Y;a(!0),c(null);try{const W=new URLSearchParams({status:u,page:String(f),pageSize:String(g)}),D=await Fe(`/api/admin/withdrawals?${W}`);if(D!=null&&D.success){const $=D.withdrawals||[];e($),j(D.total??((R=D.stats)==null?void 0:R.total)??$.length),r({total:((P=D.stats)==null?void 0:P.total)??D.total??$.length,pendingCount:((I=D.stats)==null?void 0:I.pendingCount)??0,pendingAmount:((L=D.stats)==null?void 0:L.pendingAmount)??0,successCount:((X=D.stats)==null?void 0:X.successCount)??0,successAmount:((Z=D.stats)==null?void 0:Z.successAmount)??0,failedCount:((Y=D.stats)==null?void 0:Y.failedCount)??0})}else c("加载提现记录失败")}catch(W){console.error("Load withdrawals error:",W),c("加载失败,请检查网络后重试")}finally{a(!1)}}b.useEffect(()=>{m(1)},[u]),b.useEffect(()=>{E()},[u,f,g]);const C=Math.ceil(v/g)||1;async function T(R){const P=t.find(I=>I.id===R);if(P!=null&&P.userCommissionInfo&&P.userCommissionInfo.availableAfterThis<0){if(!confirm(`⚠️ 风险警告:该用户审核后余额为负数(¥${P.userCommissionInfo.availableAfterThis.toFixed(2)}),可能存在超额提现。 确认已核实用户账户并完成打款?`))return}else if(!confirm("确认已完成打款?批准后将更新用户提现记录。"))return;k(R);try{const I=await _t("/api/admin/withdrawals",{id:R,action:"approve"});I!=null&&I.success?E():he.error("操作失败: "+((I==null?void 0:I.error)??""))}catch{he.error("操作失败")}finally{k(null)}}async function O(R){const P=prompt("请输入拒绝原因(将返还用户余额):");if(P){k(R);try{const I=await _t("/api/admin/withdrawals",{id:R,action:"reject",errorMessage:P});I!=null&&I.success?E():he.error("操作失败: "+((I==null?void 0:I.error)??""))}catch{he.error("操作失败")}finally{k(null)}}}function B(R){switch(R){case"pending":return i.jsx(Be,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待处理"});case"pending_confirm":return i.jsx(Be,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待用户确认"});case"processing":return i.jsx(Be,{className:"bg-blue-500/20 text-blue-400 hover:bg-blue-500/20 border-0",children:"已审批等待打款"});case"success":case"completed":return i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"});case"failed":case"rejected":return i.jsx(Be,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已拒绝"});default:return i.jsx(Be,{className:"bg-gray-500/20 text-gray-400 border-0",children:R})}}return i.jsxs("div",{className:"p-8 w-full",children:[o&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:o}),i.jsx("button",{type:"button",onClick:()=>c(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-start mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold text-white",children:"分账提现管理"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"管理用户分销收益的提现申请"})]}),i.jsxs(ne,{variant:"outline",onClick:E,disabled:s,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${s?"animate-spin":""}`}),"刷新"]})]}),i.jsx(Ae,{className:"bg-gradient-to-r from-[#38bdac]/10 to-[#0f2137] border-[#38bdac]/30 mb-6",children:i.jsx(Re,{className:"p-4",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(Ju,{className:"w-5 h-5 text-[#38bdac] mt-0.5"}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-white font-medium mb-2",children:"自动分账规则"}),i.jsxs("div",{className:"text-sm text-gray-400 space-y-1",children:[i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"分销比例"}),":推广者获得订单金额的"," ",i.jsx("span",{className:"text-white font-medium",children:"90%"})]}),i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"结算方式"}),":用户付款后,分销收益自动计入推广者账户"]}),i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"提现方式"}),":用户在小程序端点击提现,系统自动转账到微信零钱"]}),i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"审批流程"}),":待处理的提现需管理员手动确认打款后批准"]})]})]})]})})}),i.jsxs("div",{className:"grid grid-cols-4 gap-4 mb-6",children:[i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-[#38bdac]",children:n.total}),i.jsx("div",{className:"text-sm text-gray-400",children:"总申请"})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-orange-400",children:n.pendingCount}),i.jsx("div",{className:"text-sm text-gray-400",children:"待处理"}),i.jsxs("div",{className:"text-xs text-orange-400 mt-1",children:["¥",n.pendingAmount.toFixed(2)]})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-green-400",children:n.successCount}),i.jsx("div",{className:"text-sm text-gray-400",children:"已完成"}),i.jsxs("div",{className:"text-xs text-green-400 mt-1",children:["¥",n.successAmount.toFixed(2)]})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Re,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-red-400",children:n.failedCount}),i.jsx("div",{className:"text-sm text-gray-400",children:"已拒绝"})]})})]}),i.jsx("div",{className:"flex gap-2 mb-4",children:["all","pending","success","failed"].map(R=>i.jsx(ne,{variant:u===R?"default":"outline",size:"sm",onClick:()=>h(R),className:u===R?"bg-[#38bdac] hover:bg-[#2da396] text-white":"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:R==="all"?"全部":R==="pending"?"待处理":R==="success"?"已完成":"已拒绝"},R))}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:s?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):t.length===0?i.jsxs("div",{className:"text-center py-12",children:[i.jsx(Xo,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),i.jsx("p",{className:"text-gray-500",children:"暂无提现记录"})]}):i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"提现金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"用户佣金信息"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"处理时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"确认收款"}),i.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:t.map(R=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4 text-gray-400",children:new Date(R.createdAt??"").toLocaleString()}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{className:"flex items-center gap-2",children:[R.userAvatar?i.jsx("img",{src:R.userAvatar,alt:R.userName??"",className:"w-8 h-8 rounded-full object-cover"}):i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:(R.userName??"?").charAt(0)}),i.jsxs("div",{children:[i.jsx("p",{className:"font-medium text-white",children:R.userName??"未知"}),i.jsx("p",{className:"text-xs text-gray-500",children:R.userPhone??R.referralCode??(R.userId??"").slice(0,10)})]})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("span",{className:"font-bold text-orange-400",children:["¥",Number(R.amount).toFixed(2)]})}),i.jsx("td",{className:"p-4",children:R.userCommissionInfo?i.jsxs("div",{className:"text-xs space-y-1",children:[i.jsxs("div",{className:"flex justify-between gap-4",children:[i.jsx("span",{className:"text-gray-500",children:"累计佣金:"}),i.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",R.userCommissionInfo.totalCommission.toFixed(2)]})]}),i.jsxs("div",{className:"flex justify-between gap-4",children:[i.jsx("span",{className:"text-gray-500",children:"已提现:"}),i.jsxs("span",{className:"text-gray-400",children:["¥",R.userCommissionInfo.withdrawnEarnings.toFixed(2)]})]}),i.jsxs("div",{className:"flex justify-between gap-4",children:[i.jsx("span",{className:"text-gray-500",children:"待审核:"}),i.jsxs("span",{className:"text-orange-400",children:["¥",R.userCommissionInfo.pendingWithdrawals.toFixed(2)]})]}),i.jsxs("div",{className:"flex justify-between gap-4 pt-1 border-t border-gray-700/30",children:[i.jsx("span",{className:"text-gray-500",children:"审核后余额:"}),i.jsxs("span",{className:R.userCommissionInfo.availableAfterThis>=0?"text-green-400 font-medium":"text-red-400 font-medium",children:["¥",R.userCommissionInfo.availableAfterThis.toFixed(2)]})]})]}):i.jsx("span",{className:"text-gray-500 text-xs",children:"暂无数据"})}),i.jsxs("td",{className:"p-4",children:[B(R.status),R.errorMessage&&i.jsx("p",{className:"text-xs text-red-400 mt-1",children:R.errorMessage})]}),i.jsx("td",{className:"p-4 text-gray-400",children:R.processedAt?new Date(R.processedAt).toLocaleString():"-"}),i.jsx("td",{className:"p-4 text-gray-400",children:R.userConfirmedAt?i.jsxs("span",{className:"text-green-400",title:R.userConfirmedAt,children:["已确认 ",new Date(R.userConfirmedAt).toLocaleString()]}):"-"}),i.jsxs("td",{className:"p-4 text-right",children:[(R.status==="pending"||R.status==="pending_confirm")&&i.jsxs("div",{className:"flex items-center justify-end gap-2",children:[i.jsxs(ne,{size:"sm",onClick:()=>T(R.id),disabled:w===R.id,className:"bg-green-600 hover:bg-green-700 text-white",children:[i.jsx(Uc,{className:"w-4 h-4 mr-1"}),"批准"]}),i.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>O(R.id),disabled:w===R.id,className:"border-red-500/50 text-red-400 hover:bg-red-500/10 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-1"}),"拒绝"]})]}),(R.status==="success"||R.status==="completed")&&R.transactionId&&i.jsx("span",{className:"text-xs text-gray-500 font-mono",children:R.transactionId})]})]},R.id))})]})}),i.jsx(ls,{page:f,totalPages:C,total:v,pageSize:g,onPageChange:m,onPageSizeChange:R=>{y(R),m(1)}})]})})})]})}var Mm={exports:{}},Am={};/** * @license React @@ -595,19 +595,19 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var t1;function MI(){if(t1)return Am;t1=1;var t=Hc();function e(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,s=t.useEffect,a=t.useLayoutEffect,o=t.useDebugValue;function c(m,g){var y=g(),v=r({inst:{value:y,getSnapshot:g}}),j=v[0].inst,w=v[1];return a(function(){j.value=y,j.getSnapshot=g,u(j)&&w({inst:j})},[m,y,g]),s(function(){return u(j)&&w({inst:j}),m(function(){u(j)&&w({inst:j})})},[m]),o(y),y}function u(m){var g=m.getSnapshot;m=m.value;try{var y=g();return!n(m,y)}catch{return!0}}function h(m,g){return g()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:c;return Am.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,Am}var n1;function kk(){return n1||(n1=1,Mm.exports=MI()),Mm.exports}var Sk=kk();function Pn(t){this.content=t}Pn.prototype={constructor:Pn,find:function(t){for(var e=0;e>1}};Pn.from=function(t){if(t instanceof Pn)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Pn(e)};function Ck(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let s=t.child(r),a=e.child(r);if(s==a){n+=s.nodeSize;continue}if(!s.sameMarkup(a))return n;if(s.isText&&s.text!=a.text){for(let o=0;s.text[o]==a.text[o];o++)n++;return n}if(s.content.size||a.content.size){let o=Ck(s.content,a.content,n+1);if(o!=null)return o}n+=s.nodeSize}}function Ek(t,e,n,r){for(let s=t.childCount,a=e.childCount;;){if(s==0||a==0)return s==a?null:{a:n,b:r};let o=t.child(--s),c=e.child(--a),u=o.nodeSize;if(o==c){n-=u,r-=u;continue}if(!o.sameMarkup(c))return{a:n,b:r};if(o.isText&&o.text!=c.text){let h=0,f=Math.min(o.text.length,c.text.length);for(;he&&r(u,s+c,a||null,o)!==!1&&u.content.size){let f=c+1;u.nodesBetween(Math.max(0,e-f),Math.min(u.content.size,n-f),r,s+f)}c=h}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,s){let a="",o=!0;return this.nodesBetween(e,n,(c,u)=>{let h=c.isText?c.text.slice(Math.max(e,u)-u,n-u):c.isLeaf?s?typeof s=="function"?s(c):s:c.type.spec.leafText?c.type.spec.leafText(c):"":"";c.isBlock&&(c.isLeaf&&h||c.isTextblock)&&r&&(o?o=!1:a+=r),a+=h},0),a}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,s=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(r)&&(s[s.length-1]=n.withText(n.text+r.text),a=1);ae)for(let a=0,o=0;oe&&((on)&&(c.isText?c=c.cut(Math.max(0,e-o),Math.min(c.text.length,n-o)):c=c.cut(Math.max(0,e-o-1),Math.min(c.content.size,n-o-1))),r.push(c),s+=c.nodeSize),o=u}return new me(r,s)}cutByIndex(e,n){return e==n?me.empty:e==0&&n==this.content.length?this:new me(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let s=this.content.slice(),a=this.size+n.nodeSize-r.nodeSize;return s[e]=n,new me(s,a)}addToStart(e){return new me([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new me(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let s=this.child(n),a=r+s.nodeSize;if(a>=e)return a==e?bu(n+1,a):bu(n,r);r=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return me.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new me(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return me.empty;let n,r=0;for(let s=0;sthis.type.rank&&(n||(n=e.slice(0,s)),n.push(this),r=!0),n&&n.push(a)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-s.type.rank),n}};Ct.none=[];class nh extends Error{}class Pe{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=Mk(this.content,e+this.openStart,n);return r&&new Pe(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Pe(Tk(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Pe.empty;let r=n.openStart||0,s=n.openEnd||0;if(typeof r!="number"||typeof s!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Pe(me.fromJSON(e,n.content),r,s)}static maxOpen(e,n=!0){let r=0,s=0;for(let a=e.firstChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.firstChild)r++;for(let a=e.lastChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.lastChild)s++;return new Pe(e,r,s)}}Pe.empty=new Pe(me.empty,0,0);function Tk(t,e,n){let{index:r,offset:s}=t.findIndex(e),a=t.maybeChild(r),{index:o,offset:c}=t.findIndex(n);if(s==e||a.isText){if(c!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(r,a.copy(Tk(a.content,e-s-1,n-s-1)))}function Mk(t,e,n,r){let{index:s,offset:a}=t.findIndex(e),o=t.maybeChild(s);if(a==e||o.isText)return r&&!r.canReplace(s,s,n)?null:t.cut(0,e).append(n).append(t.cut(e));let c=Mk(o.content,e-a-1,n,o);return c&&t.replaceChild(s,o.copy(c))}function AI(t,e,n){if(n.openStart>t.depth)throw new nh("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new nh("Inconsistent open depths");return Ak(t,e,n,0)}function Ak(t,e,n,r){let s=t.index(r),a=t.node(r);if(s==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function pc(t,e,n,r){let s=(e||t).node(n),a=0,o=e?e.index(n):s.childCount;t&&(a=t.index(n),t.depth>n?a++:t.textOffset&&(za(t.nodeAfter,r),a++));for(let c=a;cs&&Rg(t,e,s+1),o=r.depth>s&&Rg(n,r,s+1),c=[];return pc(null,t,s,c),a&&o&&e.index(s)==n.index(s)?(Rk(a,o),za($a(a,Pk(t,e,n,r,s+1)),c)):(a&&za($a(a,rh(t,e,s+1)),c),pc(e,n,s,c),o&&za($a(o,rh(n,r,s+1)),c)),pc(r,null,s,c),new me(c)}function rh(t,e,n){let r=[];if(pc(null,t,n,r),t.depth>n){let s=Rg(t,e,n+1);za($a(s,rh(t,e,n+1)),r)}return pc(e,null,n,r),new me(r)}function RI(t,e){let n=e.depth-t.openStart,s=e.node(n).copy(t.content);for(let a=n-1;a>=0;a--)s=e.node(a).copy(me.from(s));return{start:s.resolveNoCache(t.openStart+n),end:s.resolveNoCache(s.content.size-t.openEnd-n)}}class Ac{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],s=e.child(n);return r?e.child(n).cut(r):s}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],s=n==0?0:this.path[n*3-1]+1;for(let a=0;a0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new sh(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],s=0,a=n;for(let o=e;;){let{index:c,offset:u}=o.content.findIndex(a),h=a-u;if(r.push(o,c,s+u),!h||(o=o.child(c),o.isText))break;a=h-1,s+=u+1}return new Ac(n,r,a)}static resolveCached(e,n){let r=r1.get(e);if(r)for(let a=0;ae&&this.nodesBetween(e,n,a=>(r.isInSet(a.marks)&&(s=!0),!s)),s}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Ik(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=me.empty,s=0,a=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,s,a),c=o&&o.matchFragment(this.content,n);if(!c||!c.validEnd)return!1;for(let u=s;un.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let s=me.fromJSON(e,n.content),a=e.nodeType(n.type).create(n.attrs,s,r);return a.type.checkAttrs(a.attrs),a}};Xs.prototype.text=void 0;class ih extends Xs{constructor(e,n,r,s){if(super(e,n,null,s),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Ik(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new ih(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new ih(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Ik(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class Ka{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new DI(e,n);if(r.next==null)return Ka.empty;let s=Ok(r);r.next&&r.err("Unexpected trailing text");let a=VI(BI(s));return HI(a,r),a}matchType(e){for(let n=0;nh.createAndFill()));for(let h=0;h=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let s=0;s{let a=s+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return a}).join(` -`)}}Ka.empty=new Ka(!0);class DI{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Ok(t){let e=[];do e.push(LI(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function LI(t){let e=[];do e.push(_I(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function _I(t){let e=FI(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=zI(t,e);else break;return e}function s1(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function zI(t,e){let n=s1(t),r=n;return t.eat(",")&&(t.next!="}"?r=s1(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function $I(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let s=[];for(let a in n){let o=n[a];o.isInGroup(e)&&s.push(o)}return s.length==0&&t.err("No node type or group '"+e+"' found"),s}function FI(t){if(t.eat("(")){let e=Ok(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=$I(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function BI(t){let e=[[]];return s(a(t,0),n()),e;function n(){return e.push([])-1}function r(o,c,u){let h={term:u,to:c};return e[o].push(h),h}function s(o,c){o.forEach(u=>u.to=c)}function a(o,c){if(o.type=="choice")return o.exprs.reduce((u,h)=>u.concat(a(h,c)),[]);if(o.type=="seq")for(let u=0;;u++){let h=a(o.exprs[u],c);if(u==o.exprs.length-1)return h;s(h,c=n())}else if(o.type=="star"){let u=n();return r(c,u),s(a(o.expr,u),u),[r(u)]}else if(o.type=="plus"){let u=n();return s(a(o.expr,c),u),s(a(o.expr,u),u),[r(u)]}else{if(o.type=="opt")return[r(c)].concat(a(o.expr,c));if(o.type=="range"){let u=c;for(let h=0;h{t[o].forEach(({term:c,to:u})=>{if(!c)return;let h;for(let f=0;f{h||s.push([c,h=[]]),h.indexOf(f)==-1&&h.push(f)})})});let a=e[r.join(",")]=new Ka(r.indexOf(t.length-1)>-1);for(let o=0;o-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:_k(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Xs(this,this.computeAttrs(e),me.from(n),Ct.setFrom(r))}createChecked(e=null,n,r){return n=me.from(n),this.checkContent(n),new Xs(this,this.computeAttrs(e),n,Ct.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=me.from(n),n.size){let o=this.contentMatch.fillBefore(n);if(!o)return null;n=o.append(n)}let s=this.contentMatch.matchFragment(n),a=s&&s.fillBefore(me.empty,!0);return a?new Xs(this,e,n.append(a),Ct.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[a]=new Fk(a,n,o));let s=n.spec.topNode||"doc";if(!r[s])throw new RangeError("Schema is missing its top node type ('"+s+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let a in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function WI(t,e,n){let r=n.split("|");return s=>{let a=s===null?"null":typeof s;if(r.indexOf(a)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${a}`)}}class UI{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?WI(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class sf{constructor(e,n,r,s){this.name=e,this.rank=n,this.schema=r,this.spec=s,this.attrs=$k(e,s.attrs),this.excluded=null;let a=Lk(this.attrs);this.instance=a?new Ct(this,a):null}create(e=null){return!e&&this.instance?this.instance:new Ct(this,_k(this.attrs,e))}static compile(e,n){let r=Object.create(null),s=0;return e.forEach((a,o)=>r[a]=new sf(a,s++,n,o)),r}removeFromSet(e){for(var n=0;n-1}}class Bk{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let s in e)n[s]=e[s];n.nodes=Pn.from(e.nodes),n.marks=Pn.from(e.marks||{}),this.nodes=a1.compile(this.spec.nodes,this),this.marks=sf.compile(this.spec.marks,this);let r=Object.create(null);for(let s in this.nodes){if(s in this.marks)throw new RangeError(s+" can not be both a node and a mark");let a=this.nodes[s],o=a.spec.content||"",c=a.spec.marks;if(a.contentMatch=r[o]||(r[o]=Ka.parse(o,this.nodes)),a.inlineContent=a.contentMatch.inlineContent,a.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!a.isInline||!a.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=a}a.markSet=c=="_"?null:c?o1(this,c.split(" ")):c==""||!a.inlineContent?[]:null}for(let s in this.marks){let a=this.marks[s],o=a.spec.excludes;a.excluded=o==null?[a]:o==""?[]:o1(this,o.split(" "))}this.nodeFromJSON=s=>Xs.fromJSON(this,s),this.markFromJSON=s=>Ct.fromJSON(this,s),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,s){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof a1){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,s)}text(e,n){let r=this.nodes.text;return new ih(r,r.defaultAttrs,e,Ct.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function o1(t,e){let n=[];for(let r=0;r-1)&&n.push(o=u)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function KI(t){return t.tag!=null}function qI(t){return t.style!=null}class qi{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(s=>{if(KI(s))this.tags.push(s);else if(qI(s)){let a=/[^=]*/.exec(s.style)[0];r.indexOf(a)<0&&r.push(a),this.styles.push(s)}}),this.normalizeLists=!this.tags.some(s=>{if(!/^(ul|ol)\b/.test(s.tag)||!s.node)return!1;let a=e.nodes[s.node];return a.contentMatch.matchType(a)})}parse(e,n={}){let r=new c1(this,n,!1);return r.addAll(e,Ct.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new c1(this,n,!0);return r.addAll(e,Ct.none,n.from,n.to),Pe.maxOpen(r.finish())}matchTag(e,n,r){for(let s=r?this.tags.indexOf(r)+1:0;se.length&&(c.charCodeAt(e.length)!=61||c.slice(e.length+1)!=n))){if(o.getAttrs){let u=o.getAttrs(n);if(u===!1)continue;o.attrs=u||void 0}return o}}}static schemaRules(e){let n=[];function r(s){let a=s.priority==null?50:s.priority,o=0;for(;o{r(o=d1(o)),o.mark||o.ignore||o.clearMark||(o.mark=s)})}for(let s in e.nodes){let a=e.nodes[s].spec.parseDOM;a&&a.forEach(o=>{r(o=d1(o)),o.node||o.ignore||o.mark||(o.node=s)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new qi(e,qi.schemaRules(e)))}}const Vk={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},GI={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Hk={ol:!0,ul:!0},Rc=1,Ig=2,mc=4;function l1(t,e,n){return e!=null?(e?Rc:0)|(e==="full"?Ig:0):t&&t.whitespace=="pre"?Rc|Ig:n&~mc}class wu{constructor(e,n,r,s,a,o){this.type=e,this.attrs=n,this.marks=r,this.solid=s,this.options=o,this.content=[],this.activeMarks=Ct.none,this.match=a||(o&mc?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(me.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,s;return(s=r.findWrapping(e.type))?(this.match=r,s):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Rc)){let r=this.content[this.content.length-1],s;if(r&&r.isText&&(s=/[ \t\r\n\u000c]+$/.exec(r.text))){let a=r;r.text.length==s[0].length?this.content.pop():this.content[this.content.length-1]=a.withText(a.text.slice(0,a.text.length-s[0].length))}}let n=me.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(me.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Vk.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class c1{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let s=n.topNode,a,o=l1(null,n.preserveWhitespace,0)|(r?mc:0);s?a=new wu(s.type,s.attrs,Ct.none,!0,n.topMatch||s.type.contentMatch,o):r?a=new wu(null,null,Ct.none,!0,null,o):a=new wu(e.schema.topNodeType,null,Ct.none,!0,null,o),this.nodes=[a],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,s=this.top,a=s.options&Ig?"full":this.localPreserveWS||(s.options&Rc)>0,{schema:o}=this.parser;if(a==="full"||s.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(a)if(a==="full")r=r.replace(/\r\n?/g,` -`);else if(o.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(o.linebreakReplacement.create())){let c=r.split(/\r?\n|\r/);for(let u=0;u!u.clearMark(h)):n=n.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)c=u;else break}}return n}addElementByRule(e,n,r,s){let a,o;if(n.node)if(o=this.parser.schema.nodes[n.node],o.isLeaf)this.insertNode(o.create(n.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let u=this.enter(o,n.attrs||null,r,n.preserveWhitespace);u&&(a=!0,r=u)}else{let u=this.parser.schema.marks[n.mark];r=r.concat(u.create(n.attrs))}let c=this.top;if(o&&o.isLeaf)this.findInside(e);else if(s)this.addElement(e,r,s);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(u=>this.insertNode(u,r,!1));else{let u=e;typeof n.contentElement=="string"?u=e.querySelector(n.contentElement):typeof n.contentElement=="function"?u=n.contentElement(e):n.contentElement&&(u=n.contentElement),this.findAround(e,u,!0),this.addAll(u,r),this.findAround(e,u,!1)}a&&this.sync(c)&&this.open--}addAll(e,n,r,s){let a=r||0;for(let o=r?e.childNodes[r]:e.firstChild,c=s==null?null:e.childNodes[s];o!=c;o=o.nextSibling,++a)this.findAtPoint(e,a),this.addDOM(o,n);this.findAtPoint(e,a)}findPlace(e,n,r){let s,a;for(let o=this.open,c=0;o>=0;o--){let u=this.nodes[o],h=u.findWrapping(e);if(h&&(!s||s.length>h.length+c)&&(s=h,a=u,!h.length))break;if(u.solid){if(r)break;c+=2}}if(!s)return null;this.sync(a);for(let o=0;o(o.type?o.type.allowsMarkType(h.type):u1(h.type,e))?(u=h.addToSet(u),!1):!0),this.nodes.push(new wu(e,n,u,s,null,c)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=Rc)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let s=r.length-1;s>=0;s--)e+=r[s].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,s=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),a=-(r?r.depth+1:0)+(s?0:1),o=(c,u)=>{for(;c>=0;c--){let h=n[c];if(h==""){if(c==n.length-1||c==0)continue;for(;u>=a;u--)if(o(c-1,u))return!0;return!1}else{let f=u>0||u==0&&s?this.nodes[u].type:r&&u>=a?r.node(u-a).type:null;if(!f||f.name!=h&&!f.isInGroup(h))return!1;u--}}return!0};return o(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function JI(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Hk.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function YI(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function d1(t){let e={};for(let n in t)e[n]=t[n];return e}function u1(t,e){let n=e.schema.nodes;for(let r in n){let s=n[r];if(!s.allowsMarkType(t))continue;let a=[],o=c=>{a.push(c);for(let u=0;u{if(a.length||o.marks.length){let c=0,u=0;for(;c=0;s--){let a=this.serializeMark(e.marks[s],e.isInline,n);a&&((a.contentDOM||a.dom).appendChild(r),r=a.dom)}return r}serializeMark(e,n,r={}){let s=this.marks[e.type.name];return s&&$u(Pm(r),s(e,n),null,e.attrs)}static renderSpec(e,n,r=null,s){return $u(e,n,r,s)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new no(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=h1(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return h1(e.marks)}}function h1(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Pm(t){return t.document||window.document}const f1=new WeakMap;function QI(t){let e=f1.get(t);return e===void 0&&f1.set(t,e=XI(t)),e}function XI(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let s=0;s-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=s.indexOf(" ");o>0&&(n=s.slice(0,o),s=s.slice(o+1));let c,u=n?t.createElementNS(n,s):t.createElement(s),h=e[1],f=1;if(h&&typeof h=="object"&&h.nodeType==null&&!Array.isArray(h)){f=2;for(let m in h)if(h[m]!=null){let g=m.indexOf(" ");g>0?u.setAttributeNS(m.slice(0,g),m.slice(g+1),h[m]):m=="style"&&u.style?u.style.cssText=h[m]:u.setAttribute(m,h[m])}}for(let m=f;mf)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:y,contentDOM:v}=$u(t,g,n,r);if(u.appendChild(y),v){if(c)throw new RangeError("Multiple content holes");c=v}}}return{dom:u,contentDOM:c}}const Wk=65535,Uk=Math.pow(2,16);function ZI(t,e){return t+e*Uk}function p1(t){return t&Wk}function eO(t){return(t-(t&Wk))/Uk}const Kk=1,qk=2,Fu=4,Gk=8;class Og{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&Gk)>0}get deletedBefore(){return(this.delInfo&(Kk|Fu))>0}get deletedAfter(){return(this.delInfo&(qk|Fu))>0}get deletedAcross(){return(this.delInfo&Fu)>0}}class jr{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&jr.empty)return jr.empty}recover(e){let n=0,r=p1(e);if(!this.inverted)for(let s=0;se)break;let h=this.ranges[c+a],f=this.ranges[c+o],m=u+h;if(e<=m){let g=h?e==u?-1:e==m?1:n:n,y=u+s+(g<0?0:f);if(r)return y;let v=e==(n<0?u:m)?null:ZI(c/3,e-u),j=e==u?qk:e==m?Kk:Fu;return(n<0?e!=u:e!=m)&&(j|=Gk),new Og(y,j,v)}s+=f-h}return r?e+s:new Og(e+s,0,null)}touches(e,n){let r=0,s=p1(n),a=this.inverted?2:1,o=this.inverted?1:2;for(let c=0;ce)break;let h=this.ranges[c+a],f=u+h;if(e<=f&&c==s*3)return!0;r+=this.ranges[c+o]-h}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let s=0,a=0;s=0;n--){let s=e.getMirror(n);this.appendMap(e._maps[n].invert(),s!=null&&s>n?r-s-1:void 0)}}invert(){let e=new Pc;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ra&&u!o.isAtom||!c.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),s),n.openStart,n.openEnd);return cn.fromReplace(e,this.from,this.to,a)}invert(){return new as(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Bi(n.pos,r.pos,this.mark)}merge(e){return e instanceof Bi&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Bi(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Bi(n.from,n.to,e.markFromJSON(n.mark))}}Gn.jsonID("addMark",Bi);class as extends Gn{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Pe(Kx(n.content,s=>s.mark(this.mark.removeFromSet(s.marks)),e),n.openStart,n.openEnd);return cn.fromReplace(e,this.from,this.to,r)}invert(){return new Bi(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new as(n.pos,r.pos,this.mark)}merge(e){return e instanceof as&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new as(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new as(n.from,n.to,e.markFromJSON(n.mark))}}Gn.jsonID("removeMark",as);class Vi extends Gn{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return cn.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return cn.fromReplace(e,this.pos,this.pos+1,new Pe(me.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let s=0;sr.pos?null:new kn(n.pos,r.pos,s,a,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new kn(n.from,n.to,n.gapFrom,n.gapTo,Pe.fromJSON(e,n.slice),n.insert,!!n.structure)}}Gn.jsonID("replaceAround",kn);function Dg(t,e,n){let r=t.resolve(e),s=n-e,a=r.depth;for(;s>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,s--;if(s>0){let o=r.node(a).maybeChild(r.indexAfter(a));for(;s>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,s--}}return!1}function tO(t,e,n,r){let s=[],a=[],o,c;t.doc.nodesBetween(e,n,(u,h,f)=>{if(!u.isInline)return;let m=u.marks;if(!r.isInSet(m)&&f.type.allowsMarkType(r.type)){let g=Math.max(h,e),y=Math.min(h+u.nodeSize,n),v=r.addToSet(m);for(let j=0;jt.step(u)),a.forEach(u=>t.step(u))}function nO(t,e,n,r){let s=[],a=0;t.doc.nodesBetween(e,n,(o,c)=>{if(!o.isInline)return;a++;let u=null;if(r instanceof sf){let h=o.marks,f;for(;f=r.isInSet(h);)(u||(u=[])).push(f),h=f.removeFromSet(h)}else r?r.isInSet(o.marks)&&(u=[r]):u=o.marks;if(u&&u.length){let h=Math.min(c+o.nodeSize,n);for(let f=0;ft.step(new as(o.from,o.to,o.style)))}function qx(t,e,n,r=n.contentMatch,s=!0){let a=t.doc.nodeAt(e),o=[],c=e+1;for(let u=0;u=0;u--)t.step(o[u])}function rO(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function fl(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth,s=0,a=0;;--r){let o=t.$from.node(r),c=t.$from.index(r)+s,u=t.$to.indexAfter(r)-a;if(rn;v--)j||r.index(v)>0?(j=!0,f=me.from(r.node(v).copy(f)),m++):u--;let g=me.empty,y=0;for(let v=a,j=!1;v>n;v--)j||s.after(v+1)=0;o--){if(r.size){let c=n[o].type.contentMatch.matchFragment(r);if(!c||!c.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=me.from(n[o].type.create(n[o].attrs,r))}let s=e.start,a=e.end;t.step(new kn(s,a,s,a,new Pe(r,0,0),n.length,!0))}function lO(t,e,n,r,s){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let a=t.steps.length;t.doc.nodesBetween(e,n,(o,c)=>{let u=typeof s=="function"?s(o):s;if(o.isTextblock&&!o.hasMarkup(r,u)&&cO(t.doc,t.mapping.slice(a).map(c),r)){let h=null;if(r.schema.linebreakReplacement){let y=r.whitespace=="pre",v=!!r.contentMatch.matchType(r.schema.linebreakReplacement);y&&!v?h=!1:!y&&v&&(h=!0)}h===!1&&Yk(t,o,c,a),qx(t,t.mapping.slice(a).map(c,1),r,void 0,h===null);let f=t.mapping.slice(a),m=f.map(c,1),g=f.map(c+o.nodeSize,1);return t.step(new kn(m,g,m+1,g-1,new Pe(me.from(r.create(u,null,o.marks)),0,0),1,!0)),h===!0&&Jk(t,o,c,a),!1}})}function Jk(t,e,n,r){e.forEach((s,a)=>{if(s.isText){let o,c=/\r?\n|\r/g;for(;o=c.exec(s.text);){let u=t.mapping.slice(r).map(n+1+a+o.index);t.replaceWith(u,u+1,e.type.schema.linebreakReplacement.create())}}})}function Yk(t,e,n,r){e.forEach((s,a)=>{if(s.type==s.type.schema.linebreakReplacement){let o=t.mapping.slice(r).map(n+1+a);t.replaceWith(o,o+1,e.type.schema.text(` -`))}})}function cO(t,e,n){let r=t.resolve(e),s=r.index();return r.parent.canReplaceWith(s,s+1,n)}function dO(t,e,n,r,s){let a=t.doc.nodeAt(e);if(!a)throw new RangeError("No node at given position");n||(n=a.type);let o=n.create(r,null,s||a.marks);if(a.isLeaf)return t.replaceWith(e,e+a.nodeSize,o);if(!n.validContent(a.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new kn(e,e+a.nodeSize,e+1,e+a.nodeSize-1,new Pe(me.from(o),0,0),1,!0))}function Zs(t,e,n=1,r){let s=t.resolve(e),a=s.depth-n,o=r&&r[r.length-1]||s.parent;if(a<0||s.parent.type.spec.isolating||!s.parent.canReplace(s.index(),s.parent.childCount)||!o.type.validContent(s.parent.content.cutByIndex(s.index(),s.parent.childCount)))return!1;for(let h=s.depth-1,f=n-2;h>a;h--,f--){let m=s.node(h),g=s.index(h);if(m.type.spec.isolating)return!1;let y=m.content.cutByIndex(g,m.childCount),v=r&&r[f+1];v&&(y=y.replaceChild(0,v.type.create(v.attrs)));let j=r&&r[f]||m;if(!m.canReplace(g+1,m.childCount)||!j.type.validContent(y))return!1}let c=s.indexAfter(a),u=r&&r[0];return s.node(a).canReplaceWith(c,c,u?u.type:s.node(a+1).type)}function uO(t,e,n=1,r){let s=t.doc.resolve(e),a=me.empty,o=me.empty;for(let c=s.depth,u=s.depth-n,h=n-1;c>u;c--,h--){a=me.from(s.node(c).copy(a));let f=r&&r[h];o=me.from(f?f.type.create(f.attrs,o):s.node(c).copy(o))}t.step(new jn(e,e,new Pe(a.append(o),n,n),!0))}function aa(t,e){let n=t.resolve(e),r=n.index();return Qk(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function hO(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let s=0;s0?(a=r.node(s+1),c++,o=r.node(s).maybeChild(c)):(a=r.node(s).maybeChild(c-1),o=r.node(s+1)),a&&!a.isTextblock&&Qk(a,o)&&r.node(s).canReplace(c,c+1))return e;if(s==0)break;e=n<0?r.before(s):r.after(s)}}function fO(t,e,n){let r=null,{linebreakReplacement:s}=t.doc.type.schema,a=t.doc.resolve(e-n),o=a.node().type;if(s&&o.inlineContent){let f=o.whitespace=="pre",m=!!o.contentMatch.matchType(s);f&&!m?r=!1:!f&&m&&(r=!0)}let c=t.steps.length;if(r===!1){let f=t.doc.resolve(e+n);Yk(t,f.node(),f.before(),c)}o.inlineContent&&qx(t,e+n-1,o,a.node().contentMatchAt(a.index()),r==null);let u=t.mapping.slice(c),h=u.map(e-n);if(t.step(new jn(h,u.map(e+n,-1),Pe.empty,!0)),r===!0){let f=t.doc.resolve(h);Jk(t,f.node(),f.before(),t.steps.length)}return t}function pO(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let s=r.depth-1;s>=0;s--){let a=r.index(s);if(r.node(s).canReplaceWith(a,a,n))return r.before(s+1);if(a>0)return null}if(r.parentOffset==r.parent.content.size)for(let s=r.depth-1;s>=0;s--){let a=r.indexAfter(s);if(r.node(s).canReplaceWith(a,a,n))return r.after(s+1);if(a=0;o--){let c=o==r.depth?0:r.pos<=(r.start(o+1)+r.end(o+1))/2?-1:1,u=r.index(o)+(c>0?1:0),h=r.node(o),f=!1;if(a==1)f=h.canReplace(u,u,s);else{let m=h.contentMatchAt(u).findWrapping(s.firstChild.type);f=m&&h.canReplaceWith(u,u,m[0])}if(f)return c==0?r.pos:c<0?r.before(o+1):r.after(o+1)}return null}function of(t,e,n=e,r=Pe.empty){if(e==n&&!r.size)return null;let s=t.resolve(e),a=t.resolve(n);return Zk(s,a,r)?new jn(e,n,r):new mO(s,a,r).fit()}function Zk(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class mO{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=me.empty;for(let s=0;s<=e.depth;s++){let a=e.node(s);this.frontier.push({type:a.type,match:a.contentMatchAt(e.indexAfter(s))})}for(let s=e.depth;s>0;s--)this.placed=me.from(e.node(s).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let h=this.findFittable();h?this.placeNodes(h):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,s=this.close(e<0?this.$to:r.doc.resolve(e));if(!s)return null;let a=this.placed,o=r.depth,c=s.depth;for(;o&&c&&a.childCount==1;)a=a.firstChild.content,o--,c--;let u=new Pe(a,o,c);return e>-1?new kn(r.pos,e,this.$to.pos,this.$to.end(),u,n):u.size||r.pos!=this.$to.pos?new jn(r.pos,s.pos,u):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,s=this.unplaced.openEnd;r1&&(s=0),a.type.spec.isolating&&s<=r){e=r;break}n=a.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let s,a=null;r?(a=Om(this.unplaced.content,r-1).firstChild,s=a.content):s=this.unplaced.content;let o=s.firstChild;for(let c=this.depth;c>=0;c--){let{type:u,match:h}=this.frontier[c],f,m=null;if(n==1&&(o?h.matchType(o.type)||(m=h.fillBefore(me.from(o),!1)):a&&u.compatibleContent(a.type)))return{sliceDepth:r,frontierDepth:c,parent:a,inject:m};if(n==2&&o&&(f=h.findWrapping(o.type)))return{sliceDepth:r,frontierDepth:c,parent:a,wrap:f};if(a&&h.matchType(a.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,s=Om(e,n);return!s.childCount||s.firstChild.isLeaf?!1:(this.unplaced=new Pe(e,n+1,Math.max(r,s.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,s=Om(e,n);if(s.childCount<=1&&n>0){let a=e.size-n<=n+s.size;this.unplaced=new Pe(ac(e,n-1,1),n-1,a?n-1:r)}else this.unplaced=new Pe(ac(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:s,wrap:a}){for(;this.depth>n;)this.closeFrontierNode();if(a)for(let j=0;j1||u==0||j.content.size)&&(m=w,f.push(eS(j.mark(g.allowedMarks(j.marks)),h==1?u:0,h==c.childCount?y:-1)))}let v=h==c.childCount;v||(y=-1),this.placed=oc(this.placed,n,me.from(f)),this.frontier[n].match=m,v&&y<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let j=0,w=c;j1&&s==this.$to.end(--r);)++s;return s}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:s}=this.frontier[n],a=n=0;c--){let{match:u,type:h}=this.frontier[c],f=Dm(e,c,h,u,!0);if(!f||f.childCount)continue e}return{depth:n,fit:o,move:a?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=oc(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let s=e.node(r),a=s.type.contentMatch.fillBefore(s.content,!0,e.index(r));this.openFrontierNode(s.type,s.attrs,a)}return e}openFrontierNode(e,n=null,r){let s=this.frontier[this.depth];s.match=s.match.matchType(e),this.placed=oc(this.placed,this.depth,me.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(me.empty,!0);n.childCount&&(this.placed=oc(this.placed,this.frontier.length,n))}}function ac(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(ac(t.firstChild.content,e-1,n)))}function oc(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(oc(t.lastChild.content,e-1,n)))}function Om(t,e){for(let n=0;n1&&(r=r.replaceChild(0,eS(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(me.empty,!0)))),t.copy(r)}function Dm(t,e,n,r,s){let a=t.node(e),o=s?t.indexAfter(e):t.index(e);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let c=r.fillBefore(a.content,!0,o);return c&&!gO(n,a.content,o)?c:null}function gO(t,e,n){for(let r=n;r0;g--,y--){let v=s.node(g).type.spec;if(v.defining||v.definingAsContext||v.isolating)break;o.indexOf(g)>-1?c=g:s.before(g)==y&&o.splice(1,0,-g)}let u=o.indexOf(c),h=[],f=r.openStart;for(let g=r.content,y=0;;y++){let v=g.firstChild;if(h.push(v),y==r.openStart)break;g=v.content}for(let g=f-1;g>=0;g--){let y=h[g],v=xO(y.type);if(v&&!y.sameMarkup(s.node(Math.abs(c)-1)))f=g;else if(v||!y.type.isTextblock)break}for(let g=r.openStart;g>=0;g--){let y=(g+f+1)%(r.openStart+1),v=h[y];if(v)for(let j=0;j=0&&(t.replace(e,n,r),!(t.steps.length>m));g--){let y=o[g];y<0||(e=s.before(y),n=a.after(y))}}function tS(t,e,n,r,s){if(er){let a=s.contentMatchAt(0),o=a.fillBefore(t).append(t);t=o.append(a.matchFragment(o).fillBefore(me.empty,!0))}return t}function vO(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let s=pO(t.doc,e,r.type);s!=null&&(e=n=s)}t.replaceRange(e,n,new Pe(me.from(r),0,0))}function bO(t,e,n){let r=t.doc.resolve(e),s=t.doc.resolve(n),a=nS(r,s);for(let o=0;o0&&(u||r.node(c-1).canReplace(r.index(c-1),s.indexAfter(c-1))))return t.delete(r.before(c),s.after(c))}for(let o=1;o<=r.depth&&o<=s.depth;o++)if(e-r.start(o)==r.depth-o&&n>r.end(o)&&s.end(o)-n!=s.depth-o&&r.start(o-1)==s.start(o-1)&&r.node(o-1).canReplace(r.index(o-1),s.index(o-1)))return t.delete(r.before(o),n);t.delete(e,n)}function nS(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let s=r;s>=0;s--){let a=t.start(s);if(ae.pos+(e.depth-s)||t.node(s).type.spec.isolating||e.node(s).type.spec.isolating)break;(a==e.start(s)||s==t.depth&&s==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&s&&e.start(s-1)==a-1)&&n.push(s)}return n}class Jo extends Gn{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return cn.fail("No node at attribute step's position");let r=Object.create(null);for(let a in n.attrs)r[a]=n.attrs[a];r[this.attr]=this.value;let s=n.type.create(r,null,n.marks);return cn.fromReplace(e,this.pos,this.pos+1,new Pe(me.from(s),0,n.isLeaf?0:1))}getMap(){return jr.empty}invert(e){return new Jo(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Jo(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Jo(n.pos,n.attr,n.value)}}Gn.jsonID("attr",Jo);class Ic extends Gn{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let s in e.attrs)n[s]=e.attrs[s];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return cn.ok(r)}getMap(){return jr.empty}invert(e){return new Ic(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Ic(n.attr,n.value)}}Gn.jsonID("docAttr",Ic);let Zo=class extends Error{};Zo=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};Zo.prototype=Object.create(Error.prototype);Zo.prototype.constructor=Zo;Zo.prototype.name="TransformError";class Jx{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Pc}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new Zo(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,n=-1e9;for(let r=0;r{e=Math.min(e,c),n=Math.max(n,u)})}return e==1e9?null:{from:e,to:n}}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=Pe.empty){let s=of(this.doc,e,n,r);return s&&this.step(s),this}replaceWith(e,n,r){return this.replace(e,n,new Pe(me.from(r),0,0))}delete(e,n){return this.replace(e,n,Pe.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return yO(this,e,n,r),this}replaceRangeWith(e,n,r){return vO(this,e,n,r),this}deleteRange(e,n){return bO(this,e,n),this}lift(e,n){return sO(this,e,n),this}join(e,n=1){return fO(this,e,n),this}wrap(e,n){return oO(this,e,n),this}setBlockType(e,n=e,r,s=null){return lO(this,e,n,r,s),this}setNodeMarkup(e,n,r=null,s){return dO(this,e,n,r,s),this}setNodeAttribute(e,n,r){return this.step(new Jo(e,n,r)),this}setDocAttribute(e,n){return this.step(new Ic(e,n)),this}addNodeMark(e,n){return this.step(new Vi(e,n)),this}removeNodeMark(e,n){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n instanceof Ct)n.isInSet(r.marks)&&this.step(new qa(e,n));else{let s=r.marks,a,o=[];for(;a=n.isInSet(s);)o.push(new qa(e,a)),s=a.removeFromSet(s);for(let c=o.length-1;c>=0;c--)this.step(o[c])}return this}split(e,n=1,r){return uO(this,e,n,r),this}addMark(e,n,r){return tO(this,e,n,r),this}removeMark(e,n,r){return nO(this,e,n,r),this}clearIncompatible(e,n,r){return qx(this,e,n,r),this}}const Lm=Object.create(null);class Je{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new rS(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;a--){let o=n<0?zo(e.node(0),e.node(a),e.before(a+1),e.index(a),n,r):zo(e.node(0),e.node(a),e.after(a+1),e.index(a)+1,n,r);if(o)return o}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Sr(e.node(0))}static atStart(e){return zo(e,e,0,0,1)||new Sr(e)}static atEnd(e){return zo(e,e,e.content.size,e.childCount,-1)||new Sr(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Lm[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Lm)throw new RangeError("Duplicate use of selection JSON ID "+e);return Lm[e]=n,n.prototype.jsonID=e,n}getBookmark(){return We.between(this.$anchor,this.$head).getBookmark()}}Je.prototype.visible=!0;class rS{constructor(e,n){this.$from=e,this.$to=n}}let g1=!1;function x1(t){!g1&&!t.parent.inlineContent&&(g1=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class We extends Je{constructor(e,n=e){x1(e),x1(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return Je.near(r);let s=e.resolve(n.map(this.anchor));return new We(s.parent.inlineContent?s:r,r)}replace(e,n=Pe.empty){if(super.replace(e,n),n==Pe.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof We&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new lf(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new We(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let s=e.resolve(n);return new this(s,r==n?s:e.resolve(r))}static between(e,n,r){let s=e.pos-n.pos;if((!r||s)&&(r=s>=0?1:-1),!n.parent.inlineContent){let a=Je.findFrom(n,r,!0)||Je.findFrom(n,-r,!0);if(a)n=a.$head;else return Je.near(n,r)}return e.parent.inlineContent||(s==0?e=n:(e=(Je.findFrom(e,-r,!0)||Je.findFrom(e,r,!0)).$anchor,e.pos0?0:1);s>0?o=0;o+=s){let c=e.child(o);if(c.isAtom){if(!a&&He.isSelectable(c))return He.create(t,n-(s<0?c.nodeSize:0))}else{let u=zo(t,c,n+s,s<0?c.childCount:0,s,a);if(u)return u}n+=c.nodeSize*s}return null}function y1(t,e,n){let r=t.steps.length-1;if(r{o==null&&(o=f)}),t.setSelection(Je.near(t.doc.resolve(o),n))}const v1=1,Nu=2,b1=4;class NO extends Jx{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Nu,this}ensureMarks(e){return Ct.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Nu)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~Nu,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Ct.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let s=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(s.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),!e)return this.deleteRange(n,r);let a=this.storedMarks;if(!a){let o=this.doc.resolve(n);a=r==n?o.marks():o.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,s.text(e,a)),!this.selection.empty&&this.selection.to==n+e.length&&this.setSelection(Je.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=b1,this}get scrolledIntoView(){return(this.updated&b1)>0}}function w1(t,e){return!e||!t?t:t.bind(e)}class lc{constructor(e,n,r){this.name=e,this.init=w1(n.init,r),this.apply=w1(n.apply,r)}}const jO=[new lc("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new lc("selection",{init(t,e){return t.selection||Je.atStart(e.doc)},apply(t){return t.selection}}),new lc("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new lc("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class _m{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=jO.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new lc(r.key,r.spec.state,r))})}}class Ko{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let s=e[r],a=s.spec.state;a&&a.toJSON&&(n[r]=a.toJSON.call(s,this[s.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let s=new _m(e.schema,e.plugins),a=new Ko(s);return s.fields.forEach(o=>{if(o.name=="doc")a.doc=Xs.fromJSON(e.schema,n.doc);else if(o.name=="selection")a.selection=Je.fromJSON(a.doc,n.selection);else if(o.name=="storedMarks")n.storedMarks&&(a.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let c in r){let u=r[c],h=u.spec.state;if(u.key==o.name&&h&&h.fromJSON&&Object.prototype.hasOwnProperty.call(n,c)){a[o.name]=h.fromJSON.call(u,e,n[c],a);return}}a[o.name]=o.init(e,a)}}),a}}function sS(t,e,n){for(let r in t){let s=t[r];s instanceof Function?s=s.bind(e):r=="handleDOMEvents"&&(s=sS(s,e,{})),n[r]=s}return n}class Pt{constructor(e){this.spec=e,this.props={},e.props&&sS(e.props,this,this.props),this.key=e.key?e.key.key:iS("plugin")}getState(e){return e[this.key]}}const zm=Object.create(null);function iS(t){return t in zm?t+"$"+ ++zm[t]:(zm[t]=0,t+"$")}class Bt{constructor(e="key"){this.key=iS(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Qx=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function aS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const oS=(t,e,n)=>{let r=aS(t,n);if(!r)return!1;let s=Xx(r);if(!s){let o=r.blockRange(),c=o&&fl(o);return c==null?!1:(e&&e(t.tr.lift(o,c).scrollIntoView()),!0)}let a=s.nodeBefore;if(gS(t,s,e,-1))return!0;if(r.parent.content.size==0&&(el(a,"end")||He.isSelectable(a)))for(let o=r.depth;;o--){let c=of(t.doc,r.before(o),r.after(o),Pe.empty);if(c&&c.slice.size1)break}return a.isAtom&&s.depth==r.depth-1?(e&&e(t.tr.delete(s.pos-a.nodeSize,s.pos).scrollIntoView()),!0):!1},kO=(t,e,n)=>{let r=aS(t,n);if(!r)return!1;let s=Xx(r);return s?lS(t,s,e):!1},SO=(t,e,n)=>{let r=dS(t,n);if(!r)return!1;let s=Zx(r);return s?lS(t,s,e):!1};function lS(t,e,n){let r=e.nodeBefore,s=r,a=e.pos-1;for(;!s.isTextblock;a--){if(s.type.spec.isolating)return!1;let f=s.lastChild;if(!f)return!1;s=f}let o=e.nodeAfter,c=o,u=e.pos+1;for(;!c.isTextblock;u++){if(c.type.spec.isolating)return!1;let f=c.firstChild;if(!f)return!1;c=f}let h=of(t.doc,a,u,Pe.empty);if(!h||h.from!=a||h instanceof jn&&h.slice.size>=u-a)return!1;if(n){let f=t.tr.step(h);f.setSelection(We.create(f.doc,a)),n(f.scrollIntoView())}return!0}function el(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const cS=(t,e,n)=>{let{$head:r,empty:s}=t.selection,a=r;if(!s)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;a=Xx(r)}let o=a&&a.nodeBefore;return!o||!He.isSelectable(o)?!1:(e&&e(t.tr.setSelection(He.create(t.doc,a.pos-o.nodeSize)).scrollIntoView()),!0)};function Xx(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function dS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=dS(t,n);if(!r)return!1;let s=Zx(r);if(!s)return!1;let a=s.nodeAfter;if(gS(t,s,e,1))return!0;if(r.parent.content.size==0&&(el(a,"start")||He.isSelectable(a))){let o=of(t.doc,r.before(),r.after(),Pe.empty);if(o&&o.slice.size{let{$head:r,empty:s}=t.selection,a=r;if(!s)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof He,s;if(r){if(n.node.isTextblock||!aa(t.doc,n.from))return!1;s=n.from}else if(s=af(t.doc,n.from,-1),s==null)return!1;if(e){let a=t.tr.join(s);r&&a.setSelection(He.create(a.doc,s-t.doc.resolve(s).nodeBefore.nodeSize)),e(a.scrollIntoView())}return!0},EO=(t,e)=>{let n=t.selection,r;if(n instanceof He){if(n.node.isTextblock||!aa(t.doc,n.to))return!1;r=n.to}else if(r=af(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},TO=(t,e)=>{let{$from:n,$to:r}=t.selection,s=n.blockRange(r),a=s&&fl(s);return a==null?!1:(e&&e(t.tr.lift(s,a).scrollIntoView()),!0)},fS=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` -`).scrollIntoView()),!0)};function e0(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let s=n.node(-1),a=n.indexAfter(-1),o=e0(s.contentMatchAt(a));if(!o||!s.canReplaceWith(a,a,o))return!1;if(e){let c=n.after(),u=t.tr.replaceWith(c,c,o.createAndFill());u.setSelection(Je.near(u.doc.resolve(c),1)),e(u.scrollIntoView())}return!0},pS=(t,e)=>{let n=t.selection,{$from:r,$to:s}=n;if(n instanceof Sr||r.parent.inlineContent||s.parent.inlineContent)return!1;let a=e0(s.parent.contentMatchAt(s.indexAfter()));if(!a||!a.isTextblock)return!1;if(e){let o=(!r.parentOffset&&s.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let a=n.before();if(Zs(t.doc,a))return e&&e(t.tr.split(a).scrollIntoView()),!0}let r=n.blockRange(),s=r&&fl(r);return s==null?!1:(e&&e(t.tr.lift(r,s).scrollIntoView()),!0)};function AO(t){return(e,n)=>{let{$from:r,$to:s}=e.selection;if(e.selection instanceof He&&e.selection.node.isBlock)return!r.parentOffset||!Zs(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let a=[],o,c,u=!1,h=!1;for(let y=r.depth;;y--)if(r.node(y).isBlock){u=r.end(y)==r.pos+(r.depth-y),h=r.start(y)==r.pos-(r.depth-y),c=e0(r.node(y-1).contentMatchAt(r.indexAfter(y-1))),a.unshift(u&&c?{type:c}:null),o=y;break}else{if(y==1)return!1;a.unshift(null)}let f=e.tr;(e.selection instanceof We||e.selection instanceof Sr)&&f.deleteSelection();let m=f.mapping.map(r.pos),g=Zs(f.doc,m,a.length,a);if(g||(a[0]=c?{type:c}:null,g=Zs(f.doc,m,a.length,a)),!g)return!1;if(f.split(m,a.length,a),!u&&h&&r.node(o).type!=c){let y=f.mapping.map(r.before(o)),v=f.doc.resolve(y);c&&r.node(o-1).canReplaceWith(v.index(),v.index()+1,c)&&f.setNodeMarkup(f.mapping.map(r.before(o)),c)}return n&&n(f.scrollIntoView()),!0}}const RO=AO(),PO=(t,e)=>{let{$from:n,to:r}=t.selection,s,a=n.sharedDepth(r);return a==0?!1:(s=n.before(a),e&&e(t.tr.setSelection(He.create(t.doc,s))),!0)};function IO(t,e,n){let r=e.nodeBefore,s=e.nodeAfter,a=e.index();return!r||!s||!r.type.compatibleContent(s.type)?!1:!r.content.size&&e.parent.canReplace(a-1,a)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(a,a+1)||!(s.isTextblock||aa(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function gS(t,e,n,r){let s=e.nodeBefore,a=e.nodeAfter,o,c,u=s.type.spec.isolating||a.type.spec.isolating;if(!u&&IO(t,e,n))return!0;let h=!u&&e.parent.canReplace(e.index(),e.index()+1);if(h&&(o=(c=s.contentMatchAt(s.childCount)).findWrapping(a.type))&&c.matchType(o[0]||a.type).validEnd){if(n){let y=e.pos+a.nodeSize,v=me.empty;for(let k=o.length-1;k>=0;k--)v=me.from(o[k].create(null,v));v=me.from(s.copy(v));let j=t.tr.step(new kn(e.pos-1,y,e.pos,y,new Pe(v,1,0),o.length,!0)),w=j.doc.resolve(y+2*o.length);w.nodeAfter&&w.nodeAfter.type==s.type&&aa(j.doc,w.pos)&&j.join(w.pos),n(j.scrollIntoView())}return!0}let f=a.type.spec.isolating||r>0&&u?null:Je.findFrom(e,1),m=f&&f.$from.blockRange(f.$to),g=m&&fl(m);if(g!=null&&g>=e.depth)return n&&n(t.tr.lift(m,g).scrollIntoView()),!0;if(h&&el(a,"start",!0)&&el(s,"end")){let y=s,v=[];for(;v.push(y),!y.isTextblock;)y=y.lastChild;let j=a,w=1;for(;!j.isTextblock;j=j.firstChild)w++;if(y.canReplace(y.childCount,y.childCount,j.content)){if(n){let k=me.empty;for(let C=v.length-1;C>=0;C--)k=me.from(v[C].copy(k));let E=t.tr.step(new kn(e.pos-v.length,e.pos+a.nodeSize,e.pos+w,e.pos+a.nodeSize-w,new Pe(k,v.length,0),0,!0));n(E.scrollIntoView())}return!0}}return!1}function xS(t){return function(e,n){let r=e.selection,s=t<0?r.$from:r.$to,a=s.depth;for(;s.node(a).isInline;){if(!a)return!1;a--}return s.node(a).isTextblock?(n&&n(e.tr.setSelection(We.create(e.doc,t<0?s.start(a):s.end(a)))),!0):!1}}const OO=xS(-1),DO=xS(1);function LO(t,e=null){return function(n,r){let{$from:s,$to:a}=n.selection,o=s.blockRange(a),c=o&&Gx(o,t,e);return c?(r&&r(n.tr.wrap(o,c).scrollIntoView()),!0):!1}}function N1(t,e=null){return function(n,r){let s=!1;for(let a=0;a{if(s)return!1;if(!(!u.isTextblock||u.hasMarkup(t,e)))if(u.type==t)s=!0;else{let f=n.doc.resolve(h),m=f.index();s=f.parent.canReplaceWith(m,m+1,t)}})}if(!s)return!1;if(r){let a=n.tr;for(let o=0;o=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let u=o.resolve(e.start-2);a=new sh(u,u,e.depth),e.endIndex=0;f--)a=me.from(n[f].type.create(n[f].attrs,a));t.step(new kn(e.start-(r?2:0),e.end,e.start,e.end,new Pe(a,0,0),n.length,!0));let o=0;for(let f=0;fo.childCount>0&&o.firstChild.type==t);return a?n?r.node(a.depth-1).type==t?BO(e,n,t,a):VO(e,n,a):!0:!1}}function BO(t,e,n,r){let s=t.tr,a=r.end,o=r.$to.end(r.depth);aj;v--)y-=s.child(v).nodeSize,r.delete(y-1,y+1);let a=r.doc.resolve(n.start),o=a.nodeAfter;if(r.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let c=n.startIndex==0,u=n.endIndex==s.childCount,h=a.node(-1),f=a.index(-1);if(!h.canReplace(f+(c?0:1),f+1,o.content.append(u?me.empty:me.from(s))))return!1;let m=a.pos,g=m+o.nodeSize;return r.step(new kn(m-(c?1:0),g+(u?1:0),m+1,g-1,new Pe((c?me.empty:me.from(s.copy(me.empty))).append(u?me.empty:me.from(s.copy(me.empty))),c?0:1,u?0:1),c?0:1)),e(r.scrollIntoView()),!0}function HO(t){return function(e,n){let{$from:r,$to:s}=e.selection,a=r.blockRange(s,h=>h.childCount>0&&h.firstChild.type==t);if(!a)return!1;let o=a.startIndex;if(o==0)return!1;let c=a.parent,u=c.child(o-1);if(u.type!=t)return!1;if(n){let h=u.lastChild&&u.lastChild.type==c.type,f=me.from(h?t.create():null),m=new Pe(me.from(t.create(null,me.from(c.type.create(null,f)))),h?3:1,0),g=a.start,y=a.end;n(e.tr.step(new kn(g-(h?3:1),y,g,y,m,1,!0)).scrollIntoView())}return!0}}const In=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},tl=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let Lg=null;const Js=function(t,e,n){let r=Lg||(Lg=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},WO=function(){Lg=null},Ga=function(t,e,n,r){return n&&(j1(t,e,n,r,-1)||j1(t,e,n,r,1))},UO=/^(img|br|input|textarea|hr)$/i;function j1(t,e,n,r,s){for(var a;;){if(t==n&&e==r)return!0;if(e==(s<0?0:Vr(t))){let o=t.parentNode;if(!o||o.nodeType!=1||Yc(t)||UO.test(t.nodeName)||t.contentEditable=="false")return!1;e=In(t)+(s<0?0:1),t=o}else if(t.nodeType==1){let o=t.childNodes[e+(s<0?-1:0)];if(o.nodeType==1&&o.contentEditable=="false")if(!((a=o.pmViewDesc)===null||a===void 0)&&a.ignoreForSelection)e+=s;else return!1;else t=o,e=s<0?Vr(t):0}else return!1}}function Vr(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function KO(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=Vr(t)}else if(t.parentNode&&!Yc(t))e=In(t),t=t.parentNode;else return null}}function qO(t,e){for(;;){if(t.nodeType==3&&e2),Br=nl||(Es?/Mac/.test(Es.platform):!1),bS=Es?/Win/.test(Es.platform):!1,Qs=/Android \d/.test(oa),Qc=!!k1&&"webkitFontSmoothing"in k1.documentElement.style,QO=Qc?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function XO(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function Ws(t,e){return typeof t=="number"?t:t[e]}function ZO(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function S1(t,e,n){let r=t.someProp("scrollThreshold")||0,s=t.someProp("scrollMargin")||5,a=t.dom.ownerDocument;for(let o=n||t.dom;o;){if(o.nodeType!=1){o=tl(o);continue}let c=o,u=c==a.body,h=u?XO(a):ZO(c),f=0,m=0;if(e.toph.bottom-Ws(r,"bottom")&&(m=e.bottom-e.top>h.bottom-h.top?e.top+Ws(s,"top")-h.top:e.bottom-h.bottom+Ws(s,"bottom")),e.lefth.right-Ws(r,"right")&&(f=e.right-h.right+Ws(s,"right")),f||m)if(u)a.defaultView.scrollBy(f,m);else{let y=c.scrollLeft,v=c.scrollTop;m&&(c.scrollTop+=m),f&&(c.scrollLeft+=f);let j=c.scrollLeft-y,w=c.scrollTop-v;e={left:e.left-j,top:e.top-w,right:e.right-j,bottom:e.bottom-w}}let g=u?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(g))break;o=g=="absolute"?o.offsetParent:tl(o)}}function eD(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,s;for(let a=(e.left+e.right)/2,o=n+1;o=n-20){r=c,s=u.top;break}}return{refDOM:r,refTop:s,stack:wS(t.dom)}}function wS(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=tl(r));return e}function tD({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;NS(n,r==0?0:r-e)}function NS(t,e){for(let n=0;n=c){o=Math.max(v.bottom,o),c=Math.min(v.top,c);let j=v.left>e.left?v.left-e.left:v.right=(v.left+v.right)/2?1:0));continue}}else v.top>e.top&&!u&&v.left<=e.left&&v.right>=e.left&&(u=f,h={left:Math.max(v.left,Math.min(v.right,e.left)),top:v.top});!n&&(e.left>=v.right&&e.top>=v.top||e.left>=v.left&&e.top>=v.bottom)&&(a=m+1)}}return!n&&u&&(n=u,s=h,r=0),n&&n.nodeType==3?rD(n,s):!n||r&&n.nodeType==1?{node:t,offset:a}:jS(n,s)}function rD(t,e){let n=t.nodeValue.length,r=document.createRange(),s;for(let a=0;a=(o.left+o.right)/2?1:0)};break}}return r.detach(),s||{node:t,offset:0}}function n0(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function sD(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(o.left+o.right)/2?1:-1}return t.docView.posFromDOM(r,s,a)}function aD(t,e,n,r){let s=-1;for(let a=e,o=!1;a!=t.dom;){let c=t.docView.nearestDesc(a,!0),u;if(!c)return null;if(c.dom.nodeType==1&&(c.node.isBlock&&c.parent||!c.contentDOM)&&((u=c.dom.getBoundingClientRect()).width||u.height)&&(c.node.isBlock&&c.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(c.dom.nodeName)&&(!o&&u.left>r.left||u.top>r.top?s=c.posBefore:(!o&&u.right-1?s:t.docView.posFromDOM(e,n,-1)}function kS(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&s++}let h;Qc&&s&&r.nodeType==1&&(h=r.childNodes[s-1]).nodeType==1&&h.contentEditable=="false"&&h.getBoundingClientRect().top>=e.top&&s--,r==t.dom&&s==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?c=t.state.doc.content.size:(s==0||r.nodeType!=1||r.childNodes[s-1].nodeName!="BR")&&(c=aD(t,r,s,e))}c==null&&(c=iD(t,o,e));let u=t.docView.nearestDesc(o,!0);return{pos:c,inside:u?u.posAtStart-u.border:-1}}function C1(t){return t.top=0&&s==r.nodeValue.length?(u--,f=1):n<0?u--:h++,ec(Pi(Js(r,u,h),f),f<0)}if(!t.state.doc.resolve(e-(a||0)).parent.inlineContent){if(a==null&&s&&(n<0||s==Vr(r))){let u=r.childNodes[s-1];if(u.nodeType==1)return $m(u.getBoundingClientRect(),!1)}if(a==null&&s=0)}if(a==null&&s&&(n<0||s==Vr(r))){let u=r.childNodes[s-1],h=u.nodeType==3?Js(u,Vr(u)-(o?0:1)):u.nodeType==1&&(u.nodeName!="BR"||!u.nextSibling)?u:null;if(h)return ec(Pi(h,1),!1)}if(a==null&&s=0)}function ec(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function $m(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function CS(t,e,n){let r=t.state,s=t.root.activeElement;r!=e&&t.updateState(e),s!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),s!=t.dom&&s&&s.focus()}}function cD(t,e,n){let r=e.selection,s=n=="up"?r.$from:r.$to;return CS(t,e,()=>{let{node:a}=t.docView.domFromPos(s.pos,n=="up"?-1:1);for(;;){let c=t.docView.nearestDesc(a,!0);if(!c)break;if(c.node.isBlock){a=c.contentDOM||c.dom;break}a=c.dom.parentNode}let o=SS(t,s.pos,1);for(let c=a.firstChild;c;c=c.nextSibling){let u;if(c.nodeType==1)u=c.getClientRects();else if(c.nodeType==3)u=Js(c,0,c.nodeValue.length).getClientRects();else continue;for(let h=0;hf.top+1&&(n=="up"?o.top-f.top>(f.bottom-o.top)*2:f.bottom-o.bottom>(o.bottom-f.top)*2))return!1}}return!0})}const dD=/[\u0590-\u08ac]/;function uD(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let s=r.parentOffset,a=!s,o=s==r.parent.content.size,c=t.domSelection();return c?!dD.test(r.parent.textContent)||!c.modify?n=="left"||n=="backward"?a:o:CS(t,e,()=>{let{focusNode:u,focusOffset:h,anchorNode:f,anchorOffset:m}=t.domSelectionRange(),g=c.caretBidiLevel;c.modify("move",n,"character");let y=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:v,focusOffset:j}=t.domSelectionRange(),w=v&&!y.contains(v.nodeType==1?v:v.parentNode)||u==v&&h==j;try{c.collapse(f,m),u&&(u!=f||h!=m)&&c.extend&&c.extend(u,h)}catch{}return g!=null&&(c.caretBidiLevel=g),w}):r.pos==r.start()||r.pos==r.end()}let E1=null,T1=null,M1=!1;function hD(t,e,n){return E1==e&&T1==n?M1:(E1=e,T1=n,M1=n=="up"||n=="down"?cD(t,e,n):uD(t,e,n))}const Ur=0,A1=1,Ia=2,Ts=3;class Xc{constructor(e,n,r,s){this.parent=e,this.children=n,this.dom=r,this.contentDOM=s,this.dirty=Ur,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nIn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))s=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let a=e;;a=a.parentNode){if(a==this.dom){s=!1;break}if(a.previousSibling)break}if(s==null&&n==e.childNodes.length)for(let a=e;;a=a.parentNode){if(a==this.dom){s=!0;break}if(a.nextSibling)break}}return s??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,s=e;s;s=s.parentNode){let a=this.getDesc(s),o;if(a&&(!n||a.node))if(r&&(o=a.nodeDOM)&&!(o.nodeType==1?o.contains(e.nodeType==1?e:e.parentNode):o==e))r=!1;else return a}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let s=e;s;s=s.parentNode){let a=this.getDesc(s);if(a)return a.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||o instanceof TS){s=e-a;break}a=c}if(s)return this.children[r].domFromPos(s-this.children[r].border,n);for(let a;r&&!(a=this.children[r-1]).size&&a instanceof ES&&a.side>=0;r--);if(n<=0){let a,o=!0;for(;a=r?this.children[r-1]:null,!(!a||a.dom.parentNode==this.contentDOM);r--,o=!1);return a&&n&&o&&!a.border&&!a.domAtom?a.domFromPos(a.size,n):{node:this.contentDOM,offset:a?In(a.dom)+1:0}}else{let a,o=!0;for(;a=r=f&&n<=h-u.border&&u.node&&u.contentDOM&&this.contentDOM.contains(u.contentDOM))return u.parseRange(e,n,f);e=o;for(let m=c;m>0;m--){let g=this.children[m-1];if(g.size&&g.dom.parentNode==this.contentDOM&&!g.emptyChildAt(1)){s=In(g.dom)+1;break}e-=g.size}s==-1&&(s=0)}if(s>-1&&(h>n||c==this.children.length-1)){n=h;for(let f=c+1;fv&&on){let v=c;c=u,u=v}let y=document.createRange();y.setEnd(u.node,u.offset),y.setStart(c.node,c.offset),h.removeAllRanges(),h.addRange(y)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,s=0;s=r:er){let c=r+a.border,u=o-a.border;if(e>=c&&n<=u){this.dirty=e==r||n==o?Ia:A1,e==c&&n==u&&(a.contentLost||a.dom.parentNode!=this.contentDOM)?a.dirty=Ts:a.markDirty(e-c,n-c);return}else a.dirty=a.dom==a.contentDOM&&a.dom.parentNode==this.contentDOM&&!a.children.length?Ia:Ts}r=o}this.dirty=Ia}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?Ia:A1;n.dirty{if(!a)return s;if(a.parent)return a.parent.posBeforeChild(a)})),!n.type.spec.raw){if(o.nodeType!=1){let c=document.createElement("span");c.appendChild(o),o=c}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=n,this.widget=n,a=this}matchesWidget(e){return this.dirty==Ur&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class fD extends Xc{constructor(e,n,r,s){super(e,[],n,null),this.textDOM=r,this.text=s}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Ja extends Xc{constructor(e,n,r,s,a){super(e,[],r,s),this.mark=n,this.spec=a}static create(e,n,r,s){let a=s.nodeViews[n.type.name],o=a&&a(n,s,r);return(!o||!o.dom)&&(o=no.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new Ja(e,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&Ts||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Ts&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Ur){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(a=Bg(a,0,e,r));for(let c=0;c{if(!u)return o;if(u.parent)return u.parent.posBeforeChild(u)},r,s),f=h&&h.dom,m=h&&h.contentDOM;if(n.isText){if(!f)f=document.createTextNode(n.text);else if(f.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else f||({dom:f,contentDOM:m}=no.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!m&&!n.isText&&f.nodeName!="BR"&&(f.hasAttribute("contenteditable")||(f.contentEditable="false"),n.type.spec.draggable&&(f.draggable=!0));let g=f;return f=RS(f,r,n),h?u=new pD(e,n,r,s,f,m||null,g,h,a,o+1):n.isText?new df(e,n,r,s,f,g,a):new Ji(e,n,r,s,f,m||null,g,a,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>me.empty)}return e}matchesNode(e,n,r){return this.dirty==Ur&&e.eq(this.node)&&ah(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,s=n,a=e.composing?this.localCompositionInfo(e,n):null,o=a&&a.pos>-1?a:null,c=a&&a.pos<0,u=new gD(this,o&&o.node,e);vD(this.node,this.innerDeco,(h,f,m)=>{h.spec.marks?u.syncToMarks(h.spec.marks,r,e,f):h.type.side>=0&&!m&&u.syncToMarks(f==this.node.childCount?Ct.none:this.node.child(f).marks,r,e,f),u.placeWidget(h,e,s)},(h,f,m,g)=>{u.syncToMarks(h.marks,r,e,g);let y;u.findNodeMatch(h,f,m,g)||c&&e.state.selection.from>s&&e.state.selection.to-1&&u.updateNodeAt(h,f,m,y,e)||u.updateNextNode(h,f,m,e,g,s)||u.addNode(h,f,m,e,s),s+=h.nodeSize}),u.syncToMarks([],r,e,0),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==Ia)&&(o&&this.protectLocalComposition(e,o),MS(this.contentDOM,this.children,e),nl&&bD(this.dom))}localCompositionInfo(e,n){let{from:r,to:s}=e.state.selection;if(!(e.state.selection instanceof We)||rn+this.node.content.size)return null;let a=e.input.compositionNode;if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let o=a.nodeValue,c=wD(this.node.content,o,r-n,s-n);return c<0?null:{node:a,pos:c,text:o}}else return{node:a,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:s}){if(this.getDesc(n))return;let a=n;for(;a.parentNode!=this.contentDOM;a=a.parentNode){for(;a.previousSibling;)a.parentNode.removeChild(a.previousSibling);for(;a.nextSibling;)a.parentNode.removeChild(a.nextSibling);a.pmViewDesc&&(a.pmViewDesc=void 0)}let o=new fD(this,a,n,s);e.input.compositionNodes.push(o),this.children=Bg(this.children,r,r+s.length,e,o)}update(e,n,r,s){return this.dirty==Ts||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,s),!0)}updateInner(e,n,r,s){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(s,this.posAtStart),this.dirty=Ur}updateOuterDeco(e){if(ah(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=AS(this.dom,this.nodeDOM,Fg(this.outerDeco,this.node,n),Fg(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function R1(t,e,n,r,s){RS(r,e,t);let a=new Ji(void 0,t,e,n,r,r,r,s,0);return a.contentDOM&&a.updateChildren(s,0),a}class df extends Ji{constructor(e,n,r,s,a,o,c){super(e,n,r,s,a,null,o,c,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,s){return this.dirty==Ts||this.dirty!=Ur&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Ur||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,s.trackWrites==this.nodeDOM&&(s.trackWrites=null)),this.node=e,this.dirty=Ur,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let s=this.node.cut(e,n),a=document.createTextNode(s.text);return new df(this.parent,s,this.outerDeco,this.innerDeco,a,a,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Ts)}get domAtom(){return!1}isText(e){return this.node.text==e}}class TS extends Xc{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Ur&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class pD extends Ji{constructor(e,n,r,s,a,o,c,u,h,f){super(e,n,r,s,a,o,c,h,f),this.spec=u}update(e,n,r,s){if(this.dirty==Ts)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let a=this.spec.update(e,n,r);return a&&this.updateInner(e,n,r,s),a}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,s)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,s){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,s)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function MS(t,e,n){let r=t.firstChild,s=!1;for(let a=0;a>1,c=Math.min(o,e.length);for(;a-1)u>this.index&&(this.changed=!0,this.destroyBetween(this.index,u)),this.top=this.top.children[this.index];else{let f=Ja.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,f),this.top=f,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,s){let a=-1,o;if(s>=this.preMatch.index&&(o=this.preMatch.matches[s-this.preMatch.index]).parent==this.top&&o.matchesNode(e,n,r))a=this.top.children.indexOf(o,this.index);else for(let c=this.index,u=Math.min(this.top.children.length,c+5);c0;){let c;for(;;)if(r){let h=n.children[r-1];if(h instanceof Ja)n=h,r=h.children.length;else{c=h,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let u=c.node;if(u){if(u!=t.child(s-1))break;--s,a.set(c,s),o.push(c)}}return{index:s,matched:a,matches:o.reverse()}}function yD(t,e){return t.type.side-e.type.side}function vD(t,e,n,r){let s=e.locals(t),a=0;if(s.length==0){for(let h=0;ha;)c.push(s[o++]);let v=a+g.nodeSize;if(g.isText){let w=v;o!w.inline):c.slice();r(g,j,e.forChild(a,g),y),a=v}}function bD(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function wD(t,e,n,r){for(let s=0,a=0;s=n){if(a>=r&&u.slice(r-e.length-c,r-c)==e)return r-e.length;let h=c=0&&h+e.length+c>=n)return c+h;if(n==r&&u.length>=r+e.length-c&&u.slice(r-c,r-c+e.length)==e)return r}}return-1}function Bg(t,e,n,r,s){let a=[];for(let o=0,c=0;o=n||f<=e?a.push(u):(hn&&a.push(u.slice(n-h,u.size,r)))}return a}function r0(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let s=t.docView.nearestDesc(n.focusNode),a=s&&s.size==0,o=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let c=r.resolve(o),u,h;if(cf(n)){for(u=o;s&&!s.node;)s=s.parent;let m=s.node;if(s&&m.isAtom&&He.isSelectable(m)&&s.parent&&!(m.isInline&&GO(n.focusNode,n.focusOffset,s.dom))){let g=s.posBefore;h=new He(o==g?c:r.resolve(g))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let m=o,g=o;for(let y=0;y{(n.anchorNode!=r||n.anchorOffset!=s)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!PS(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function jD(t){let e=t.domSelection();if(!e)return;let n=t.cursorWrapper.dom,r=n.nodeName=="IMG";r?e.collapse(n.parentNode,In(n)+1):e.collapse(n,0),!r&&!t.state.selection.visible&&hr&&Gi<=11&&(n.disabled=!0,n.disabled=!1)}function IS(t,e){if(e instanceof He){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(L1(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else L1(t)}function L1(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function s0(t,e,n,r){return t.someProp("createSelectionBetween",s=>s(t,e,n))||We.between(e,n,r)}function _1(t){return t.editable&&!t.hasFocus()?!1:OS(t)}function OS(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function kD(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return Ga(e.node,e.offset,n.anchorNode,n.anchorOffset)}function Vg(t,e){let{$anchor:n,$head:r}=t.selection,s=e>0?n.max(r):n.min(r),a=s.parent.inlineContent?s.depth?t.doc.resolve(e>0?s.after():s.before()):null:s;return a&&Je.findFrom(a,e)}function Ii(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function z1(t,e,n){let r=t.state.selection;if(r instanceof We)if(n.indexOf("s")>-1){let{$head:s}=r,a=s.textOffset?null:e<0?s.nodeBefore:s.nodeAfter;if(!a||a.isText||!a.isLeaf)return!1;let o=t.state.doc.resolve(s.pos+a.nodeSize*(e<0?-1:1));return Ii(t,new We(r.$anchor,o))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let s=Vg(t.state,e);return s&&s instanceof He?Ii(t,s):!1}else if(!(Br&&n.indexOf("m")>-1)){let s=r.$head,a=s.textOffset?null:e<0?s.nodeBefore:s.nodeAfter,o;if(!a||a.isText)return!1;let c=e<0?s.pos-a.nodeSize:s.pos;return a.isAtom||(o=t.docView.descAt(c))&&!o.contentDOM?He.isSelectable(a)?Ii(t,new He(e<0?t.state.doc.resolve(s.pos-a.nodeSize):s)):Qc?Ii(t,new We(t.state.doc.resolve(e<0?c:c+a.nodeSize))):!1:!1}}else return!1;else{if(r instanceof He&&r.node.isInline)return Ii(t,new We(e>0?r.$to:r.$from));{let s=Vg(t.state,e);return s?Ii(t,s):!1}}}function oh(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function xc(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function _o(t,e){return e<0?SD(t):CD(t)}function SD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let s,a,o=!1;for(Wr&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let c=n.childNodes[r-1];if(xc(c,-1))s=n,a=--r;else if(c.nodeType==3)n=c,r=n.nodeValue.length;else break}}else{if(DS(n))break;{let c=n.previousSibling;for(;c&&xc(c,-1);)s=n.parentNode,a=In(c),c=c.previousSibling;if(c)n=c,r=oh(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}o?Hg(t,n,r):s&&Hg(t,s,a)}function CD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let s=oh(n),a,o;for(;;)if(r{t.state==s&&ei(t)},50)}function $1(t,e){let n=t.state.doc.resolve(e);if(!(Dn||bS)&&n.parent.inlineContent){let s=t.coordsAtPos(e);if(e>n.start()){let a=t.coordsAtPos(e-1),o=(a.top+a.bottom)/2;if(o>s.top&&o1)return a.lefts.top&&o1)return a.left>s.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function F1(t,e,n){let r=t.state.selection;if(r instanceof We&&!r.empty||n.indexOf("s")>-1||Br&&n.indexOf("m")>-1)return!1;let{$from:s,$to:a}=r;if(!s.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let o=Vg(t.state,e);if(o&&o instanceof He)return Ii(t,o)}if(!s.parent.inlineContent){let o=e<0?s:a,c=r instanceof Sr?Je.near(o,e):Je.findFrom(o,e);return c?Ii(t,c):!1}return!1}function B1(t,e){if(!(t.state.selection instanceof We))return!0;let{$head:n,$anchor:r,empty:s}=t.state.selection;if(!n.sameParent(r))return!0;if(!s)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let a=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let o=t.state.tr;return e<0?o.delete(n.pos-a.nodeSize,n.pos):o.delete(n.pos,n.pos+a.nodeSize),t.dispatch(o),!0}return!1}function V1(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function MD(t){if(!Kn||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;V1(t,r,"true"),setTimeout(()=>V1(t,r,"false"),20)}return!1}function AD(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function RD(t,e){let n=e.keyCode,r=AD(e);if(n==8||Br&&n==72&&r=="c")return B1(t,-1)||_o(t,-1);if(n==46&&!e.shiftKey||Br&&n==68&&r=="c")return B1(t,1)||_o(t,1);if(n==13||n==27)return!0;if(n==37||Br&&n==66&&r=="c"){let s=n==37?$1(t,t.state.selection.from)=="ltr"?-1:1:-1;return z1(t,s,r)||_o(t,s)}else if(n==39||Br&&n==70&&r=="c"){let s=n==39?$1(t,t.state.selection.from)=="ltr"?1:-1:1;return z1(t,s,r)||_o(t,s)}else{if(n==38||Br&&n==80&&r=="c")return F1(t,-1,r)||_o(t,-1);if(n==40||Br&&n==78&&r=="c")return MD(t)||F1(t,1,r)||_o(t,1);if(r==(Br?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function i0(t,e){t.someProp("transformCopied",y=>{e=y(e,t)});let n=[],{content:r,openStart:s,openEnd:a}=e;for(;s>1&&a>1&&r.childCount==1&&r.firstChild.childCount==1;){s--,a--;let y=r.firstChild;n.push(y.type.name,y.attrs!=y.type.defaultAttrs?y.attrs:null),r=y.content}let o=t.someProp("clipboardSerializer")||no.fromSchema(t.state.schema),c=BS(),u=c.createElement("div");u.appendChild(o.serializeFragment(r,{document:c}));let h=u.firstChild,f,m=0;for(;h&&h.nodeType==1&&(f=FS[h.nodeName.toLowerCase()]);){for(let y=f.length-1;y>=0;y--){let v=c.createElement(f[y]);for(;u.firstChild;)v.appendChild(u.firstChild);u.appendChild(v),m++}h=u.firstChild}h&&h.nodeType==1&&h.setAttribute("data-pm-slice",`${s} ${a}${m?` -${m}`:""} ${JSON.stringify(n)}`);let g=t.someProp("clipboardTextSerializer",y=>y(e,t))||e.content.textBetween(0,e.content.size,` + */var t1;function AI(){if(t1)return Am;t1=1;var t=Hc();function e(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,s=t.useEffect,a=t.useLayoutEffect,o=t.useDebugValue;function c(m,g){var y=g(),v=r({inst:{value:y,getSnapshot:g}}),j=v[0].inst,w=v[1];return a(function(){j.value=y,j.getSnapshot=g,u(j)&&w({inst:j})},[m,y,g]),s(function(){return u(j)&&w({inst:j}),m(function(){u(j)&&w({inst:j})})},[m]),o(y),y}function u(m){var g=m.getSnapshot;m=m.value;try{var y=g();return!n(m,y)}catch{return!0}}function h(m,g){return g()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:c;return Am.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,Am}var n1;function kk(){return n1||(n1=1,Mm.exports=AI()),Mm.exports}var Sk=kk();function Pn(t){this.content=t}Pn.prototype={constructor:Pn,find:function(t){for(var e=0;e>1}};Pn.from=function(t){if(t instanceof Pn)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Pn(e)};function Ck(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let s=t.child(r),a=e.child(r);if(s==a){n+=s.nodeSize;continue}if(!s.sameMarkup(a))return n;if(s.isText&&s.text!=a.text){for(let o=0;s.text[o]==a.text[o];o++)n++;return n}if(s.content.size||a.content.size){let o=Ck(s.content,a.content,n+1);if(o!=null)return o}n+=s.nodeSize}}function Ek(t,e,n,r){for(let s=t.childCount,a=e.childCount;;){if(s==0||a==0)return s==a?null:{a:n,b:r};let o=t.child(--s),c=e.child(--a),u=o.nodeSize;if(o==c){n-=u,r-=u;continue}if(!o.sameMarkup(c))return{a:n,b:r};if(o.isText&&o.text!=c.text){let h=0,f=Math.min(o.text.length,c.text.length);for(;he&&r(u,s+c,a||null,o)!==!1&&u.content.size){let f=c+1;u.nodesBetween(Math.max(0,e-f),Math.min(u.content.size,n-f),r,s+f)}c=h}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,s){let a="",o=!0;return this.nodesBetween(e,n,(c,u)=>{let h=c.isText?c.text.slice(Math.max(e,u)-u,n-u):c.isLeaf?s?typeof s=="function"?s(c):s:c.type.spec.leafText?c.type.spec.leafText(c):"":"";c.isBlock&&(c.isLeaf&&h||c.isTextblock)&&r&&(o?o=!1:a+=r),a+=h},0),a}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,s=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(r)&&(s[s.length-1]=n.withText(n.text+r.text),a=1);ae)for(let a=0,o=0;oe&&((on)&&(c.isText?c=c.cut(Math.max(0,e-o),Math.min(c.text.length,n-o)):c=c.cut(Math.max(0,e-o-1),Math.min(c.content.size,n-o-1))),r.push(c),s+=c.nodeSize),o=u}return new me(r,s)}cutByIndex(e,n){return e==n?me.empty:e==0&&n==this.content.length?this:new me(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let s=this.content.slice(),a=this.size+n.nodeSize-r.nodeSize;return s[e]=n,new me(s,a)}addToStart(e){return new me([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new me(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let s=this.child(n),a=r+s.nodeSize;if(a>=e)return a==e?bu(n+1,a):bu(n,r);r=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return me.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new me(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return me.empty;let n,r=0;for(let s=0;sthis.type.rank&&(n||(n=e.slice(0,s)),n.push(this),r=!0),n&&n.push(a)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-s.type.rank),n}};Ct.none=[];class nh extends Error{}class Pe{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=Mk(this.content,e+this.openStart,n);return r&&new Pe(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Pe(Tk(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Pe.empty;let r=n.openStart||0,s=n.openEnd||0;if(typeof r!="number"||typeof s!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Pe(me.fromJSON(e,n.content),r,s)}static maxOpen(e,n=!0){let r=0,s=0;for(let a=e.firstChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.firstChild)r++;for(let a=e.lastChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.lastChild)s++;return new Pe(e,r,s)}}Pe.empty=new Pe(me.empty,0,0);function Tk(t,e,n){let{index:r,offset:s}=t.findIndex(e),a=t.maybeChild(r),{index:o,offset:c}=t.findIndex(n);if(s==e||a.isText){if(c!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(r,a.copy(Tk(a.content,e-s-1,n-s-1)))}function Mk(t,e,n,r){let{index:s,offset:a}=t.findIndex(e),o=t.maybeChild(s);if(a==e||o.isText)return r&&!r.canReplace(s,s,n)?null:t.cut(0,e).append(n).append(t.cut(e));let c=Mk(o.content,e-a-1,n,o);return c&&t.replaceChild(s,o.copy(c))}function RI(t,e,n){if(n.openStart>t.depth)throw new nh("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new nh("Inconsistent open depths");return Ak(t,e,n,0)}function Ak(t,e,n,r){let s=t.index(r),a=t.node(r);if(s==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function pc(t,e,n,r){let s=(e||t).node(n),a=0,o=e?e.index(n):s.childCount;t&&(a=t.index(n),t.depth>n?a++:t.textOffset&&(za(t.nodeAfter,r),a++));for(let c=a;cs&&Rg(t,e,s+1),o=r.depth>s&&Rg(n,r,s+1),c=[];return pc(null,t,s,c),a&&o&&e.index(s)==n.index(s)?(Rk(a,o),za($a(a,Pk(t,e,n,r,s+1)),c)):(a&&za($a(a,rh(t,e,s+1)),c),pc(e,n,s,c),o&&za($a(o,rh(n,r,s+1)),c)),pc(r,null,s,c),new me(c)}function rh(t,e,n){let r=[];if(pc(null,t,n,r),t.depth>n){let s=Rg(t,e,n+1);za($a(s,rh(t,e,n+1)),r)}return pc(e,null,n,r),new me(r)}function PI(t,e){let n=e.depth-t.openStart,s=e.node(n).copy(t.content);for(let a=n-1;a>=0;a--)s=e.node(a).copy(me.from(s));return{start:s.resolveNoCache(t.openStart+n),end:s.resolveNoCache(s.content.size-t.openEnd-n)}}class Ac{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],s=e.child(n);return r?e.child(n).cut(r):s}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],s=n==0?0:this.path[n*3-1]+1;for(let a=0;a0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new sh(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],s=0,a=n;for(let o=e;;){let{index:c,offset:u}=o.content.findIndex(a),h=a-u;if(r.push(o,c,s+u),!h||(o=o.child(c),o.isText))break;a=h-1,s+=u+1}return new Ac(n,r,a)}static resolveCached(e,n){let r=r1.get(e);if(r)for(let a=0;ae&&this.nodesBetween(e,n,a=>(r.isInSet(a.marks)&&(s=!0),!s)),s}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Ik(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=me.empty,s=0,a=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,s,a),c=o&&o.matchFragment(this.content,n);if(!c||!c.validEnd)return!1;for(let u=s;un.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let s=me.fromJSON(e,n.content),a=e.nodeType(n.type).create(n.attrs,s,r);return a.type.checkAttrs(a.attrs),a}};Xs.prototype.text=void 0;class ih extends Xs{constructor(e,n,r,s){if(super(e,n,null,s),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Ik(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new ih(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new ih(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Ik(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class Ka{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new LI(e,n);if(r.next==null)return Ka.empty;let s=Ok(r);r.next&&r.err("Unexpected trailing text");let a=HI(VI(s));return WI(a,r),a}matchType(e){for(let n=0;nh.createAndFill()));for(let h=0;h=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let s=0;s{let a=s+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return a}).join(` +`)}}Ka.empty=new Ka(!0);class LI{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Ok(t){let e=[];do e.push(_I(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function _I(t){let e=[];do e.push(zI(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function zI(t){let e=BI(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=$I(t,e);else break;return e}function s1(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function $I(t,e){let n=s1(t),r=n;return t.eat(",")&&(t.next!="}"?r=s1(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function FI(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let s=[];for(let a in n){let o=n[a];o.isInGroup(e)&&s.push(o)}return s.length==0&&t.err("No node type or group '"+e+"' found"),s}function BI(t){if(t.eat("(")){let e=Ok(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=FI(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function VI(t){let e=[[]];return s(a(t,0),n()),e;function n(){return e.push([])-1}function r(o,c,u){let h={term:u,to:c};return e[o].push(h),h}function s(o,c){o.forEach(u=>u.to=c)}function a(o,c){if(o.type=="choice")return o.exprs.reduce((u,h)=>u.concat(a(h,c)),[]);if(o.type=="seq")for(let u=0;;u++){let h=a(o.exprs[u],c);if(u==o.exprs.length-1)return h;s(h,c=n())}else if(o.type=="star"){let u=n();return r(c,u),s(a(o.expr,u),u),[r(u)]}else if(o.type=="plus"){let u=n();return s(a(o.expr,c),u),s(a(o.expr,u),u),[r(u)]}else{if(o.type=="opt")return[r(c)].concat(a(o.expr,c));if(o.type=="range"){let u=c;for(let h=0;h{t[o].forEach(({term:c,to:u})=>{if(!c)return;let h;for(let f=0;f{h||s.push([c,h=[]]),h.indexOf(f)==-1&&h.push(f)})})});let a=e[r.join(",")]=new Ka(r.indexOf(t.length-1)>-1);for(let o=0;o-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:_k(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Xs(this,this.computeAttrs(e),me.from(n),Ct.setFrom(r))}createChecked(e=null,n,r){return n=me.from(n),this.checkContent(n),new Xs(this,this.computeAttrs(e),n,Ct.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=me.from(n),n.size){let o=this.contentMatch.fillBefore(n);if(!o)return null;n=o.append(n)}let s=this.contentMatch.matchFragment(n),a=s&&s.fillBefore(me.empty,!0);return a?new Xs(this,e,n.append(a),Ct.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[a]=new Fk(a,n,o));let s=n.spec.topNode||"doc";if(!r[s])throw new RangeError("Schema is missing its top node type ('"+s+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let a in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function UI(t,e,n){let r=n.split("|");return s=>{let a=s===null?"null":typeof s;if(r.indexOf(a)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${a}`)}}class KI{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?UI(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class sf{constructor(e,n,r,s){this.name=e,this.rank=n,this.schema=r,this.spec=s,this.attrs=$k(e,s.attrs),this.excluded=null;let a=Lk(this.attrs);this.instance=a?new Ct(this,a):null}create(e=null){return!e&&this.instance?this.instance:new Ct(this,_k(this.attrs,e))}static compile(e,n){let r=Object.create(null),s=0;return e.forEach((a,o)=>r[a]=new sf(a,s++,n,o)),r}removeFromSet(e){for(var n=0;n-1}}class Bk{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let s in e)n[s]=e[s];n.nodes=Pn.from(e.nodes),n.marks=Pn.from(e.marks||{}),this.nodes=a1.compile(this.spec.nodes,this),this.marks=sf.compile(this.spec.marks,this);let r=Object.create(null);for(let s in this.nodes){if(s in this.marks)throw new RangeError(s+" can not be both a node and a mark");let a=this.nodes[s],o=a.spec.content||"",c=a.spec.marks;if(a.contentMatch=r[o]||(r[o]=Ka.parse(o,this.nodes)),a.inlineContent=a.contentMatch.inlineContent,a.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!a.isInline||!a.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=a}a.markSet=c=="_"?null:c?o1(this,c.split(" ")):c==""||!a.inlineContent?[]:null}for(let s in this.marks){let a=this.marks[s],o=a.spec.excludes;a.excluded=o==null?[a]:o==""?[]:o1(this,o.split(" "))}this.nodeFromJSON=s=>Xs.fromJSON(this,s),this.markFromJSON=s=>Ct.fromJSON(this,s),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,s){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof a1){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,s)}text(e,n){let r=this.nodes.text;return new ih(r,r.defaultAttrs,e,Ct.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function o1(t,e){let n=[];for(let r=0;r-1)&&n.push(o=u)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function qI(t){return t.tag!=null}function GI(t){return t.style!=null}class qi{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(s=>{if(qI(s))this.tags.push(s);else if(GI(s)){let a=/[^=]*/.exec(s.style)[0];r.indexOf(a)<0&&r.push(a),this.styles.push(s)}}),this.normalizeLists=!this.tags.some(s=>{if(!/^(ul|ol)\b/.test(s.tag)||!s.node)return!1;let a=e.nodes[s.node];return a.contentMatch.matchType(a)})}parse(e,n={}){let r=new c1(this,n,!1);return r.addAll(e,Ct.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new c1(this,n,!0);return r.addAll(e,Ct.none,n.from,n.to),Pe.maxOpen(r.finish())}matchTag(e,n,r){for(let s=r?this.tags.indexOf(r)+1:0;se.length&&(c.charCodeAt(e.length)!=61||c.slice(e.length+1)!=n))){if(o.getAttrs){let u=o.getAttrs(n);if(u===!1)continue;o.attrs=u||void 0}return o}}}static schemaRules(e){let n=[];function r(s){let a=s.priority==null?50:s.priority,o=0;for(;o{r(o=d1(o)),o.mark||o.ignore||o.clearMark||(o.mark=s)})}for(let s in e.nodes){let a=e.nodes[s].spec.parseDOM;a&&a.forEach(o=>{r(o=d1(o)),o.node||o.ignore||o.mark||(o.node=s)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new qi(e,qi.schemaRules(e)))}}const Vk={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},JI={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Hk={ol:!0,ul:!0},Rc=1,Ig=2,mc=4;function l1(t,e,n){return e!=null?(e?Rc:0)|(e==="full"?Ig:0):t&&t.whitespace=="pre"?Rc|Ig:n&~mc}class wu{constructor(e,n,r,s,a,o){this.type=e,this.attrs=n,this.marks=r,this.solid=s,this.options=o,this.content=[],this.activeMarks=Ct.none,this.match=a||(o&mc?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(me.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,s;return(s=r.findWrapping(e.type))?(this.match=r,s):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Rc)){let r=this.content[this.content.length-1],s;if(r&&r.isText&&(s=/[ \t\r\n\u000c]+$/.exec(r.text))){let a=r;r.text.length==s[0].length?this.content.pop():this.content[this.content.length-1]=a.withText(a.text.slice(0,a.text.length-s[0].length))}}let n=me.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(me.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Vk.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class c1{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let s=n.topNode,a,o=l1(null,n.preserveWhitespace,0)|(r?mc:0);s?a=new wu(s.type,s.attrs,Ct.none,!0,n.topMatch||s.type.contentMatch,o):r?a=new wu(null,null,Ct.none,!0,null,o):a=new wu(e.schema.topNodeType,null,Ct.none,!0,null,o),this.nodes=[a],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,s=this.top,a=s.options&Ig?"full":this.localPreserveWS||(s.options&Rc)>0,{schema:o}=this.parser;if(a==="full"||s.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(a)if(a==="full")r=r.replace(/\r\n?/g,` +`);else if(o.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(o.linebreakReplacement.create())){let c=r.split(/\r?\n|\r/);for(let u=0;u!u.clearMark(h)):n=n.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)c=u;else break}}return n}addElementByRule(e,n,r,s){let a,o;if(n.node)if(o=this.parser.schema.nodes[n.node],o.isLeaf)this.insertNode(o.create(n.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let u=this.enter(o,n.attrs||null,r,n.preserveWhitespace);u&&(a=!0,r=u)}else{let u=this.parser.schema.marks[n.mark];r=r.concat(u.create(n.attrs))}let c=this.top;if(o&&o.isLeaf)this.findInside(e);else if(s)this.addElement(e,r,s);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(u=>this.insertNode(u,r,!1));else{let u=e;typeof n.contentElement=="string"?u=e.querySelector(n.contentElement):typeof n.contentElement=="function"?u=n.contentElement(e):n.contentElement&&(u=n.contentElement),this.findAround(e,u,!0),this.addAll(u,r),this.findAround(e,u,!1)}a&&this.sync(c)&&this.open--}addAll(e,n,r,s){let a=r||0;for(let o=r?e.childNodes[r]:e.firstChild,c=s==null?null:e.childNodes[s];o!=c;o=o.nextSibling,++a)this.findAtPoint(e,a),this.addDOM(o,n);this.findAtPoint(e,a)}findPlace(e,n,r){let s,a;for(let o=this.open,c=0;o>=0;o--){let u=this.nodes[o],h=u.findWrapping(e);if(h&&(!s||s.length>h.length+c)&&(s=h,a=u,!h.length))break;if(u.solid){if(r)break;c+=2}}if(!s)return null;this.sync(a);for(let o=0;o(o.type?o.type.allowsMarkType(h.type):u1(h.type,e))?(u=h.addToSet(u),!1):!0),this.nodes.push(new wu(e,n,u,s,null,c)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=Rc)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let s=r.length-1;s>=0;s--)e+=r[s].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,s=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),a=-(r?r.depth+1:0)+(s?0:1),o=(c,u)=>{for(;c>=0;c--){let h=n[c];if(h==""){if(c==n.length-1||c==0)continue;for(;u>=a;u--)if(o(c-1,u))return!0;return!1}else{let f=u>0||u==0&&s?this.nodes[u].type:r&&u>=a?r.node(u-a).type:null;if(!f||f.name!=h&&!f.isInGroup(h))return!1;u--}}return!0};return o(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function YI(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Hk.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function QI(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function d1(t){let e={};for(let n in t)e[n]=t[n];return e}function u1(t,e){let n=e.schema.nodes;for(let r in n){let s=n[r];if(!s.allowsMarkType(t))continue;let a=[],o=c=>{a.push(c);for(let u=0;u{if(a.length||o.marks.length){let c=0,u=0;for(;c=0;s--){let a=this.serializeMark(e.marks[s],e.isInline,n);a&&((a.contentDOM||a.dom).appendChild(r),r=a.dom)}return r}serializeMark(e,n,r={}){let s=this.marks[e.type.name];return s&&$u(Pm(r),s(e,n),null,e.attrs)}static renderSpec(e,n,r=null,s){return $u(e,n,r,s)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new no(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=h1(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return h1(e.marks)}}function h1(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Pm(t){return t.document||window.document}const f1=new WeakMap;function XI(t){let e=f1.get(t);return e===void 0&&f1.set(t,e=ZI(t)),e}function ZI(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let s=0;s-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=s.indexOf(" ");o>0&&(n=s.slice(0,o),s=s.slice(o+1));let c,u=n?t.createElementNS(n,s):t.createElement(s),h=e[1],f=1;if(h&&typeof h=="object"&&h.nodeType==null&&!Array.isArray(h)){f=2;for(let m in h)if(h[m]!=null){let g=m.indexOf(" ");g>0?u.setAttributeNS(m.slice(0,g),m.slice(g+1),h[m]):m=="style"&&u.style?u.style.cssText=h[m]:u.setAttribute(m,h[m])}}for(let m=f;mf)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:y,contentDOM:v}=$u(t,g,n,r);if(u.appendChild(y),v){if(c)throw new RangeError("Multiple content holes");c=v}}}return{dom:u,contentDOM:c}}const Wk=65535,Uk=Math.pow(2,16);function eO(t,e){return t+e*Uk}function p1(t){return t&Wk}function tO(t){return(t-(t&Wk))/Uk}const Kk=1,qk=2,Fu=4,Gk=8;class Og{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&Gk)>0}get deletedBefore(){return(this.delInfo&(Kk|Fu))>0}get deletedAfter(){return(this.delInfo&(qk|Fu))>0}get deletedAcross(){return(this.delInfo&Fu)>0}}class jr{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&jr.empty)return jr.empty}recover(e){let n=0,r=p1(e);if(!this.inverted)for(let s=0;se)break;let h=this.ranges[c+a],f=this.ranges[c+o],m=u+h;if(e<=m){let g=h?e==u?-1:e==m?1:n:n,y=u+s+(g<0?0:f);if(r)return y;let v=e==(n<0?u:m)?null:eO(c/3,e-u),j=e==u?qk:e==m?Kk:Fu;return(n<0?e!=u:e!=m)&&(j|=Gk),new Og(y,j,v)}s+=f-h}return r?e+s:new Og(e+s,0,null)}touches(e,n){let r=0,s=p1(n),a=this.inverted?2:1,o=this.inverted?1:2;for(let c=0;ce)break;let h=this.ranges[c+a],f=u+h;if(e<=f&&c==s*3)return!0;r+=this.ranges[c+o]-h}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let s=0,a=0;s=0;n--){let s=e.getMirror(n);this.appendMap(e._maps[n].invert(),s!=null&&s>n?r-s-1:void 0)}}invert(){let e=new Pc;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ra&&u!o.isAtom||!c.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),s),n.openStart,n.openEnd);return cn.fromReplace(e,this.from,this.to,a)}invert(){return new as(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Bi(n.pos,r.pos,this.mark)}merge(e){return e instanceof Bi&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Bi(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Bi(n.from,n.to,e.markFromJSON(n.mark))}}Gn.jsonID("addMark",Bi);class as extends Gn{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Pe(Kx(n.content,s=>s.mark(this.mark.removeFromSet(s.marks)),e),n.openStart,n.openEnd);return cn.fromReplace(e,this.from,this.to,r)}invert(){return new Bi(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new as(n.pos,r.pos,this.mark)}merge(e){return e instanceof as&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new as(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new as(n.from,n.to,e.markFromJSON(n.mark))}}Gn.jsonID("removeMark",as);class Vi extends Gn{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return cn.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return cn.fromReplace(e,this.pos,this.pos+1,new Pe(me.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let s=0;sr.pos?null:new kn(n.pos,r.pos,s,a,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new kn(n.from,n.to,n.gapFrom,n.gapTo,Pe.fromJSON(e,n.slice),n.insert,!!n.structure)}}Gn.jsonID("replaceAround",kn);function Dg(t,e,n){let r=t.resolve(e),s=n-e,a=r.depth;for(;s>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,s--;if(s>0){let o=r.node(a).maybeChild(r.indexAfter(a));for(;s>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,s--}}return!1}function nO(t,e,n,r){let s=[],a=[],o,c;t.doc.nodesBetween(e,n,(u,h,f)=>{if(!u.isInline)return;let m=u.marks;if(!r.isInSet(m)&&f.type.allowsMarkType(r.type)){let g=Math.max(h,e),y=Math.min(h+u.nodeSize,n),v=r.addToSet(m);for(let j=0;jt.step(u)),a.forEach(u=>t.step(u))}function rO(t,e,n,r){let s=[],a=0;t.doc.nodesBetween(e,n,(o,c)=>{if(!o.isInline)return;a++;let u=null;if(r instanceof sf){let h=o.marks,f;for(;f=r.isInSet(h);)(u||(u=[])).push(f),h=f.removeFromSet(h)}else r?r.isInSet(o.marks)&&(u=[r]):u=o.marks;if(u&&u.length){let h=Math.min(c+o.nodeSize,n);for(let f=0;ft.step(new as(o.from,o.to,o.style)))}function qx(t,e,n,r=n.contentMatch,s=!0){let a=t.doc.nodeAt(e),o=[],c=e+1;for(let u=0;u=0;u--)t.step(o[u])}function sO(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function fl(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth,s=0,a=0;;--r){let o=t.$from.node(r),c=t.$from.index(r)+s,u=t.$to.indexAfter(r)-a;if(rn;v--)j||r.index(v)>0?(j=!0,f=me.from(r.node(v).copy(f)),m++):u--;let g=me.empty,y=0;for(let v=a,j=!1;v>n;v--)j||s.after(v+1)=0;o--){if(r.size){let c=n[o].type.contentMatch.matchFragment(r);if(!c||!c.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=me.from(n[o].type.create(n[o].attrs,r))}let s=e.start,a=e.end;t.step(new kn(s,a,s,a,new Pe(r,0,0),n.length,!0))}function cO(t,e,n,r,s){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let a=t.steps.length;t.doc.nodesBetween(e,n,(o,c)=>{let u=typeof s=="function"?s(o):s;if(o.isTextblock&&!o.hasMarkup(r,u)&&dO(t.doc,t.mapping.slice(a).map(c),r)){let h=null;if(r.schema.linebreakReplacement){let y=r.whitespace=="pre",v=!!r.contentMatch.matchType(r.schema.linebreakReplacement);y&&!v?h=!1:!y&&v&&(h=!0)}h===!1&&Yk(t,o,c,a),qx(t,t.mapping.slice(a).map(c,1),r,void 0,h===null);let f=t.mapping.slice(a),m=f.map(c,1),g=f.map(c+o.nodeSize,1);return t.step(new kn(m,g,m+1,g-1,new Pe(me.from(r.create(u,null,o.marks)),0,0),1,!0)),h===!0&&Jk(t,o,c,a),!1}})}function Jk(t,e,n,r){e.forEach((s,a)=>{if(s.isText){let o,c=/\r?\n|\r/g;for(;o=c.exec(s.text);){let u=t.mapping.slice(r).map(n+1+a+o.index);t.replaceWith(u,u+1,e.type.schema.linebreakReplacement.create())}}})}function Yk(t,e,n,r){e.forEach((s,a)=>{if(s.type==s.type.schema.linebreakReplacement){let o=t.mapping.slice(r).map(n+1+a);t.replaceWith(o,o+1,e.type.schema.text(` +`))}})}function dO(t,e,n){let r=t.resolve(e),s=r.index();return r.parent.canReplaceWith(s,s+1,n)}function uO(t,e,n,r,s){let a=t.doc.nodeAt(e);if(!a)throw new RangeError("No node at given position");n||(n=a.type);let o=n.create(r,null,s||a.marks);if(a.isLeaf)return t.replaceWith(e,e+a.nodeSize,o);if(!n.validContent(a.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new kn(e,e+a.nodeSize,e+1,e+a.nodeSize-1,new Pe(me.from(o),0,0),1,!0))}function Zs(t,e,n=1,r){let s=t.resolve(e),a=s.depth-n,o=r&&r[r.length-1]||s.parent;if(a<0||s.parent.type.spec.isolating||!s.parent.canReplace(s.index(),s.parent.childCount)||!o.type.validContent(s.parent.content.cutByIndex(s.index(),s.parent.childCount)))return!1;for(let h=s.depth-1,f=n-2;h>a;h--,f--){let m=s.node(h),g=s.index(h);if(m.type.spec.isolating)return!1;let y=m.content.cutByIndex(g,m.childCount),v=r&&r[f+1];v&&(y=y.replaceChild(0,v.type.create(v.attrs)));let j=r&&r[f]||m;if(!m.canReplace(g+1,m.childCount)||!j.type.validContent(y))return!1}let c=s.indexAfter(a),u=r&&r[0];return s.node(a).canReplaceWith(c,c,u?u.type:s.node(a+1).type)}function hO(t,e,n=1,r){let s=t.doc.resolve(e),a=me.empty,o=me.empty;for(let c=s.depth,u=s.depth-n,h=n-1;c>u;c--,h--){a=me.from(s.node(c).copy(a));let f=r&&r[h];o=me.from(f?f.type.create(f.attrs,o):s.node(c).copy(o))}t.step(new jn(e,e,new Pe(a.append(o),n,n),!0))}function aa(t,e){let n=t.resolve(e),r=n.index();return Qk(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function fO(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let s=0;s0?(a=r.node(s+1),c++,o=r.node(s).maybeChild(c)):(a=r.node(s).maybeChild(c-1),o=r.node(s+1)),a&&!a.isTextblock&&Qk(a,o)&&r.node(s).canReplace(c,c+1))return e;if(s==0)break;e=n<0?r.before(s):r.after(s)}}function pO(t,e,n){let r=null,{linebreakReplacement:s}=t.doc.type.schema,a=t.doc.resolve(e-n),o=a.node().type;if(s&&o.inlineContent){let f=o.whitespace=="pre",m=!!o.contentMatch.matchType(s);f&&!m?r=!1:!f&&m&&(r=!0)}let c=t.steps.length;if(r===!1){let f=t.doc.resolve(e+n);Yk(t,f.node(),f.before(),c)}o.inlineContent&&qx(t,e+n-1,o,a.node().contentMatchAt(a.index()),r==null);let u=t.mapping.slice(c),h=u.map(e-n);if(t.step(new jn(h,u.map(e+n,-1),Pe.empty,!0)),r===!0){let f=t.doc.resolve(h);Jk(t,f.node(),f.before(),t.steps.length)}return t}function mO(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let s=r.depth-1;s>=0;s--){let a=r.index(s);if(r.node(s).canReplaceWith(a,a,n))return r.before(s+1);if(a>0)return null}if(r.parentOffset==r.parent.content.size)for(let s=r.depth-1;s>=0;s--){let a=r.indexAfter(s);if(r.node(s).canReplaceWith(a,a,n))return r.after(s+1);if(a=0;o--){let c=o==r.depth?0:r.pos<=(r.start(o+1)+r.end(o+1))/2?-1:1,u=r.index(o)+(c>0?1:0),h=r.node(o),f=!1;if(a==1)f=h.canReplace(u,u,s);else{let m=h.contentMatchAt(u).findWrapping(s.firstChild.type);f=m&&h.canReplaceWith(u,u,m[0])}if(f)return c==0?r.pos:c<0?r.before(o+1):r.after(o+1)}return null}function of(t,e,n=e,r=Pe.empty){if(e==n&&!r.size)return null;let s=t.resolve(e),a=t.resolve(n);return Zk(s,a,r)?new jn(e,n,r):new gO(s,a,r).fit()}function Zk(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class gO{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=me.empty;for(let s=0;s<=e.depth;s++){let a=e.node(s);this.frontier.push({type:a.type,match:a.contentMatchAt(e.indexAfter(s))})}for(let s=e.depth;s>0;s--)this.placed=me.from(e.node(s).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let h=this.findFittable();h?this.placeNodes(h):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,s=this.close(e<0?this.$to:r.doc.resolve(e));if(!s)return null;let a=this.placed,o=r.depth,c=s.depth;for(;o&&c&&a.childCount==1;)a=a.firstChild.content,o--,c--;let u=new Pe(a,o,c);return e>-1?new kn(r.pos,e,this.$to.pos,this.$to.end(),u,n):u.size||r.pos!=this.$to.pos?new jn(r.pos,s.pos,u):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,s=this.unplaced.openEnd;r1&&(s=0),a.type.spec.isolating&&s<=r){e=r;break}n=a.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let s,a=null;r?(a=Om(this.unplaced.content,r-1).firstChild,s=a.content):s=this.unplaced.content;let o=s.firstChild;for(let c=this.depth;c>=0;c--){let{type:u,match:h}=this.frontier[c],f,m=null;if(n==1&&(o?h.matchType(o.type)||(m=h.fillBefore(me.from(o),!1)):a&&u.compatibleContent(a.type)))return{sliceDepth:r,frontierDepth:c,parent:a,inject:m};if(n==2&&o&&(f=h.findWrapping(o.type)))return{sliceDepth:r,frontierDepth:c,parent:a,wrap:f};if(a&&h.matchType(a.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,s=Om(e,n);return!s.childCount||s.firstChild.isLeaf?!1:(this.unplaced=new Pe(e,n+1,Math.max(r,s.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,s=Om(e,n);if(s.childCount<=1&&n>0){let a=e.size-n<=n+s.size;this.unplaced=new Pe(ac(e,n-1,1),n-1,a?n-1:r)}else this.unplaced=new Pe(ac(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:s,wrap:a}){for(;this.depth>n;)this.closeFrontierNode();if(a)for(let j=0;j1||u==0||j.content.size)&&(m=w,f.push(eS(j.mark(g.allowedMarks(j.marks)),h==1?u:0,h==c.childCount?y:-1)))}let v=h==c.childCount;v||(y=-1),this.placed=oc(this.placed,n,me.from(f)),this.frontier[n].match=m,v&&y<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let j=0,w=c;j1&&s==this.$to.end(--r);)++s;return s}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:s}=this.frontier[n],a=n=0;c--){let{match:u,type:h}=this.frontier[c],f=Dm(e,c,h,u,!0);if(!f||f.childCount)continue e}return{depth:n,fit:o,move:a?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=oc(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let s=e.node(r),a=s.type.contentMatch.fillBefore(s.content,!0,e.index(r));this.openFrontierNode(s.type,s.attrs,a)}return e}openFrontierNode(e,n=null,r){let s=this.frontier[this.depth];s.match=s.match.matchType(e),this.placed=oc(this.placed,this.depth,me.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(me.empty,!0);n.childCount&&(this.placed=oc(this.placed,this.frontier.length,n))}}function ac(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(ac(t.firstChild.content,e-1,n)))}function oc(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(oc(t.lastChild.content,e-1,n)))}function Om(t,e){for(let n=0;n1&&(r=r.replaceChild(0,eS(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(me.empty,!0)))),t.copy(r)}function Dm(t,e,n,r,s){let a=t.node(e),o=s?t.indexAfter(e):t.index(e);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let c=r.fillBefore(a.content,!0,o);return c&&!xO(n,a.content,o)?c:null}function xO(t,e,n){for(let r=n;r0;g--,y--){let v=s.node(g).type.spec;if(v.defining||v.definingAsContext||v.isolating)break;o.indexOf(g)>-1?c=g:s.before(g)==y&&o.splice(1,0,-g)}let u=o.indexOf(c),h=[],f=r.openStart;for(let g=r.content,y=0;;y++){let v=g.firstChild;if(h.push(v),y==r.openStart)break;g=v.content}for(let g=f-1;g>=0;g--){let y=h[g],v=yO(y.type);if(v&&!y.sameMarkup(s.node(Math.abs(c)-1)))f=g;else if(v||!y.type.isTextblock)break}for(let g=r.openStart;g>=0;g--){let y=(g+f+1)%(r.openStart+1),v=h[y];if(v)for(let j=0;j=0&&(t.replace(e,n,r),!(t.steps.length>m));g--){let y=o[g];y<0||(e=s.before(y),n=a.after(y))}}function tS(t,e,n,r,s){if(er){let a=s.contentMatchAt(0),o=a.fillBefore(t).append(t);t=o.append(a.matchFragment(o).fillBefore(me.empty,!0))}return t}function bO(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let s=mO(t.doc,e,r.type);s!=null&&(e=n=s)}t.replaceRange(e,n,new Pe(me.from(r),0,0))}function wO(t,e,n){let r=t.doc.resolve(e),s=t.doc.resolve(n),a=nS(r,s);for(let o=0;o0&&(u||r.node(c-1).canReplace(r.index(c-1),s.indexAfter(c-1))))return t.delete(r.before(c),s.after(c))}for(let o=1;o<=r.depth&&o<=s.depth;o++)if(e-r.start(o)==r.depth-o&&n>r.end(o)&&s.end(o)-n!=s.depth-o&&r.start(o-1)==s.start(o-1)&&r.node(o-1).canReplace(r.index(o-1),s.index(o-1)))return t.delete(r.before(o),n);t.delete(e,n)}function nS(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let s=r;s>=0;s--){let a=t.start(s);if(ae.pos+(e.depth-s)||t.node(s).type.spec.isolating||e.node(s).type.spec.isolating)break;(a==e.start(s)||s==t.depth&&s==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&s&&e.start(s-1)==a-1)&&n.push(s)}return n}class Jo extends Gn{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return cn.fail("No node at attribute step's position");let r=Object.create(null);for(let a in n.attrs)r[a]=n.attrs[a];r[this.attr]=this.value;let s=n.type.create(r,null,n.marks);return cn.fromReplace(e,this.pos,this.pos+1,new Pe(me.from(s),0,n.isLeaf?0:1))}getMap(){return jr.empty}invert(e){return new Jo(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Jo(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Jo(n.pos,n.attr,n.value)}}Gn.jsonID("attr",Jo);class Ic extends Gn{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let s in e.attrs)n[s]=e.attrs[s];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return cn.ok(r)}getMap(){return jr.empty}invert(e){return new Ic(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Ic(n.attr,n.value)}}Gn.jsonID("docAttr",Ic);let Zo=class extends Error{};Zo=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};Zo.prototype=Object.create(Error.prototype);Zo.prototype.constructor=Zo;Zo.prototype.name="TransformError";class Jx{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Pc}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new Zo(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,n=-1e9;for(let r=0;r{e=Math.min(e,c),n=Math.max(n,u)})}return e==1e9?null:{from:e,to:n}}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=Pe.empty){let s=of(this.doc,e,n,r);return s&&this.step(s),this}replaceWith(e,n,r){return this.replace(e,n,new Pe(me.from(r),0,0))}delete(e,n){return this.replace(e,n,Pe.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return vO(this,e,n,r),this}replaceRangeWith(e,n,r){return bO(this,e,n,r),this}deleteRange(e,n){return wO(this,e,n),this}lift(e,n){return iO(this,e,n),this}join(e,n=1){return pO(this,e,n),this}wrap(e,n){return lO(this,e,n),this}setBlockType(e,n=e,r,s=null){return cO(this,e,n,r,s),this}setNodeMarkup(e,n,r=null,s){return uO(this,e,n,r,s),this}setNodeAttribute(e,n,r){return this.step(new Jo(e,n,r)),this}setDocAttribute(e,n){return this.step(new Ic(e,n)),this}addNodeMark(e,n){return this.step(new Vi(e,n)),this}removeNodeMark(e,n){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n instanceof Ct)n.isInSet(r.marks)&&this.step(new qa(e,n));else{let s=r.marks,a,o=[];for(;a=n.isInSet(s);)o.push(new qa(e,a)),s=a.removeFromSet(s);for(let c=o.length-1;c>=0;c--)this.step(o[c])}return this}split(e,n=1,r){return hO(this,e,n,r),this}addMark(e,n,r){return nO(this,e,n,r),this}removeMark(e,n,r){return rO(this,e,n,r),this}clearIncompatible(e,n,r){return qx(this,e,n,r),this}}const Lm=Object.create(null);class Je{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new rS(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;a--){let o=n<0?zo(e.node(0),e.node(a),e.before(a+1),e.index(a),n,r):zo(e.node(0),e.node(a),e.after(a+1),e.index(a)+1,n,r);if(o)return o}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Sr(e.node(0))}static atStart(e){return zo(e,e,0,0,1)||new Sr(e)}static atEnd(e){return zo(e,e,e.content.size,e.childCount,-1)||new Sr(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Lm[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Lm)throw new RangeError("Duplicate use of selection JSON ID "+e);return Lm[e]=n,n.prototype.jsonID=e,n}getBookmark(){return We.between(this.$anchor,this.$head).getBookmark()}}Je.prototype.visible=!0;class rS{constructor(e,n){this.$from=e,this.$to=n}}let g1=!1;function x1(t){!g1&&!t.parent.inlineContent&&(g1=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class We extends Je{constructor(e,n=e){x1(e),x1(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return Je.near(r);let s=e.resolve(n.map(this.anchor));return new We(s.parent.inlineContent?s:r,r)}replace(e,n=Pe.empty){if(super.replace(e,n),n==Pe.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof We&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new lf(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new We(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let s=e.resolve(n);return new this(s,r==n?s:e.resolve(r))}static between(e,n,r){let s=e.pos-n.pos;if((!r||s)&&(r=s>=0?1:-1),!n.parent.inlineContent){let a=Je.findFrom(n,r,!0)||Je.findFrom(n,-r,!0);if(a)n=a.$head;else return Je.near(n,r)}return e.parent.inlineContent||(s==0?e=n:(e=(Je.findFrom(e,-r,!0)||Je.findFrom(e,r,!0)).$anchor,e.pos0?0:1);s>0?o=0;o+=s){let c=e.child(o);if(c.isAtom){if(!a&&He.isSelectable(c))return He.create(t,n-(s<0?c.nodeSize:0))}else{let u=zo(t,c,n+s,s<0?c.childCount:0,s,a);if(u)return u}n+=c.nodeSize*s}return null}function y1(t,e,n){let r=t.steps.length-1;if(r{o==null&&(o=f)}),t.setSelection(Je.near(t.doc.resolve(o),n))}const v1=1,Nu=2,b1=4;class jO extends Jx{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Nu,this}ensureMarks(e){return Ct.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Nu)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~Nu,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Ct.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let s=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(s.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),!e)return this.deleteRange(n,r);let a=this.storedMarks;if(!a){let o=this.doc.resolve(n);a=r==n?o.marks():o.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,s.text(e,a)),!this.selection.empty&&this.selection.to==n+e.length&&this.setSelection(Je.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=b1,this}get scrolledIntoView(){return(this.updated&b1)>0}}function w1(t,e){return!e||!t?t:t.bind(e)}class lc{constructor(e,n,r){this.name=e,this.init=w1(n.init,r),this.apply=w1(n.apply,r)}}const kO=[new lc("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new lc("selection",{init(t,e){return t.selection||Je.atStart(e.doc)},apply(t){return t.selection}}),new lc("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new lc("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class _m{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=kO.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new lc(r.key,r.spec.state,r))})}}class Ko{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let s=e[r],a=s.spec.state;a&&a.toJSON&&(n[r]=a.toJSON.call(s,this[s.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let s=new _m(e.schema,e.plugins),a=new Ko(s);return s.fields.forEach(o=>{if(o.name=="doc")a.doc=Xs.fromJSON(e.schema,n.doc);else if(o.name=="selection")a.selection=Je.fromJSON(a.doc,n.selection);else if(o.name=="storedMarks")n.storedMarks&&(a.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let c in r){let u=r[c],h=u.spec.state;if(u.key==o.name&&h&&h.fromJSON&&Object.prototype.hasOwnProperty.call(n,c)){a[o.name]=h.fromJSON.call(u,e,n[c],a);return}}a[o.name]=o.init(e,a)}}),a}}function sS(t,e,n){for(let r in t){let s=t[r];s instanceof Function?s=s.bind(e):r=="handleDOMEvents"&&(s=sS(s,e,{})),n[r]=s}return n}class Pt{constructor(e){this.spec=e,this.props={},e.props&&sS(e.props,this,this.props),this.key=e.key?e.key.key:iS("plugin")}getState(e){return e[this.key]}}const zm=Object.create(null);function iS(t){return t in zm?t+"$"+ ++zm[t]:(zm[t]=0,t+"$")}class Bt{constructor(e="key"){this.key=iS(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Qx=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function aS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const oS=(t,e,n)=>{let r=aS(t,n);if(!r)return!1;let s=Xx(r);if(!s){let o=r.blockRange(),c=o&&fl(o);return c==null?!1:(e&&e(t.tr.lift(o,c).scrollIntoView()),!0)}let a=s.nodeBefore;if(gS(t,s,e,-1))return!0;if(r.parent.content.size==0&&(el(a,"end")||He.isSelectable(a)))for(let o=r.depth;;o--){let c=of(t.doc,r.before(o),r.after(o),Pe.empty);if(c&&c.slice.size1)break}return a.isAtom&&s.depth==r.depth-1?(e&&e(t.tr.delete(s.pos-a.nodeSize,s.pos).scrollIntoView()),!0):!1},SO=(t,e,n)=>{let r=aS(t,n);if(!r)return!1;let s=Xx(r);return s?lS(t,s,e):!1},CO=(t,e,n)=>{let r=dS(t,n);if(!r)return!1;let s=Zx(r);return s?lS(t,s,e):!1};function lS(t,e,n){let r=e.nodeBefore,s=r,a=e.pos-1;for(;!s.isTextblock;a--){if(s.type.spec.isolating)return!1;let f=s.lastChild;if(!f)return!1;s=f}let o=e.nodeAfter,c=o,u=e.pos+1;for(;!c.isTextblock;u++){if(c.type.spec.isolating)return!1;let f=c.firstChild;if(!f)return!1;c=f}let h=of(t.doc,a,u,Pe.empty);if(!h||h.from!=a||h instanceof jn&&h.slice.size>=u-a)return!1;if(n){let f=t.tr.step(h);f.setSelection(We.create(f.doc,a)),n(f.scrollIntoView())}return!0}function el(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const cS=(t,e,n)=>{let{$head:r,empty:s}=t.selection,a=r;if(!s)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;a=Xx(r)}let o=a&&a.nodeBefore;return!o||!He.isSelectable(o)?!1:(e&&e(t.tr.setSelection(He.create(t.doc,a.pos-o.nodeSize)).scrollIntoView()),!0)};function Xx(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function dS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=dS(t,n);if(!r)return!1;let s=Zx(r);if(!s)return!1;let a=s.nodeAfter;if(gS(t,s,e,1))return!0;if(r.parent.content.size==0&&(el(a,"start")||He.isSelectable(a))){let o=of(t.doc,r.before(),r.after(),Pe.empty);if(o&&o.slice.size{let{$head:r,empty:s}=t.selection,a=r;if(!s)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof He,s;if(r){if(n.node.isTextblock||!aa(t.doc,n.from))return!1;s=n.from}else if(s=af(t.doc,n.from,-1),s==null)return!1;if(e){let a=t.tr.join(s);r&&a.setSelection(He.create(a.doc,s-t.doc.resolve(s).nodeBefore.nodeSize)),e(a.scrollIntoView())}return!0},TO=(t,e)=>{let n=t.selection,r;if(n instanceof He){if(n.node.isTextblock||!aa(t.doc,n.to))return!1;r=n.to}else if(r=af(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},MO=(t,e)=>{let{$from:n,$to:r}=t.selection,s=n.blockRange(r),a=s&&fl(s);return a==null?!1:(e&&e(t.tr.lift(s,a).scrollIntoView()),!0)},fS=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` +`).scrollIntoView()),!0)};function e0(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let s=n.node(-1),a=n.indexAfter(-1),o=e0(s.contentMatchAt(a));if(!o||!s.canReplaceWith(a,a,o))return!1;if(e){let c=n.after(),u=t.tr.replaceWith(c,c,o.createAndFill());u.setSelection(Je.near(u.doc.resolve(c),1)),e(u.scrollIntoView())}return!0},pS=(t,e)=>{let n=t.selection,{$from:r,$to:s}=n;if(n instanceof Sr||r.parent.inlineContent||s.parent.inlineContent)return!1;let a=e0(s.parent.contentMatchAt(s.indexAfter()));if(!a||!a.isTextblock)return!1;if(e){let o=(!r.parentOffset&&s.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let a=n.before();if(Zs(t.doc,a))return e&&e(t.tr.split(a).scrollIntoView()),!0}let r=n.blockRange(),s=r&&fl(r);return s==null?!1:(e&&e(t.tr.lift(r,s).scrollIntoView()),!0)};function RO(t){return(e,n)=>{let{$from:r,$to:s}=e.selection;if(e.selection instanceof He&&e.selection.node.isBlock)return!r.parentOffset||!Zs(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let a=[],o,c,u=!1,h=!1;for(let y=r.depth;;y--)if(r.node(y).isBlock){u=r.end(y)==r.pos+(r.depth-y),h=r.start(y)==r.pos-(r.depth-y),c=e0(r.node(y-1).contentMatchAt(r.indexAfter(y-1))),a.unshift(u&&c?{type:c}:null),o=y;break}else{if(y==1)return!1;a.unshift(null)}let f=e.tr;(e.selection instanceof We||e.selection instanceof Sr)&&f.deleteSelection();let m=f.mapping.map(r.pos),g=Zs(f.doc,m,a.length,a);if(g||(a[0]=c?{type:c}:null,g=Zs(f.doc,m,a.length,a)),!g)return!1;if(f.split(m,a.length,a),!u&&h&&r.node(o).type!=c){let y=f.mapping.map(r.before(o)),v=f.doc.resolve(y);c&&r.node(o-1).canReplaceWith(v.index(),v.index()+1,c)&&f.setNodeMarkup(f.mapping.map(r.before(o)),c)}return n&&n(f.scrollIntoView()),!0}}const PO=RO(),IO=(t,e)=>{let{$from:n,to:r}=t.selection,s,a=n.sharedDepth(r);return a==0?!1:(s=n.before(a),e&&e(t.tr.setSelection(He.create(t.doc,s))),!0)};function OO(t,e,n){let r=e.nodeBefore,s=e.nodeAfter,a=e.index();return!r||!s||!r.type.compatibleContent(s.type)?!1:!r.content.size&&e.parent.canReplace(a-1,a)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(a,a+1)||!(s.isTextblock||aa(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function gS(t,e,n,r){let s=e.nodeBefore,a=e.nodeAfter,o,c,u=s.type.spec.isolating||a.type.spec.isolating;if(!u&&OO(t,e,n))return!0;let h=!u&&e.parent.canReplace(e.index(),e.index()+1);if(h&&(o=(c=s.contentMatchAt(s.childCount)).findWrapping(a.type))&&c.matchType(o[0]||a.type).validEnd){if(n){let y=e.pos+a.nodeSize,v=me.empty;for(let k=o.length-1;k>=0;k--)v=me.from(o[k].create(null,v));v=me.from(s.copy(v));let j=t.tr.step(new kn(e.pos-1,y,e.pos,y,new Pe(v,1,0),o.length,!0)),w=j.doc.resolve(y+2*o.length);w.nodeAfter&&w.nodeAfter.type==s.type&&aa(j.doc,w.pos)&&j.join(w.pos),n(j.scrollIntoView())}return!0}let f=a.type.spec.isolating||r>0&&u?null:Je.findFrom(e,1),m=f&&f.$from.blockRange(f.$to),g=m&&fl(m);if(g!=null&&g>=e.depth)return n&&n(t.tr.lift(m,g).scrollIntoView()),!0;if(h&&el(a,"start",!0)&&el(s,"end")){let y=s,v=[];for(;v.push(y),!y.isTextblock;)y=y.lastChild;let j=a,w=1;for(;!j.isTextblock;j=j.firstChild)w++;if(y.canReplace(y.childCount,y.childCount,j.content)){if(n){let k=me.empty;for(let C=v.length-1;C>=0;C--)k=me.from(v[C].copy(k));let E=t.tr.step(new kn(e.pos-v.length,e.pos+a.nodeSize,e.pos+w,e.pos+a.nodeSize-w,new Pe(k,v.length,0),0,!0));n(E.scrollIntoView())}return!0}}return!1}function xS(t){return function(e,n){let r=e.selection,s=t<0?r.$from:r.$to,a=s.depth;for(;s.node(a).isInline;){if(!a)return!1;a--}return s.node(a).isTextblock?(n&&n(e.tr.setSelection(We.create(e.doc,t<0?s.start(a):s.end(a)))),!0):!1}}const DO=xS(-1),LO=xS(1);function _O(t,e=null){return function(n,r){let{$from:s,$to:a}=n.selection,o=s.blockRange(a),c=o&&Gx(o,t,e);return c?(r&&r(n.tr.wrap(o,c).scrollIntoView()),!0):!1}}function N1(t,e=null){return function(n,r){let s=!1;for(let a=0;a{if(s)return!1;if(!(!u.isTextblock||u.hasMarkup(t,e)))if(u.type==t)s=!0;else{let f=n.doc.resolve(h),m=f.index();s=f.parent.canReplaceWith(m,m+1,t)}})}if(!s)return!1;if(r){let a=n.tr;for(let o=0;o=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let u=o.resolve(e.start-2);a=new sh(u,u,e.depth),e.endIndex=0;f--)a=me.from(n[f].type.create(n[f].attrs,a));t.step(new kn(e.start-(r?2:0),e.end,e.start,e.end,new Pe(a,0,0),n.length,!0));let o=0;for(let f=0;fo.childCount>0&&o.firstChild.type==t);return a?n?r.node(a.depth-1).type==t?VO(e,n,t,a):HO(e,n,a):!0:!1}}function VO(t,e,n,r){let s=t.tr,a=r.end,o=r.$to.end(r.depth);aj;v--)y-=s.child(v).nodeSize,r.delete(y-1,y+1);let a=r.doc.resolve(n.start),o=a.nodeAfter;if(r.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let c=n.startIndex==0,u=n.endIndex==s.childCount,h=a.node(-1),f=a.index(-1);if(!h.canReplace(f+(c?0:1),f+1,o.content.append(u?me.empty:me.from(s))))return!1;let m=a.pos,g=m+o.nodeSize;return r.step(new kn(m-(c?1:0),g+(u?1:0),m+1,g-1,new Pe((c?me.empty:me.from(s.copy(me.empty))).append(u?me.empty:me.from(s.copy(me.empty))),c?0:1,u?0:1),c?0:1)),e(r.scrollIntoView()),!0}function WO(t){return function(e,n){let{$from:r,$to:s}=e.selection,a=r.blockRange(s,h=>h.childCount>0&&h.firstChild.type==t);if(!a)return!1;let o=a.startIndex;if(o==0)return!1;let c=a.parent,u=c.child(o-1);if(u.type!=t)return!1;if(n){let h=u.lastChild&&u.lastChild.type==c.type,f=me.from(h?t.create():null),m=new Pe(me.from(t.create(null,me.from(c.type.create(null,f)))),h?3:1,0),g=a.start,y=a.end;n(e.tr.step(new kn(g-(h?3:1),y,g,y,m,1,!0)).scrollIntoView())}return!0}}const In=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},tl=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let Lg=null;const Js=function(t,e,n){let r=Lg||(Lg=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},UO=function(){Lg=null},Ga=function(t,e,n,r){return n&&(j1(t,e,n,r,-1)||j1(t,e,n,r,1))},KO=/^(img|br|input|textarea|hr)$/i;function j1(t,e,n,r,s){for(var a;;){if(t==n&&e==r)return!0;if(e==(s<0?0:Vr(t))){let o=t.parentNode;if(!o||o.nodeType!=1||Yc(t)||KO.test(t.nodeName)||t.contentEditable=="false")return!1;e=In(t)+(s<0?0:1),t=o}else if(t.nodeType==1){let o=t.childNodes[e+(s<0?-1:0)];if(o.nodeType==1&&o.contentEditable=="false")if(!((a=o.pmViewDesc)===null||a===void 0)&&a.ignoreForSelection)e+=s;else return!1;else t=o,e=s<0?Vr(t):0}else return!1}}function Vr(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function qO(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=Vr(t)}else if(t.parentNode&&!Yc(t))e=In(t),t=t.parentNode;else return null}}function GO(t,e){for(;;){if(t.nodeType==3&&e2),Br=nl||(Es?/Mac/.test(Es.platform):!1),bS=Es?/Win/.test(Es.platform):!1,Qs=/Android \d/.test(oa),Qc=!!k1&&"webkitFontSmoothing"in k1.documentElement.style,XO=Qc?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function ZO(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function Ws(t,e){return typeof t=="number"?t:t[e]}function eD(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function S1(t,e,n){let r=t.someProp("scrollThreshold")||0,s=t.someProp("scrollMargin")||5,a=t.dom.ownerDocument;for(let o=n||t.dom;o;){if(o.nodeType!=1){o=tl(o);continue}let c=o,u=c==a.body,h=u?ZO(a):eD(c),f=0,m=0;if(e.toph.bottom-Ws(r,"bottom")&&(m=e.bottom-e.top>h.bottom-h.top?e.top+Ws(s,"top")-h.top:e.bottom-h.bottom+Ws(s,"bottom")),e.lefth.right-Ws(r,"right")&&(f=e.right-h.right+Ws(s,"right")),f||m)if(u)a.defaultView.scrollBy(f,m);else{let y=c.scrollLeft,v=c.scrollTop;m&&(c.scrollTop+=m),f&&(c.scrollLeft+=f);let j=c.scrollLeft-y,w=c.scrollTop-v;e={left:e.left-j,top:e.top-w,right:e.right-j,bottom:e.bottom-w}}let g=u?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(g))break;o=g=="absolute"?o.offsetParent:tl(o)}}function tD(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,s;for(let a=(e.left+e.right)/2,o=n+1;o=n-20){r=c,s=u.top;break}}return{refDOM:r,refTop:s,stack:wS(t.dom)}}function wS(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=tl(r));return e}function nD({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;NS(n,r==0?0:r-e)}function NS(t,e){for(let n=0;n=c){o=Math.max(v.bottom,o),c=Math.min(v.top,c);let j=v.left>e.left?v.left-e.left:v.right=(v.left+v.right)/2?1:0));continue}}else v.top>e.top&&!u&&v.left<=e.left&&v.right>=e.left&&(u=f,h={left:Math.max(v.left,Math.min(v.right,e.left)),top:v.top});!n&&(e.left>=v.right&&e.top>=v.top||e.left>=v.left&&e.top>=v.bottom)&&(a=m+1)}}return!n&&u&&(n=u,s=h,r=0),n&&n.nodeType==3?sD(n,s):!n||r&&n.nodeType==1?{node:t,offset:a}:jS(n,s)}function sD(t,e){let n=t.nodeValue.length,r=document.createRange(),s;for(let a=0;a=(o.left+o.right)/2?1:0)};break}}return r.detach(),s||{node:t,offset:0}}function n0(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function iD(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(o.left+o.right)/2?1:-1}return t.docView.posFromDOM(r,s,a)}function oD(t,e,n,r){let s=-1;for(let a=e,o=!1;a!=t.dom;){let c=t.docView.nearestDesc(a,!0),u;if(!c)return null;if(c.dom.nodeType==1&&(c.node.isBlock&&c.parent||!c.contentDOM)&&((u=c.dom.getBoundingClientRect()).width||u.height)&&(c.node.isBlock&&c.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(c.dom.nodeName)&&(!o&&u.left>r.left||u.top>r.top?s=c.posBefore:(!o&&u.right-1?s:t.docView.posFromDOM(e,n,-1)}function kS(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&s++}let h;Qc&&s&&r.nodeType==1&&(h=r.childNodes[s-1]).nodeType==1&&h.contentEditable=="false"&&h.getBoundingClientRect().top>=e.top&&s--,r==t.dom&&s==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?c=t.state.doc.content.size:(s==0||r.nodeType!=1||r.childNodes[s-1].nodeName!="BR")&&(c=oD(t,r,s,e))}c==null&&(c=aD(t,o,e));let u=t.docView.nearestDesc(o,!0);return{pos:c,inside:u?u.posAtStart-u.border:-1}}function C1(t){return t.top=0&&s==r.nodeValue.length?(u--,f=1):n<0?u--:h++,ec(Pi(Js(r,u,h),f),f<0)}if(!t.state.doc.resolve(e-(a||0)).parent.inlineContent){if(a==null&&s&&(n<0||s==Vr(r))){let u=r.childNodes[s-1];if(u.nodeType==1)return $m(u.getBoundingClientRect(),!1)}if(a==null&&s=0)}if(a==null&&s&&(n<0||s==Vr(r))){let u=r.childNodes[s-1],h=u.nodeType==3?Js(u,Vr(u)-(o?0:1)):u.nodeType==1&&(u.nodeName!="BR"||!u.nextSibling)?u:null;if(h)return ec(Pi(h,1),!1)}if(a==null&&s=0)}function ec(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function $m(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function CS(t,e,n){let r=t.state,s=t.root.activeElement;r!=e&&t.updateState(e),s!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),s!=t.dom&&s&&s.focus()}}function dD(t,e,n){let r=e.selection,s=n=="up"?r.$from:r.$to;return CS(t,e,()=>{let{node:a}=t.docView.domFromPos(s.pos,n=="up"?-1:1);for(;;){let c=t.docView.nearestDesc(a,!0);if(!c)break;if(c.node.isBlock){a=c.contentDOM||c.dom;break}a=c.dom.parentNode}let o=SS(t,s.pos,1);for(let c=a.firstChild;c;c=c.nextSibling){let u;if(c.nodeType==1)u=c.getClientRects();else if(c.nodeType==3)u=Js(c,0,c.nodeValue.length).getClientRects();else continue;for(let h=0;hf.top+1&&(n=="up"?o.top-f.top>(f.bottom-o.top)*2:f.bottom-o.bottom>(o.bottom-f.top)*2))return!1}}return!0})}const uD=/[\u0590-\u08ac]/;function hD(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let s=r.parentOffset,a=!s,o=s==r.parent.content.size,c=t.domSelection();return c?!uD.test(r.parent.textContent)||!c.modify?n=="left"||n=="backward"?a:o:CS(t,e,()=>{let{focusNode:u,focusOffset:h,anchorNode:f,anchorOffset:m}=t.domSelectionRange(),g=c.caretBidiLevel;c.modify("move",n,"character");let y=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:v,focusOffset:j}=t.domSelectionRange(),w=v&&!y.contains(v.nodeType==1?v:v.parentNode)||u==v&&h==j;try{c.collapse(f,m),u&&(u!=f||h!=m)&&c.extend&&c.extend(u,h)}catch{}return g!=null&&(c.caretBidiLevel=g),w}):r.pos==r.start()||r.pos==r.end()}let E1=null,T1=null,M1=!1;function fD(t,e,n){return E1==e&&T1==n?M1:(E1=e,T1=n,M1=n=="up"||n=="down"?dD(t,e,n):hD(t,e,n))}const Ur=0,A1=1,Ia=2,Ts=3;class Xc{constructor(e,n,r,s){this.parent=e,this.children=n,this.dom=r,this.contentDOM=s,this.dirty=Ur,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nIn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))s=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let a=e;;a=a.parentNode){if(a==this.dom){s=!1;break}if(a.previousSibling)break}if(s==null&&n==e.childNodes.length)for(let a=e;;a=a.parentNode){if(a==this.dom){s=!0;break}if(a.nextSibling)break}}return s??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,s=e;s;s=s.parentNode){let a=this.getDesc(s),o;if(a&&(!n||a.node))if(r&&(o=a.nodeDOM)&&!(o.nodeType==1?o.contains(e.nodeType==1?e:e.parentNode):o==e))r=!1;else return a}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let s=e;s;s=s.parentNode){let a=this.getDesc(s);if(a)return a.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||o instanceof TS){s=e-a;break}a=c}if(s)return this.children[r].domFromPos(s-this.children[r].border,n);for(let a;r&&!(a=this.children[r-1]).size&&a instanceof ES&&a.side>=0;r--);if(n<=0){let a,o=!0;for(;a=r?this.children[r-1]:null,!(!a||a.dom.parentNode==this.contentDOM);r--,o=!1);return a&&n&&o&&!a.border&&!a.domAtom?a.domFromPos(a.size,n):{node:this.contentDOM,offset:a?In(a.dom)+1:0}}else{let a,o=!0;for(;a=r=f&&n<=h-u.border&&u.node&&u.contentDOM&&this.contentDOM.contains(u.contentDOM))return u.parseRange(e,n,f);e=o;for(let m=c;m>0;m--){let g=this.children[m-1];if(g.size&&g.dom.parentNode==this.contentDOM&&!g.emptyChildAt(1)){s=In(g.dom)+1;break}e-=g.size}s==-1&&(s=0)}if(s>-1&&(h>n||c==this.children.length-1)){n=h;for(let f=c+1;fv&&on){let v=c;c=u,u=v}let y=document.createRange();y.setEnd(u.node,u.offset),y.setStart(c.node,c.offset),h.removeAllRanges(),h.addRange(y)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,s=0;s=r:er){let c=r+a.border,u=o-a.border;if(e>=c&&n<=u){this.dirty=e==r||n==o?Ia:A1,e==c&&n==u&&(a.contentLost||a.dom.parentNode!=this.contentDOM)?a.dirty=Ts:a.markDirty(e-c,n-c);return}else a.dirty=a.dom==a.contentDOM&&a.dom.parentNode==this.contentDOM&&!a.children.length?Ia:Ts}r=o}this.dirty=Ia}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?Ia:A1;n.dirty{if(!a)return s;if(a.parent)return a.parent.posBeforeChild(a)})),!n.type.spec.raw){if(o.nodeType!=1){let c=document.createElement("span");c.appendChild(o),o=c}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=n,this.widget=n,a=this}matchesWidget(e){return this.dirty==Ur&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class pD extends Xc{constructor(e,n,r,s){super(e,[],n,null),this.textDOM=r,this.text=s}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Ja extends Xc{constructor(e,n,r,s,a){super(e,[],r,s),this.mark=n,this.spec=a}static create(e,n,r,s){let a=s.nodeViews[n.type.name],o=a&&a(n,s,r);return(!o||!o.dom)&&(o=no.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new Ja(e,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&Ts||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Ts&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Ur){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(a=Bg(a,0,e,r));for(let c=0;c{if(!u)return o;if(u.parent)return u.parent.posBeforeChild(u)},r,s),f=h&&h.dom,m=h&&h.contentDOM;if(n.isText){if(!f)f=document.createTextNode(n.text);else if(f.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else f||({dom:f,contentDOM:m}=no.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!m&&!n.isText&&f.nodeName!="BR"&&(f.hasAttribute("contenteditable")||(f.contentEditable="false"),n.type.spec.draggable&&(f.draggable=!0));let g=f;return f=RS(f,r,n),h?u=new mD(e,n,r,s,f,m||null,g,h,a,o+1):n.isText?new df(e,n,r,s,f,g,a):new Ji(e,n,r,s,f,m||null,g,a,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>me.empty)}return e}matchesNode(e,n,r){return this.dirty==Ur&&e.eq(this.node)&&ah(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,s=n,a=e.composing?this.localCompositionInfo(e,n):null,o=a&&a.pos>-1?a:null,c=a&&a.pos<0,u=new xD(this,o&&o.node,e);bD(this.node,this.innerDeco,(h,f,m)=>{h.spec.marks?u.syncToMarks(h.spec.marks,r,e,f):h.type.side>=0&&!m&&u.syncToMarks(f==this.node.childCount?Ct.none:this.node.child(f).marks,r,e,f),u.placeWidget(h,e,s)},(h,f,m,g)=>{u.syncToMarks(h.marks,r,e,g);let y;u.findNodeMatch(h,f,m,g)||c&&e.state.selection.from>s&&e.state.selection.to-1&&u.updateNodeAt(h,f,m,y,e)||u.updateNextNode(h,f,m,e,g,s)||u.addNode(h,f,m,e,s),s+=h.nodeSize}),u.syncToMarks([],r,e,0),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==Ia)&&(o&&this.protectLocalComposition(e,o),MS(this.contentDOM,this.children,e),nl&&wD(this.dom))}localCompositionInfo(e,n){let{from:r,to:s}=e.state.selection;if(!(e.state.selection instanceof We)||rn+this.node.content.size)return null;let a=e.input.compositionNode;if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let o=a.nodeValue,c=ND(this.node.content,o,r-n,s-n);return c<0?null:{node:a,pos:c,text:o}}else return{node:a,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:s}){if(this.getDesc(n))return;let a=n;for(;a.parentNode!=this.contentDOM;a=a.parentNode){for(;a.previousSibling;)a.parentNode.removeChild(a.previousSibling);for(;a.nextSibling;)a.parentNode.removeChild(a.nextSibling);a.pmViewDesc&&(a.pmViewDesc=void 0)}let o=new pD(this,a,n,s);e.input.compositionNodes.push(o),this.children=Bg(this.children,r,r+s.length,e,o)}update(e,n,r,s){return this.dirty==Ts||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,s),!0)}updateInner(e,n,r,s){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(s,this.posAtStart),this.dirty=Ur}updateOuterDeco(e){if(ah(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=AS(this.dom,this.nodeDOM,Fg(this.outerDeco,this.node,n),Fg(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function R1(t,e,n,r,s){RS(r,e,t);let a=new Ji(void 0,t,e,n,r,r,r,s,0);return a.contentDOM&&a.updateChildren(s,0),a}class df extends Ji{constructor(e,n,r,s,a,o,c){super(e,n,r,s,a,null,o,c,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,s){return this.dirty==Ts||this.dirty!=Ur&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Ur||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,s.trackWrites==this.nodeDOM&&(s.trackWrites=null)),this.node=e,this.dirty=Ur,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let s=this.node.cut(e,n),a=document.createTextNode(s.text);return new df(this.parent,s,this.outerDeco,this.innerDeco,a,a,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Ts)}get domAtom(){return!1}isText(e){return this.node.text==e}}class TS extends Xc{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Ur&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class mD extends Ji{constructor(e,n,r,s,a,o,c,u,h,f){super(e,n,r,s,a,o,c,h,f),this.spec=u}update(e,n,r,s){if(this.dirty==Ts)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let a=this.spec.update(e,n,r);return a&&this.updateInner(e,n,r,s),a}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,s)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,s){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,s)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function MS(t,e,n){let r=t.firstChild,s=!1;for(let a=0;a>1,c=Math.min(o,e.length);for(;a-1)u>this.index&&(this.changed=!0,this.destroyBetween(this.index,u)),this.top=this.top.children[this.index];else{let f=Ja.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,f),this.top=f,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,s){let a=-1,o;if(s>=this.preMatch.index&&(o=this.preMatch.matches[s-this.preMatch.index]).parent==this.top&&o.matchesNode(e,n,r))a=this.top.children.indexOf(o,this.index);else for(let c=this.index,u=Math.min(this.top.children.length,c+5);c0;){let c;for(;;)if(r){let h=n.children[r-1];if(h instanceof Ja)n=h,r=h.children.length;else{c=h,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let u=c.node;if(u){if(u!=t.child(s-1))break;--s,a.set(c,s),o.push(c)}}return{index:s,matched:a,matches:o.reverse()}}function vD(t,e){return t.type.side-e.type.side}function bD(t,e,n,r){let s=e.locals(t),a=0;if(s.length==0){for(let h=0;ha;)c.push(s[o++]);let v=a+g.nodeSize;if(g.isText){let w=v;o!w.inline):c.slice();r(g,j,e.forChild(a,g),y),a=v}}function wD(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function ND(t,e,n,r){for(let s=0,a=0;s=n){if(a>=r&&u.slice(r-e.length-c,r-c)==e)return r-e.length;let h=c=0&&h+e.length+c>=n)return c+h;if(n==r&&u.length>=r+e.length-c&&u.slice(r-c,r-c+e.length)==e)return r}}return-1}function Bg(t,e,n,r,s){let a=[];for(let o=0,c=0;o=n||f<=e?a.push(u):(hn&&a.push(u.slice(n-h,u.size,r)))}return a}function r0(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let s=t.docView.nearestDesc(n.focusNode),a=s&&s.size==0,o=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let c=r.resolve(o),u,h;if(cf(n)){for(u=o;s&&!s.node;)s=s.parent;let m=s.node;if(s&&m.isAtom&&He.isSelectable(m)&&s.parent&&!(m.isInline&&JO(n.focusNode,n.focusOffset,s.dom))){let g=s.posBefore;h=new He(o==g?c:r.resolve(g))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let m=o,g=o;for(let y=0;y{(n.anchorNode!=r||n.anchorOffset!=s)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!PS(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function kD(t){let e=t.domSelection();if(!e)return;let n=t.cursorWrapper.dom,r=n.nodeName=="IMG";r?e.collapse(n.parentNode,In(n)+1):e.collapse(n,0),!r&&!t.state.selection.visible&&hr&&Gi<=11&&(n.disabled=!0,n.disabled=!1)}function IS(t,e){if(e instanceof He){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(L1(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else L1(t)}function L1(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function s0(t,e,n,r){return t.someProp("createSelectionBetween",s=>s(t,e,n))||We.between(e,n,r)}function _1(t){return t.editable&&!t.hasFocus()?!1:OS(t)}function OS(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function SD(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return Ga(e.node,e.offset,n.anchorNode,n.anchorOffset)}function Vg(t,e){let{$anchor:n,$head:r}=t.selection,s=e>0?n.max(r):n.min(r),a=s.parent.inlineContent?s.depth?t.doc.resolve(e>0?s.after():s.before()):null:s;return a&&Je.findFrom(a,e)}function Ii(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function z1(t,e,n){let r=t.state.selection;if(r instanceof We)if(n.indexOf("s")>-1){let{$head:s}=r,a=s.textOffset?null:e<0?s.nodeBefore:s.nodeAfter;if(!a||a.isText||!a.isLeaf)return!1;let o=t.state.doc.resolve(s.pos+a.nodeSize*(e<0?-1:1));return Ii(t,new We(r.$anchor,o))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let s=Vg(t.state,e);return s&&s instanceof He?Ii(t,s):!1}else if(!(Br&&n.indexOf("m")>-1)){let s=r.$head,a=s.textOffset?null:e<0?s.nodeBefore:s.nodeAfter,o;if(!a||a.isText)return!1;let c=e<0?s.pos-a.nodeSize:s.pos;return a.isAtom||(o=t.docView.descAt(c))&&!o.contentDOM?He.isSelectable(a)?Ii(t,new He(e<0?t.state.doc.resolve(s.pos-a.nodeSize):s)):Qc?Ii(t,new We(t.state.doc.resolve(e<0?c:c+a.nodeSize))):!1:!1}}else return!1;else{if(r instanceof He&&r.node.isInline)return Ii(t,new We(e>0?r.$to:r.$from));{let s=Vg(t.state,e);return s?Ii(t,s):!1}}}function oh(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function xc(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function _o(t,e){return e<0?CD(t):ED(t)}function CD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let s,a,o=!1;for(Wr&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let c=n.childNodes[r-1];if(xc(c,-1))s=n,a=--r;else if(c.nodeType==3)n=c,r=n.nodeValue.length;else break}}else{if(DS(n))break;{let c=n.previousSibling;for(;c&&xc(c,-1);)s=n.parentNode,a=In(c),c=c.previousSibling;if(c)n=c,r=oh(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}o?Hg(t,n,r):s&&Hg(t,s,a)}function ED(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let s=oh(n),a,o;for(;;)if(r{t.state==s&&ei(t)},50)}function $1(t,e){let n=t.state.doc.resolve(e);if(!(Dn||bS)&&n.parent.inlineContent){let s=t.coordsAtPos(e);if(e>n.start()){let a=t.coordsAtPos(e-1),o=(a.top+a.bottom)/2;if(o>s.top&&o1)return a.lefts.top&&o1)return a.left>s.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function F1(t,e,n){let r=t.state.selection;if(r instanceof We&&!r.empty||n.indexOf("s")>-1||Br&&n.indexOf("m")>-1)return!1;let{$from:s,$to:a}=r;if(!s.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let o=Vg(t.state,e);if(o&&o instanceof He)return Ii(t,o)}if(!s.parent.inlineContent){let o=e<0?s:a,c=r instanceof Sr?Je.near(o,e):Je.findFrom(o,e);return c?Ii(t,c):!1}return!1}function B1(t,e){if(!(t.state.selection instanceof We))return!0;let{$head:n,$anchor:r,empty:s}=t.state.selection;if(!n.sameParent(r))return!0;if(!s)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let a=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let o=t.state.tr;return e<0?o.delete(n.pos-a.nodeSize,n.pos):o.delete(n.pos,n.pos+a.nodeSize),t.dispatch(o),!0}return!1}function V1(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function AD(t){if(!Kn||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;V1(t,r,"true"),setTimeout(()=>V1(t,r,"false"),20)}return!1}function RD(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function PD(t,e){let n=e.keyCode,r=RD(e);if(n==8||Br&&n==72&&r=="c")return B1(t,-1)||_o(t,-1);if(n==46&&!e.shiftKey||Br&&n==68&&r=="c")return B1(t,1)||_o(t,1);if(n==13||n==27)return!0;if(n==37||Br&&n==66&&r=="c"){let s=n==37?$1(t,t.state.selection.from)=="ltr"?-1:1:-1;return z1(t,s,r)||_o(t,s)}else if(n==39||Br&&n==70&&r=="c"){let s=n==39?$1(t,t.state.selection.from)=="ltr"?1:-1:1;return z1(t,s,r)||_o(t,s)}else{if(n==38||Br&&n==80&&r=="c")return F1(t,-1,r)||_o(t,-1);if(n==40||Br&&n==78&&r=="c")return AD(t)||F1(t,1,r)||_o(t,1);if(r==(Br?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function i0(t,e){t.someProp("transformCopied",y=>{e=y(e,t)});let n=[],{content:r,openStart:s,openEnd:a}=e;for(;s>1&&a>1&&r.childCount==1&&r.firstChild.childCount==1;){s--,a--;let y=r.firstChild;n.push(y.type.name,y.attrs!=y.type.defaultAttrs?y.attrs:null),r=y.content}let o=t.someProp("clipboardSerializer")||no.fromSchema(t.state.schema),c=BS(),u=c.createElement("div");u.appendChild(o.serializeFragment(r,{document:c}));let h=u.firstChild,f,m=0;for(;h&&h.nodeType==1&&(f=FS[h.nodeName.toLowerCase()]);){for(let y=f.length-1;y>=0;y--){let v=c.createElement(f[y]);for(;u.firstChild;)v.appendChild(u.firstChild);u.appendChild(v),m++}h=u.firstChild}h&&h.nodeType==1&&h.setAttribute("data-pm-slice",`${s} ${a}${m?` -${m}`:""} ${JSON.stringify(n)}`);let g=t.someProp("clipboardTextSerializer",y=>y(e,t))||e.content.textBetween(0,e.content.size,` `);return{dom:u,text:g,slice:e}}function LS(t,e,n,r,s){let a=s.parent.type.spec.code,o,c;if(!n&&!e)return null;let u=!!e&&(r||a||!n);if(u){if(t.someProp("transformPastedText",g=>{e=g(e,a||r,t)}),a)return c=new Pe(me.from(t.state.schema.text(e.replace(/\r\n?/g,` -`))),0,0),t.someProp("transformPasted",g=>{c=g(c,t,!0)}),c;let m=t.someProp("clipboardTextParser",g=>g(e,s,r,t));if(m)c=m;else{let g=s.marks(),{schema:y}=t.state,v=no.fromSchema(y);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(j=>{let w=o.appendChild(document.createElement("p"));j&&w.appendChild(v.serializeNode(y.text(j,g)))})}}else t.someProp("transformPastedHTML",m=>{n=m(n,t)}),o=DD(n),Qc&&LD(o);let h=o&&o.querySelector("[data-pm-slice]"),f=h&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(h.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let m=+f[3];m>0;m--){let g=o.firstChild;for(;g&&g.nodeType!=1;)g=g.nextSibling;if(!g)break;o=g}if(c||(c=(t.someProp("clipboardParser")||t.someProp("domParser")||qi.fromSchema(t.state.schema)).parseSlice(o,{preserveWhitespace:!!(u||f),context:s,ruleFromNode(g){return g.nodeName=="BR"&&!g.nextSibling&&g.parentNode&&!PD.test(g.parentNode.nodeName)?{ignore:!0}:null}})),f)c=_D(H1(c,+f[1],+f[2]),f[4]);else if(c=Pe.maxOpen(ID(c.content,s),!0),c.openStart||c.openEnd){let m=0,g=0;for(let y=c.content.firstChild;m{c=m(c,t,u)}),c}const PD=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function ID(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let s=e.node(n).contentMatchAt(e.index(n)),a,o=[];if(t.forEach(c=>{if(!o)return;let u=s.findWrapping(c.type),h;if(!u)return o=null;if(h=o.length&&a.length&&zS(u,a,c,o[o.length-1],0))o[o.length-1]=h;else{o.length&&(o[o.length-1]=$S(o[o.length-1],a.length));let f=_S(c,u);o.push(f),s=s.matchType(f.type),a=u}}),o)return me.from(o)}return t}function _S(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,me.from(t));return t}function zS(t,e,n,r,s){if(s1&&(a=0),s=n&&(c=e<0?o.contentMatchAt(0).fillBefore(c,a<=s).append(c):c.append(o.contentMatchAt(o.childCount).fillBefore(me.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,o.copy(c))}function H1(t,e,n){return en})),Bm.createHTML(t)):t}function DD(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=BS().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),s;if((s=r&&FS[r[1].toLowerCase()])&&(t=s.map(a=>"<"+a+">").join("")+t+s.map(a=>"").reverse().join("")),n.innerHTML=OD(t),s)for(let a=0;a=0;c-=2){let u=n.nodes[r[c]];if(!u||u.hasRequiredAttrs())break;s=me.from(u.create(r[c+1],s)),a++,o++}return new Pe(s,a,o)}const tr={},nr={},zD={touchstart:!0,touchmove:!0};class $D{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function FD(t){for(let e in tr){let n=tr[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{VD(t,r)&&!a0(t,r)&&(t.editable||!(r.type in nr))&&n(t,r)},zD[e]?{passive:!0}:void 0)}Kn&&t.dom.addEventListener("input",()=>null),Ug(t)}function Hi(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function BD(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function Ug(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>a0(t,r))})}function a0(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function VD(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function HD(t,e){!a0(t,e)&&tr[e.type]&&(t.editable||!(e.type in nr))&&tr[e.type](t,e)}nr.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!HS(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Qs&&Dn&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),nl&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",s=>s(t,Ra(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||RD(t,n)?n.preventDefault():Hi(t,"key")};nr.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};nr.keypress=(t,e)=>{let n=e;if(HS(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Br&&n.metaKey)return;if(t.someProp("handleKeyPress",s=>s(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof We)||!r.$from.sameParent(r.$to)){let s=String.fromCharCode(n.charCode),a=()=>t.state.tr.insertText(s).scrollIntoView();!/[\r\n]/.test(s)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,s,a))&&t.dispatch(a()),n.preventDefault()}};function uf(t){return{left:t.clientX,top:t.clientY}}function WD(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function o0(t,e,n,r,s){if(r==-1)return!1;let a=t.state.doc.resolve(r);for(let o=a.depth+1;o>0;o--)if(t.someProp(e,c=>o>a.depth?c(t,n,a.nodeAfter,a.before(o),s,!0):c(t,n,a.node(o),a.before(o),s,!1)))return!0;return!1}function Yo(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function UD(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&He.isSelectable(r)?(Yo(t,new He(n)),!0):!1}function KD(t,e){if(e==-1)return!1;let n=t.state.selection,r,s;n instanceof He&&(r=n.node);let a=t.state.doc.resolve(e);for(let o=a.depth+1;o>0;o--){let c=o>a.depth?a.nodeAfter:a.node(o);if(He.isSelectable(c)){r&&n.$from.depth>0&&o>=n.$from.depth&&a.before(n.$from.depth+1)==n.$from.pos?s=a.before(n.$from.depth):s=a.before(o);break}}return s!=null?(Yo(t,He.create(t.state.doc,s)),!0):!1}function qD(t,e,n,r,s){return o0(t,"handleClickOn",e,n,r)||t.someProp("handleClick",a=>a(t,e,r))||(s?KD(t,n):UD(t,n))}function GD(t,e,n,r){return o0(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",s=>s(t,e,r))}function JD(t,e,n,r){return o0(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",s=>s(t,e,r))||YD(t,n,r)}function YD(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Yo(t,We.create(r,0,r.content.size)),!0):!1;let s=r.resolve(e);for(let a=s.depth+1;a>0;a--){let o=a>s.depth?s.nodeAfter:s.node(a),c=s.before(a);if(o.inlineContent)Yo(t,We.create(r,c+1,c+1+o.content.size));else if(He.isSelectable(o))Yo(t,He.create(r,c));else continue;return!0}}function l0(t){return lh(t)}const VS=Br?"metaKey":"ctrlKey";tr.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=l0(t),s=Date.now(),a="singleClick";s-t.input.lastClick.time<500&&WD(n,t.input.lastClick)&&!n[VS]&&t.input.lastClick.button==n.button&&(t.input.lastClick.type=="singleClick"?a="doubleClick":t.input.lastClick.type=="doubleClick"&&(a="tripleClick")),t.input.lastClick={time:s,x:n.clientX,y:n.clientY,type:a,button:n.button};let o=t.posAtCoords(uf(n));o&&(a=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new QD(t,o,n,!!r)):(a=="doubleClick"?GD:JD)(t,o.pos,o.inside,n)?n.preventDefault():Hi(t,"pointer"))};class QD{constructor(e,n,r,s){this.view=e,this.pos=n,this.event=r,this.flushed=s,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[VS],this.allowDefault=r.shiftKey;let a,o;if(n.inside>-1)a=e.state.doc.nodeAt(n.inside),o=n.inside;else{let f=e.state.doc.resolve(n.pos);a=f.parent,o=f.depth?f.before():0}const c=s?null:r.target,u=c?e.docView.nearestDesc(c,!0):null;this.target=u&&u.nodeDOM.nodeType==1?u.nodeDOM:null;let{selection:h}=e.state;(r.button==0&&a.type.spec.draggable&&a.type.spec.selectable!==!1||h instanceof He&&h.from<=o&&h.to>o)&&(this.mightDrag={node:a,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Wr&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Hi(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>ei(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(uf(e))),this.updateAllowDefault(e),this.allowDefault||!n?Hi(this.view,"pointer"):qD(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Kn&&this.mightDrag&&!this.mightDrag.node.isAtom||Dn&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Yo(this.view,Je.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):Hi(this.view,"pointer")}move(e){this.updateAllowDefault(e),Hi(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}tr.touchstart=t=>{t.input.lastTouch=Date.now(),l0(t),Hi(t,"pointer")};tr.touchmove=t=>{t.input.lastTouch=Date.now(),Hi(t,"pointer")};tr.contextmenu=t=>l0(t);function HS(t,e){return t.composing?!0:Kn&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const XD=Qs?5e3:-1;nr.compositionstart=nr.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof We&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)||Dn&&bS&&ZD(t)))t.markCursor=t.state.storedMarks||n.marks(),lh(t,!0),t.markCursor=null;else if(lh(t,!e.selection.empty),Wr&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let s=r.focusNode,a=r.focusOffset;s&&s.nodeType==1&&a!=0;){let o=a<0?s.lastChild:s.childNodes[a-1];if(!o)break;if(o.nodeType==3){let c=t.domSelection();c&&c.collapse(o,o.nodeValue.length);break}else s=o,a=-1}}t.input.composing=!0}WS(t,XD)};function ZD(t){let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(!e||e.nodeType!=1||n>=e.childNodes.length)return!1;let r=e.childNodes[n];return r.nodeType==1&&r.contentEditable=="false"}nr.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.badSafariComposition?t.domObserver.forceFlush():t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,WS(t,20))};function WS(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>lh(t),e))}function US(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=tL());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function eL(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=KO(e.focusNode,e.focusOffset),r=qO(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let s=r.pmViewDesc,a=t.domObserver.lastChangedTextNode;if(n==a||r==a)return a;if(!s||!s.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let o=n.pmViewDesc;if(!(!o||!o.isText(n.nodeValue)))return r}}return n||r}function tL(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function lh(t,e=!1){if(!(Qs&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),US(t),e||t.docView&&t.docView.dirty){let n=r0(t),r=t.state.selection;return n&&!n.eq(r)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function nL(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),s=document.createRange();s.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(s),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const Oc=hr&&Gi<15||nl&&QO<604;tr.copy=nr.cut=(t,e)=>{let n=e,r=t.state.selection,s=n.type=="cut";if(r.empty)return;let a=Oc?null:n.clipboardData,o=r.content(),{dom:c,text:u}=i0(t,o);a?(n.preventDefault(),a.clearData(),a.setData("text/html",c.innerHTML),a.setData("text/plain",u)):nL(t,c),s&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function rL(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function sL(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let s=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Dc(t,r.value,null,s,e):Dc(t,r.textContent,r.innerHTML,s,e)},50)}function Dc(t,e,n,r,s){let a=LS(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",u=>u(t,s,a||Pe.empty)))return!0;if(!a)return!1;let o=rL(a),c=o?t.state.tr.replaceSelectionWith(o,r):t.state.tr.replaceSelection(a);return t.dispatch(c.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function KS(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}nr.paste=(t,e)=>{let n=e;if(t.composing&&!Qs)return;let r=Oc?null:n.clipboardData,s=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&Dc(t,KS(r),r.getData("text/html"),s,n)?n.preventDefault():sL(t,n)};class qS{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const iL=Br?"altKey":"ctrlKey";function GS(t,e){let n=t.someProp("dragCopies",r=>!r(e));return n??!e[iL]}tr.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let s=t.state.selection,a=s.empty?null:t.posAtCoords(uf(n)),o;if(!(a&&a.pos>=s.from&&a.pos<=(s instanceof He?s.to-1:s.to))){if(r&&r.mightDrag)o=He.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let m=t.docView.nearestDesc(n.target,!0);m&&m.node.type.spec.draggable&&m!=t.docView&&(o=He.create(t.state.doc,m.posBefore))}}let c=(o||t.state.selection).content(),{dom:u,text:h,slice:f}=i0(t,c);(!n.dataTransfer.files.length||!Dn||vS>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Oc?"Text":"text/html",u.innerHTML),n.dataTransfer.effectAllowed="copyMove",Oc||n.dataTransfer.setData("text/plain",h),t.dragging=new qS(f,GS(t,n),o)};tr.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};nr.dragover=nr.dragenter=(t,e)=>e.preventDefault();nr.drop=(t,e)=>{try{aL(t,e,t.dragging)}finally{t.dragging=null}};function aL(t,e,n){if(!e.dataTransfer)return;let r=t.posAtCoords(uf(e));if(!r)return;let s=t.state.doc.resolve(r.pos),a=n&&n.slice;a?t.someProp("transformPasted",y=>{a=y(a,t,!1)}):a=LS(t,KS(e.dataTransfer),Oc?null:e.dataTransfer.getData("text/html"),!1,s);let o=!!(n&&GS(t,e));if(t.someProp("handleDrop",y=>y(t,e,a||Pe.empty,o))){e.preventDefault();return}if(!a)return;e.preventDefault();let c=a?Xk(t.state.doc,s.pos,a):s.pos;c==null&&(c=s.pos);let u=t.state.tr;if(o){let{node:y}=n;y?y.replace(u):u.deleteSelection()}let h=u.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,m=u.doc;if(f?u.replaceRangeWith(h,h,a.content.firstChild):u.replaceRange(h,h,a),u.doc.eq(m))return;let g=u.doc.resolve(h);if(f&&He.isSelectable(a.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(a.content.firstChild))u.setSelection(new He(g));else{let y=u.mapping.map(c);u.mapping.maps[u.mapping.maps.length-1].forEach((v,j,w,k)=>y=k),u.setSelection(s0(t,g,u.doc.resolve(y)))}t.focus(),t.dispatch(u.setMeta("uiEvent","drop"))}tr.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&ei(t)},20))};tr.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};tr.beforeinput=(t,e)=>{if(Dn&&Qs&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",a=>a(t,Ra(8,"Backspace")))))return;let{$cursor:s}=t.state.selection;s&&s.pos>0&&t.dispatch(t.state.tr.delete(s.pos-1,s.pos).scrollIntoView())},50)}};for(let t in nr)tr[t]=nr[t];function Lc(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class ch{constructor(e,n){this.toDOM=e,this.spec=n||Fa,this.side=this.spec.side||0}map(e,n,r,s){let{pos:a,deleted:o}=e.mapResult(n.from+s,this.side<0?-1:1);return o?null:new gn(a-r,a-r,this)}valid(){return!0}eq(e){return this==e||e instanceof ch&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Lc(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Yi{constructor(e,n){this.attrs=e,this.spec=n||Fa}map(e,n,r,s){let a=e.map(n.from+s,this.spec.inclusiveStart?-1:1)-r,o=e.map(n.to+s,this.spec.inclusiveEnd?1:-1)-r;return a>=o?null:new gn(a,o,this)}valid(e,n){return n.from=e&&(!a||a(c.spec))&&r.push(c.copy(c.from+s,c.to+s))}for(let o=0;oe){let c=this.children[o]+1;this.children[o+2].findInner(e-c,n-c,r,s+c,a)}}map(e,n,r){return this==Hn||e.maps.length==0?this:this.mapInner(e,n,0,0,r||Fa)}mapInner(e,n,r,s,a){let o;for(let c=0;c{let h=u+r,f;if(f=YS(n,c,h)){for(s||(s=this.children.slice());ac&&m.to=e){this.children[c]==e&&(r=this.children[c+2]);break}let a=e+1,o=a+n.content.size;for(let c=0;ca&&u.type instanceof Yi){let h=Math.max(a,u.from)-a,f=Math.min(o,u.to)-a;hs.map(e,n,Fa));return Li.from(r)}forChild(e,n){if(n.isLeaf)return St.empty;let r=[];for(let s=0;sn instanceof St)?e:e.reduce((n,r)=>n.concat(r instanceof St?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let w=j-v-(y-g);for(let k=0;kE+f-m)continue;let C=c[k]+f-m;y>=C?c[k+1]=g<=C?-2:-1:g>=f&&w&&(c[k]+=w,c[k+1]+=w)}m+=w}),f=n.maps[h].map(f,-1)}let u=!1;for(let h=0;h=r.content.size){u=!0;continue}let g=n.map(t[h+1]+a,-1),y=g-s,{index:v,offset:j}=r.content.findIndex(m),w=r.maybeChild(v);if(w&&j==m&&j+w.nodeSize==y){let k=c[h+2].mapInner(n,w,f+1,t[h]+a+1,o);k!=Hn?(c[h]=m,c[h+1]=y,c[h+2]=k):(c[h+1]=-2,u=!0)}else u=!0}if(u){let h=lL(c,t,e,n,s,a,o),f=dh(h,r,0,o);e=f.local;for(let m=0;mn&&o.to{let h=YS(t,c,u+n);if(h){a=!0;let f=dh(h,c,n+u+1,r);f!=Hn&&s.push(u,u+c.nodeSize,f)}});let o=JS(a?QS(t):t,-n).sort(Ba);for(let c=0;c0;)e++;t.splice(e,0,n)}function Vm(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=Hn&&e.push(r)}),t.cursorWrapper&&e.push(St.create(t.state.doc,[t.cursorWrapper.deco])),Li.from(e)}const cL={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},dL=hr&&Gi<=11;class uL{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class hL{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new uL,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let s=0;ss.type=="childList"&&s.removedNodes.length||s.type=="characterData"&&s.oldValue.length>s.target.nodeValue.length)?this.flushSoon():Kn&&e.composing&&r.some(s=>s.type=="childList"&&s.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),dL&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,cL)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(_1(this.view)){if(this.suppressingSelectionUpdates)return ei(this.view);if(hr&&Gi<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Ga(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let a=e.focusNode;a;a=tl(a))n.add(a);for(let a=e.anchorNode;a;a=tl(a))if(n.has(a)){r=a;break}let s=r&&this.view.docView.nearestDesc(r);if(s&&s.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),s=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&_1(e)&&!this.ignoreSelectionChange(r),a=-1,o=-1,c=!1,u=[];if(e.editable)for(let f=0;ff.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let f of u)if(f.nodeName=="BR"&&f.parentNode){let m=f.nextSibling;m&&m.nodeType==1&&m.contentEditable=="false"&&f.parentNode.removeChild(f)}}else if(Wr&&u.length){let f=u.filter(m=>m.nodeName=="BR");if(f.length==2){let[m,g]=f;m.parentNode&&m.parentNode.parentNode==g.parentNode?g.remove():m.remove()}else{let{focusNode:m}=this.currentSelection;for(let g of f){let y=g.parentNode;y&&y.nodeName=="LI"&&(!m||mL(e,m)!=y)&&g.remove()}}}let h=null;a<0&&s&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||s)&&(a>-1&&(e.docView.markDirty(a,o),fL(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,gL(e,u)),this.handleDOMChange(a,o,c,u),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||ei(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let f=0;fs;w--){let k=r.childNodes[w-1],E=k.pmViewDesc;if(k.nodeName=="BR"&&!E){a=w;break}if(!E||E.size)break}let m=t.state.doc,g=t.someProp("domParser")||qi.fromSchema(t.state.schema),y=m.resolve(o),v=null,j=g.parse(r,{topNode:y.parent,topMatch:y.parent.contentMatchAt(y.index()),topOpen:!0,from:s,to:a,preserveWhitespace:y.parent.type.whitespace=="pre"?"full":!0,findPositions:h,ruleFromNode:yL,context:y});if(h&&h[0].pos!=null){let w=h[0].pos,k=h[1]&&h[1].pos;k==null&&(k=w),v={anchor:w+o,head:k+o}}return{doc:j,sel:v,from:o,to:c}}function yL(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(Kn&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||Kn&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const vL=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function bL(t,e,n,r,s){let a=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let R=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,P=r0(t,R);if(P&&!t.state.selection.eq(P)){if(Dn&&Qs&&t.input.lastKeyCode===13&&Date.now()-100L(t,Ra(13,"Enter"))))return;let I=t.state.tr.setSelection(P);R=="pointer"?I.setMeta("pointer",!0):R=="key"&&I.scrollIntoView(),a&&I.setMeta("composition",a),t.dispatch(I)}return}let o=t.state.doc.resolve(e),c=o.sharedDepth(n);e=o.before(c+1),n=t.state.doc.resolve(n).after(c+1);let u=t.state.selection,h=xL(t,e,n),f=t.state.doc,m=f.slice(h.from,h.to),g,y;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||Qs)&&s.some(R=>R.nodeType==1&&!vL.test(R.nodeName))&&(!v||v.endA>=v.endB)&&t.someProp("handleKeyDown",R=>R(t,Ra(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!v)if(r&&u instanceof We&&!u.empty&&u.$head.sameParent(u.$anchor)&&!t.composing&&!(h.sel&&h.sel.anchor!=h.sel.head))v={start:u.from,endA:u.to,endB:u.to};else{if(h.sel){let R=J1(t,t.state.doc,h.sel);if(R&&!R.eq(t.state.selection)){let P=t.state.tr.setSelection(R);a&&P.setMeta("composition",a),t.dispatch(P)}}return}t.state.selection.fromt.state.selection.from&&v.start<=t.state.selection.from+2&&t.state.selection.from>=h.from?v.start=t.state.selection.from:v.endA=t.state.selection.to-2&&t.state.selection.to<=h.to&&(v.endB+=t.state.selection.to-v.endA,v.endA=t.state.selection.to)),hr&&Gi<=11&&v.endB==v.start+1&&v.endA==v.start&&v.start>h.from&&h.doc.textBetween(v.start-h.from-1,v.start-h.from+1)=="  "&&(v.start--,v.endA--,v.endB--);let j=h.doc.resolveNoCache(v.start-h.from),w=h.doc.resolveNoCache(v.endB-h.from),k=f.resolve(v.start),E=j.sameParent(w)&&j.parent.inlineContent&&k.end()>=v.endA;if((nl&&t.input.lastIOSEnter>Date.now()-225&&(!E||s.some(R=>R.nodeName=="DIV"||R.nodeName=="P"))||!E&&j.posR(t,Ra(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>v.start&&NL(f,v.start,v.endA,j,w)&&t.someProp("handleKeyDown",R=>R(t,Ra(8,"Backspace")))){Qs&&Dn&&t.domObserver.suppressSelectionUpdates();return}Dn&&v.endB==v.start&&(t.input.lastChromeDelete=Date.now()),Qs&&!E&&j.start()!=w.start()&&w.parentOffset==0&&j.depth==w.depth&&h.sel&&h.sel.anchor==h.sel.head&&h.sel.head==v.endA&&(v.endB-=2,w=h.doc.resolveNoCache(v.endB-h.from),setTimeout(()=>{t.someProp("handleKeyDown",function(R){return R(t,Ra(13,"Enter"))})},20));let C=v.start,T=v.endA,O=R=>{let P=R||t.state.tr.replace(C,T,h.doc.slice(v.start-h.from,v.endB-h.from));if(h.sel){let I=J1(t,P.doc,h.sel);I&&!(Dn&&t.composing&&I.empty&&(v.start!=v.endB||t.input.lastChromeDeleteei(t),20));let R=O(t.state.tr.delete(C,T)),P=f.resolve(v.start).marksAcross(f.resolve(v.endA));P&&R.ensureMarks(P),t.dispatch(R)}else if(v.endA==v.endB&&(B=wL(j.parent.content.cut(j.parentOffset,w.parentOffset),k.parent.content.cut(k.parentOffset,v.endA-k.start())))){let R=O(t.state.tr);B.type=="add"?R.addMark(C,T,B.mark):R.removeMark(C,T,B.mark),t.dispatch(R)}else if(j.parent.child(j.index()).isText&&j.index()==w.index()-(w.textOffset?0:1)){let R=j.parent.textBetween(j.parentOffset,w.parentOffset),P=()=>O(t.state.tr.insertText(R,C,T));t.someProp("handleTextInput",I=>I(t,C,T,R,P))||t.dispatch(P())}else t.dispatch(O());else t.dispatch(O())}function J1(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:s0(t,e.resolve(n.anchor),e.resolve(n.head))}function wL(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,s=n,a=r,o,c,u;for(let f=0;ff.mark(c.addToSet(f.marks));else if(s.length==0&&a.length==1)c=a[0],o="remove",u=f=>f.mark(c.removeFromSet(f.marks));else return null;let h=[];for(let f=0;fn||Hm(o,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,s++,e=!1;if(n){let a=t.node(r).maybeChild(t.indexAfter(r));for(;a&&!a.isLeaf;)a=a.firstChild,s++}return s}function jL(t,e,n,r,s){let a=t.findDiffStart(e,n);if(a==null)return null;let{a:o,b:c}=t.findDiffEnd(e,n+t.size,n+e.size);if(s=="end"){let u=Math.max(0,a-Math.min(o,c));r-=o+u-a}if(o=o?a-r:0;a-=u,a&&a=c?a-r:0;a-=u,a&&a=56320&&e<=57343&&n>=55296&&n<=56319}class XS{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new $D,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(tw),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Z1(this),X1(this),this.nodeViews=ew(this),this.docView=R1(this.state.doc,Q1(this),Vm(this),this.dom,this),this.domObserver=new hL(this,(r,s,a,o)=>bL(this,r,s,a,o)),this.domObserver.start(),FD(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Ug(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(tw),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let s=this.state,a=!1,o=!1;e.storedMarks&&this.composing&&(US(this),o=!0),this.state=e;let c=s.plugins!=e.plugins||this._props.plugins!=n.plugins;if(c||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let y=ew(this);SL(y,this.nodeViews)&&(this.nodeViews=y,a=!0)}(c||n.handleDOMEvents!=this._props.handleDOMEvents)&&Ug(this),this.editable=Z1(this),X1(this);let u=Vm(this),h=Q1(this),f=s.plugins!=e.plugins&&!s.doc.eq(e.doc)?"reset":e.scrollToSelection>s.scrollToSelection?"to selection":"preserve",m=a||!this.docView.matchesNode(e.doc,h,u);(m||!e.selection.eq(s.selection))&&(o=!0);let g=f=="preserve"&&o&&this.dom.style.overflowAnchor==null&&eD(this);if(o){this.domObserver.stop();let y=m&&(hr||Dn)&&!this.composing&&!s.selection.empty&&!e.selection.empty&&kL(s.selection,e.selection);if(m){let v=Dn?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=eL(this)),(a||!this.docView.update(e.doc,h,u,this))&&(this.docView.updateOuterDeco(h),this.docView.destroy(),this.docView=R1(e.doc,h,u,this.dom,this)),v&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(y=!0)}y||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&kD(this))?ei(this,y):(IS(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(s),!((r=this.dragging)===null||r===void 0)&&r.node&&!s.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,s),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():g&&tD(g)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof He){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&S1(this,n.getBoundingClientRect(),e)}else S1(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(a))==r.node&&(s=a)}this.dragging=new qS(e.slice,e.move,s<0?void 0:He.create(this.state.doc,s))}someProp(e,n){let r=this._props&&this._props[e],s;if(r!=null&&(s=n?n(r):r))return s;for(let o=0;on.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return oD(this,e)}coordsAtPos(e,n=1){return SS(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let s=this.docView.posFromDOM(e,n,r);if(s==null)throw new RangeError("DOM position not inside the editor");return s}endOfTextblock(e,n){return hD(this,n||this.state,e)}pasteHTML(e,n){return Dc(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return Dc(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return i0(this,e)}destroy(){this.docView&&(BD(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Vm(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,WO())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return HD(this,e)}domSelectionRange(){let e=this.domSelection();return e?Kn&&this.root.nodeType===11&&JO(this.dom.ownerDocument)==this.dom&&pL(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}XS.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function Q1(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[gn.node(0,t.state.doc.content.size,e)]}function X1(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:gn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Z1(t){return!t.someProp("editable",e=>e(t.state)===!1)}function kL(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function ew(t){let e=Object.create(null);function n(r){for(let s in r)Object.prototype.hasOwnProperty.call(e,s)||(e[s]=r[s])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function SL(t,e){let n=0,r=0;for(let s in t){if(t[s]!=e[s])return!0;n++}for(let s in e)r++;return n!=r}function tw(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Xi={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},uh={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},CL=typeof navigator<"u"&&/Mac/.test(navigator.platform),EL=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var On=0;On<10;On++)Xi[48+On]=Xi[96+On]=String(On);for(var On=1;On<=24;On++)Xi[On+111]="F"+On;for(var On=65;On<=90;On++)Xi[On]=String.fromCharCode(On+32),uh[On]=String.fromCharCode(On);for(var Wm in Xi)uh.hasOwnProperty(Wm)||(uh[Wm]=Xi[Wm]);function TL(t){var e=CL&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||EL&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?uh:Xi)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const ML=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),AL=typeof navigator<"u"&&/Win/.test(navigator.platform);function RL(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,s,a,o;for(let c=0;c{for(var n in e)OL(t,n,{get:e[n],enumerable:!0})};function hf(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:s}=n,{storedMarks:a}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return a},get selection(){return r},get doc(){return s},get tr(){return r=n.selection,s=n.doc,a=n.storedMarks,n}}}var ff=class{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:r}=e,{tr:s}=n,a=this.buildProps(s);return Object.fromEntries(Object.entries(t).map(([o,c])=>[o,(...h)=>{const f=c(...h)(a);return!s.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(s),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:r,state:s}=this,{view:a}=r,o=[],c=!!t,u=t||s.tr,h=()=>(!c&&e&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(u),o.every(m=>m===!0)),f={...Object.fromEntries(Object.entries(n).map(([m,g])=>[m,(...v)=>{const j=this.buildProps(u,e),w=g(...v)(j);return o.push(w),f}])),run:h};return f}createCan(t){const{rawCommands:e,state:n}=this,r=!1,s=t||n.tr,a=this.buildProps(s,r);return{...Object.fromEntries(Object.entries(e).map(([c,u])=>[c,(...h)=>u(...h)({...a,dispatch:void 0})])),chain:()=>this.createChain(s,r)}}buildProps(t,e=!0){const{rawCommands:n,editor:r,state:s}=this,{view:a}=r,o={tr:t,editor:r,view:a,state:hf({state:s,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t,e),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map(([c,u])=>[c,(...h)=>u(...h)(o)]))}};return o}},ZS={};h0(ZS,{blur:()=>DL,clearContent:()=>LL,clearNodes:()=>_L,command:()=>zL,createParagraphNear:()=>$L,cut:()=>FL,deleteCurrentNode:()=>BL,deleteNode:()=>VL,deleteRange:()=>HL,deleteSelection:()=>WL,enter:()=>UL,exitCode:()=>KL,extendMarkRange:()=>qL,first:()=>GL,focus:()=>YL,forEach:()=>QL,insertContent:()=>XL,insertContentAt:()=>t8,joinBackward:()=>s8,joinDown:()=>r8,joinForward:()=>i8,joinItemBackward:()=>a8,joinItemForward:()=>o8,joinTextblockBackward:()=>l8,joinTextblockForward:()=>c8,joinUp:()=>n8,keyboardShortcut:()=>u8,lift:()=>h8,liftEmptyBlock:()=>f8,liftListItem:()=>p8,newlineInCode:()=>m8,resetAttributes:()=>g8,scrollIntoView:()=>x8,selectAll:()=>y8,selectNodeBackward:()=>v8,selectNodeForward:()=>b8,selectParentNode:()=>w8,selectTextblockEnd:()=>N8,selectTextblockStart:()=>j8,setContent:()=>k8,setMark:()=>W8,setMeta:()=>U8,setNode:()=>K8,setNodeSelection:()=>q8,setTextDirection:()=>G8,setTextSelection:()=>J8,sinkListItem:()=>Y8,splitBlock:()=>Q8,splitListItem:()=>X8,toggleList:()=>Z8,toggleMark:()=>e6,toggleNode:()=>t6,toggleWrap:()=>n6,undoInputRule:()=>r6,unsetAllMarks:()=>s6,unsetMark:()=>i6,unsetTextDirection:()=>a6,updateAttributes:()=>o6,wrapIn:()=>l6,wrapInList:()=>c6});var DL=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window==null?void 0:window.getSelection())==null||n.removeAllRanges())}),!0),LL=(t=!0)=>({commands:e})=>e.setContent("",{emitUpdate:t}),_L=()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:s}=r;return n&&s.forEach(({$from:a,$to:o})=>{t.doc.nodesBetween(a.pos,o.pos,(c,u)=>{if(c.type.isText)return;const{doc:h,mapping:f}=e,m=h.resolve(f.map(u)),g=h.resolve(f.map(u+c.nodeSize)),y=m.blockRange(g);if(!y)return;const v=fl(y);if(c.type.isTextblock){const{defaultType:j}=m.parent.contentMatchAt(m.index());e.setNodeMarkup(y.start,j)}(v||v===0)&&e.lift(y,v)})}),!0},zL=t=>e=>t(e),$L=()=>({state:t,dispatch:e})=>pS(t,e),FL=(t,e)=>({editor:n,tr:r})=>{const{state:s}=n,a=s.doc.slice(t.from,t.to);r.deleteRange(t.from,t.to);const o=r.mapping.map(e);return r.insert(o,a.content),r.setSelection(new We(r.doc.resolve(Math.max(o-1,0)))),!0},BL=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const s=t.selection.$anchor;for(let a=s.depth;a>0;a-=1)if(s.node(a).type===r.type){if(e){const c=s.before(a),u=s.after(a);t.delete(c,u).scrollIntoView()}return!0}return!1};function dn(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}var VL=t=>({tr:e,state:n,dispatch:r})=>{const s=dn(t,n.schema),a=e.selection.$anchor;for(let o=a.depth;o>0;o-=1)if(a.node(o).type===s){if(r){const u=a.before(o),h=a.after(o);e.delete(u,h).scrollIntoView()}return!0}return!1},HL=t=>({tr:e,dispatch:n})=>{const{from:r,to:s}=t;return n&&e.delete(r,s),!0},WL=()=>({state:t,dispatch:e})=>Qx(t,e),UL=()=>({commands:t})=>t.keyboardShortcut("Enter"),KL=()=>({state:t,dispatch:e})=>MO(t,e);function f0(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function hh(t,e,n={strict:!0}){const r=Object.keys(e);return r.length?r.every(s=>n.strict?e[s]===t[s]:f0(e[s])?e[s].test(t[s]):e[s]===t[s]):!0}function e2(t,e,n={}){return t.find(r=>r.type===e&&hh(Object.fromEntries(Object.keys(n).map(s=>[s,r.attrs[s]])),n))}function nw(t,e,n={}){return!!e2(t,e,n)}function p0(t,e,n){var r;if(!t||!e)return;let s=t.parent.childAfter(t.parentOffset);if((!s.node||!s.node.marks.some(f=>f.type===e))&&(s=t.parent.childBefore(t.parentOffset)),!s.node||!s.node.marks.some(f=>f.type===e)||(n=n||((r=s.node.marks[0])==null?void 0:r.attrs),!e2([...s.node.marks],e,n)))return;let o=s.index,c=t.start()+s.offset,u=o+1,h=c+s.node.nodeSize;for(;o>0&&nw([...t.parent.child(o-1).marks],e,n);)o-=1,c-=t.parent.child(o).nodeSize;for(;u({tr:n,state:r,dispatch:s})=>{const a=ii(t,r.schema),{doc:o,selection:c}=n,{$from:u,from:h,to:f}=c;if(s){const m=p0(u,a,e);if(m&&m.from<=h&&m.to>=f){const g=We.create(o,m.from,m.to);n.setSelection(g)}}return!0},GL=t=>e=>{const n=typeof t=="function"?t(e):t;for(let r=0;r({editor:n,view:r,tr:s,dispatch:a})=>{e={scrollIntoView:!0,...e};const o=()=>{(fh()||rw())&&r.dom.focus(),JL()&&!fh()&&!rw()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&t===null||t===!1)return!0}catch{return!1}if(a&&t===null&&!t2(n.state.selection))return o(),!0;const c=n2(s.doc,t)||n.state.selection,u=n.state.selection.eq(c);return a&&(u||s.setSelection(c),u&&s.storedMarks&&s.setStoredMarks(s.storedMarks),o()),!0},QL=(t,e)=>n=>t.every((r,s)=>e(r,{...n,index:s})),XL=(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),r2=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):r.nodeType===1&&r2(r)}return t};function ju(t){if(typeof window>"u")throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");const e=`${t}`,n=new window.DOMParser().parseFromString(e,"text/html").body;return r2(n)}function _c(t,e,n){if(t instanceof Xs||t instanceof me)return t;n={slice:!0,parseOptions:{},...n};const r=typeof t=="object"&&t!==null,s=typeof t=="string";if(r)try{if(Array.isArray(t)&&t.length>0)return me.fromArray(t.map(c=>e.nodeFromJSON(c)));const o=e.nodeFromJSON(t);return n.errorOnInvalidContent&&o.check(),o}catch(a){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:a});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",a),_c("",e,n)}if(s){if(n.errorOnInvalidContent){let o=!1,c="";const u=new Bk({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:h=>(o=!0,c=typeof h=="string"?h:h.outerHTML,null)}]}})});if(n.slice?qi.fromSchema(u).parseSlice(ju(t),n.parseOptions):qi.fromSchema(u).parse(ju(t),n.parseOptions),n.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${c}`)})}const a=qi.fromSchema(e);return n.slice?a.parseSlice(ju(t),n.parseOptions).content:a.parse(ju(t),n.parseOptions)}return _c("",e,n)}function ZL(t,e,n){const r=t.steps.length-1;if(r{o===0&&(o=f)}),t.setSelection(Je.near(t.doc.resolve(o),n))}var e8=t=>!("type"in t),t8=(t,e,n)=>({tr:r,dispatch:s,editor:a})=>{var o;if(s){n={parseOptions:a.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let c;const u=w=>{a.emit("contentError",{editor:a,error:w,disableCollaboration:()=>{"collaboration"in a.storage&&typeof a.storage.collaboration=="object"&&a.storage.collaboration&&(a.storage.collaboration.isDisabled=!0)}})},h={preserveWhitespace:"full",...n.parseOptions};if(!n.errorOnInvalidContent&&!a.options.enableContentCheck&&a.options.emitContentError)try{_c(e,a.schema,{parseOptions:h,errorOnInvalidContent:!0})}catch(w){u(w)}try{c=_c(e,a.schema,{parseOptions:h,errorOnInvalidContent:(o=n.errorOnInvalidContent)!=null?o:a.options.enableContentCheck})}catch(w){return u(w),!1}let{from:f,to:m}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},g=!0,y=!0;if((e8(c)?c:[c]).forEach(w=>{w.check(),g=g?w.isText&&w.marks.length===0:!1,y=y?w.isBlock:!1}),f===m&&y){const{parent:w}=r.doc.resolve(f);w.isTextblock&&!w.type.spec.code&&!w.childCount&&(f-=1,m+=1)}let j;if(g){if(Array.isArray(e))j=e.map(w=>w.text||"").join("");else if(e instanceof me){let w="";e.forEach(k=>{k.text&&(w+=k.text)}),j=w}else typeof e=="object"&&e&&e.text?j=e.text:j=e;r.insertText(j,f,m)}else{j=c;const w=r.doc.resolve(f),k=w.node(),E=w.parentOffset===0,C=k.isText||k.isTextblock,T=k.content.size>0;E&&C&&T&&(f=Math.max(0,f-1)),r.replaceWith(f,m,j)}n.updateSelection&&ZL(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:f,text:j}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:f,text:j})}return!0},n8=()=>({state:t,dispatch:e})=>CO(t,e),r8=()=>({state:t,dispatch:e})=>EO(t,e),s8=()=>({state:t,dispatch:e})=>oS(t,e),i8=()=>({state:t,dispatch:e})=>uS(t,e),a8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=af(t.doc,t.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},o8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=af(t.doc,t.selection.$from.pos,1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},l8=()=>({state:t,dispatch:e})=>kO(t,e),c8=()=>({state:t,dispatch:e})=>SO(t,e);function s2(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function d8(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let r,s,a,o;for(let c=0;c({editor:e,view:n,tr:r,dispatch:s})=>{const a=d8(t).split(/-(?!$)/),o=a.find(h=>!["Alt","Ctrl","Meta","Shift"].includes(h)),c=new KeyboardEvent("keydown",{key:o==="Space"?" ":o,altKey:a.includes("Alt"),ctrlKey:a.includes("Ctrl"),metaKey:a.includes("Meta"),shiftKey:a.includes("Shift"),bubbles:!0,cancelable:!0}),u=e.captureTransaction(()=>{n.someProp("handleKeyDown",h=>h(n,c))});return u==null||u.steps.forEach(h=>{const f=h.map(r.mapping);f&&s&&r.maybeStep(f)}),!0};function Zi(t,e,n={}){const{from:r,to:s,empty:a}=t.selection,o=e?dn(e,t.schema):null,c=[];t.doc.nodesBetween(r,s,(m,g)=>{if(m.isText)return;const y=Math.max(r,g),v=Math.min(s,g+m.nodeSize);c.push({node:m,from:y,to:v})});const u=s-r,h=c.filter(m=>o?o.name===m.node.type.name:!0).filter(m=>hh(m.node.attrs,n,{strict:!1}));return a?!!h.length:h.reduce((m,g)=>m+g.to-g.from,0)>=u}var h8=(t,e={})=>({state:n,dispatch:r})=>{const s=dn(t,n.schema);return Zi(n,s,e)?TO(n,r):!1},f8=()=>({state:t,dispatch:e})=>mS(t,e),p8=t=>({state:e,dispatch:n})=>{const r=dn(t,e.schema);return FO(r)(e,n)},m8=()=>({state:t,dispatch:e})=>fS(t,e);function pf(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function sw(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((r,s)=>(n.includes(s)||(r[s]=t[s]),r),{})}var g8=(t,e)=>({tr:n,state:r,dispatch:s})=>{let a=null,o=null;const c=pf(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(a=dn(t,r.schema)),c==="mark"&&(o=ii(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{r.doc.nodesBetween(h.$from.pos,h.$to.pos,(f,m)=>{a&&a===f.type&&(u=!0,s&&n.setNodeMarkup(m,void 0,sw(f.attrs,e))),o&&f.marks.length&&f.marks.forEach(g=>{o===g.type&&(u=!0,s&&n.addMark(m,m+f.nodeSize,o.create(sw(g.attrs,e))))})})}),u},x8=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),y8=()=>({tr:t,dispatch:e})=>{if(e){const n=new Sr(t.doc);t.setSelection(n)}return!0},v8=()=>({state:t,dispatch:e})=>cS(t,e),b8=()=>({state:t,dispatch:e})=>hS(t,e),w8=()=>({state:t,dispatch:e})=>PO(t,e),N8=()=>({state:t,dispatch:e})=>DO(t,e),j8=()=>({state:t,dispatch:e})=>OO(t,e);function Kg(t,e,n={},r={}){return _c(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var k8=(t,{errorOnInvalidContent:e,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:s,tr:a,dispatch:o,commands:c})=>{const{doc:u}=a;if(r.preserveWhitespace!=="full"){const h=Kg(t,s.schema,r,{errorOnInvalidContent:e??s.options.enableContentCheck});return o&&a.replaceWith(0,u.content.size,h).setMeta("preventUpdate",!n),!0}return o&&a.setMeta("preventUpdate",!n),c.insertContentAt({from:0,to:u.content.size},t,{parseOptions:r,errorOnInvalidContent:e??s.options.enableContentCheck})};function i2(t,e){const n=ii(e,t.schema),{from:r,to:s,empty:a}=t.selection,o=[];a?(t.storedMarks&&o.push(...t.storedMarks),o.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,s,u=>{o.push(...u.marks)});const c=o.find(u=>u.type.name===n.name);return c?{...c.attrs}:{}}function a2(t,e){const n=new Jx(t);return e.forEach(r=>{r.steps.forEach(s=>{n.step(s)})}),n}function S8(t){for(let e=0;e{n(s)&&r.push({node:s,pos:a})}),r}function o2(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}function mf(t){return e=>o2(e.$from,t)}function Ve(t,e,n){return t.config[e]===void 0&&t.parent?Ve(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?Ve(t.parent,e,n):null}):t.config[e]}function m0(t){return t.map(e=>{const n={name:e.name,options:e.options,storage:e.storage},r=Ve(e,"addExtensions",n);return r?[e,...m0(r())]:e}).flat(10)}function g0(t,e){const n=no.fromSchema(e).serializeFragment(t),s=document.implementation.createHTMLDocument().createElement("div");return s.appendChild(n),s.innerHTML}function l2(t){return typeof t=="function"}function xt(t,e=void 0,...n){return l2(t)?e?t.bind(e)(...n):t(...n):t}function E8(t={}){return Object.keys(t).length===0&&t.constructor===Object}function rl(t){const e=t.filter(s=>s.type==="extension"),n=t.filter(s=>s.type==="node"),r=t.filter(s=>s.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:r}}function c2(t){const e=[],{nodeExtensions:n,markExtensions:r}=rl(t),s=[...n,...r],a={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(h=>h.name!=="text").map(h=>h.name),c=r.map(h=>h.name),u=[...o,...c];return t.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage,extensions:s},m=Ve(h,"addGlobalAttributes",f);if(!m)return;m().forEach(y=>{let v;Array.isArray(y.types)?v=y.types:y.types==="*"?v=u:y.types==="nodes"?v=o:y.types==="marks"?v=c:v=[],v.forEach(j=>{Object.entries(y.attributes).forEach(([w,k])=>{e.push({type:j,name:w,attribute:{...a,...k}})})})})}),s.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage},m=Ve(h,"addAttributes",f);if(!m)return;const g=m();Object.entries(g).forEach(([y,v])=>{const j={...a,...v};typeof(j==null?void 0:j.default)=="function"&&(j.default=j.default()),j!=null&&j.isRequired&&(j==null?void 0:j.default)===void 0&&delete j.default,e.push({type:h.name,name:y,attribute:j})})}),e}function T8(t){const e=[];let n="",r=!1,s=!1,a=0;const o=t.length;for(let c=0;c0){a-=1,n+=u;continue}if(u===";"&&a===0){e.push(n),n="";continue}}n+=u}return n&&e.push(n),e}function iw(t){const e=[],n=T8(t||""),r=n.length;for(let s=0;s!!e).reduce((e,n)=>{const r={...e};return Object.entries(n).forEach(([s,a])=>{if(!r[s]){r[s]=a;return}if(s==="class"){const c=a?String(a).split(" "):[],u=r[s]?r[s].split(" "):[],h=c.filter(f=>!u.includes(f));r[s]=[...u,...h].join(" ")}else if(s==="style"){const c=new Map([...iw(r[s]),...iw(a)]);r[s]=Array.from(c.entries()).map(([u,h])=>`${u}: ${h}`).join("; ")}else r[s]=a}),r},{})}function zc(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,r)=>yt(n,r),{})}function M8(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function aw(t,e){return"style"in t?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(r===!1)return!1;const s=e.reduce((a,o)=>{const c=o.attribute.parseHTML?o.attribute.parseHTML(n):M8(n.getAttribute(o.name));return c==null?a:{...a,[o.name]:c}},{});return{...r,...s}}}}function ow(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&E8(n)?!1:n!=null))}function lw(t){var e,n;const r={};return!((e=t==null?void 0:t.attribute)!=null&&e.isRequired)&&"default"in((t==null?void 0:t.attribute)||{})&&(r.default=t.attribute.default),((n=t==null?void 0:t.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=t.attribute.validate),[t.name,r]}function A8(t,e){var n;const r=c2(t),{nodeExtensions:s,markExtensions:a}=rl(t),o=(n=s.find(h=>Ve(h,"topNode")))==null?void 0:n.name,c=Object.fromEntries(s.map(h=>{const f=r.filter(k=>k.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((k,E)=>{const C=Ve(E,"extendNodeSchema",m);return{...k,...C?C(h):{}}},{}),y=ow({...g,content:xt(Ve(h,"content",m)),marks:xt(Ve(h,"marks",m)),group:xt(Ve(h,"group",m)),inline:xt(Ve(h,"inline",m)),atom:xt(Ve(h,"atom",m)),selectable:xt(Ve(h,"selectable",m)),draggable:xt(Ve(h,"draggable",m)),code:xt(Ve(h,"code",m)),whitespace:xt(Ve(h,"whitespace",m)),linebreakReplacement:xt(Ve(h,"linebreakReplacement",m)),defining:xt(Ve(h,"defining",m)),isolating:xt(Ve(h,"isolating",m)),attrs:Object.fromEntries(f.map(lw))}),v=xt(Ve(h,"parseHTML",m));v&&(y.parseDOM=v.map(k=>aw(k,f)));const j=Ve(h,"renderHTML",m);j&&(y.toDOM=k=>j({node:k,HTMLAttributes:zc(k,f)}));const w=Ve(h,"renderText",m);return w&&(y.toText=w),[h.name,y]})),u=Object.fromEntries(a.map(h=>{const f=r.filter(w=>w.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((w,k)=>{const E=Ve(k,"extendMarkSchema",m);return{...w,...E?E(h):{}}},{}),y=ow({...g,inclusive:xt(Ve(h,"inclusive",m)),excludes:xt(Ve(h,"excludes",m)),group:xt(Ve(h,"group",m)),spanning:xt(Ve(h,"spanning",m)),code:xt(Ve(h,"code",m)),attrs:Object.fromEntries(f.map(lw))}),v=xt(Ve(h,"parseHTML",m));v&&(y.parseDOM=v.map(w=>aw(w,f)));const j=Ve(h,"renderHTML",m);return j&&(y.toDOM=w=>j({mark:w,HTMLAttributes:zc(w,f)})),[h.name,y]}));return new Bk({topNode:o,nodes:c,marks:u})}function R8(t){const e=t.filter((n,r)=>t.indexOf(n)!==r);return Array.from(new Set(e))}function yc(t){return t.sort((n,r)=>{const s=Ve(n,"priority")||100,a=Ve(r,"priority")||100;return s>a?-1:sr.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}function u2(t,e,n){const{from:r,to:s}=e,{blockSeparator:a=` +`))),0,0),t.someProp("transformPasted",g=>{c=g(c,t,!0)}),c;let m=t.someProp("clipboardTextParser",g=>g(e,s,r,t));if(m)c=m;else{let g=s.marks(),{schema:y}=t.state,v=no.fromSchema(y);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(j=>{let w=o.appendChild(document.createElement("p"));j&&w.appendChild(v.serializeNode(y.text(j,g)))})}}else t.someProp("transformPastedHTML",m=>{n=m(n,t)}),o=LD(n),Qc&&_D(o);let h=o&&o.querySelector("[data-pm-slice]"),f=h&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(h.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let m=+f[3];m>0;m--){let g=o.firstChild;for(;g&&g.nodeType!=1;)g=g.nextSibling;if(!g)break;o=g}if(c||(c=(t.someProp("clipboardParser")||t.someProp("domParser")||qi.fromSchema(t.state.schema)).parseSlice(o,{preserveWhitespace:!!(u||f),context:s,ruleFromNode(g){return g.nodeName=="BR"&&!g.nextSibling&&g.parentNode&&!ID.test(g.parentNode.nodeName)?{ignore:!0}:null}})),f)c=zD(H1(c,+f[1],+f[2]),f[4]);else if(c=Pe.maxOpen(OD(c.content,s),!0),c.openStart||c.openEnd){let m=0,g=0;for(let y=c.content.firstChild;m{c=m(c,t,u)}),c}const ID=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function OD(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let s=e.node(n).contentMatchAt(e.index(n)),a,o=[];if(t.forEach(c=>{if(!o)return;let u=s.findWrapping(c.type),h;if(!u)return o=null;if(h=o.length&&a.length&&zS(u,a,c,o[o.length-1],0))o[o.length-1]=h;else{o.length&&(o[o.length-1]=$S(o[o.length-1],a.length));let f=_S(c,u);o.push(f),s=s.matchType(f.type),a=u}}),o)return me.from(o)}return t}function _S(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,me.from(t));return t}function zS(t,e,n,r,s){if(s1&&(a=0),s=n&&(c=e<0?o.contentMatchAt(0).fillBefore(c,a<=s).append(c):c.append(o.contentMatchAt(o.childCount).fillBefore(me.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,o.copy(c))}function H1(t,e,n){return en})),Bm.createHTML(t)):t}function LD(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=BS().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),s;if((s=r&&FS[r[1].toLowerCase()])&&(t=s.map(a=>"<"+a+">").join("")+t+s.map(a=>"").reverse().join("")),n.innerHTML=DD(t),s)for(let a=0;a=0;c-=2){let u=n.nodes[r[c]];if(!u||u.hasRequiredAttrs())break;s=me.from(u.create(r[c+1],s)),a++,o++}return new Pe(s,a,o)}const tr={},nr={},$D={touchstart:!0,touchmove:!0};class FD{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function BD(t){for(let e in tr){let n=tr[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{HD(t,r)&&!a0(t,r)&&(t.editable||!(r.type in nr))&&n(t,r)},$D[e]?{passive:!0}:void 0)}Kn&&t.dom.addEventListener("input",()=>null),Ug(t)}function Hi(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function VD(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function Ug(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>a0(t,r))})}function a0(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function HD(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function WD(t,e){!a0(t,e)&&tr[e.type]&&(t.editable||!(e.type in nr))&&tr[e.type](t,e)}nr.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!HS(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Qs&&Dn&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),nl&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",s=>s(t,Ra(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||PD(t,n)?n.preventDefault():Hi(t,"key")};nr.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};nr.keypress=(t,e)=>{let n=e;if(HS(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Br&&n.metaKey)return;if(t.someProp("handleKeyPress",s=>s(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof We)||!r.$from.sameParent(r.$to)){let s=String.fromCharCode(n.charCode),a=()=>t.state.tr.insertText(s).scrollIntoView();!/[\r\n]/.test(s)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,s,a))&&t.dispatch(a()),n.preventDefault()}};function uf(t){return{left:t.clientX,top:t.clientY}}function UD(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function o0(t,e,n,r,s){if(r==-1)return!1;let a=t.state.doc.resolve(r);for(let o=a.depth+1;o>0;o--)if(t.someProp(e,c=>o>a.depth?c(t,n,a.nodeAfter,a.before(o),s,!0):c(t,n,a.node(o),a.before(o),s,!1)))return!0;return!1}function Yo(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function KD(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&He.isSelectable(r)?(Yo(t,new He(n)),!0):!1}function qD(t,e){if(e==-1)return!1;let n=t.state.selection,r,s;n instanceof He&&(r=n.node);let a=t.state.doc.resolve(e);for(let o=a.depth+1;o>0;o--){let c=o>a.depth?a.nodeAfter:a.node(o);if(He.isSelectable(c)){r&&n.$from.depth>0&&o>=n.$from.depth&&a.before(n.$from.depth+1)==n.$from.pos?s=a.before(n.$from.depth):s=a.before(o);break}}return s!=null?(Yo(t,He.create(t.state.doc,s)),!0):!1}function GD(t,e,n,r,s){return o0(t,"handleClickOn",e,n,r)||t.someProp("handleClick",a=>a(t,e,r))||(s?qD(t,n):KD(t,n))}function JD(t,e,n,r){return o0(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",s=>s(t,e,r))}function YD(t,e,n,r){return o0(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",s=>s(t,e,r))||QD(t,n,r)}function QD(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Yo(t,We.create(r,0,r.content.size)),!0):!1;let s=r.resolve(e);for(let a=s.depth+1;a>0;a--){let o=a>s.depth?s.nodeAfter:s.node(a),c=s.before(a);if(o.inlineContent)Yo(t,We.create(r,c+1,c+1+o.content.size));else if(He.isSelectable(o))Yo(t,He.create(r,c));else continue;return!0}}function l0(t){return lh(t)}const VS=Br?"metaKey":"ctrlKey";tr.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=l0(t),s=Date.now(),a="singleClick";s-t.input.lastClick.time<500&&UD(n,t.input.lastClick)&&!n[VS]&&t.input.lastClick.button==n.button&&(t.input.lastClick.type=="singleClick"?a="doubleClick":t.input.lastClick.type=="doubleClick"&&(a="tripleClick")),t.input.lastClick={time:s,x:n.clientX,y:n.clientY,type:a,button:n.button};let o=t.posAtCoords(uf(n));o&&(a=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new XD(t,o,n,!!r)):(a=="doubleClick"?JD:YD)(t,o.pos,o.inside,n)?n.preventDefault():Hi(t,"pointer"))};class XD{constructor(e,n,r,s){this.view=e,this.pos=n,this.event=r,this.flushed=s,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[VS],this.allowDefault=r.shiftKey;let a,o;if(n.inside>-1)a=e.state.doc.nodeAt(n.inside),o=n.inside;else{let f=e.state.doc.resolve(n.pos);a=f.parent,o=f.depth?f.before():0}const c=s?null:r.target,u=c?e.docView.nearestDesc(c,!0):null;this.target=u&&u.nodeDOM.nodeType==1?u.nodeDOM:null;let{selection:h}=e.state;(r.button==0&&a.type.spec.draggable&&a.type.spec.selectable!==!1||h instanceof He&&h.from<=o&&h.to>o)&&(this.mightDrag={node:a,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Wr&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Hi(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>ei(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(uf(e))),this.updateAllowDefault(e),this.allowDefault||!n?Hi(this.view,"pointer"):GD(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Kn&&this.mightDrag&&!this.mightDrag.node.isAtom||Dn&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Yo(this.view,Je.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):Hi(this.view,"pointer")}move(e){this.updateAllowDefault(e),Hi(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}tr.touchstart=t=>{t.input.lastTouch=Date.now(),l0(t),Hi(t,"pointer")};tr.touchmove=t=>{t.input.lastTouch=Date.now(),Hi(t,"pointer")};tr.contextmenu=t=>l0(t);function HS(t,e){return t.composing?!0:Kn&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const ZD=Qs?5e3:-1;nr.compositionstart=nr.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof We&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)||Dn&&bS&&eL(t)))t.markCursor=t.state.storedMarks||n.marks(),lh(t,!0),t.markCursor=null;else if(lh(t,!e.selection.empty),Wr&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let s=r.focusNode,a=r.focusOffset;s&&s.nodeType==1&&a!=0;){let o=a<0?s.lastChild:s.childNodes[a-1];if(!o)break;if(o.nodeType==3){let c=t.domSelection();c&&c.collapse(o,o.nodeValue.length);break}else s=o,a=-1}}t.input.composing=!0}WS(t,ZD)};function eL(t){let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(!e||e.nodeType!=1||n>=e.childNodes.length)return!1;let r=e.childNodes[n];return r.nodeType==1&&r.contentEditable=="false"}nr.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.badSafariComposition?t.domObserver.forceFlush():t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,WS(t,20))};function WS(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>lh(t),e))}function US(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=nL());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function tL(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=qO(e.focusNode,e.focusOffset),r=GO(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let s=r.pmViewDesc,a=t.domObserver.lastChangedTextNode;if(n==a||r==a)return a;if(!s||!s.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let o=n.pmViewDesc;if(!(!o||!o.isText(n.nodeValue)))return r}}return n||r}function nL(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function lh(t,e=!1){if(!(Qs&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),US(t),e||t.docView&&t.docView.dirty){let n=r0(t),r=t.state.selection;return n&&!n.eq(r)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function rL(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),s=document.createRange();s.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(s),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const Oc=hr&&Gi<15||nl&&XO<604;tr.copy=nr.cut=(t,e)=>{let n=e,r=t.state.selection,s=n.type=="cut";if(r.empty)return;let a=Oc?null:n.clipboardData,o=r.content(),{dom:c,text:u}=i0(t,o);a?(n.preventDefault(),a.clearData(),a.setData("text/html",c.innerHTML),a.setData("text/plain",u)):rL(t,c),s&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function sL(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function iL(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let s=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Dc(t,r.value,null,s,e):Dc(t,r.textContent,r.innerHTML,s,e)},50)}function Dc(t,e,n,r,s){let a=LS(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",u=>u(t,s,a||Pe.empty)))return!0;if(!a)return!1;let o=sL(a),c=o?t.state.tr.replaceSelectionWith(o,r):t.state.tr.replaceSelection(a);return t.dispatch(c.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function KS(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}nr.paste=(t,e)=>{let n=e;if(t.composing&&!Qs)return;let r=Oc?null:n.clipboardData,s=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&Dc(t,KS(r),r.getData("text/html"),s,n)?n.preventDefault():iL(t,n)};class qS{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const aL=Br?"altKey":"ctrlKey";function GS(t,e){let n=t.someProp("dragCopies",r=>!r(e));return n??!e[aL]}tr.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let s=t.state.selection,a=s.empty?null:t.posAtCoords(uf(n)),o;if(!(a&&a.pos>=s.from&&a.pos<=(s instanceof He?s.to-1:s.to))){if(r&&r.mightDrag)o=He.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let m=t.docView.nearestDesc(n.target,!0);m&&m.node.type.spec.draggable&&m!=t.docView&&(o=He.create(t.state.doc,m.posBefore))}}let c=(o||t.state.selection).content(),{dom:u,text:h,slice:f}=i0(t,c);(!n.dataTransfer.files.length||!Dn||vS>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Oc?"Text":"text/html",u.innerHTML),n.dataTransfer.effectAllowed="copyMove",Oc||n.dataTransfer.setData("text/plain",h),t.dragging=new qS(f,GS(t,n),o)};tr.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};nr.dragover=nr.dragenter=(t,e)=>e.preventDefault();nr.drop=(t,e)=>{try{oL(t,e,t.dragging)}finally{t.dragging=null}};function oL(t,e,n){if(!e.dataTransfer)return;let r=t.posAtCoords(uf(e));if(!r)return;let s=t.state.doc.resolve(r.pos),a=n&&n.slice;a?t.someProp("transformPasted",y=>{a=y(a,t,!1)}):a=LS(t,KS(e.dataTransfer),Oc?null:e.dataTransfer.getData("text/html"),!1,s);let o=!!(n&&GS(t,e));if(t.someProp("handleDrop",y=>y(t,e,a||Pe.empty,o))){e.preventDefault();return}if(!a)return;e.preventDefault();let c=a?Xk(t.state.doc,s.pos,a):s.pos;c==null&&(c=s.pos);let u=t.state.tr;if(o){let{node:y}=n;y?y.replace(u):u.deleteSelection()}let h=u.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,m=u.doc;if(f?u.replaceRangeWith(h,h,a.content.firstChild):u.replaceRange(h,h,a),u.doc.eq(m))return;let g=u.doc.resolve(h);if(f&&He.isSelectable(a.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(a.content.firstChild))u.setSelection(new He(g));else{let y=u.mapping.map(c);u.mapping.maps[u.mapping.maps.length-1].forEach((v,j,w,k)=>y=k),u.setSelection(s0(t,g,u.doc.resolve(y)))}t.focus(),t.dispatch(u.setMeta("uiEvent","drop"))}tr.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&ei(t)},20))};tr.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};tr.beforeinput=(t,e)=>{if(Dn&&Qs&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",a=>a(t,Ra(8,"Backspace")))))return;let{$cursor:s}=t.state.selection;s&&s.pos>0&&t.dispatch(t.state.tr.delete(s.pos-1,s.pos).scrollIntoView())},50)}};for(let t in nr)tr[t]=nr[t];function Lc(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class ch{constructor(e,n){this.toDOM=e,this.spec=n||Fa,this.side=this.spec.side||0}map(e,n,r,s){let{pos:a,deleted:o}=e.mapResult(n.from+s,this.side<0?-1:1);return o?null:new gn(a-r,a-r,this)}valid(){return!0}eq(e){return this==e||e instanceof ch&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Lc(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Yi{constructor(e,n){this.attrs=e,this.spec=n||Fa}map(e,n,r,s){let a=e.map(n.from+s,this.spec.inclusiveStart?-1:1)-r,o=e.map(n.to+s,this.spec.inclusiveEnd?1:-1)-r;return a>=o?null:new gn(a,o,this)}valid(e,n){return n.from=e&&(!a||a(c.spec))&&r.push(c.copy(c.from+s,c.to+s))}for(let o=0;oe){let c=this.children[o]+1;this.children[o+2].findInner(e-c,n-c,r,s+c,a)}}map(e,n,r){return this==Hn||e.maps.length==0?this:this.mapInner(e,n,0,0,r||Fa)}mapInner(e,n,r,s,a){let o;for(let c=0;c{let h=u+r,f;if(f=YS(n,c,h)){for(s||(s=this.children.slice());ac&&m.to=e){this.children[c]==e&&(r=this.children[c+2]);break}let a=e+1,o=a+n.content.size;for(let c=0;ca&&u.type instanceof Yi){let h=Math.max(a,u.from)-a,f=Math.min(o,u.to)-a;hs.map(e,n,Fa));return Li.from(r)}forChild(e,n){if(n.isLeaf)return St.empty;let r=[];for(let s=0;sn instanceof St)?e:e.reduce((n,r)=>n.concat(r instanceof St?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let w=j-v-(y-g);for(let k=0;kE+f-m)continue;let C=c[k]+f-m;y>=C?c[k+1]=g<=C?-2:-1:g>=f&&w&&(c[k]+=w,c[k+1]+=w)}m+=w}),f=n.maps[h].map(f,-1)}let u=!1;for(let h=0;h=r.content.size){u=!0;continue}let g=n.map(t[h+1]+a,-1),y=g-s,{index:v,offset:j}=r.content.findIndex(m),w=r.maybeChild(v);if(w&&j==m&&j+w.nodeSize==y){let k=c[h+2].mapInner(n,w,f+1,t[h]+a+1,o);k!=Hn?(c[h]=m,c[h+1]=y,c[h+2]=k):(c[h+1]=-2,u=!0)}else u=!0}if(u){let h=cL(c,t,e,n,s,a,o),f=dh(h,r,0,o);e=f.local;for(let m=0;mn&&o.to{let h=YS(t,c,u+n);if(h){a=!0;let f=dh(h,c,n+u+1,r);f!=Hn&&s.push(u,u+c.nodeSize,f)}});let o=JS(a?QS(t):t,-n).sort(Ba);for(let c=0;c0;)e++;t.splice(e,0,n)}function Vm(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=Hn&&e.push(r)}),t.cursorWrapper&&e.push(St.create(t.state.doc,[t.cursorWrapper.deco])),Li.from(e)}const dL={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},uL=hr&&Gi<=11;class hL{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class fL{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new hL,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let s=0;ss.type=="childList"&&s.removedNodes.length||s.type=="characterData"&&s.oldValue.length>s.target.nodeValue.length)?this.flushSoon():Kn&&e.composing&&r.some(s=>s.type=="childList"&&s.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),uL&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,dL)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(_1(this.view)){if(this.suppressingSelectionUpdates)return ei(this.view);if(hr&&Gi<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Ga(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let a=e.focusNode;a;a=tl(a))n.add(a);for(let a=e.anchorNode;a;a=tl(a))if(n.has(a)){r=a;break}let s=r&&this.view.docView.nearestDesc(r);if(s&&s.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),s=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&_1(e)&&!this.ignoreSelectionChange(r),a=-1,o=-1,c=!1,u=[];if(e.editable)for(let f=0;ff.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let f of u)if(f.nodeName=="BR"&&f.parentNode){let m=f.nextSibling;m&&m.nodeType==1&&m.contentEditable=="false"&&f.parentNode.removeChild(f)}}else if(Wr&&u.length){let f=u.filter(m=>m.nodeName=="BR");if(f.length==2){let[m,g]=f;m.parentNode&&m.parentNode.parentNode==g.parentNode?g.remove():m.remove()}else{let{focusNode:m}=this.currentSelection;for(let g of f){let y=g.parentNode;y&&y.nodeName=="LI"&&(!m||gL(e,m)!=y)&&g.remove()}}}let h=null;a<0&&s&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||s)&&(a>-1&&(e.docView.markDirty(a,o),pL(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,xL(e,u)),this.handleDOMChange(a,o,c,u),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||ei(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let f=0;fs;w--){let k=r.childNodes[w-1],E=k.pmViewDesc;if(k.nodeName=="BR"&&!E){a=w;break}if(!E||E.size)break}let m=t.state.doc,g=t.someProp("domParser")||qi.fromSchema(t.state.schema),y=m.resolve(o),v=null,j=g.parse(r,{topNode:y.parent,topMatch:y.parent.contentMatchAt(y.index()),topOpen:!0,from:s,to:a,preserveWhitespace:y.parent.type.whitespace=="pre"?"full":!0,findPositions:h,ruleFromNode:vL,context:y});if(h&&h[0].pos!=null){let w=h[0].pos,k=h[1]&&h[1].pos;k==null&&(k=w),v={anchor:w+o,head:k+o}}return{doc:j,sel:v,from:o,to:c}}function vL(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(Kn&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||Kn&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const bL=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function wL(t,e,n,r,s){let a=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let R=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,P=r0(t,R);if(P&&!t.state.selection.eq(P)){if(Dn&&Qs&&t.input.lastKeyCode===13&&Date.now()-100L(t,Ra(13,"Enter"))))return;let I=t.state.tr.setSelection(P);R=="pointer"?I.setMeta("pointer",!0):R=="key"&&I.scrollIntoView(),a&&I.setMeta("composition",a),t.dispatch(I)}return}let o=t.state.doc.resolve(e),c=o.sharedDepth(n);e=o.before(c+1),n=t.state.doc.resolve(n).after(c+1);let u=t.state.selection,h=yL(t,e,n),f=t.state.doc,m=f.slice(h.from,h.to),g,y;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||Qs)&&s.some(R=>R.nodeType==1&&!bL.test(R.nodeName))&&(!v||v.endA>=v.endB)&&t.someProp("handleKeyDown",R=>R(t,Ra(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!v)if(r&&u instanceof We&&!u.empty&&u.$head.sameParent(u.$anchor)&&!t.composing&&!(h.sel&&h.sel.anchor!=h.sel.head))v={start:u.from,endA:u.to,endB:u.to};else{if(h.sel){let R=J1(t,t.state.doc,h.sel);if(R&&!R.eq(t.state.selection)){let P=t.state.tr.setSelection(R);a&&P.setMeta("composition",a),t.dispatch(P)}}return}t.state.selection.fromt.state.selection.from&&v.start<=t.state.selection.from+2&&t.state.selection.from>=h.from?v.start=t.state.selection.from:v.endA=t.state.selection.to-2&&t.state.selection.to<=h.to&&(v.endB+=t.state.selection.to-v.endA,v.endA=t.state.selection.to)),hr&&Gi<=11&&v.endB==v.start+1&&v.endA==v.start&&v.start>h.from&&h.doc.textBetween(v.start-h.from-1,v.start-h.from+1)=="  "&&(v.start--,v.endA--,v.endB--);let j=h.doc.resolveNoCache(v.start-h.from),w=h.doc.resolveNoCache(v.endB-h.from),k=f.resolve(v.start),E=j.sameParent(w)&&j.parent.inlineContent&&k.end()>=v.endA;if((nl&&t.input.lastIOSEnter>Date.now()-225&&(!E||s.some(R=>R.nodeName=="DIV"||R.nodeName=="P"))||!E&&j.posR(t,Ra(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>v.start&&jL(f,v.start,v.endA,j,w)&&t.someProp("handleKeyDown",R=>R(t,Ra(8,"Backspace")))){Qs&&Dn&&t.domObserver.suppressSelectionUpdates();return}Dn&&v.endB==v.start&&(t.input.lastChromeDelete=Date.now()),Qs&&!E&&j.start()!=w.start()&&w.parentOffset==0&&j.depth==w.depth&&h.sel&&h.sel.anchor==h.sel.head&&h.sel.head==v.endA&&(v.endB-=2,w=h.doc.resolveNoCache(v.endB-h.from),setTimeout(()=>{t.someProp("handleKeyDown",function(R){return R(t,Ra(13,"Enter"))})},20));let C=v.start,T=v.endA,O=R=>{let P=R||t.state.tr.replace(C,T,h.doc.slice(v.start-h.from,v.endB-h.from));if(h.sel){let I=J1(t,P.doc,h.sel);I&&!(Dn&&t.composing&&I.empty&&(v.start!=v.endB||t.input.lastChromeDeleteei(t),20));let R=O(t.state.tr.delete(C,T)),P=f.resolve(v.start).marksAcross(f.resolve(v.endA));P&&R.ensureMarks(P),t.dispatch(R)}else if(v.endA==v.endB&&(B=NL(j.parent.content.cut(j.parentOffset,w.parentOffset),k.parent.content.cut(k.parentOffset,v.endA-k.start())))){let R=O(t.state.tr);B.type=="add"?R.addMark(C,T,B.mark):R.removeMark(C,T,B.mark),t.dispatch(R)}else if(j.parent.child(j.index()).isText&&j.index()==w.index()-(w.textOffset?0:1)){let R=j.parent.textBetween(j.parentOffset,w.parentOffset),P=()=>O(t.state.tr.insertText(R,C,T));t.someProp("handleTextInput",I=>I(t,C,T,R,P))||t.dispatch(P())}else t.dispatch(O());else t.dispatch(O())}function J1(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:s0(t,e.resolve(n.anchor),e.resolve(n.head))}function NL(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,s=n,a=r,o,c,u;for(let f=0;ff.mark(c.addToSet(f.marks));else if(s.length==0&&a.length==1)c=a[0],o="remove",u=f=>f.mark(c.removeFromSet(f.marks));else return null;let h=[];for(let f=0;fn||Hm(o,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,s++,e=!1;if(n){let a=t.node(r).maybeChild(t.indexAfter(r));for(;a&&!a.isLeaf;)a=a.firstChild,s++}return s}function kL(t,e,n,r,s){let a=t.findDiffStart(e,n);if(a==null)return null;let{a:o,b:c}=t.findDiffEnd(e,n+t.size,n+e.size);if(s=="end"){let u=Math.max(0,a-Math.min(o,c));r-=o+u-a}if(o=o?a-r:0;a-=u,a&&a=c?a-r:0;a-=u,a&&a=56320&&e<=57343&&n>=55296&&n<=56319}class XS{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new FD,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(tw),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Z1(this),X1(this),this.nodeViews=ew(this),this.docView=R1(this.state.doc,Q1(this),Vm(this),this.dom,this),this.domObserver=new fL(this,(r,s,a,o)=>wL(this,r,s,a,o)),this.domObserver.start(),BD(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Ug(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(tw),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let s=this.state,a=!1,o=!1;e.storedMarks&&this.composing&&(US(this),o=!0),this.state=e;let c=s.plugins!=e.plugins||this._props.plugins!=n.plugins;if(c||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let y=ew(this);CL(y,this.nodeViews)&&(this.nodeViews=y,a=!0)}(c||n.handleDOMEvents!=this._props.handleDOMEvents)&&Ug(this),this.editable=Z1(this),X1(this);let u=Vm(this),h=Q1(this),f=s.plugins!=e.plugins&&!s.doc.eq(e.doc)?"reset":e.scrollToSelection>s.scrollToSelection?"to selection":"preserve",m=a||!this.docView.matchesNode(e.doc,h,u);(m||!e.selection.eq(s.selection))&&(o=!0);let g=f=="preserve"&&o&&this.dom.style.overflowAnchor==null&&tD(this);if(o){this.domObserver.stop();let y=m&&(hr||Dn)&&!this.composing&&!s.selection.empty&&!e.selection.empty&&SL(s.selection,e.selection);if(m){let v=Dn?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=tL(this)),(a||!this.docView.update(e.doc,h,u,this))&&(this.docView.updateOuterDeco(h),this.docView.destroy(),this.docView=R1(e.doc,h,u,this.dom,this)),v&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(y=!0)}y||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&SD(this))?ei(this,y):(IS(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(s),!((r=this.dragging)===null||r===void 0)&&r.node&&!s.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,s),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():g&&nD(g)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof He){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&S1(this,n.getBoundingClientRect(),e)}else S1(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(a))==r.node&&(s=a)}this.dragging=new qS(e.slice,e.move,s<0?void 0:He.create(this.state.doc,s))}someProp(e,n){let r=this._props&&this._props[e],s;if(r!=null&&(s=n?n(r):r))return s;for(let o=0;on.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return lD(this,e)}coordsAtPos(e,n=1){return SS(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let s=this.docView.posFromDOM(e,n,r);if(s==null)throw new RangeError("DOM position not inside the editor");return s}endOfTextblock(e,n){return fD(this,n||this.state,e)}pasteHTML(e,n){return Dc(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return Dc(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return i0(this,e)}destroy(){this.docView&&(VD(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Vm(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,UO())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return WD(this,e)}domSelectionRange(){let e=this.domSelection();return e?Kn&&this.root.nodeType===11&&YO(this.dom.ownerDocument)==this.dom&&mL(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}XS.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function Q1(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[gn.node(0,t.state.doc.content.size,e)]}function X1(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:gn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Z1(t){return!t.someProp("editable",e=>e(t.state)===!1)}function SL(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function ew(t){let e=Object.create(null);function n(r){for(let s in r)Object.prototype.hasOwnProperty.call(e,s)||(e[s]=r[s])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function CL(t,e){let n=0,r=0;for(let s in t){if(t[s]!=e[s])return!0;n++}for(let s in e)r++;return n!=r}function tw(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Xi={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},uh={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},EL=typeof navigator<"u"&&/Mac/.test(navigator.platform),TL=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var On=0;On<10;On++)Xi[48+On]=Xi[96+On]=String(On);for(var On=1;On<=24;On++)Xi[On+111]="F"+On;for(var On=65;On<=90;On++)Xi[On]=String.fromCharCode(On+32),uh[On]=String.fromCharCode(On);for(var Wm in Xi)uh.hasOwnProperty(Wm)||(uh[Wm]=Xi[Wm]);function ML(t){var e=EL&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||TL&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?uh:Xi)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const AL=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),RL=typeof navigator<"u"&&/Win/.test(navigator.platform);function PL(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,s,a,o;for(let c=0;c{for(var n in e)DL(t,n,{get:e[n],enumerable:!0})};function hf(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:s}=n,{storedMarks:a}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return a},get selection(){return r},get doc(){return s},get tr(){return r=n.selection,s=n.doc,a=n.storedMarks,n}}}var ff=class{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:r}=e,{tr:s}=n,a=this.buildProps(s);return Object.fromEntries(Object.entries(t).map(([o,c])=>[o,(...h)=>{const f=c(...h)(a);return!s.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(s),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:r,state:s}=this,{view:a}=r,o=[],c=!!t,u=t||s.tr,h=()=>(!c&&e&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(u),o.every(m=>m===!0)),f={...Object.fromEntries(Object.entries(n).map(([m,g])=>[m,(...v)=>{const j=this.buildProps(u,e),w=g(...v)(j);return o.push(w),f}])),run:h};return f}createCan(t){const{rawCommands:e,state:n}=this,r=!1,s=t||n.tr,a=this.buildProps(s,r);return{...Object.fromEntries(Object.entries(e).map(([c,u])=>[c,(...h)=>u(...h)({...a,dispatch:void 0})])),chain:()=>this.createChain(s,r)}}buildProps(t,e=!0){const{rawCommands:n,editor:r,state:s}=this,{view:a}=r,o={tr:t,editor:r,view:a,state:hf({state:s,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t,e),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map(([c,u])=>[c,(...h)=>u(...h)(o)]))}};return o}},ZS={};h0(ZS,{blur:()=>LL,clearContent:()=>_L,clearNodes:()=>zL,command:()=>$L,createParagraphNear:()=>FL,cut:()=>BL,deleteCurrentNode:()=>VL,deleteNode:()=>HL,deleteRange:()=>WL,deleteSelection:()=>UL,enter:()=>KL,exitCode:()=>qL,extendMarkRange:()=>GL,first:()=>JL,focus:()=>QL,forEach:()=>XL,insertContent:()=>ZL,insertContentAt:()=>n8,joinBackward:()=>i8,joinDown:()=>s8,joinForward:()=>a8,joinItemBackward:()=>o8,joinItemForward:()=>l8,joinTextblockBackward:()=>c8,joinTextblockForward:()=>d8,joinUp:()=>r8,keyboardShortcut:()=>h8,lift:()=>f8,liftEmptyBlock:()=>p8,liftListItem:()=>m8,newlineInCode:()=>g8,resetAttributes:()=>x8,scrollIntoView:()=>y8,selectAll:()=>v8,selectNodeBackward:()=>b8,selectNodeForward:()=>w8,selectParentNode:()=>N8,selectTextblockEnd:()=>j8,selectTextblockStart:()=>k8,setContent:()=>S8,setMark:()=>U8,setMeta:()=>K8,setNode:()=>q8,setNodeSelection:()=>G8,setTextDirection:()=>J8,setTextSelection:()=>Y8,sinkListItem:()=>Q8,splitBlock:()=>X8,splitListItem:()=>Z8,toggleList:()=>e6,toggleMark:()=>t6,toggleNode:()=>n6,toggleWrap:()=>r6,undoInputRule:()=>s6,unsetAllMarks:()=>i6,unsetMark:()=>a6,unsetTextDirection:()=>o6,updateAttributes:()=>l6,wrapIn:()=>c6,wrapInList:()=>d6});var LL=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window==null?void 0:window.getSelection())==null||n.removeAllRanges())}),!0),_L=(t=!0)=>({commands:e})=>e.setContent("",{emitUpdate:t}),zL=()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:s}=r;return n&&s.forEach(({$from:a,$to:o})=>{t.doc.nodesBetween(a.pos,o.pos,(c,u)=>{if(c.type.isText)return;const{doc:h,mapping:f}=e,m=h.resolve(f.map(u)),g=h.resolve(f.map(u+c.nodeSize)),y=m.blockRange(g);if(!y)return;const v=fl(y);if(c.type.isTextblock){const{defaultType:j}=m.parent.contentMatchAt(m.index());e.setNodeMarkup(y.start,j)}(v||v===0)&&e.lift(y,v)})}),!0},$L=t=>e=>t(e),FL=()=>({state:t,dispatch:e})=>pS(t,e),BL=(t,e)=>({editor:n,tr:r})=>{const{state:s}=n,a=s.doc.slice(t.from,t.to);r.deleteRange(t.from,t.to);const o=r.mapping.map(e);return r.insert(o,a.content),r.setSelection(new We(r.doc.resolve(Math.max(o-1,0)))),!0},VL=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const s=t.selection.$anchor;for(let a=s.depth;a>0;a-=1)if(s.node(a).type===r.type){if(e){const c=s.before(a),u=s.after(a);t.delete(c,u).scrollIntoView()}return!0}return!1};function dn(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}var HL=t=>({tr:e,state:n,dispatch:r})=>{const s=dn(t,n.schema),a=e.selection.$anchor;for(let o=a.depth;o>0;o-=1)if(a.node(o).type===s){if(r){const u=a.before(o),h=a.after(o);e.delete(u,h).scrollIntoView()}return!0}return!1},WL=t=>({tr:e,dispatch:n})=>{const{from:r,to:s}=t;return n&&e.delete(r,s),!0},UL=()=>({state:t,dispatch:e})=>Qx(t,e),KL=()=>({commands:t})=>t.keyboardShortcut("Enter"),qL=()=>({state:t,dispatch:e})=>AO(t,e);function f0(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function hh(t,e,n={strict:!0}){const r=Object.keys(e);return r.length?r.every(s=>n.strict?e[s]===t[s]:f0(e[s])?e[s].test(t[s]):e[s]===t[s]):!0}function e2(t,e,n={}){return t.find(r=>r.type===e&&hh(Object.fromEntries(Object.keys(n).map(s=>[s,r.attrs[s]])),n))}function nw(t,e,n={}){return!!e2(t,e,n)}function p0(t,e,n){var r;if(!t||!e)return;let s=t.parent.childAfter(t.parentOffset);if((!s.node||!s.node.marks.some(f=>f.type===e))&&(s=t.parent.childBefore(t.parentOffset)),!s.node||!s.node.marks.some(f=>f.type===e)||(n=n||((r=s.node.marks[0])==null?void 0:r.attrs),!e2([...s.node.marks],e,n)))return;let o=s.index,c=t.start()+s.offset,u=o+1,h=c+s.node.nodeSize;for(;o>0&&nw([...t.parent.child(o-1).marks],e,n);)o-=1,c-=t.parent.child(o).nodeSize;for(;u({tr:n,state:r,dispatch:s})=>{const a=ii(t,r.schema),{doc:o,selection:c}=n,{$from:u,from:h,to:f}=c;if(s){const m=p0(u,a,e);if(m&&m.from<=h&&m.to>=f){const g=We.create(o,m.from,m.to);n.setSelection(g)}}return!0},JL=t=>e=>{const n=typeof t=="function"?t(e):t;for(let r=0;r({editor:n,view:r,tr:s,dispatch:a})=>{e={scrollIntoView:!0,...e};const o=()=>{(fh()||rw())&&r.dom.focus(),YL()&&!fh()&&!rw()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&t===null||t===!1)return!0}catch{return!1}if(a&&t===null&&!t2(n.state.selection))return o(),!0;const c=n2(s.doc,t)||n.state.selection,u=n.state.selection.eq(c);return a&&(u||s.setSelection(c),u&&s.storedMarks&&s.setStoredMarks(s.storedMarks),o()),!0},XL=(t,e)=>n=>t.every((r,s)=>e(r,{...n,index:s})),ZL=(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),r2=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):r.nodeType===1&&r2(r)}return t};function ju(t){if(typeof window>"u")throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");const e=`${t}`,n=new window.DOMParser().parseFromString(e,"text/html").body;return r2(n)}function _c(t,e,n){if(t instanceof Xs||t instanceof me)return t;n={slice:!0,parseOptions:{},...n};const r=typeof t=="object"&&t!==null,s=typeof t=="string";if(r)try{if(Array.isArray(t)&&t.length>0)return me.fromArray(t.map(c=>e.nodeFromJSON(c)));const o=e.nodeFromJSON(t);return n.errorOnInvalidContent&&o.check(),o}catch(a){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:a});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",a),_c("",e,n)}if(s){if(n.errorOnInvalidContent){let o=!1,c="";const u=new Bk({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:h=>(o=!0,c=typeof h=="string"?h:h.outerHTML,null)}]}})});if(n.slice?qi.fromSchema(u).parseSlice(ju(t),n.parseOptions):qi.fromSchema(u).parse(ju(t),n.parseOptions),n.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${c}`)})}const a=qi.fromSchema(e);return n.slice?a.parseSlice(ju(t),n.parseOptions).content:a.parse(ju(t),n.parseOptions)}return _c("",e,n)}function e8(t,e,n){const r=t.steps.length-1;if(r{o===0&&(o=f)}),t.setSelection(Je.near(t.doc.resolve(o),n))}var t8=t=>!("type"in t),n8=(t,e,n)=>({tr:r,dispatch:s,editor:a})=>{var o;if(s){n={parseOptions:a.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let c;const u=w=>{a.emit("contentError",{editor:a,error:w,disableCollaboration:()=>{"collaboration"in a.storage&&typeof a.storage.collaboration=="object"&&a.storage.collaboration&&(a.storage.collaboration.isDisabled=!0)}})},h={preserveWhitespace:"full",...n.parseOptions};if(!n.errorOnInvalidContent&&!a.options.enableContentCheck&&a.options.emitContentError)try{_c(e,a.schema,{parseOptions:h,errorOnInvalidContent:!0})}catch(w){u(w)}try{c=_c(e,a.schema,{parseOptions:h,errorOnInvalidContent:(o=n.errorOnInvalidContent)!=null?o:a.options.enableContentCheck})}catch(w){return u(w),!1}let{from:f,to:m}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},g=!0,y=!0;if((t8(c)?c:[c]).forEach(w=>{w.check(),g=g?w.isText&&w.marks.length===0:!1,y=y?w.isBlock:!1}),f===m&&y){const{parent:w}=r.doc.resolve(f);w.isTextblock&&!w.type.spec.code&&!w.childCount&&(f-=1,m+=1)}let j;if(g){if(Array.isArray(e))j=e.map(w=>w.text||"").join("");else if(e instanceof me){let w="";e.forEach(k=>{k.text&&(w+=k.text)}),j=w}else typeof e=="object"&&e&&e.text?j=e.text:j=e;r.insertText(j,f,m)}else{j=c;const w=r.doc.resolve(f),k=w.node(),E=w.parentOffset===0,C=k.isText||k.isTextblock,T=k.content.size>0;E&&C&&T&&(f=Math.max(0,f-1)),r.replaceWith(f,m,j)}n.updateSelection&&e8(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:f,text:j}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:f,text:j})}return!0},r8=()=>({state:t,dispatch:e})=>EO(t,e),s8=()=>({state:t,dispatch:e})=>TO(t,e),i8=()=>({state:t,dispatch:e})=>oS(t,e),a8=()=>({state:t,dispatch:e})=>uS(t,e),o8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=af(t.doc,t.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},l8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=af(t.doc,t.selection.$from.pos,1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},c8=()=>({state:t,dispatch:e})=>SO(t,e),d8=()=>({state:t,dispatch:e})=>CO(t,e);function s2(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function u8(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let r,s,a,o;for(let c=0;c({editor:e,view:n,tr:r,dispatch:s})=>{const a=u8(t).split(/-(?!$)/),o=a.find(h=>!["Alt","Ctrl","Meta","Shift"].includes(h)),c=new KeyboardEvent("keydown",{key:o==="Space"?" ":o,altKey:a.includes("Alt"),ctrlKey:a.includes("Ctrl"),metaKey:a.includes("Meta"),shiftKey:a.includes("Shift"),bubbles:!0,cancelable:!0}),u=e.captureTransaction(()=>{n.someProp("handleKeyDown",h=>h(n,c))});return u==null||u.steps.forEach(h=>{const f=h.map(r.mapping);f&&s&&r.maybeStep(f)}),!0};function Zi(t,e,n={}){const{from:r,to:s,empty:a}=t.selection,o=e?dn(e,t.schema):null,c=[];t.doc.nodesBetween(r,s,(m,g)=>{if(m.isText)return;const y=Math.max(r,g),v=Math.min(s,g+m.nodeSize);c.push({node:m,from:y,to:v})});const u=s-r,h=c.filter(m=>o?o.name===m.node.type.name:!0).filter(m=>hh(m.node.attrs,n,{strict:!1}));return a?!!h.length:h.reduce((m,g)=>m+g.to-g.from,0)>=u}var f8=(t,e={})=>({state:n,dispatch:r})=>{const s=dn(t,n.schema);return Zi(n,s,e)?MO(n,r):!1},p8=()=>({state:t,dispatch:e})=>mS(t,e),m8=t=>({state:e,dispatch:n})=>{const r=dn(t,e.schema);return BO(r)(e,n)},g8=()=>({state:t,dispatch:e})=>fS(t,e);function pf(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function sw(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((r,s)=>(n.includes(s)||(r[s]=t[s]),r),{})}var x8=(t,e)=>({tr:n,state:r,dispatch:s})=>{let a=null,o=null;const c=pf(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(a=dn(t,r.schema)),c==="mark"&&(o=ii(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{r.doc.nodesBetween(h.$from.pos,h.$to.pos,(f,m)=>{a&&a===f.type&&(u=!0,s&&n.setNodeMarkup(m,void 0,sw(f.attrs,e))),o&&f.marks.length&&f.marks.forEach(g=>{o===g.type&&(u=!0,s&&n.addMark(m,m+f.nodeSize,o.create(sw(g.attrs,e))))})})}),u},y8=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),v8=()=>({tr:t,dispatch:e})=>{if(e){const n=new Sr(t.doc);t.setSelection(n)}return!0},b8=()=>({state:t,dispatch:e})=>cS(t,e),w8=()=>({state:t,dispatch:e})=>hS(t,e),N8=()=>({state:t,dispatch:e})=>IO(t,e),j8=()=>({state:t,dispatch:e})=>LO(t,e),k8=()=>({state:t,dispatch:e})=>DO(t,e);function Kg(t,e,n={},r={}){return _c(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var S8=(t,{errorOnInvalidContent:e,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:s,tr:a,dispatch:o,commands:c})=>{const{doc:u}=a;if(r.preserveWhitespace!=="full"){const h=Kg(t,s.schema,r,{errorOnInvalidContent:e??s.options.enableContentCheck});return o&&a.replaceWith(0,u.content.size,h).setMeta("preventUpdate",!n),!0}return o&&a.setMeta("preventUpdate",!n),c.insertContentAt({from:0,to:u.content.size},t,{parseOptions:r,errorOnInvalidContent:e??s.options.enableContentCheck})};function i2(t,e){const n=ii(e,t.schema),{from:r,to:s,empty:a}=t.selection,o=[];a?(t.storedMarks&&o.push(...t.storedMarks),o.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,s,u=>{o.push(...u.marks)});const c=o.find(u=>u.type.name===n.name);return c?{...c.attrs}:{}}function a2(t,e){const n=new Jx(t);return e.forEach(r=>{r.steps.forEach(s=>{n.step(s)})}),n}function C8(t){for(let e=0;e{n(s)&&r.push({node:s,pos:a})}),r}function o2(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}function mf(t){return e=>o2(e.$from,t)}function Ve(t,e,n){return t.config[e]===void 0&&t.parent?Ve(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?Ve(t.parent,e,n):null}):t.config[e]}function m0(t){return t.map(e=>{const n={name:e.name,options:e.options,storage:e.storage},r=Ve(e,"addExtensions",n);return r?[e,...m0(r())]:e}).flat(10)}function g0(t,e){const n=no.fromSchema(e).serializeFragment(t),s=document.implementation.createHTMLDocument().createElement("div");return s.appendChild(n),s.innerHTML}function l2(t){return typeof t=="function"}function xt(t,e=void 0,...n){return l2(t)?e?t.bind(e)(...n):t(...n):t}function T8(t={}){return Object.keys(t).length===0&&t.constructor===Object}function rl(t){const e=t.filter(s=>s.type==="extension"),n=t.filter(s=>s.type==="node"),r=t.filter(s=>s.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:r}}function c2(t){const e=[],{nodeExtensions:n,markExtensions:r}=rl(t),s=[...n,...r],a={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(h=>h.name!=="text").map(h=>h.name),c=r.map(h=>h.name),u=[...o,...c];return t.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage,extensions:s},m=Ve(h,"addGlobalAttributes",f);if(!m)return;m().forEach(y=>{let v;Array.isArray(y.types)?v=y.types:y.types==="*"?v=u:y.types==="nodes"?v=o:y.types==="marks"?v=c:v=[],v.forEach(j=>{Object.entries(y.attributes).forEach(([w,k])=>{e.push({type:j,name:w,attribute:{...a,...k}})})})})}),s.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage},m=Ve(h,"addAttributes",f);if(!m)return;const g=m();Object.entries(g).forEach(([y,v])=>{const j={...a,...v};typeof(j==null?void 0:j.default)=="function"&&(j.default=j.default()),j!=null&&j.isRequired&&(j==null?void 0:j.default)===void 0&&delete j.default,e.push({type:h.name,name:y,attribute:j})})}),e}function M8(t){const e=[];let n="",r=!1,s=!1,a=0;const o=t.length;for(let c=0;c0){a-=1,n+=u;continue}if(u===";"&&a===0){e.push(n),n="";continue}}n+=u}return n&&e.push(n),e}function iw(t){const e=[],n=M8(t||""),r=n.length;for(let s=0;s!!e).reduce((e,n)=>{const r={...e};return Object.entries(n).forEach(([s,a])=>{if(!r[s]){r[s]=a;return}if(s==="class"){const c=a?String(a).split(" "):[],u=r[s]?r[s].split(" "):[],h=c.filter(f=>!u.includes(f));r[s]=[...u,...h].join(" ")}else if(s==="style"){const c=new Map([...iw(r[s]),...iw(a)]);r[s]=Array.from(c.entries()).map(([u,h])=>`${u}: ${h}`).join("; ")}else r[s]=a}),r},{})}function zc(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,r)=>yt(n,r),{})}function A8(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function aw(t,e){return"style"in t?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(r===!1)return!1;const s=e.reduce((a,o)=>{const c=o.attribute.parseHTML?o.attribute.parseHTML(n):A8(n.getAttribute(o.name));return c==null?a:{...a,[o.name]:c}},{});return{...r,...s}}}}function ow(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&T8(n)?!1:n!=null))}function lw(t){var e,n;const r={};return!((e=t==null?void 0:t.attribute)!=null&&e.isRequired)&&"default"in((t==null?void 0:t.attribute)||{})&&(r.default=t.attribute.default),((n=t==null?void 0:t.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=t.attribute.validate),[t.name,r]}function R8(t,e){var n;const r=c2(t),{nodeExtensions:s,markExtensions:a}=rl(t),o=(n=s.find(h=>Ve(h,"topNode")))==null?void 0:n.name,c=Object.fromEntries(s.map(h=>{const f=r.filter(k=>k.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((k,E)=>{const C=Ve(E,"extendNodeSchema",m);return{...k,...C?C(h):{}}},{}),y=ow({...g,content:xt(Ve(h,"content",m)),marks:xt(Ve(h,"marks",m)),group:xt(Ve(h,"group",m)),inline:xt(Ve(h,"inline",m)),atom:xt(Ve(h,"atom",m)),selectable:xt(Ve(h,"selectable",m)),draggable:xt(Ve(h,"draggable",m)),code:xt(Ve(h,"code",m)),whitespace:xt(Ve(h,"whitespace",m)),linebreakReplacement:xt(Ve(h,"linebreakReplacement",m)),defining:xt(Ve(h,"defining",m)),isolating:xt(Ve(h,"isolating",m)),attrs:Object.fromEntries(f.map(lw))}),v=xt(Ve(h,"parseHTML",m));v&&(y.parseDOM=v.map(k=>aw(k,f)));const j=Ve(h,"renderHTML",m);j&&(y.toDOM=k=>j({node:k,HTMLAttributes:zc(k,f)}));const w=Ve(h,"renderText",m);return w&&(y.toText=w),[h.name,y]})),u=Object.fromEntries(a.map(h=>{const f=r.filter(w=>w.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((w,k)=>{const E=Ve(k,"extendMarkSchema",m);return{...w,...E?E(h):{}}},{}),y=ow({...g,inclusive:xt(Ve(h,"inclusive",m)),excludes:xt(Ve(h,"excludes",m)),group:xt(Ve(h,"group",m)),spanning:xt(Ve(h,"spanning",m)),code:xt(Ve(h,"code",m)),attrs:Object.fromEntries(f.map(lw))}),v=xt(Ve(h,"parseHTML",m));v&&(y.parseDOM=v.map(w=>aw(w,f)));const j=Ve(h,"renderHTML",m);return j&&(y.toDOM=w=>j({mark:w,HTMLAttributes:zc(w,f)})),[h.name,y]}));return new Bk({topNode:o,nodes:c,marks:u})}function P8(t){const e=t.filter((n,r)=>t.indexOf(n)!==r);return Array.from(new Set(e))}function yc(t){return t.sort((n,r)=>{const s=Ve(n,"priority")||100,a=Ve(r,"priority")||100;return s>a?-1:sr.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}function u2(t,e,n){const{from:r,to:s}=e,{blockSeparator:a=` -`,textSerializers:o={}}=n||{};let c="";return t.nodesBetween(r,s,(u,h,f,m)=>{var g;u.isBlock&&h>r&&(c+=a);const y=o==null?void 0:o[u.type.name];if(y)return f&&(c+=y({node:u,pos:h,parent:f,index:m,range:e})),!1;u.isText&&(c+=(g=u==null?void 0:u.text)==null?void 0:g.slice(Math.max(r,h)-h,s-h))}),c}function P8(t,e){const n={from:0,to:t.content.size};return u2(t,n,e)}function h2(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}function I8(t,e){const n=dn(e,t.schema),{from:r,to:s}=t.selection,a=[];t.doc.nodesBetween(r,s,c=>{a.push(c)});const o=a.reverse().find(c=>c.type.name===n.name);return o?{...o.attrs}:{}}function f2(t,e){const n=pf(typeof e=="string"?e:e.name,t.schema);return n==="node"?I8(t,e):n==="mark"?i2(t,e):{}}function O8(t,e=JSON.stringify){const n={};return t.filter(r=>{const s=e(r);return Object.prototype.hasOwnProperty.call(n,s)?!1:n[s]=!0})}function D8(t){const e=O8(t);return e.length===1?e:e.filter((n,r)=>!e.filter((a,o)=>o!==r).some(a=>n.oldRange.from>=a.oldRange.from&&n.oldRange.to<=a.oldRange.to&&n.newRange.from>=a.newRange.from&&n.newRange.to<=a.newRange.to))}function p2(t){const{mapping:e,steps:n}=t,r=[];return e.maps.forEach((s,a)=>{const o=[];if(s.ranges.length)s.forEach((c,u)=>{o.push({from:c,to:u})});else{const{from:c,to:u}=n[a];if(c===void 0||u===void 0)return;o.push({from:c,to:u})}o.forEach(({from:c,to:u})=>{const h=e.slice(a).map(c,-1),f=e.slice(a).map(u),m=e.invert().map(h,-1),g=e.invert().map(f);r.push({oldRange:{from:m,to:g},newRange:{from:h,to:f}})})}),D8(r)}function x0(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach(s=>{const a=n.resolve(t),o=p0(a,s.type);o&&r.push({mark:s,...o})}):n.nodesBetween(t,e,(s,a)=>{!s||(s==null?void 0:s.nodeSize)===void 0||r.push(...s.marks.map(o=>({from:a,to:a+s.nodeSize,mark:o})))}),r}var L8=(t,e,n,r=20)=>{const s=t.doc.resolve(n);let a=r,o=null;for(;a>0&&o===null;){const c=s.node(a);(c==null?void 0:c.type.name)===e?o=c:a-=1}return[o,a]};function tc(t,e){return e.nodes[t]||e.marks[t]||null}function Bu(t,e,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const s=t.find(a=>a.type===e&&a.name===r);return s?s.attribute.keepOnSplit:!1}))}var _8=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,(s,a,o,c)=>{var u,h;const f=((h=(u=s.type.spec).toText)==null?void 0:h.call(u,{node:s,pos:a,parent:o,index:c}))||s.textContent||"%leaf%";n+=s.isAtom&&!s.isText?f:f.slice(0,Math.max(0,r-a))}),n};function qg(t,e,n={}){const{empty:r,ranges:s}=t.selection,a=e?ii(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(m=>a?a.name===m.type.name:!0).find(m=>hh(m.attrs,n,{strict:!1}));let o=0;const c=[];if(s.forEach(({$from:m,$to:g})=>{const y=m.pos,v=g.pos;t.doc.nodesBetween(y,v,(j,w)=>{if(a&&j.inlineContent&&!j.type.allowsMarkType(a))return!1;if(!j.isText&&!j.marks.length)return;const k=Math.max(y,w),E=Math.min(v,w+j.nodeSize),C=E-k;o+=C,c.push(...j.marks.map(T=>({mark:T,from:k,to:E})))})}),o===0)return!1;const u=c.filter(m=>a?a.name===m.mark.type.name:!0).filter(m=>hh(m.mark.attrs,n,{strict:!1})).reduce((m,g)=>m+g.to-g.from,0),h=c.filter(m=>a?m.mark.type!==a&&m.mark.type.excludes(a):!0).reduce((m,g)=>m+g.to-g.from,0);return(u>0?u+h:u)>=o}function z8(t,e,n={}){if(!e)return Zi(t,null,n)||qg(t,null,n);const r=pf(e,t.schema);return r==="node"?Zi(t,e,n):r==="mark"?qg(t,e,n):!1}var $8=(t,e)=>{const{$from:n,$to:r,$anchor:s}=t.selection;if(e){const a=mf(c=>c.type.name===e)(t.selection);if(!a)return!1;const o=t.doc.resolve(a.pos+1);return s.pos+1===o.end()}return!(r.parentOffset{const{$from:e,$to:n}=t.selection;return!(e.parentOffset>0||e.pos!==n.pos)};function cw(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function dw(t,e){const{nodeExtensions:n}=rl(e),r=n.find(o=>o.name===t);if(!r)return!1;const s={name:r.name,options:r.options,storage:r.storage},a=xt(Ve(r,"group",s));return typeof a!="string"?!1:a.split(" ").includes("list")}function gf(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((r=t.text)!=null?r:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let s=!0;return t.content.forEach(a=>{s!==!1&&(gf(a,{ignoreWhitespace:n,checkChildren:e})||(s=!1))}),s}return!1}function m2(t){return t instanceof He}var g2=class x2{constructor(e){this.position=e}static fromJSON(e){return new x2(e.position)}toJSON(){return{position:this.position}}};function B8(t,e){const n=e.mapping.mapResult(t.position);return{position:new g2(n.pos),mapResult:n}}function V8(t){return new g2(t)}function H8(t,e,n){var r;const{selection:s}=e;let a=null;if(t2(s)&&(a=s.$cursor),a){const c=(r=t.storedMarks)!=null?r:a.marks();return a.parent.type.allowsMarkType(n)&&(!!n.isInSet(c)||!c.some(h=>h.type.excludes(n)))}const{ranges:o}=s;return o.some(({$from:c,$to:u})=>{let h=c.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(c.pos,u.pos,(f,m,g)=>{if(h)return!1;if(f.isInline){const y=!g||g.type.allowsMarkType(n),v=!!n.isInSet(f.marks)||!f.marks.some(j=>j.type.excludes(n));h=y&&v}return!h}),h})}var W8=(t,e={})=>({tr:n,state:r,dispatch:s})=>{const{selection:a}=n,{empty:o,ranges:c}=a,u=ii(t,r.schema);if(s)if(o){const h=i2(r,u);n.addStoredMark(u.create({...h,...e}))}else c.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;r.doc.nodesBetween(f,m,(g,y)=>{const v=Math.max(y,f),j=Math.min(y+g.nodeSize,m);g.marks.find(k=>k.type===u)?g.marks.forEach(k=>{u===k.type&&n.addMark(v,j,u.create({...k.attrs,...e}))}):n.addMark(v,j,u.create(e))})});return H8(r,n,u)},U8=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),K8=(t,e={})=>({state:n,dispatch:r,chain:s})=>{const a=dn(t,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),a.isTextblock?s().command(({commands:c})=>N1(a,{...o,...e})(n)?!0:c.clearNodes()).command(({state:c})=>N1(a,{...o,...e})(c,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},q8=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,s=Da(t,0,r.content.size),a=He.create(r,s);e.setSelection(a)}return!0},G8=(t,e)=>({tr:n,state:r,dispatch:s})=>{const{selection:a}=r;let o,c;return typeof e=="number"?(o=e,c=e):e&&"from"in e&&"to"in e?(o=e.from,c=e.to):(o=a.from,c=a.to),s&&n.doc.nodesBetween(o,c,(u,h)=>{u.isText||n.setNodeMarkup(h,void 0,{...u.attrs,dir:t})}),!0},J8=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,{from:s,to:a}=typeof t=="number"?{from:t,to:t}:t,o=We.atStart(r).from,c=We.atEnd(r).to,u=Da(s,o,c),h=Da(a,o,c),f=We.create(r,u,h);e.setSelection(f)}return!0},Y8=t=>({state:e,dispatch:n})=>{const r=dn(t,e.schema);return HO(r)(e,n)};function uw(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter(s=>e==null?void 0:e.includes(s.type.name));t.tr.ensureMarks(r)}}var Q8=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:r,editor:s})=>{const{selection:a,doc:o}=e,{$from:c,$to:u}=a,h=s.extensionManager.attributes,f=Bu(h,c.node().type.name,c.node().attrs);if(a instanceof He&&a.node.isBlock)return!c.parentOffset||!Zs(o,c.pos)?!1:(r&&(t&&uw(n,s.extensionManager.splittableMarks),e.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;const m=u.parentOffset===u.parent.content.size,g=c.depth===0?void 0:S8(c.node(-1).contentMatchAt(c.indexAfter(-1)));let y=m&&g?[{type:g,attrs:f}]:void 0,v=Zs(e.doc,e.mapping.map(c.pos),1,y);if(!y&&!v&&Zs(e.doc,e.mapping.map(c.pos),1,g?[{type:g}]:void 0)&&(v=!0,y=g?[{type:g,attrs:f}]:void 0),r){if(v&&(a instanceof We&&e.deleteSelection(),e.split(e.mapping.map(c.pos),1,y),g&&!m&&!c.parentOffset&&c.parent.type!==g)){const j=e.mapping.map(c.before()),w=e.doc.resolve(j);c.node(-1).canReplaceWith(w.index(),w.index()+1,g)&&e.setNodeMarkup(e.mapping.map(c.before()),g)}t&&uw(n,s.extensionManager.splittableMarks),e.scrollIntoView()}return v},X8=(t,e={})=>({tr:n,state:r,dispatch:s,editor:a})=>{var o;const c=dn(t,r.schema),{$from:u,$to:h}=r.selection,f=r.selection.node;if(f&&f.isBlock||u.depth<2||!u.sameParent(h))return!1;const m=u.node(-1);if(m.type!==c)return!1;const g=a.extensionManager.attributes;if(u.parent.content.size===0&&u.node(-1).childCount===u.indexAfter(-1)){if(u.depth===2||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(s){let k=me.empty;const E=u.index(-1)?1:u.index(-2)?2:3;for(let P=u.depth-E;P>=u.depth-3;P-=1)k=me.from(u.node(P).copy(k));const C=u.indexAfter(-1){if(R>-1)return!1;P.isTextblock&&P.content.size===0&&(R=I+1)}),R>-1&&n.setSelection(We.near(n.doc.resolve(R))),n.scrollIntoView()}return!0}const y=h.pos===u.end()?m.contentMatchAt(0).defaultType:null,v={...Bu(g,m.type.name,m.attrs),...e},j={...Bu(g,u.node().type.name,u.node().attrs),...e};n.delete(u.pos,h.pos);const w=y?[{type:c,attrs:v},{type:y,attrs:j}]:[{type:c,attrs:v}];if(!Zs(n.doc,u.pos,2))return!1;if(s){const{selection:k,storedMarks:E}=r,{splittableMarks:C}=a.extensionManager,T=E||k.$to.parentOffset&&k.$from.marks();if(n.split(u.pos,2,w).scrollIntoView(),!T||!s)return!0;const O=T.filter(B=>C.includes(B.type.name));n.ensureMarks(O)}return!0},Km=(t,e)=>{const n=mf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const s=t.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&aa(t.doc,n.pos)&&t.join(n.pos),!0},qm=(t,e)=>{const n=mf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const s=t.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&aa(t.doc,r)&&t.join(r),!0},Z8=(t,e,n,r={})=>({editor:s,tr:a,state:o,dispatch:c,chain:u,commands:h,can:f})=>{const{extensions:m,splittableMarks:g}=s.extensionManager,y=dn(t,o.schema),v=dn(e,o.schema),{selection:j,storedMarks:w}=o,{$from:k,$to:E}=j,C=k.blockRange(E),T=w||j.$to.parentOffset&&j.$from.marks();if(!C)return!1;const O=mf(B=>dw(B.type.name,m))(j);if(C.depth>=1&&O&&C.depth-O.depth<=1){if(O.node.type===y)return h.liftListItem(v);if(dw(O.node.type.name,m)&&y.validContent(O.node.content)&&c)return u().command(()=>(a.setNodeMarkup(O.pos,y),!0)).command(()=>Km(a,y)).command(()=>qm(a,y)).run()}return!n||!T||!c?u().command(()=>f().wrapInList(y,r)?!0:h.clearNodes()).wrapInList(y,r).command(()=>Km(a,y)).command(()=>qm(a,y)).run():u().command(()=>{const B=f().wrapInList(y,r),R=T.filter(P=>g.includes(P.type.name));return a.ensureMarks(R),B?!0:h.clearNodes()}).wrapInList(y,r).command(()=>Km(a,y)).command(()=>qm(a,y)).run()},e6=(t,e={},n={})=>({state:r,commands:s})=>{const{extendEmptyMarkRange:a=!1}=n,o=ii(t,r.schema);return qg(r,o,e)?s.unsetMark(o,{extendEmptyMarkRange:a}):s.setMark(o,e)},t6=(t,e,n={})=>({state:r,commands:s})=>{const a=dn(t,r.schema),o=dn(e,r.schema),c=Zi(r,a,n);let u;return r.selection.$anchor.sameParent(r.selection.$head)&&(u=r.selection.$anchor.parent.attrs),c?s.setNode(o,u):s.setNode(a,{...u,...n})},n6=(t,e={})=>({state:n,commands:r})=>{const s=dn(t,n.schema);return Zi(n,s,e)?r.lift(s):r.wrapIn(s,e)},r6=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r=0;u-=1)o.step(c.steps[u].invert(c.docs[u]));if(a.text){const u=o.doc.resolve(a.from).marks();o.replaceWith(a.from,a.to,t.schema.text(a.text,u))}else o.delete(a.from,a.to)}return!0}}return!1},s6=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:s}=n;return r||e&&s.forEach(a=>{t.removeMark(a.$from.pos,a.$to.pos)}),!0},i6=(t,e={})=>({tr:n,state:r,dispatch:s})=>{var a;const{extendEmptyMarkRange:o=!1}=e,{selection:c}=n,u=ii(t,r.schema),{$from:h,empty:f,ranges:m}=c;if(!s)return!0;if(f&&o){let{from:g,to:y}=c;const v=(a=h.marks().find(w=>w.type===u))==null?void 0:a.attrs,j=p0(h,u,v);j&&(g=j.from,y=j.to),n.removeMark(g,y,u)}else m.forEach(g=>{n.removeMark(g.$from.pos,g.$to.pos,u)});return n.removeStoredMark(u),!0},a6=t=>({tr:e,state:n,dispatch:r})=>{const{selection:s}=n;let a,o;return typeof t=="number"?(a=t,o=t):t&&"from"in t&&"to"in t?(a=t.from,o=t.to):(a=s.from,o=s.to),r&&e.doc.nodesBetween(a,o,(c,u)=>{if(c.isText)return;const h={...c.attrs};delete h.dir,e.setNodeMarkup(u,void 0,h)}),!0},o6=(t,e={})=>({tr:n,state:r,dispatch:s})=>{let a=null,o=null;const c=pf(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(a=dn(t,r.schema)),c==="mark"&&(o=ii(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;let g,y,v,j;n.selection.empty?r.doc.nodesBetween(f,m,(w,k)=>{a&&a===w.type&&(u=!0,v=Math.max(k,f),j=Math.min(k+w.nodeSize,m),g=k,y=w)}):r.doc.nodesBetween(f,m,(w,k)=>{k=f&&k<=m&&(a&&a===w.type&&(u=!0,s&&n.setNodeMarkup(k,void 0,{...w.attrs,...e})),o&&w.marks.length&&w.marks.forEach(E=>{if(o===E.type&&(u=!0,s)){const C=Math.max(k,f),T=Math.min(k+w.nodeSize,m);n.addMark(C,T,o.create({...E.attrs,...e}))}}))}),y&&(g!==void 0&&s&&n.setNodeMarkup(g,void 0,{...y.attrs,...e}),o&&y.marks.length&&y.marks.forEach(w=>{o===w.type&&s&&n.addMark(v,j,o.create({...w.attrs,...e}))}))}),u},l6=(t,e={})=>({state:n,dispatch:r})=>{const s=dn(t,n.schema);return LO(s,e)(n,r)},c6=(t,e={})=>({state:n,dispatch:r})=>{const s=dn(t,n.schema);return _O(s,e)(n,r)},d6=class{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach(r=>r.apply(this,e)),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter(r=>r!==e):delete this.callbacks[t]),this}once(t,e){const n=(...r)=>{this.off(t,n),e.apply(this,r)};return this.on(t,n)}removeAllListeners(){this.callbacks={}}},xf=class{constructor(t){var e;this.find=t.find,this.handler=t.handler,this.undoable=(e=t.undoable)!=null?e:!0}},u6=(t,e)=>{if(f0(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function ku(t){var e;const{editor:n,from:r,to:s,text:a,rules:o,plugin:c}=t,{view:u}=n;if(u.composing)return!1;const h=u.state.doc.resolve(r);if(h.parent.type.spec.code||(e=h.nodeBefore||h.nodeAfter)!=null&&e.marks.find(g=>g.type.spec.code))return!1;let f=!1;const m=_8(h)+a;return o.forEach(g=>{if(f)return;const y=u6(m,g.find);if(!y)return;const v=u.state.tr,j=hf({state:u.state,transaction:v}),w={from:r-(y[0].length-a.length),to:s},{commands:k,chain:E,can:C}=new ff({editor:n,state:j});g.handler({state:j,range:w,match:y,commands:k,chain:E,can:C})===null||!v.steps.length||(g.undoable&&v.setMeta(c,{transform:v,from:r,to:s,text:a}),u.dispatch(v),f=!0)}),f}function h6(t){const{editor:e,rules:n}=t,r=new Pt({state:{init(){return null},apply(s,a,o){const c=s.getMeta(r);if(c)return c;const u=s.getMeta("applyInputRules");return!!u&&setTimeout(()=>{let{text:f}=u;typeof f=="string"?f=f:f=g0(me.from(f),o.schema);const{from:m}=u,g=m+f.length;ku({editor:e,from:m,to:g,text:f,rules:n,plugin:r})}),s.selectionSet||s.docChanged?null:a}},props:{handleTextInput(s,a,o,c){return ku({editor:e,from:a,to:o,text:c,rules:n,plugin:r})},handleDOMEvents:{compositionend:s=>(setTimeout(()=>{const{$cursor:a}=s.state.selection;a&&ku({editor:e,from:a.pos,to:a.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(s,a){if(a.key!=="Enter")return!1;const{$cursor:o}=s.state.selection;return o?ku({editor:e,from:o.pos,to:o.pos,text:` -`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function f6(t){return Object.prototype.toString.call(t).slice(8,-1)}function Su(t){return f6(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function y2(t,e){const n={...t};return Su(t)&&Su(e)&&Object.keys(e).forEach(r=>{Su(e[r])&&Su(t[r])?n[r]=y2(t[r],e[r]):n[r]=e[r]}),n}var y0=class{constructor(t={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...t},this.name=this.config.name}get options(){return{...xt(Ve(this,"addOptions",{name:this.name}))||{}}}get storage(){return{...xt(Ve(this,"addStorage",{name:this.name,options:this.options}))||{}}}configure(t={}){const e=this.extend({...this.config,addOptions:()=>y2(this.options,t)});return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new this.constructor({...this.config,...t});return e.parent=this,this.child=e,e.name="name"in t?t.name:e.parent.name,e}},ro=class v2 extends y0{constructor(){super(...arguments),this.type="mark"}static create(e={}){const n=typeof e=="function"?e():e;return new v2(n)}static handleExit({editor:e,mark:n}){const{tr:r}=e.state,s=e.state.selection.$from;if(s.pos===s.end()){const o=s.marks();if(!!!o.find(h=>(h==null?void 0:h.type.name)===n.name))return!1;const u=o.find(h=>(h==null?void 0:h.type.name)===n.name);return u&&r.removeStoredMark(u),r.insertText(" ",s.pos),e.view.dispatch(r),!0}return!1}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function p6(t){return typeof t=="number"}var m6=class{constructor(t){this.find=t.find,this.handler=t.handler}},g6=(t,e,n)=>{if(f0(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map(s=>{const a=[s.text];return a.index=s.index,a.input=t,a.data=s.data,s.replaceWith&&(s.text.includes(s.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),a.push(s.replaceWith)),a}):[]};function x6(t){const{editor:e,state:n,from:r,to:s,rule:a,pasteEvent:o,dropEvent:c}=t,{commands:u,chain:h,can:f}=new ff({editor:e,state:n}),m=[];return n.doc.nodesBetween(r,s,(y,v)=>{var j,w,k,E,C;if((w=(j=y.type)==null?void 0:j.spec)!=null&&w.code||!(y.isText||y.isTextblock||y.isInline))return;const T=(C=(E=(k=y.content)==null?void 0:k.size)!=null?E:y.nodeSize)!=null?C:0,O=Math.max(r,v),B=Math.min(s,v+T);if(O>=B)return;const R=y.isText?y.text||"":y.textBetween(O-v,B-v,void 0,"");g6(R,a.find,o).forEach(I=>{if(I.index===void 0)return;const L=O+I.index+1,X=L+I[0].length,Z={from:n.tr.mapping.map(L),to:n.tr.mapping.map(X)},Y=a.handler({state:n,range:Z,match:I,commands:u,chain:h,can:f,pasteEvent:o,dropEvent:c});m.push(Y)})}),m.every(y=>y!==null)}var Cu=null,y6=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)==null||e.setData("text/html",t),n};function v6(t){const{editor:e,rules:n}=t;let r=null,s=!1,a=!1,o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,c;try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}const u=({state:f,from:m,to:g,rule:y,pasteEvt:v})=>{const j=f.tr,w=hf({state:f,transaction:j});if(!(!x6({editor:e,state:w,from:Math.max(m-1,0),to:g.b-1,rule:y,pasteEvent:v,dropEvent:c})||!j.steps.length)){try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}return o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,j}};return n.map(f=>new Pt({view(m){const g=v=>{var j;r=(j=m.dom.parentElement)!=null&&j.contains(v.target)?m.dom.parentElement:null,r&&(Cu=e)},y=()=>{Cu&&(Cu=null)};return window.addEventListener("dragstart",g),window.addEventListener("dragend",y),{destroy(){window.removeEventListener("dragstart",g),window.removeEventListener("dragend",y)}}},props:{handleDOMEvents:{drop:(m,g)=>{if(a=r===m.dom.parentElement,c=g,!a){const y=Cu;y!=null&&y.isEditable&&setTimeout(()=>{const v=y.state.selection;v&&y.commands.deleteRange({from:v.from,to:v.to})},10)}return!1},paste:(m,g)=>{var y;const v=(y=g.clipboardData)==null?void 0:y.getData("text/html");return o=g,s=!!(v!=null&&v.includes("data-pm-slice")),!1}}},appendTransaction:(m,g,y)=>{const v=m[0],j=v.getMeta("uiEvent")==="paste"&&!s,w=v.getMeta("uiEvent")==="drop"&&!a,k=v.getMeta("applyPasteRules"),E=!!k;if(!j&&!w&&!E)return;if(E){let{text:O}=k;typeof O=="string"?O=O:O=g0(me.from(O),y.schema);const{from:B}=k,R=B+O.length,P=y6(O);return u({rule:f,state:y,from:B,to:{b:R},pasteEvt:P})}const C=g.doc.content.findDiffStart(y.doc.content),T=g.doc.content.findDiffEnd(y.doc.content);if(!(!p6(C)||!T||C===T.b))return u({rule:f,state:y,from:C,to:T,pasteEvt:o})}}))}var yf=class{constructor(t,e){this.splittableMarks=[],this.editor=e,this.baseExtensions=t,this.extensions=d2(t),this.schema=A8(this.extensions,e),this.setupExtensions()}get commands(){return this.extensions.reduce((t,e)=>{const n={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:tc(e.name,this.schema)},r=Ve(e,"addCommands",n);return r?{...t,...r()}:t},{})}get plugins(){const{editor:t}=this;return yc([...this.extensions].reverse()).flatMap(r=>{const s={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:t,type:tc(r.name,this.schema)},a=[],o=Ve(r,"addKeyboardShortcuts",s);let c={};if(r.type==="mark"&&Ve(r,"exitable",s)&&(c.ArrowRight=()=>ro.handleExit({editor:t,mark:r})),o){const g=Object.fromEntries(Object.entries(o()).map(([y,v])=>[y,()=>v({editor:t})]));c={...c,...g}}const u=IL(c);a.push(u);const h=Ve(r,"addInputRules",s);if(cw(r,t.options.enableInputRules)&&h){const g=h();if(g&&g.length){const y=h6({editor:t,rules:g}),v=Array.isArray(y)?y:[y];a.push(...v)}}const f=Ve(r,"addPasteRules",s);if(cw(r,t.options.enablePasteRules)&&f){const g=f();if(g&&g.length){const y=v6({editor:t,rules:g});a.push(...y)}}const m=Ve(r,"addProseMirrorPlugins",s);if(m){const g=m();a.push(...g)}return a})}get attributes(){return c2(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=rl(this.extensions);return Object.fromEntries(e.filter(n=>!!Ve(n,"addNodeView")).map(n=>{const r=this.attributes.filter(u=>u.type===n.name),s={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:dn(n.name,this.schema)},a=Ve(n,"addNodeView",s);if(!a)return[];const o=a();if(!o)return[];const c=(u,h,f,m,g)=>{const y=zc(u,r);return o({node:u,view:h,getPos:f,decorations:m,innerDecorations:g,editor:t,extension:n,HTMLAttributes:y})};return[n.name,c]}))}dispatchTransaction(t){const{editor:e}=this;return yc([...this.extensions].reverse()).reduceRight((r,s)=>{const a={name:s.name,options:s.options,storage:this.editor.extensionStorage[s.name],editor:e,type:tc(s.name,this.schema)},o=Ve(s,"dispatchTransaction",a);return o?c=>{o.call(a,{transaction:c,next:r})}:r},t)}transformPastedHTML(t){const{editor:e}=this;return yc([...this.extensions]).reduce((r,s)=>{const a={name:s.name,options:s.options,storage:this.editor.extensionStorage[s.name],editor:e,type:tc(s.name,this.schema)},o=Ve(s,"transformPastedHTML",a);return o?(c,u)=>{const h=r(c,u);return o.call(a,h)}:r},t||(r=>r))}get markViews(){const{editor:t}=this,{markExtensions:e}=rl(this.extensions);return Object.fromEntries(e.filter(n=>!!Ve(n,"addMarkView")).map(n=>{const r=this.attributes.filter(c=>c.type===n.name),s={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:ii(n.name,this.schema)},a=Ve(n,"addMarkView",s);if(!a)return[];const o=(c,u,h)=>{const f=zc(c,r);return a()({mark:c,view:u,inline:h,editor:t,extension:n,HTMLAttributes:f,updateAttributes:m=>{O6(c,t,m)}})};return[n.name,o]}))}setupExtensions(){const t=this.extensions;this.editor.extensionStorage=Object.fromEntries(t.map(e=>[e.name,e.storage])),t.forEach(e=>{var n;const r={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:tc(e.name,this.schema)};e.type==="mark"&&((n=xt(Ve(e,"keepOnSplit",r)))==null||n)&&this.splittableMarks.push(e.name);const s=Ve(e,"onBeforeCreate",r),a=Ve(e,"onCreate",r),o=Ve(e,"onUpdate",r),c=Ve(e,"onSelectionUpdate",r),u=Ve(e,"onTransaction",r),h=Ve(e,"onFocus",r),f=Ve(e,"onBlur",r),m=Ve(e,"onDestroy",r);s&&this.editor.on("beforeCreate",s),a&&this.editor.on("create",a),o&&this.editor.on("update",o),c&&this.editor.on("selectionUpdate",c),u&&this.editor.on("transaction",u),h&&this.editor.on("focus",h),f&&this.editor.on("blur",f),m&&this.editor.on("destroy",m)})}};yf.resolve=d2;yf.sort=yc;yf.flatten=m0;var b6={};h0(b6,{ClipboardTextSerializer:()=>w2,Commands:()=>N2,Delete:()=>j2,Drop:()=>k2,Editable:()=>S2,FocusEvents:()=>E2,Keymap:()=>T2,Paste:()=>M2,Tabindex:()=>A2,TextDirection:()=>R2,focusEventsPluginKey:()=>C2});var Yt=class b2 extends y0{constructor(){super(...arguments),this.type="extension"}static create(e={}){const n=typeof e=="function"?e():e;return new b2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}},w2=Yt.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Pt({key:new Bt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:s}=e,{ranges:a}=s,o=Math.min(...a.map(f=>f.$from.pos)),c=Math.max(...a.map(f=>f.$to.pos)),u=h2(n);return u2(r,{from:o,to:c},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),N2=Yt.create({name:"commands",addCommands(){return{...ZS}}}),j2=Yt.create({name:"delete",onUpdate({transaction:t,appendedTransactions:e}){var n,r,s;const a=()=>{var o,c,u,h;if((h=(u=(c=(o=this.editor.options.coreExtensionOptions)==null?void 0:o.delete)==null?void 0:c.filterTransaction)==null?void 0:u.call(c,t))!=null?h:t.getMeta("y-sync$"))return;const f=a2(t.before,[t,...e]);p2(f).forEach(y=>{f.mapping.mapResult(y.oldRange.from).deletedAfter&&f.mapping.mapResult(y.oldRange.to).deletedBefore&&f.before.nodesBetween(y.oldRange.from,y.oldRange.to,(v,j)=>{const w=j+v.nodeSize-2,k=y.oldRange.from<=j&&w<=y.oldRange.to;this.editor.emit("delete",{type:"node",node:v,from:j,to:w,newFrom:f.mapping.map(j),newTo:f.mapping.map(w),deletedRange:y.oldRange,newRange:y.newRange,partial:!k,editor:this.editor,transaction:t,combinedTransform:f})})});const g=f.mapping;f.steps.forEach((y,v)=>{var j,w;if(y instanceof as){const k=g.slice(v).map(y.from,-1),E=g.slice(v).map(y.to),C=g.invert().map(k,-1),T=g.invert().map(E),O=(j=f.doc.nodeAt(k-1))==null?void 0:j.marks.some(R=>R.eq(y.mark)),B=(w=f.doc.nodeAt(E))==null?void 0:w.marks.some(R=>R.eq(y.mark));this.editor.emit("delete",{type:"mark",mark:y.mark,from:y.from,to:y.to,deletedRange:{from:C,to:T},newRange:{from:k,to:E},partial:!!(B||O),editor:this.editor,transaction:t,combinedTransform:f})}})};(s=(r=(n=this.editor.options.coreExtensionOptions)==null?void 0:n.delete)==null?void 0:r.async)==null||s?setTimeout(a,0):a()}}),k2=Yt.create({name:"drop",addProseMirrorPlugins(){return[new Pt({key:new Bt("tiptapDrop"),props:{handleDrop:(t,e,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:r})}}})]}}),S2=Yt.create({name:"editable",addProseMirrorPlugins(){return[new Pt({key:new Bt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),C2=new Bt("focusEvents"),E2=Yt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Pt({key:C2,props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),T2=Yt.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:o})=>[()=>o.undoInputRule(),()=>o.command(({tr:c})=>{const{selection:u,doc:h}=c,{empty:f,$anchor:m}=u,{pos:g,parent:y}=m,v=m.parent.isTextblock&&g>0?c.doc.resolve(g-1):m,j=v.parent.type.spec.isolating,w=m.pos-m.parentOffset,k=j&&v.parent.childCount===1?w===m.pos:Je.atStart(h).from===g;return!f||!y.type.isTextblock||y.textContent.length||!k||k&&m.parent.type.name==="paragraph"?!1:o.clearNodes()}),()=>o.deleteSelection(),()=>o.joinBackward(),()=>o.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:o})=>[()=>o.deleteSelection(),()=>o.deleteCurrentNode(),()=>o.joinForward(),()=>o.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:o})=>[()=>o.newlineInCode(),()=>o.createParagraphNear(),()=>o.liftEmptyBlock(),()=>o.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},s={...r},a={...r,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return fh()||s2()?a:s},addProseMirrorPlugins(){return[new Pt({key:new Bt("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some(j=>j.getMeta("composition")))return;const r=t.some(j=>j.docChanged)&&!e.doc.eq(n.doc),s=t.some(j=>j.getMeta("preventClearDocument"));if(!r||s)return;const{empty:a,from:o,to:c}=e.selection,u=Je.atStart(e.doc).from,h=Je.atEnd(e.doc).to;if(a||!(o===u&&c===h)||!gf(n.doc))return;const g=n.tr,y=hf({state:n,transaction:g}),{commands:v}=new ff({editor:this.editor,state:y});if(v.clearNodes(),!!g.steps.length)return g}})]}}),M2=Yt.create({name:"paste",addProseMirrorPlugins(){return[new Pt({key:new Bt("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),A2=Yt.create({name:"tabindex",addProseMirrorPlugins(){return[new Pt({key:new Bt("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}}),R2=Yt.create({name:"textDirection",addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];const{nodeExtensions:t}=rl(this.extensions);return[{types:t.filter(e=>e.name!=="text").map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{const n=e.getAttribute("dir");return n&&(n==="ltr"||n==="rtl"||n==="auto")?n:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new Pt({key:new Bt("textDirection"),props:{attributes:()=>{const t=this.options.direction;return t?{dir:t}:{}}}})]}}),w6=class cc{constructor(e,n,r=!1,s=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=n,this.currentNode=s}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!=null?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new cc(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new cc(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new cc(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,r)=>{const s=n.isBlock&&!n.isTextblock,a=n.isAtom&&!n.isText,o=n.isInline,c=this.pos+r+(a?0:1);if(c<0||c>this.resolvedPos.doc.nodeSize-2)return;const u=this.resolvedPos.doc.resolve(c);if(!s&&!o&&u.depth<=this.depth)return;const h=new cc(u,this.editor,s,s||o?n:null);s&&(h.actualDepth=this.depth+1),e.push(h)}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let r=null,s=this.parent;for(;s&&!r;){if(s.node.type.name===e)if(Object.keys(n).length>0){const a=s.node.attrs,o=Object.keys(n);for(let c=0;c{r&&s.length>0||(o.node.type.name===e&&a.every(u=>n[u]===o.node.attrs[u])&&s.push(o),!(r&&s.length>0)&&(s=s.concat(o.querySelectorAll(e,n,r))))}),s}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}},N6=`.ProseMirror { +`,textSerializers:o={}}=n||{};let c="";return t.nodesBetween(r,s,(u,h,f,m)=>{var g;u.isBlock&&h>r&&(c+=a);const y=o==null?void 0:o[u.type.name];if(y)return f&&(c+=y({node:u,pos:h,parent:f,index:m,range:e})),!1;u.isText&&(c+=(g=u==null?void 0:u.text)==null?void 0:g.slice(Math.max(r,h)-h,s-h))}),c}function I8(t,e){const n={from:0,to:t.content.size};return u2(t,n,e)}function h2(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}function O8(t,e){const n=dn(e,t.schema),{from:r,to:s}=t.selection,a=[];t.doc.nodesBetween(r,s,c=>{a.push(c)});const o=a.reverse().find(c=>c.type.name===n.name);return o?{...o.attrs}:{}}function f2(t,e){const n=pf(typeof e=="string"?e:e.name,t.schema);return n==="node"?O8(t,e):n==="mark"?i2(t,e):{}}function D8(t,e=JSON.stringify){const n={};return t.filter(r=>{const s=e(r);return Object.prototype.hasOwnProperty.call(n,s)?!1:n[s]=!0})}function L8(t){const e=D8(t);return e.length===1?e:e.filter((n,r)=>!e.filter((a,o)=>o!==r).some(a=>n.oldRange.from>=a.oldRange.from&&n.oldRange.to<=a.oldRange.to&&n.newRange.from>=a.newRange.from&&n.newRange.to<=a.newRange.to))}function p2(t){const{mapping:e,steps:n}=t,r=[];return e.maps.forEach((s,a)=>{const o=[];if(s.ranges.length)s.forEach((c,u)=>{o.push({from:c,to:u})});else{const{from:c,to:u}=n[a];if(c===void 0||u===void 0)return;o.push({from:c,to:u})}o.forEach(({from:c,to:u})=>{const h=e.slice(a).map(c,-1),f=e.slice(a).map(u),m=e.invert().map(h,-1),g=e.invert().map(f);r.push({oldRange:{from:m,to:g},newRange:{from:h,to:f}})})}),L8(r)}function x0(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach(s=>{const a=n.resolve(t),o=p0(a,s.type);o&&r.push({mark:s,...o})}):n.nodesBetween(t,e,(s,a)=>{!s||(s==null?void 0:s.nodeSize)===void 0||r.push(...s.marks.map(o=>({from:a,to:a+s.nodeSize,mark:o})))}),r}var _8=(t,e,n,r=20)=>{const s=t.doc.resolve(n);let a=r,o=null;for(;a>0&&o===null;){const c=s.node(a);(c==null?void 0:c.type.name)===e?o=c:a-=1}return[o,a]};function tc(t,e){return e.nodes[t]||e.marks[t]||null}function Bu(t,e,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const s=t.find(a=>a.type===e&&a.name===r);return s?s.attribute.keepOnSplit:!1}))}var z8=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,(s,a,o,c)=>{var u,h;const f=((h=(u=s.type.spec).toText)==null?void 0:h.call(u,{node:s,pos:a,parent:o,index:c}))||s.textContent||"%leaf%";n+=s.isAtom&&!s.isText?f:f.slice(0,Math.max(0,r-a))}),n};function qg(t,e,n={}){const{empty:r,ranges:s}=t.selection,a=e?ii(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(m=>a?a.name===m.type.name:!0).find(m=>hh(m.attrs,n,{strict:!1}));let o=0;const c=[];if(s.forEach(({$from:m,$to:g})=>{const y=m.pos,v=g.pos;t.doc.nodesBetween(y,v,(j,w)=>{if(a&&j.inlineContent&&!j.type.allowsMarkType(a))return!1;if(!j.isText&&!j.marks.length)return;const k=Math.max(y,w),E=Math.min(v,w+j.nodeSize),C=E-k;o+=C,c.push(...j.marks.map(T=>({mark:T,from:k,to:E})))})}),o===0)return!1;const u=c.filter(m=>a?a.name===m.mark.type.name:!0).filter(m=>hh(m.mark.attrs,n,{strict:!1})).reduce((m,g)=>m+g.to-g.from,0),h=c.filter(m=>a?m.mark.type!==a&&m.mark.type.excludes(a):!0).reduce((m,g)=>m+g.to-g.from,0);return(u>0?u+h:u)>=o}function $8(t,e,n={}){if(!e)return Zi(t,null,n)||qg(t,null,n);const r=pf(e,t.schema);return r==="node"?Zi(t,e,n):r==="mark"?qg(t,e,n):!1}var F8=(t,e)=>{const{$from:n,$to:r,$anchor:s}=t.selection;if(e){const a=mf(c=>c.type.name===e)(t.selection);if(!a)return!1;const o=t.doc.resolve(a.pos+1);return s.pos+1===o.end()}return!(r.parentOffset{const{$from:e,$to:n}=t.selection;return!(e.parentOffset>0||e.pos!==n.pos)};function cw(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function dw(t,e){const{nodeExtensions:n}=rl(e),r=n.find(o=>o.name===t);if(!r)return!1;const s={name:r.name,options:r.options,storage:r.storage},a=xt(Ve(r,"group",s));return typeof a!="string"?!1:a.split(" ").includes("list")}function gf(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((r=t.text)!=null?r:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let s=!0;return t.content.forEach(a=>{s!==!1&&(gf(a,{ignoreWhitespace:n,checkChildren:e})||(s=!1))}),s}return!1}function m2(t){return t instanceof He}var g2=class x2{constructor(e){this.position=e}static fromJSON(e){return new x2(e.position)}toJSON(){return{position:this.position}}};function V8(t,e){const n=e.mapping.mapResult(t.position);return{position:new g2(n.pos),mapResult:n}}function H8(t){return new g2(t)}function W8(t,e,n){var r;const{selection:s}=e;let a=null;if(t2(s)&&(a=s.$cursor),a){const c=(r=t.storedMarks)!=null?r:a.marks();return a.parent.type.allowsMarkType(n)&&(!!n.isInSet(c)||!c.some(h=>h.type.excludes(n)))}const{ranges:o}=s;return o.some(({$from:c,$to:u})=>{let h=c.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(c.pos,u.pos,(f,m,g)=>{if(h)return!1;if(f.isInline){const y=!g||g.type.allowsMarkType(n),v=!!n.isInSet(f.marks)||!f.marks.some(j=>j.type.excludes(n));h=y&&v}return!h}),h})}var U8=(t,e={})=>({tr:n,state:r,dispatch:s})=>{const{selection:a}=n,{empty:o,ranges:c}=a,u=ii(t,r.schema);if(s)if(o){const h=i2(r,u);n.addStoredMark(u.create({...h,...e}))}else c.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;r.doc.nodesBetween(f,m,(g,y)=>{const v=Math.max(y,f),j=Math.min(y+g.nodeSize,m);g.marks.find(k=>k.type===u)?g.marks.forEach(k=>{u===k.type&&n.addMark(v,j,u.create({...k.attrs,...e}))}):n.addMark(v,j,u.create(e))})});return W8(r,n,u)},K8=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),q8=(t,e={})=>({state:n,dispatch:r,chain:s})=>{const a=dn(t,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),a.isTextblock?s().command(({commands:c})=>N1(a,{...o,...e})(n)?!0:c.clearNodes()).command(({state:c})=>N1(a,{...o,...e})(c,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},G8=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,s=Da(t,0,r.content.size),a=He.create(r,s);e.setSelection(a)}return!0},J8=(t,e)=>({tr:n,state:r,dispatch:s})=>{const{selection:a}=r;let o,c;return typeof e=="number"?(o=e,c=e):e&&"from"in e&&"to"in e?(o=e.from,c=e.to):(o=a.from,c=a.to),s&&n.doc.nodesBetween(o,c,(u,h)=>{u.isText||n.setNodeMarkup(h,void 0,{...u.attrs,dir:t})}),!0},Y8=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,{from:s,to:a}=typeof t=="number"?{from:t,to:t}:t,o=We.atStart(r).from,c=We.atEnd(r).to,u=Da(s,o,c),h=Da(a,o,c),f=We.create(r,u,h);e.setSelection(f)}return!0},Q8=t=>({state:e,dispatch:n})=>{const r=dn(t,e.schema);return WO(r)(e,n)};function uw(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter(s=>e==null?void 0:e.includes(s.type.name));t.tr.ensureMarks(r)}}var X8=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:r,editor:s})=>{const{selection:a,doc:o}=e,{$from:c,$to:u}=a,h=s.extensionManager.attributes,f=Bu(h,c.node().type.name,c.node().attrs);if(a instanceof He&&a.node.isBlock)return!c.parentOffset||!Zs(o,c.pos)?!1:(r&&(t&&uw(n,s.extensionManager.splittableMarks),e.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;const m=u.parentOffset===u.parent.content.size,g=c.depth===0?void 0:C8(c.node(-1).contentMatchAt(c.indexAfter(-1)));let y=m&&g?[{type:g,attrs:f}]:void 0,v=Zs(e.doc,e.mapping.map(c.pos),1,y);if(!y&&!v&&Zs(e.doc,e.mapping.map(c.pos),1,g?[{type:g}]:void 0)&&(v=!0,y=g?[{type:g,attrs:f}]:void 0),r){if(v&&(a instanceof We&&e.deleteSelection(),e.split(e.mapping.map(c.pos),1,y),g&&!m&&!c.parentOffset&&c.parent.type!==g)){const j=e.mapping.map(c.before()),w=e.doc.resolve(j);c.node(-1).canReplaceWith(w.index(),w.index()+1,g)&&e.setNodeMarkup(e.mapping.map(c.before()),g)}t&&uw(n,s.extensionManager.splittableMarks),e.scrollIntoView()}return v},Z8=(t,e={})=>({tr:n,state:r,dispatch:s,editor:a})=>{var o;const c=dn(t,r.schema),{$from:u,$to:h}=r.selection,f=r.selection.node;if(f&&f.isBlock||u.depth<2||!u.sameParent(h))return!1;const m=u.node(-1);if(m.type!==c)return!1;const g=a.extensionManager.attributes;if(u.parent.content.size===0&&u.node(-1).childCount===u.indexAfter(-1)){if(u.depth===2||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(s){let k=me.empty;const E=u.index(-1)?1:u.index(-2)?2:3;for(let P=u.depth-E;P>=u.depth-3;P-=1)k=me.from(u.node(P).copy(k));const C=u.indexAfter(-1){if(R>-1)return!1;P.isTextblock&&P.content.size===0&&(R=I+1)}),R>-1&&n.setSelection(We.near(n.doc.resolve(R))),n.scrollIntoView()}return!0}const y=h.pos===u.end()?m.contentMatchAt(0).defaultType:null,v={...Bu(g,m.type.name,m.attrs),...e},j={...Bu(g,u.node().type.name,u.node().attrs),...e};n.delete(u.pos,h.pos);const w=y?[{type:c,attrs:v},{type:y,attrs:j}]:[{type:c,attrs:v}];if(!Zs(n.doc,u.pos,2))return!1;if(s){const{selection:k,storedMarks:E}=r,{splittableMarks:C}=a.extensionManager,T=E||k.$to.parentOffset&&k.$from.marks();if(n.split(u.pos,2,w).scrollIntoView(),!T||!s)return!0;const O=T.filter(B=>C.includes(B.type.name));n.ensureMarks(O)}return!0},Km=(t,e)=>{const n=mf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const s=t.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&aa(t.doc,n.pos)&&t.join(n.pos),!0},qm=(t,e)=>{const n=mf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const s=t.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&aa(t.doc,r)&&t.join(r),!0},e6=(t,e,n,r={})=>({editor:s,tr:a,state:o,dispatch:c,chain:u,commands:h,can:f})=>{const{extensions:m,splittableMarks:g}=s.extensionManager,y=dn(t,o.schema),v=dn(e,o.schema),{selection:j,storedMarks:w}=o,{$from:k,$to:E}=j,C=k.blockRange(E),T=w||j.$to.parentOffset&&j.$from.marks();if(!C)return!1;const O=mf(B=>dw(B.type.name,m))(j);if(C.depth>=1&&O&&C.depth-O.depth<=1){if(O.node.type===y)return h.liftListItem(v);if(dw(O.node.type.name,m)&&y.validContent(O.node.content)&&c)return u().command(()=>(a.setNodeMarkup(O.pos,y),!0)).command(()=>Km(a,y)).command(()=>qm(a,y)).run()}return!n||!T||!c?u().command(()=>f().wrapInList(y,r)?!0:h.clearNodes()).wrapInList(y,r).command(()=>Km(a,y)).command(()=>qm(a,y)).run():u().command(()=>{const B=f().wrapInList(y,r),R=T.filter(P=>g.includes(P.type.name));return a.ensureMarks(R),B?!0:h.clearNodes()}).wrapInList(y,r).command(()=>Km(a,y)).command(()=>qm(a,y)).run()},t6=(t,e={},n={})=>({state:r,commands:s})=>{const{extendEmptyMarkRange:a=!1}=n,o=ii(t,r.schema);return qg(r,o,e)?s.unsetMark(o,{extendEmptyMarkRange:a}):s.setMark(o,e)},n6=(t,e,n={})=>({state:r,commands:s})=>{const a=dn(t,r.schema),o=dn(e,r.schema),c=Zi(r,a,n);let u;return r.selection.$anchor.sameParent(r.selection.$head)&&(u=r.selection.$anchor.parent.attrs),c?s.setNode(o,u):s.setNode(a,{...u,...n})},r6=(t,e={})=>({state:n,commands:r})=>{const s=dn(t,n.schema);return Zi(n,s,e)?r.lift(s):r.wrapIn(s,e)},s6=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r=0;u-=1)o.step(c.steps[u].invert(c.docs[u]));if(a.text){const u=o.doc.resolve(a.from).marks();o.replaceWith(a.from,a.to,t.schema.text(a.text,u))}else o.delete(a.from,a.to)}return!0}}return!1},i6=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:s}=n;return r||e&&s.forEach(a=>{t.removeMark(a.$from.pos,a.$to.pos)}),!0},a6=(t,e={})=>({tr:n,state:r,dispatch:s})=>{var a;const{extendEmptyMarkRange:o=!1}=e,{selection:c}=n,u=ii(t,r.schema),{$from:h,empty:f,ranges:m}=c;if(!s)return!0;if(f&&o){let{from:g,to:y}=c;const v=(a=h.marks().find(w=>w.type===u))==null?void 0:a.attrs,j=p0(h,u,v);j&&(g=j.from,y=j.to),n.removeMark(g,y,u)}else m.forEach(g=>{n.removeMark(g.$from.pos,g.$to.pos,u)});return n.removeStoredMark(u),!0},o6=t=>({tr:e,state:n,dispatch:r})=>{const{selection:s}=n;let a,o;return typeof t=="number"?(a=t,o=t):t&&"from"in t&&"to"in t?(a=t.from,o=t.to):(a=s.from,o=s.to),r&&e.doc.nodesBetween(a,o,(c,u)=>{if(c.isText)return;const h={...c.attrs};delete h.dir,e.setNodeMarkup(u,void 0,h)}),!0},l6=(t,e={})=>({tr:n,state:r,dispatch:s})=>{let a=null,o=null;const c=pf(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(a=dn(t,r.schema)),c==="mark"&&(o=ii(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;let g,y,v,j;n.selection.empty?r.doc.nodesBetween(f,m,(w,k)=>{a&&a===w.type&&(u=!0,v=Math.max(k,f),j=Math.min(k+w.nodeSize,m),g=k,y=w)}):r.doc.nodesBetween(f,m,(w,k)=>{k=f&&k<=m&&(a&&a===w.type&&(u=!0,s&&n.setNodeMarkup(k,void 0,{...w.attrs,...e})),o&&w.marks.length&&w.marks.forEach(E=>{if(o===E.type&&(u=!0,s)){const C=Math.max(k,f),T=Math.min(k+w.nodeSize,m);n.addMark(C,T,o.create({...E.attrs,...e}))}}))}),y&&(g!==void 0&&s&&n.setNodeMarkup(g,void 0,{...y.attrs,...e}),o&&y.marks.length&&y.marks.forEach(w=>{o===w.type&&s&&n.addMark(v,j,o.create({...w.attrs,...e}))}))}),u},c6=(t,e={})=>({state:n,dispatch:r})=>{const s=dn(t,n.schema);return _O(s,e)(n,r)},d6=(t,e={})=>({state:n,dispatch:r})=>{const s=dn(t,n.schema);return zO(s,e)(n,r)},u6=class{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach(r=>r.apply(this,e)),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter(r=>r!==e):delete this.callbacks[t]),this}once(t,e){const n=(...r)=>{this.off(t,n),e.apply(this,r)};return this.on(t,n)}removeAllListeners(){this.callbacks={}}},xf=class{constructor(t){var e;this.find=t.find,this.handler=t.handler,this.undoable=(e=t.undoable)!=null?e:!0}},h6=(t,e)=>{if(f0(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function ku(t){var e;const{editor:n,from:r,to:s,text:a,rules:o,plugin:c}=t,{view:u}=n;if(u.composing)return!1;const h=u.state.doc.resolve(r);if(h.parent.type.spec.code||(e=h.nodeBefore||h.nodeAfter)!=null&&e.marks.find(g=>g.type.spec.code))return!1;let f=!1;const m=z8(h)+a;return o.forEach(g=>{if(f)return;const y=h6(m,g.find);if(!y)return;const v=u.state.tr,j=hf({state:u.state,transaction:v}),w={from:r-(y[0].length-a.length),to:s},{commands:k,chain:E,can:C}=new ff({editor:n,state:j});g.handler({state:j,range:w,match:y,commands:k,chain:E,can:C})===null||!v.steps.length||(g.undoable&&v.setMeta(c,{transform:v,from:r,to:s,text:a}),u.dispatch(v),f=!0)}),f}function f6(t){const{editor:e,rules:n}=t,r=new Pt({state:{init(){return null},apply(s,a,o){const c=s.getMeta(r);if(c)return c;const u=s.getMeta("applyInputRules");return!!u&&setTimeout(()=>{let{text:f}=u;typeof f=="string"?f=f:f=g0(me.from(f),o.schema);const{from:m}=u,g=m+f.length;ku({editor:e,from:m,to:g,text:f,rules:n,plugin:r})}),s.selectionSet||s.docChanged?null:a}},props:{handleTextInput(s,a,o,c){return ku({editor:e,from:a,to:o,text:c,rules:n,plugin:r})},handleDOMEvents:{compositionend:s=>(setTimeout(()=>{const{$cursor:a}=s.state.selection;a&&ku({editor:e,from:a.pos,to:a.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(s,a){if(a.key!=="Enter")return!1;const{$cursor:o}=s.state.selection;return o?ku({editor:e,from:o.pos,to:o.pos,text:` +`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function p6(t){return Object.prototype.toString.call(t).slice(8,-1)}function Su(t){return p6(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function y2(t,e){const n={...t};return Su(t)&&Su(e)&&Object.keys(e).forEach(r=>{Su(e[r])&&Su(t[r])?n[r]=y2(t[r],e[r]):n[r]=e[r]}),n}var y0=class{constructor(t={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...t},this.name=this.config.name}get options(){return{...xt(Ve(this,"addOptions",{name:this.name}))||{}}}get storage(){return{...xt(Ve(this,"addStorage",{name:this.name,options:this.options}))||{}}}configure(t={}){const e=this.extend({...this.config,addOptions:()=>y2(this.options,t)});return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new this.constructor({...this.config,...t});return e.parent=this,this.child=e,e.name="name"in t?t.name:e.parent.name,e}},ro=class v2 extends y0{constructor(){super(...arguments),this.type="mark"}static create(e={}){const n=typeof e=="function"?e():e;return new v2(n)}static handleExit({editor:e,mark:n}){const{tr:r}=e.state,s=e.state.selection.$from;if(s.pos===s.end()){const o=s.marks();if(!!!o.find(h=>(h==null?void 0:h.type.name)===n.name))return!1;const u=o.find(h=>(h==null?void 0:h.type.name)===n.name);return u&&r.removeStoredMark(u),r.insertText(" ",s.pos),e.view.dispatch(r),!0}return!1}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function m6(t){return typeof t=="number"}var g6=class{constructor(t){this.find=t.find,this.handler=t.handler}},x6=(t,e,n)=>{if(f0(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map(s=>{const a=[s.text];return a.index=s.index,a.input=t,a.data=s.data,s.replaceWith&&(s.text.includes(s.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),a.push(s.replaceWith)),a}):[]};function y6(t){const{editor:e,state:n,from:r,to:s,rule:a,pasteEvent:o,dropEvent:c}=t,{commands:u,chain:h,can:f}=new ff({editor:e,state:n}),m=[];return n.doc.nodesBetween(r,s,(y,v)=>{var j,w,k,E,C;if((w=(j=y.type)==null?void 0:j.spec)!=null&&w.code||!(y.isText||y.isTextblock||y.isInline))return;const T=(C=(E=(k=y.content)==null?void 0:k.size)!=null?E:y.nodeSize)!=null?C:0,O=Math.max(r,v),B=Math.min(s,v+T);if(O>=B)return;const R=y.isText?y.text||"":y.textBetween(O-v,B-v,void 0,"");x6(R,a.find,o).forEach(I=>{if(I.index===void 0)return;const L=O+I.index+1,X=L+I[0].length,Z={from:n.tr.mapping.map(L),to:n.tr.mapping.map(X)},Y=a.handler({state:n,range:Z,match:I,commands:u,chain:h,can:f,pasteEvent:o,dropEvent:c});m.push(Y)})}),m.every(y=>y!==null)}var Cu=null,v6=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)==null||e.setData("text/html",t),n};function b6(t){const{editor:e,rules:n}=t;let r=null,s=!1,a=!1,o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,c;try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}const u=({state:f,from:m,to:g,rule:y,pasteEvt:v})=>{const j=f.tr,w=hf({state:f,transaction:j});if(!(!y6({editor:e,state:w,from:Math.max(m-1,0),to:g.b-1,rule:y,pasteEvent:v,dropEvent:c})||!j.steps.length)){try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}return o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,j}};return n.map(f=>new Pt({view(m){const g=v=>{var j;r=(j=m.dom.parentElement)!=null&&j.contains(v.target)?m.dom.parentElement:null,r&&(Cu=e)},y=()=>{Cu&&(Cu=null)};return window.addEventListener("dragstart",g),window.addEventListener("dragend",y),{destroy(){window.removeEventListener("dragstart",g),window.removeEventListener("dragend",y)}}},props:{handleDOMEvents:{drop:(m,g)=>{if(a=r===m.dom.parentElement,c=g,!a){const y=Cu;y!=null&&y.isEditable&&setTimeout(()=>{const v=y.state.selection;v&&y.commands.deleteRange({from:v.from,to:v.to})},10)}return!1},paste:(m,g)=>{var y;const v=(y=g.clipboardData)==null?void 0:y.getData("text/html");return o=g,s=!!(v!=null&&v.includes("data-pm-slice")),!1}}},appendTransaction:(m,g,y)=>{const v=m[0],j=v.getMeta("uiEvent")==="paste"&&!s,w=v.getMeta("uiEvent")==="drop"&&!a,k=v.getMeta("applyPasteRules"),E=!!k;if(!j&&!w&&!E)return;if(E){let{text:O}=k;typeof O=="string"?O=O:O=g0(me.from(O),y.schema);const{from:B}=k,R=B+O.length,P=v6(O);return u({rule:f,state:y,from:B,to:{b:R},pasteEvt:P})}const C=g.doc.content.findDiffStart(y.doc.content),T=g.doc.content.findDiffEnd(y.doc.content);if(!(!m6(C)||!T||C===T.b))return u({rule:f,state:y,from:C,to:T,pasteEvt:o})}}))}var yf=class{constructor(t,e){this.splittableMarks=[],this.editor=e,this.baseExtensions=t,this.extensions=d2(t),this.schema=R8(this.extensions,e),this.setupExtensions()}get commands(){return this.extensions.reduce((t,e)=>{const n={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:tc(e.name,this.schema)},r=Ve(e,"addCommands",n);return r?{...t,...r()}:t},{})}get plugins(){const{editor:t}=this;return yc([...this.extensions].reverse()).flatMap(r=>{const s={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:t,type:tc(r.name,this.schema)},a=[],o=Ve(r,"addKeyboardShortcuts",s);let c={};if(r.type==="mark"&&Ve(r,"exitable",s)&&(c.ArrowRight=()=>ro.handleExit({editor:t,mark:r})),o){const g=Object.fromEntries(Object.entries(o()).map(([y,v])=>[y,()=>v({editor:t})]));c={...c,...g}}const u=OL(c);a.push(u);const h=Ve(r,"addInputRules",s);if(cw(r,t.options.enableInputRules)&&h){const g=h();if(g&&g.length){const y=f6({editor:t,rules:g}),v=Array.isArray(y)?y:[y];a.push(...v)}}const f=Ve(r,"addPasteRules",s);if(cw(r,t.options.enablePasteRules)&&f){const g=f();if(g&&g.length){const y=b6({editor:t,rules:g});a.push(...y)}}const m=Ve(r,"addProseMirrorPlugins",s);if(m){const g=m();a.push(...g)}return a})}get attributes(){return c2(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=rl(this.extensions);return Object.fromEntries(e.filter(n=>!!Ve(n,"addNodeView")).map(n=>{const r=this.attributes.filter(u=>u.type===n.name),s={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:dn(n.name,this.schema)},a=Ve(n,"addNodeView",s);if(!a)return[];const o=a();if(!o)return[];const c=(u,h,f,m,g)=>{const y=zc(u,r);return o({node:u,view:h,getPos:f,decorations:m,innerDecorations:g,editor:t,extension:n,HTMLAttributes:y})};return[n.name,c]}))}dispatchTransaction(t){const{editor:e}=this;return yc([...this.extensions].reverse()).reduceRight((r,s)=>{const a={name:s.name,options:s.options,storage:this.editor.extensionStorage[s.name],editor:e,type:tc(s.name,this.schema)},o=Ve(s,"dispatchTransaction",a);return o?c=>{o.call(a,{transaction:c,next:r})}:r},t)}transformPastedHTML(t){const{editor:e}=this;return yc([...this.extensions]).reduce((r,s)=>{const a={name:s.name,options:s.options,storage:this.editor.extensionStorage[s.name],editor:e,type:tc(s.name,this.schema)},o=Ve(s,"transformPastedHTML",a);return o?(c,u)=>{const h=r(c,u);return o.call(a,h)}:r},t||(r=>r))}get markViews(){const{editor:t}=this,{markExtensions:e}=rl(this.extensions);return Object.fromEntries(e.filter(n=>!!Ve(n,"addMarkView")).map(n=>{const r=this.attributes.filter(c=>c.type===n.name),s={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:ii(n.name,this.schema)},a=Ve(n,"addMarkView",s);if(!a)return[];const o=(c,u,h)=>{const f=zc(c,r);return a()({mark:c,view:u,inline:h,editor:t,extension:n,HTMLAttributes:f,updateAttributes:m=>{D6(c,t,m)}})};return[n.name,o]}))}setupExtensions(){const t=this.extensions;this.editor.extensionStorage=Object.fromEntries(t.map(e=>[e.name,e.storage])),t.forEach(e=>{var n;const r={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:tc(e.name,this.schema)};e.type==="mark"&&((n=xt(Ve(e,"keepOnSplit",r)))==null||n)&&this.splittableMarks.push(e.name);const s=Ve(e,"onBeforeCreate",r),a=Ve(e,"onCreate",r),o=Ve(e,"onUpdate",r),c=Ve(e,"onSelectionUpdate",r),u=Ve(e,"onTransaction",r),h=Ve(e,"onFocus",r),f=Ve(e,"onBlur",r),m=Ve(e,"onDestroy",r);s&&this.editor.on("beforeCreate",s),a&&this.editor.on("create",a),o&&this.editor.on("update",o),c&&this.editor.on("selectionUpdate",c),u&&this.editor.on("transaction",u),h&&this.editor.on("focus",h),f&&this.editor.on("blur",f),m&&this.editor.on("destroy",m)})}};yf.resolve=d2;yf.sort=yc;yf.flatten=m0;var w6={};h0(w6,{ClipboardTextSerializer:()=>w2,Commands:()=>N2,Delete:()=>j2,Drop:()=>k2,Editable:()=>S2,FocusEvents:()=>E2,Keymap:()=>T2,Paste:()=>M2,Tabindex:()=>A2,TextDirection:()=>R2,focusEventsPluginKey:()=>C2});var Yt=class b2 extends y0{constructor(){super(...arguments),this.type="extension"}static create(e={}){const n=typeof e=="function"?e():e;return new b2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}},w2=Yt.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Pt({key:new Bt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:s}=e,{ranges:a}=s,o=Math.min(...a.map(f=>f.$from.pos)),c=Math.max(...a.map(f=>f.$to.pos)),u=h2(n);return u2(r,{from:o,to:c},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),N2=Yt.create({name:"commands",addCommands(){return{...ZS}}}),j2=Yt.create({name:"delete",onUpdate({transaction:t,appendedTransactions:e}){var n,r,s;const a=()=>{var o,c,u,h;if((h=(u=(c=(o=this.editor.options.coreExtensionOptions)==null?void 0:o.delete)==null?void 0:c.filterTransaction)==null?void 0:u.call(c,t))!=null?h:t.getMeta("y-sync$"))return;const f=a2(t.before,[t,...e]);p2(f).forEach(y=>{f.mapping.mapResult(y.oldRange.from).deletedAfter&&f.mapping.mapResult(y.oldRange.to).deletedBefore&&f.before.nodesBetween(y.oldRange.from,y.oldRange.to,(v,j)=>{const w=j+v.nodeSize-2,k=y.oldRange.from<=j&&w<=y.oldRange.to;this.editor.emit("delete",{type:"node",node:v,from:j,to:w,newFrom:f.mapping.map(j),newTo:f.mapping.map(w),deletedRange:y.oldRange,newRange:y.newRange,partial:!k,editor:this.editor,transaction:t,combinedTransform:f})})});const g=f.mapping;f.steps.forEach((y,v)=>{var j,w;if(y instanceof as){const k=g.slice(v).map(y.from,-1),E=g.slice(v).map(y.to),C=g.invert().map(k,-1),T=g.invert().map(E),O=(j=f.doc.nodeAt(k-1))==null?void 0:j.marks.some(R=>R.eq(y.mark)),B=(w=f.doc.nodeAt(E))==null?void 0:w.marks.some(R=>R.eq(y.mark));this.editor.emit("delete",{type:"mark",mark:y.mark,from:y.from,to:y.to,deletedRange:{from:C,to:T},newRange:{from:k,to:E},partial:!!(B||O),editor:this.editor,transaction:t,combinedTransform:f})}})};(s=(r=(n=this.editor.options.coreExtensionOptions)==null?void 0:n.delete)==null?void 0:r.async)==null||s?setTimeout(a,0):a()}}),k2=Yt.create({name:"drop",addProseMirrorPlugins(){return[new Pt({key:new Bt("tiptapDrop"),props:{handleDrop:(t,e,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:r})}}})]}}),S2=Yt.create({name:"editable",addProseMirrorPlugins(){return[new Pt({key:new Bt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),C2=new Bt("focusEvents"),E2=Yt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Pt({key:C2,props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),T2=Yt.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:o})=>[()=>o.undoInputRule(),()=>o.command(({tr:c})=>{const{selection:u,doc:h}=c,{empty:f,$anchor:m}=u,{pos:g,parent:y}=m,v=m.parent.isTextblock&&g>0?c.doc.resolve(g-1):m,j=v.parent.type.spec.isolating,w=m.pos-m.parentOffset,k=j&&v.parent.childCount===1?w===m.pos:Je.atStart(h).from===g;return!f||!y.type.isTextblock||y.textContent.length||!k||k&&m.parent.type.name==="paragraph"?!1:o.clearNodes()}),()=>o.deleteSelection(),()=>o.joinBackward(),()=>o.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:o})=>[()=>o.deleteSelection(),()=>o.deleteCurrentNode(),()=>o.joinForward(),()=>o.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:o})=>[()=>o.newlineInCode(),()=>o.createParagraphNear(),()=>o.liftEmptyBlock(),()=>o.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},s={...r},a={...r,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return fh()||s2()?a:s},addProseMirrorPlugins(){return[new Pt({key:new Bt("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some(j=>j.getMeta("composition")))return;const r=t.some(j=>j.docChanged)&&!e.doc.eq(n.doc),s=t.some(j=>j.getMeta("preventClearDocument"));if(!r||s)return;const{empty:a,from:o,to:c}=e.selection,u=Je.atStart(e.doc).from,h=Je.atEnd(e.doc).to;if(a||!(o===u&&c===h)||!gf(n.doc))return;const g=n.tr,y=hf({state:n,transaction:g}),{commands:v}=new ff({editor:this.editor,state:y});if(v.clearNodes(),!!g.steps.length)return g}})]}}),M2=Yt.create({name:"paste",addProseMirrorPlugins(){return[new Pt({key:new Bt("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),A2=Yt.create({name:"tabindex",addProseMirrorPlugins(){return[new Pt({key:new Bt("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}}),R2=Yt.create({name:"textDirection",addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];const{nodeExtensions:t}=rl(this.extensions);return[{types:t.filter(e=>e.name!=="text").map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{const n=e.getAttribute("dir");return n&&(n==="ltr"||n==="rtl"||n==="auto")?n:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new Pt({key:new Bt("textDirection"),props:{attributes:()=>{const t=this.options.direction;return t?{dir:t}:{}}}})]}}),N6=class cc{constructor(e,n,r=!1,s=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=n,this.currentNode=s}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!=null?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new cc(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new cc(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new cc(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,r)=>{const s=n.isBlock&&!n.isTextblock,a=n.isAtom&&!n.isText,o=n.isInline,c=this.pos+r+(a?0:1);if(c<0||c>this.resolvedPos.doc.nodeSize-2)return;const u=this.resolvedPos.doc.resolve(c);if(!s&&!o&&u.depth<=this.depth)return;const h=new cc(u,this.editor,s,s||o?n:null);s&&(h.actualDepth=this.depth+1),e.push(h)}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let r=null,s=this.parent;for(;s&&!r;){if(s.node.type.name===e)if(Object.keys(n).length>0){const a=s.node.attrs,o=Object.keys(n);for(let c=0;c{r&&s.length>0||(o.node.type.name===e&&a.every(u=>n[u]===o.node.attrs[u])&&s.push(o),!(r&&s.length>0)&&(s=s.concat(o.querySelectorAll(e,n,r))))}),s}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}},j6=`.ProseMirror { position: relative; } @@ -677,15 +677,15 @@ img.ProseMirror-separator { .ProseMirror-focused .ProseMirror-gapcursor { display: block; -}`;function j6(t,e,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const s=document.createElement("style");return e&&s.setAttribute("nonce",e),s.setAttribute("data-tiptap-style",""),s.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(s),s}var k6=class extends d6{constructor(t={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:typeof document<"u"?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:r})=>{throw r},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:B8,createMappablePosition:V8},this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:r,slice:s,moved:a})=>this.options.onDrop(r,s,a)),this.on("paste",({event:r,slice:s})=>this.options.onPaste(r,s)),this.on("delete",this.options.onDelete);const e=this.createDoc(),n=n2(e,this.options.autofocus);this.editorState=Ko.create({doc:e,schema:this.schema,selection:n||void 0}),this.options.element&&this.mount(this.options.element)}mount(t){if(typeof document>"u")throw new Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(t),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){const t=this.editorView.dom;t!=null&&t.editor&&delete t.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove=="function"?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(t){console.warn("Failed to remove CSS element:",t)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&typeof document<"u"&&(this.css=j6(N6,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.editorView||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:t=>{this.editorState=t},dispatch:t=>{this.dispatchTransaction(t)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(t,e)=>{if(this.editorView)return this.editorView[e];if(e==="state")return this.editorState;if(e in t)return Reflect.get(t,e);throw new Error(`[tiptap error]: The editor view is not available. Cannot access view['${e}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(t,e){const n=l2(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(t){if(this.isDestroyed)return;const e=this.state.plugins;let n=e;if([].concat(t).forEach(s=>{const a=typeof s=="string"?`${s}$`:s.key;n=n.filter(o=>!o.key.startsWith(a))}),e.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var t,e;const r=[...this.options.enableCoreExtensions?[S2,w2.configure({blockSeparator:(e=(t=this.options.coreExtensionOptions)==null?void 0:t.clipboardTextSerializer)==null?void 0:e.blockSeparator}),N2,E2,T2,A2,k2,M2,j2,R2.configure({direction:this.options.textDirection})].filter(s=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[s.name]!==!1:!0):[],...this.options.extensions].filter(s=>["extension","node","mark"].includes(s==null?void 0:s.type));this.extensionManager=new yf(r,this)}createCommandManager(){this.commandManager=new ff({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let t;try{t=Kg(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{"collaboration"in this.storage&&typeof this.storage.collaboration=="object"&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(n=>n.name!=="collaboration"),this.createExtensionManager()}}),t=Kg(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return t}createView(t){const{editorProps:e,enableExtensionDispatchTransaction:n}=this.options,r=e.dispatchTransaction||this.dispatchTransaction.bind(this),s=n?this.extensionManager.dispatchTransaction(r):r,a=e.transformPastedHTML,o=this.extensionManager.transformPastedHTML(a);this.editorView=new XS(t,{...e,attributes:{role:"textbox",...e==null?void 0:e.attributes},dispatchTransaction:s,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});const c=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(c),this.prependClass(),this.injectCSS();const u=this.view.dom;u.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=t;return}t.steps.forEach(h=>{var f;return(f=this.capturedTransaction)==null?void 0:f.step(h)});return}const{state:e,transactions:n}=this.state.applyTransaction(t),r=!this.state.selection.eq(e.selection),s=n.includes(t),a=this.state;if(this.emit("beforeTransaction",{editor:this,transaction:t,nextState:e}),!s)return;this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t,appendedTransactions:n.slice(1)}),r&&this.emit("selectionUpdate",{editor:this,transaction:t});const o=n.findLast(h=>h.getMeta("focus")||h.getMeta("blur")),c=o==null?void 0:o.getMeta("focus"),u=o==null?void 0:o.getMeta("blur");c&&this.emit("focus",{editor:this,event:c.event,transaction:o}),u&&this.emit("blur",{editor:this,event:u.event,transaction:o}),!(t.getMeta("preventUpdate")||!n.some(h=>h.docChanged)||a.doc.eq(e.doc))&&this.emit("update",{editor:this,transaction:t,appendedTransactions:n.slice(1)})}getAttributes(t){return f2(this.state,t)}isActive(t,e){const n=typeof t=="string"?t:null,r=typeof t=="string"?e:t;return z8(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return g0(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e=` +}`;function k6(t,e,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const s=document.createElement("style");return e&&s.setAttribute("nonce",e),s.setAttribute("data-tiptap-style",""),s.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(s),s}var S6=class extends u6{constructor(t={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:typeof document<"u"?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:r})=>{throw r},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:V8,createMappablePosition:H8},this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:r,slice:s,moved:a})=>this.options.onDrop(r,s,a)),this.on("paste",({event:r,slice:s})=>this.options.onPaste(r,s)),this.on("delete",this.options.onDelete);const e=this.createDoc(),n=n2(e,this.options.autofocus);this.editorState=Ko.create({doc:e,schema:this.schema,selection:n||void 0}),this.options.element&&this.mount(this.options.element)}mount(t){if(typeof document>"u")throw new Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(t),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){const t=this.editorView.dom;t!=null&&t.editor&&delete t.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove=="function"?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(t){console.warn("Failed to remove CSS element:",t)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&typeof document<"u"&&(this.css=k6(j6,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.editorView||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:t=>{this.editorState=t},dispatch:t=>{this.dispatchTransaction(t)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(t,e)=>{if(this.editorView)return this.editorView[e];if(e==="state")return this.editorState;if(e in t)return Reflect.get(t,e);throw new Error(`[tiptap error]: The editor view is not available. Cannot access view['${e}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(t,e){const n=l2(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(t){if(this.isDestroyed)return;const e=this.state.plugins;let n=e;if([].concat(t).forEach(s=>{const a=typeof s=="string"?`${s}$`:s.key;n=n.filter(o=>!o.key.startsWith(a))}),e.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var t,e;const r=[...this.options.enableCoreExtensions?[S2,w2.configure({blockSeparator:(e=(t=this.options.coreExtensionOptions)==null?void 0:t.clipboardTextSerializer)==null?void 0:e.blockSeparator}),N2,E2,T2,A2,k2,M2,j2,R2.configure({direction:this.options.textDirection})].filter(s=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[s.name]!==!1:!0):[],...this.options.extensions].filter(s=>["extension","node","mark"].includes(s==null?void 0:s.type));this.extensionManager=new yf(r,this)}createCommandManager(){this.commandManager=new ff({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let t;try{t=Kg(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{"collaboration"in this.storage&&typeof this.storage.collaboration=="object"&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(n=>n.name!=="collaboration"),this.createExtensionManager()}}),t=Kg(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return t}createView(t){const{editorProps:e,enableExtensionDispatchTransaction:n}=this.options,r=e.dispatchTransaction||this.dispatchTransaction.bind(this),s=n?this.extensionManager.dispatchTransaction(r):r,a=e.transformPastedHTML,o=this.extensionManager.transformPastedHTML(a);this.editorView=new XS(t,{...e,attributes:{role:"textbox",...e==null?void 0:e.attributes},dispatchTransaction:s,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});const c=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(c),this.prependClass(),this.injectCSS();const u=this.view.dom;u.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=t;return}t.steps.forEach(h=>{var f;return(f=this.capturedTransaction)==null?void 0:f.step(h)});return}const{state:e,transactions:n}=this.state.applyTransaction(t),r=!this.state.selection.eq(e.selection),s=n.includes(t),a=this.state;if(this.emit("beforeTransaction",{editor:this,transaction:t,nextState:e}),!s)return;this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t,appendedTransactions:n.slice(1)}),r&&this.emit("selectionUpdate",{editor:this,transaction:t});const o=n.findLast(h=>h.getMeta("focus")||h.getMeta("blur")),c=o==null?void 0:o.getMeta("focus"),u=o==null?void 0:o.getMeta("blur");c&&this.emit("focus",{editor:this,event:c.event,transaction:o}),u&&this.emit("blur",{editor:this,event:u.event,transaction:o}),!(t.getMeta("preventUpdate")||!n.some(h=>h.docChanged)||a.doc.eq(e.doc))&&this.emit("update",{editor:this,transaction:t,appendedTransactions:n.slice(1)})}getAttributes(t){return f2(this.state,t)}isActive(t,e){const n=typeof t=="string"?t:null,r=typeof t=="string"?e:t;return $8(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return g0(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e=` -`,textSerializers:n={}}=t||{};return P8(this.state.doc,{blockSeparator:e,textSerializers:{...h2(this.schema),...n}})}get isEmpty(){return gf(this.state.doc)}destroy(){this.emit("destroy"),this.unmount(),this.removeAllListeners()}get isDestroyed(){var t,e;return(e=(t=this.editorView)==null?void 0:t.isDestroyed)!=null?e:!0}$node(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t);return new w6(e,this)}get $doc(){return this.$pos(0)}};function sl(t){return new xf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=xt(t.getAttributes,void 0,r);if(s===!1||s===null)return null;const{tr:a}=e,o=r[r.length-1],c=r[0];if(o){const u=c.search(/\S/),h=n.from+c.indexOf(o),f=h+o.length;if(x0(n.from,n.to,e.doc).filter(y=>y.mark.type.excluded.find(j=>j===t.type&&j!==y.mark.type)).filter(y=>y.to>h).length)return null;fn.from&&a.delete(n.from+u,h);const g=n.from+u+o.length;a.addMark(n.from+u,g,t.type.create(s||{})),a.removeStoredMark(t.type)}},undoable:t.undoable})}function P2(t){return new xf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=xt(t.getAttributes,void 0,r)||{},{tr:a}=e,o=n.from;let c=n.to;const u=t.type.create(s);if(r[1]){const h=r[0].lastIndexOf(r[1]);let f=o+h;f>c?f=c:c=f+r[1].length;const m=r[0][r[0].length-1];a.insertText(m,o+r[0].length-1),a.replaceWith(f,c,u)}else if(r[0]){const h=t.type.isInline?o:o-1;a.insert(h,t.type.create(s)).delete(a.mapping.map(o),a.mapping.map(c))}a.scrollIntoView()},undoable:t.undoable})}function Gg(t){return new xf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=e.doc.resolve(n.from),a=xt(t.getAttributes,void 0,r)||{};if(!s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,a)},undoable:t.undoable})}function il(t){return new xf({find:t.find,handler:({state:e,range:n,match:r,chain:s})=>{const a=xt(t.getAttributes,void 0,r)||{},o=e.tr.delete(n.from,n.to),u=o.doc.resolve(n.from).blockRange(),h=u&&Gx(u,t.type,a);if(!h)return null;if(o.wrap(u,h),t.keepMarks&&t.editor){const{selection:m,storedMarks:g}=e,{splittableMarks:y}=t.editor.extensionManager,v=g||m.$to.parentOffset&&m.$from.marks();if(v){const j=v.filter(w=>y.includes(w.type.name));o.ensureMarks(j)}}if(t.keepAttributes){const m=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";s().updateAttributes(m,a).run()}const f=o.doc.resolve(n.from-1).nodeBefore;f&&f.type===t.type&&aa(o.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,f))&&o.join(n.from-1)},undoable:t.undoable})}var S6=t=>"touches"in t,C6=class{constructor(t){this.directions=["bottom-left","bottom-right","top-left","top-right"],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:"",wrapper:"",handle:"",resizing:""},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.clientX-this.startX,h=c.clientY-this.startY;this.handleResize(u,h)},this.handleTouchMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.touches[0];if(!u)return;const h=u.clientX-this.startX,f=u.clientY-this.startY;this.handleResize(h,f)},this.handleMouseUp=()=>{if(!this.isResizing)return;const c=this.element.offsetWidth,u=this.element.offsetHeight;this.onCommit(c,u),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)},this.handleKeyDown=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!1)};var e,n,r,s,a,o;this.node=t.node,this.editor=t.editor,this.element=t.element,this.contentElement=t.contentElement,this.getPos=t.getPos,this.onResize=t.onResize,this.onCommit=t.onCommit,this.onUpdate=t.onUpdate,(e=t.options)!=null&&e.min&&(this.minSize={...this.minSize,...t.options.min}),(n=t.options)!=null&&n.max&&(this.maxSize=t.options.max),(r=t==null?void 0:t.options)!=null&&r.directions&&(this.directions=t.options.directions),(s=t.options)!=null&&s.preserveAspectRatio&&(this.preserveAspectRatio=t.options.preserveAspectRatio),(a=t.options)!=null&&a.className&&(this.classNames={container:t.options.className.container||"",wrapper:t.options.className.wrapper||"",handle:t.options.className.handle||"",resizing:t.options.className.resizing||""}),(o=t.options)!=null&&o.createCustomHandle&&(this.createCustomHandle=t.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on("update",this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){var t;return(t=this.contentElement)!=null?t:null}handleEditorUpdate(){const t=this.editor.isEditable;t!==this.lastEditableState&&(this.lastEditableState=t,t?t&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(t,e,n){return t.type!==this.node.type?!1:(this.node=t,this.onUpdate?this.onUpdate(t,e,n):!0)}destroy(){this.isResizing&&(this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off("update",this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){const t=document.createElement("div");return t.dataset.resizeContainer="",t.dataset.node=this.node.type.name,t.style.display="flex",this.classNames.container&&(t.className=this.classNames.container),t.appendChild(this.wrapper),t}createWrapper(){const t=document.createElement("div");return t.style.position="relative",t.style.display="block",t.dataset.resizeWrapper="",this.classNames.wrapper&&(t.className=this.classNames.wrapper),t.appendChild(this.element),t}createHandle(t){const e=document.createElement("div");return e.dataset.resizeHandle=t,e.style.position="absolute",this.classNames.handle&&(e.className=this.classNames.handle),e}positionHandle(t,e){const n=e.includes("top"),r=e.includes("bottom"),s=e.includes("left"),a=e.includes("right");n&&(t.style.top="0"),r&&(t.style.bottom="0"),s&&(t.style.left="0"),a&&(t.style.right="0"),(e==="top"||e==="bottom")&&(t.style.left="0",t.style.right="0"),(e==="left"||e==="right")&&(t.style.top="0",t.style.bottom="0")}attachHandles(){this.directions.forEach(t=>{let e;this.createCustomHandle?e=this.createCustomHandle(t):e=this.createHandle(t),e instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${t}") did not return an HTMLElement. Falling back to default handle.`),e=this.createHandle(t)),this.createCustomHandle||this.positionHandle(e,t),e.addEventListener("mousedown",n=>this.handleResizeStart(n,t)),e.addEventListener("touchstart",n=>this.handleResizeStart(n,t)),this.handleMap.set(t,e),this.wrapper.appendChild(e)})}removeHandles(){this.handleMap.forEach(t=>t.remove()),this.handleMap.clear()}applyInitialSize(){const t=this.node.attrs.width,e=this.node.attrs.height;t?(this.element.style.width=`${t}px`,this.initialWidth=t):this.initialWidth=this.element.offsetWidth,e?(this.element.style.height=`${e}px`,this.initialHeight=e):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(t,e){t.preventDefault(),t.stopPropagation(),this.isResizing=!0,this.activeHandle=e,S6(t)?(this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY):(this.startX=t.clientX,this.startY=t.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState="true",this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}handleResize(t,e){if(!this.activeHandle)return;const n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:s}=this.calculateNewDimensions(this.activeHandle,t,e),a=this.applyConstraints(r,s,n);this.element.style.width=`${a.width}px`,this.element.style.height=`${a.height}px`,this.onResize&&this.onResize(a.width,a.height)}calculateNewDimensions(t,e,n){let r=this.startWidth,s=this.startHeight;const a=t.includes("right"),o=t.includes("left"),c=t.includes("bottom"),u=t.includes("top");return a?r=this.startWidth+e:o&&(r=this.startWidth-e),c?s=this.startHeight+n:u&&(s=this.startHeight-n),(t==="right"||t==="left")&&(r=this.startWidth+(a?e:-e)),(t==="top"||t==="bottom")&&(s=this.startHeight+(c?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,s,t):{width:r,height:s}}applyConstraints(t,e,n){var r,s,a,o;if(!n){let h=Math.max(this.minSize.width,t),f=Math.max(this.minSize.height,e);return(r=this.maxSize)!=null&&r.width&&(h=Math.min(this.maxSize.width,h)),(s=this.maxSize)!=null&&s.height&&(f=Math.min(this.maxSize.height,f)),{width:h,height:f}}let c=t,u=e;return cthis.maxSize.width&&(c=this.maxSize.width,u=c/this.aspectRatio),(o=this.maxSize)!=null&&o.height&&u>this.maxSize.height&&(u=this.maxSize.height,c=u*this.aspectRatio),{width:c,height:u}}applyAspectRatio(t,e,n){const r=n==="left"||n==="right",s=n==="top"||n==="bottom";return r?{width:t,height:t/this.aspectRatio}:s?{width:e*this.aspectRatio,height:e}:{width:t,height:t/this.aspectRatio}}};function E6(t,e){const{selection:n}=t,{$from:r}=n;if(n instanceof He){const a=r.index();return r.parent.canReplaceWith(a,a+1,e)}let s=r.depth;for(;s>=0;){const a=r.index(s);if(r.node(s).contentMatchAt(a).matchType(e))return!0;s-=1}return!1}function T6(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}var M6={};h0(M6,{createAtomBlockMarkdownSpec:()=>A6,createBlockMarkdownSpec:()=>R6,createInlineMarkdownSpec:()=>I2,parseAttributes:()=>v0,parseIndentedBlocks:()=>Jg,renderNestedMarkdownContent:()=>w0,serializeAttributes:()=>b0});function v0(t){if(!(t!=null&&t.trim()))return{};const e={},n=[],r=t.replace(/["']([^"']*)["']/g,h=>(n.push(h),`__QUOTED_${n.length-1}__`)),s=r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);if(s){const h=s.map(f=>f.trim().slice(1));e.class=h.join(" ")}const a=r.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);a&&(e.id=a[1]);const o=/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;Array.from(r.matchAll(o)).forEach(([,h,f])=>{var m;const g=parseInt(((m=f.match(/__QUOTED_(\d+)__/))==null?void 0:m[1])||"0",10),y=n[g];y&&(e[h]=y.slice(1,-1))});const u=r.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g,"").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return u&&u.split(/\s+/).filter(Boolean).forEach(f=>{f.match(/^[a-zA-Z][\w-]*$/)&&(e[f]=!0)}),e}function b0(t){if(!t||Object.keys(t).length===0)return"";const e=[];return t.class&&String(t.class).split(/\s+/).filter(Boolean).forEach(r=>e.push(`.${r}`)),t.id&&e.push(`#${t.id}`),Object.entries(t).forEach(([n,r])=>{n==="class"||n==="id"||(r===!0?e.push(n):r!==!1&&r!=null&&e.push(`${n}="${String(r)}"`))}),e.join(" ")}function A6(t){const{nodeName:e,name:n,parseAttributes:r=v0,serializeAttributes:s=b0,defaultAttributes:a={},requiredAttributes:o=[],allowedAttributes:c}=t,u=n||e,h=f=>{if(!c)return f;const m={};return c.forEach(g=>{g in f&&(m[g]=f[g])}),m};return{parseMarkdown:(f,m)=>{const g={...a,...f.attributes};return m.createNode(e,g,[])},markdownTokenizer:{name:e,level:"block",start(f){var m;const g=new RegExp(`^:::${u}(?:\\s|$)`,"m"),y=(m=f.match(g))==null?void 0:m.index;return y!==void 0?y:-1},tokenize(f,m,g){const y=new RegExp(`^:::${u}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),v=f.match(y);if(!v)return;const j=v[1]||"",w=r(j);if(!o.find(E=>!(E in w)))return{type:e,raw:v[0],attributes:w}}},renderMarkdown:f=>{const m=h(f.attrs||{}),g=s(m),y=g?` {${g}}`:"";return`:::${u}${y} :::`}}}function R6(t){const{nodeName:e,name:n,getContent:r,parseAttributes:s=v0,serializeAttributes:a=b0,defaultAttributes:o={},content:c="block",allowedAttributes:u}=t,h=n||e,f=m=>{if(!u)return m;const g={};return u.forEach(y=>{y in m&&(g[y]=m[y])}),g};return{parseMarkdown:(m,g)=>{let y;if(r){const j=r(m);y=typeof j=="string"?[{type:"text",text:j}]:j}else c==="block"?y=g.parseChildren(m.tokens||[]):y=g.parseInline(m.tokens||[]);const v={...o,...m.attributes};return g.createNode(e,v,y)},markdownTokenizer:{name:e,level:"block",start(m){var g;const y=new RegExp(`^:::${h}`,"m"),v=(g=m.match(y))==null?void 0:g.index;return v!==void 0?v:-1},tokenize(m,g,y){var v;const j=new RegExp(`^:::${h}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),w=m.match(j);if(!w)return;const[k,E=""]=w,C=s(E);let T=1;const O=k.length;let B="";const R=/^:::([\w-]*)(\s.*)?/gm,P=m.slice(O);for(R.lastIndex=0;;){const I=R.exec(P);if(I===null)break;const L=I.index,X=I[1];if(!((v=I[2])!=null&&v.endsWith(":::"))){if(X)T+=1;else if(T-=1,T===0){const Z=P.slice(0,L);B=Z.trim();const Y=m.slice(0,O+L+I[0].length);let W=[];if(B)if(c==="block")for(W=y.blockTokens(Z),W.forEach(D=>{D.text&&(!D.tokens||D.tokens.length===0)&&(D.tokens=y.inlineTokens(D.text))});W.length>0;){const D=W[W.length-1];if(D.type==="paragraph"&&(!D.text||D.text.trim()===""))W.pop();else break}else W=y.inlineTokens(B);return{type:e,raw:Y,attributes:C,content:B,tokens:W}}}}}},renderMarkdown:(m,g)=>{const y=f(m.attrs||{}),v=a(y),j=v?` {${v}}`:"",w=g.renderChildren(m.content||[],` +`,textSerializers:n={}}=t||{};return I8(this.state.doc,{blockSeparator:e,textSerializers:{...h2(this.schema),...n}})}get isEmpty(){return gf(this.state.doc)}destroy(){this.emit("destroy"),this.unmount(),this.removeAllListeners()}get isDestroyed(){var t,e;return(e=(t=this.editorView)==null?void 0:t.isDestroyed)!=null?e:!0}$node(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t);return new N6(e,this)}get $doc(){return this.$pos(0)}};function sl(t){return new xf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=xt(t.getAttributes,void 0,r);if(s===!1||s===null)return null;const{tr:a}=e,o=r[r.length-1],c=r[0];if(o){const u=c.search(/\S/),h=n.from+c.indexOf(o),f=h+o.length;if(x0(n.from,n.to,e.doc).filter(y=>y.mark.type.excluded.find(j=>j===t.type&&j!==y.mark.type)).filter(y=>y.to>h).length)return null;fn.from&&a.delete(n.from+u,h);const g=n.from+u+o.length;a.addMark(n.from+u,g,t.type.create(s||{})),a.removeStoredMark(t.type)}},undoable:t.undoable})}function P2(t){return new xf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=xt(t.getAttributes,void 0,r)||{},{tr:a}=e,o=n.from;let c=n.to;const u=t.type.create(s);if(r[1]){const h=r[0].lastIndexOf(r[1]);let f=o+h;f>c?f=c:c=f+r[1].length;const m=r[0][r[0].length-1];a.insertText(m,o+r[0].length-1),a.replaceWith(f,c,u)}else if(r[0]){const h=t.type.isInline?o:o-1;a.insert(h,t.type.create(s)).delete(a.mapping.map(o),a.mapping.map(c))}a.scrollIntoView()},undoable:t.undoable})}function Gg(t){return new xf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=e.doc.resolve(n.from),a=xt(t.getAttributes,void 0,r)||{};if(!s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,a)},undoable:t.undoable})}function il(t){return new xf({find:t.find,handler:({state:e,range:n,match:r,chain:s})=>{const a=xt(t.getAttributes,void 0,r)||{},o=e.tr.delete(n.from,n.to),u=o.doc.resolve(n.from).blockRange(),h=u&&Gx(u,t.type,a);if(!h)return null;if(o.wrap(u,h),t.keepMarks&&t.editor){const{selection:m,storedMarks:g}=e,{splittableMarks:y}=t.editor.extensionManager,v=g||m.$to.parentOffset&&m.$from.marks();if(v){const j=v.filter(w=>y.includes(w.type.name));o.ensureMarks(j)}}if(t.keepAttributes){const m=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";s().updateAttributes(m,a).run()}const f=o.doc.resolve(n.from-1).nodeBefore;f&&f.type===t.type&&aa(o.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,f))&&o.join(n.from-1)},undoable:t.undoable})}var C6=t=>"touches"in t,E6=class{constructor(t){this.directions=["bottom-left","bottom-right","top-left","top-right"],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:"",wrapper:"",handle:"",resizing:""},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.clientX-this.startX,h=c.clientY-this.startY;this.handleResize(u,h)},this.handleTouchMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.touches[0];if(!u)return;const h=u.clientX-this.startX,f=u.clientY-this.startY;this.handleResize(h,f)},this.handleMouseUp=()=>{if(!this.isResizing)return;const c=this.element.offsetWidth,u=this.element.offsetHeight;this.onCommit(c,u),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)},this.handleKeyDown=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!1)};var e,n,r,s,a,o;this.node=t.node,this.editor=t.editor,this.element=t.element,this.contentElement=t.contentElement,this.getPos=t.getPos,this.onResize=t.onResize,this.onCommit=t.onCommit,this.onUpdate=t.onUpdate,(e=t.options)!=null&&e.min&&(this.minSize={...this.minSize,...t.options.min}),(n=t.options)!=null&&n.max&&(this.maxSize=t.options.max),(r=t==null?void 0:t.options)!=null&&r.directions&&(this.directions=t.options.directions),(s=t.options)!=null&&s.preserveAspectRatio&&(this.preserveAspectRatio=t.options.preserveAspectRatio),(a=t.options)!=null&&a.className&&(this.classNames={container:t.options.className.container||"",wrapper:t.options.className.wrapper||"",handle:t.options.className.handle||"",resizing:t.options.className.resizing||""}),(o=t.options)!=null&&o.createCustomHandle&&(this.createCustomHandle=t.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on("update",this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){var t;return(t=this.contentElement)!=null?t:null}handleEditorUpdate(){const t=this.editor.isEditable;t!==this.lastEditableState&&(this.lastEditableState=t,t?t&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(t,e,n){return t.type!==this.node.type?!1:(this.node=t,this.onUpdate?this.onUpdate(t,e,n):!0)}destroy(){this.isResizing&&(this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off("update",this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){const t=document.createElement("div");return t.dataset.resizeContainer="",t.dataset.node=this.node.type.name,t.style.display="flex",this.classNames.container&&(t.className=this.classNames.container),t.appendChild(this.wrapper),t}createWrapper(){const t=document.createElement("div");return t.style.position="relative",t.style.display="block",t.dataset.resizeWrapper="",this.classNames.wrapper&&(t.className=this.classNames.wrapper),t.appendChild(this.element),t}createHandle(t){const e=document.createElement("div");return e.dataset.resizeHandle=t,e.style.position="absolute",this.classNames.handle&&(e.className=this.classNames.handle),e}positionHandle(t,e){const n=e.includes("top"),r=e.includes("bottom"),s=e.includes("left"),a=e.includes("right");n&&(t.style.top="0"),r&&(t.style.bottom="0"),s&&(t.style.left="0"),a&&(t.style.right="0"),(e==="top"||e==="bottom")&&(t.style.left="0",t.style.right="0"),(e==="left"||e==="right")&&(t.style.top="0",t.style.bottom="0")}attachHandles(){this.directions.forEach(t=>{let e;this.createCustomHandle?e=this.createCustomHandle(t):e=this.createHandle(t),e instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${t}") did not return an HTMLElement. Falling back to default handle.`),e=this.createHandle(t)),this.createCustomHandle||this.positionHandle(e,t),e.addEventListener("mousedown",n=>this.handleResizeStart(n,t)),e.addEventListener("touchstart",n=>this.handleResizeStart(n,t)),this.handleMap.set(t,e),this.wrapper.appendChild(e)})}removeHandles(){this.handleMap.forEach(t=>t.remove()),this.handleMap.clear()}applyInitialSize(){const t=this.node.attrs.width,e=this.node.attrs.height;t?(this.element.style.width=`${t}px`,this.initialWidth=t):this.initialWidth=this.element.offsetWidth,e?(this.element.style.height=`${e}px`,this.initialHeight=e):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(t,e){t.preventDefault(),t.stopPropagation(),this.isResizing=!0,this.activeHandle=e,C6(t)?(this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY):(this.startX=t.clientX,this.startY=t.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState="true",this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}handleResize(t,e){if(!this.activeHandle)return;const n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:s}=this.calculateNewDimensions(this.activeHandle,t,e),a=this.applyConstraints(r,s,n);this.element.style.width=`${a.width}px`,this.element.style.height=`${a.height}px`,this.onResize&&this.onResize(a.width,a.height)}calculateNewDimensions(t,e,n){let r=this.startWidth,s=this.startHeight;const a=t.includes("right"),o=t.includes("left"),c=t.includes("bottom"),u=t.includes("top");return a?r=this.startWidth+e:o&&(r=this.startWidth-e),c?s=this.startHeight+n:u&&(s=this.startHeight-n),(t==="right"||t==="left")&&(r=this.startWidth+(a?e:-e)),(t==="top"||t==="bottom")&&(s=this.startHeight+(c?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,s,t):{width:r,height:s}}applyConstraints(t,e,n){var r,s,a,o;if(!n){let h=Math.max(this.minSize.width,t),f=Math.max(this.minSize.height,e);return(r=this.maxSize)!=null&&r.width&&(h=Math.min(this.maxSize.width,h)),(s=this.maxSize)!=null&&s.height&&(f=Math.min(this.maxSize.height,f)),{width:h,height:f}}let c=t,u=e;return cthis.maxSize.width&&(c=this.maxSize.width,u=c/this.aspectRatio),(o=this.maxSize)!=null&&o.height&&u>this.maxSize.height&&(u=this.maxSize.height,c=u*this.aspectRatio),{width:c,height:u}}applyAspectRatio(t,e,n){const r=n==="left"||n==="right",s=n==="top"||n==="bottom";return r?{width:t,height:t/this.aspectRatio}:s?{width:e*this.aspectRatio,height:e}:{width:t,height:t/this.aspectRatio}}};function T6(t,e){const{selection:n}=t,{$from:r}=n;if(n instanceof He){const a=r.index();return r.parent.canReplaceWith(a,a+1,e)}let s=r.depth;for(;s>=0;){const a=r.index(s);if(r.node(s).contentMatchAt(a).matchType(e))return!0;s-=1}return!1}function M6(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}var A6={};h0(A6,{createAtomBlockMarkdownSpec:()=>R6,createBlockMarkdownSpec:()=>P6,createInlineMarkdownSpec:()=>I2,parseAttributes:()=>v0,parseIndentedBlocks:()=>Jg,renderNestedMarkdownContent:()=>w0,serializeAttributes:()=>b0});function v0(t){if(!(t!=null&&t.trim()))return{};const e={},n=[],r=t.replace(/["']([^"']*)["']/g,h=>(n.push(h),`__QUOTED_${n.length-1}__`)),s=r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);if(s){const h=s.map(f=>f.trim().slice(1));e.class=h.join(" ")}const a=r.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);a&&(e.id=a[1]);const o=/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;Array.from(r.matchAll(o)).forEach(([,h,f])=>{var m;const g=parseInt(((m=f.match(/__QUOTED_(\d+)__/))==null?void 0:m[1])||"0",10),y=n[g];y&&(e[h]=y.slice(1,-1))});const u=r.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g,"").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return u&&u.split(/\s+/).filter(Boolean).forEach(f=>{f.match(/^[a-zA-Z][\w-]*$/)&&(e[f]=!0)}),e}function b0(t){if(!t||Object.keys(t).length===0)return"";const e=[];return t.class&&String(t.class).split(/\s+/).filter(Boolean).forEach(r=>e.push(`.${r}`)),t.id&&e.push(`#${t.id}`),Object.entries(t).forEach(([n,r])=>{n==="class"||n==="id"||(r===!0?e.push(n):r!==!1&&r!=null&&e.push(`${n}="${String(r)}"`))}),e.join(" ")}function R6(t){const{nodeName:e,name:n,parseAttributes:r=v0,serializeAttributes:s=b0,defaultAttributes:a={},requiredAttributes:o=[],allowedAttributes:c}=t,u=n||e,h=f=>{if(!c)return f;const m={};return c.forEach(g=>{g in f&&(m[g]=f[g])}),m};return{parseMarkdown:(f,m)=>{const g={...a,...f.attributes};return m.createNode(e,g,[])},markdownTokenizer:{name:e,level:"block",start(f){var m;const g=new RegExp(`^:::${u}(?:\\s|$)`,"m"),y=(m=f.match(g))==null?void 0:m.index;return y!==void 0?y:-1},tokenize(f,m,g){const y=new RegExp(`^:::${u}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),v=f.match(y);if(!v)return;const j=v[1]||"",w=r(j);if(!o.find(E=>!(E in w)))return{type:e,raw:v[0],attributes:w}}},renderMarkdown:f=>{const m=h(f.attrs||{}),g=s(m),y=g?` {${g}}`:"";return`:::${u}${y} :::`}}}function P6(t){const{nodeName:e,name:n,getContent:r,parseAttributes:s=v0,serializeAttributes:a=b0,defaultAttributes:o={},content:c="block",allowedAttributes:u}=t,h=n||e,f=m=>{if(!u)return m;const g={};return u.forEach(y=>{y in m&&(g[y]=m[y])}),g};return{parseMarkdown:(m,g)=>{let y;if(r){const j=r(m);y=typeof j=="string"?[{type:"text",text:j}]:j}else c==="block"?y=g.parseChildren(m.tokens||[]):y=g.parseInline(m.tokens||[]);const v={...o,...m.attributes};return g.createNode(e,v,y)},markdownTokenizer:{name:e,level:"block",start(m){var g;const y=new RegExp(`^:::${h}`,"m"),v=(g=m.match(y))==null?void 0:g.index;return v!==void 0?v:-1},tokenize(m,g,y){var v;const j=new RegExp(`^:::${h}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),w=m.match(j);if(!w)return;const[k,E=""]=w,C=s(E);let T=1;const O=k.length;let B="";const R=/^:::([\w-]*)(\s.*)?/gm,P=m.slice(O);for(R.lastIndex=0;;){const I=R.exec(P);if(I===null)break;const L=I.index,X=I[1];if(!((v=I[2])!=null&&v.endsWith(":::"))){if(X)T+=1;else if(T-=1,T===0){const Z=P.slice(0,L);B=Z.trim();const Y=m.slice(0,O+L+I[0].length);let W=[];if(B)if(c==="block")for(W=y.blockTokens(Z),W.forEach(D=>{D.text&&(!D.tokens||D.tokens.length===0)&&(D.tokens=y.inlineTokens(D.text))});W.length>0;){const D=W[W.length-1];if(D.type==="paragraph"&&(!D.text||D.text.trim()===""))W.pop();else break}else W=y.inlineTokens(B);return{type:e,raw:Y,attributes:C,content:B,tokens:W}}}}}},renderMarkdown:(m,g)=>{const y=f(m.attrs||{}),v=a(y),j=v?` {${v}}`:"",w=g.renderChildren(m.content||[],` `);return`:::${h}${j} ${w} -:::`}}}function P6(t){if(!t.trim())return{};const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,s,a,o]=r;e[s]=a||o,r=n.exec(t)}return e}function I6(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}="${n}"`).join(" ")}function I2(t){const{nodeName:e,name:n,getContent:r,parseAttributes:s=P6,serializeAttributes:a=I6,defaultAttributes:o={},selfClosing:c=!1,allowedAttributes:u}=t,h=n||e,f=g=>{if(!u)return g;const y={};return u.forEach(v=>{const j=typeof v=="string"?v:v.name,w=typeof v=="string"?void 0:v.skipIfDefault;if(j in g){const k=g[j];if(w!==void 0&&k===w)return;y[j]=k}}),y},m=h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(g,y)=>{const v={...o,...g.attributes};if(c)return y.createNode(e,v);const j=r?r(g):g.content||"";return j?y.createNode(e,v,[y.createTextNode(j)]):y.createNode(e,v,[])},markdownTokenizer:{name:e,level:"inline",start(g){const y=c?new RegExp(`\\[${m}\\s*[^\\]]*\\]`):new RegExp(`\\[${m}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${m}\\]`),v=g.match(y),j=v==null?void 0:v.index;return j!==void 0?j:-1},tokenize(g,y,v){const j=c?new RegExp(`^\\[${m}\\s*([^\\]]*)\\]`):new RegExp(`^\\[${m}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${m}\\]`),w=g.match(j);if(!w)return;let k="",E="";if(c){const[,T]=w;E=T}else{const[,T,O]=w;E=T,k=O||""}const C=s(E.trim());return{type:e,raw:w[0],content:k.trim(),attributes:C}}},renderMarkdown:g=>{let y="";r?y=r(g):g.content&&g.content.length>0&&(y=g.content.filter(k=>k.type==="text").map(k=>k.text).join(""));const v=f(g.attrs||{}),j=a(v),w=j?` ${j}`:"";return c?`[${h}${w}]`:`[${h}${w}]${y}[/${h}]`}}}function Jg(t,e,n){var r,s,a,o;const c=t.split(` +:::`}}}function I6(t){if(!t.trim())return{};const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,s,a,o]=r;e[s]=a||o,r=n.exec(t)}return e}function O6(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}="${n}"`).join(" ")}function I2(t){const{nodeName:e,name:n,getContent:r,parseAttributes:s=I6,serializeAttributes:a=O6,defaultAttributes:o={},selfClosing:c=!1,allowedAttributes:u}=t,h=n||e,f=g=>{if(!u)return g;const y={};return u.forEach(v=>{const j=typeof v=="string"?v:v.name,w=typeof v=="string"?void 0:v.skipIfDefault;if(j in g){const k=g[j];if(w!==void 0&&k===w)return;y[j]=k}}),y},m=h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(g,y)=>{const v={...o,...g.attributes};if(c)return y.createNode(e,v);const j=r?r(g):g.content||"";return j?y.createNode(e,v,[y.createTextNode(j)]):y.createNode(e,v,[])},markdownTokenizer:{name:e,level:"inline",start(g){const y=c?new RegExp(`\\[${m}\\s*[^\\]]*\\]`):new RegExp(`\\[${m}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${m}\\]`),v=g.match(y),j=v==null?void 0:v.index;return j!==void 0?j:-1},tokenize(g,y,v){const j=c?new RegExp(`^\\[${m}\\s*([^\\]]*)\\]`):new RegExp(`^\\[${m}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${m}\\]`),w=g.match(j);if(!w)return;let k="",E="";if(c){const[,T]=w;E=T}else{const[,T,O]=w;E=T,k=O||""}const C=s(E.trim());return{type:e,raw:w[0],content:k.trim(),attributes:C}}},renderMarkdown:g=>{let y="";r?y=r(g):g.content&&g.content.length>0&&(y=g.content.filter(k=>k.type==="text").map(k=>k.text).join(""));const v=f(g.attrs||{}),j=a(v),w=j?` ${j}`:"";return c?`[${h}${w}]`:`[${h}${w}]${y}[/${h}]`}}}function Jg(t,e,n){var r,s,a,o;const c=t.split(` `),u=[];let h="",f=0;const m=e.baseIndentSize||2;for(;f0)break;if(g.trim()===""){f+=1,h=`${h}${g} `;continue}else return}const v=e.extractItemData(y),{indentLevel:j,mainContent:w}=v;h=`${h}${g} `;const k=[w];for(f+=1;fL.trim()!=="");if(R===-1)break;if((((s=(r=c[f+1+R].match(/^(\s*)/))==null?void 0:r[1])==null?void 0:s.length)||0)>j){k.push(O),h=`${h}${O} @@ -694,7 +694,7 @@ ${w} `);O.trim()&&(e.customNestedParser?E=e.customNestedParser(O):E=n.blockTokens(O))}const T=e.createToken(v,E);u.push(T)}if(u.length!==0)return{items:u,raw:h}}function w0(t,e,n,r){if(!t||!Array.isArray(t.content))return"";const s=typeof n=="function"?n(r):n,[a,...o]=t.content,c=e.renderChildren([a]),u=[`${s}${c}`];return o&&o.length>0&&o.forEach(h=>{const f=e.renderChildren([h]);if(f){const m=f.split(` `).map(g=>g?e.indent(g):"").join(` `);u.push(m)}}),u.join(` -`)}function O6(t,e,n={}){const{state:r}=e,{doc:s,tr:a}=r,o=t;s.descendants((c,u)=>{const h=a.mapping.map(u),f=a.mapping.map(u)+c.nodeSize;let m=null;if(c.marks.forEach(y=>{if(y!==o)return!1;m=y}),!m)return;let g=!1;if(Object.keys(n).forEach(y=>{n[y]!==m.attrs[y]&&(g=!0)}),g){const y=t.type.create({...t.attrs,...n});a.removeMark(h,f,t.type),a.addMark(h,f,y)}}),a.docChanged&&e.view.dispatch(a)}var un=class O2 extends y0{constructor(){super(...arguments),this.type="node"}static create(e={}){const n=typeof e=="function"?e():e;return new O2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function Ya(t){return new m6({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:s})=>{const a=xt(t.getAttributes,void 0,r,s);if(a===!1||a===null)return null;const{tr:o}=e,c=r[r.length-1],u=r[0];let h=n.to;if(c){const f=u.search(/\S/),m=n.from+u.indexOf(c),g=m+c.length;if(x0(n.from,n.to,e.doc).filter(v=>v.mark.type.excluded.find(w=>w===t.type&&w!==v.mark.type)).filter(v=>v.to>m).length)return null;gn.from&&o.delete(n.from+f,m),h=n.from+f+c.length,o.addMark(n.from+f,h,t.type.create(a||{})),o.removeStoredMark(t.type)}}})}const{getOwnPropertyNames:D6,getOwnPropertySymbols:L6}=Object,{hasOwnProperty:_6}=Object.prototype;function Gm(t,e){return function(r,s,a){return t(r,s,a)&&e(r,s,a)}}function Eu(t){return function(n,r,s){if(!n||!r||typeof n!="object"||typeof r!="object")return t(n,r,s);const{cache:a}=s,o=a.get(n),c=a.get(r);if(o&&c)return o===r&&c===n;a.set(n,r),a.set(r,n);const u=t(n,r,s);return a.delete(n),a.delete(r),u}}function z6(t){return t!=null?t[Symbol.toStringTag]:void 0}function hw(t){return D6(t).concat(L6(t))}const $6=Object.hasOwn||((t,e)=>_6.call(t,e));function so(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const F6="__v",B6="__o",V6="_owner",{getOwnPropertyDescriptor:fw,keys:pw}=Object;function H6(t,e){return t.byteLength===e.byteLength&&ph(new Uint8Array(t),new Uint8Array(e))}function W6(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function U6(t,e){return t.byteLength===e.byteLength&&ph(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function K6(t,e){return so(t.getTime(),e.getTime())}function q6(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function G6(t,e){return t===e}function mw(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const s=new Array(r),a=t.entries();let o,c,u=0;for(;(o=a.next())&&!o.done;){const h=e.entries();let f=!1,m=0;for(;(c=h.next())&&!c.done;){if(s[m]){m++;continue}const g=o.value,y=c.value;if(n.equals(g[0],y[0],u,m,t,e,n)&&n.equals(g[1],y[1],g[0],y[0],t,e,n)){f=s[m]=!0;break}m++}if(!f)return!1;u++}return!0}const J6=so;function Y6(t,e,n){const r=pw(t);let s=r.length;if(pw(e).length!==s)return!1;for(;s-- >0;)if(!D2(t,e,n,r[s]))return!1;return!0}function nc(t,e,n){const r=hw(t);let s=r.length;if(hw(e).length!==s)return!1;let a,o,c;for(;s-- >0;)if(a=r[s],!D2(t,e,n,a)||(o=fw(t,a),c=fw(e,a),(o||c)&&(!o||!c||o.configurable!==c.configurable||o.enumerable!==c.enumerable||o.writable!==c.writable)))return!1;return!0}function Q6(t,e){return so(t.valueOf(),e.valueOf())}function X6(t,e){return t.source===e.source&&t.flags===e.flags}function gw(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const s=new Array(r),a=t.values();let o,c;for(;(o=a.next())&&!o.done;){const u=e.values();let h=!1,f=0;for(;(c=u.next())&&!c.done;){if(!s[f]&&n.equals(o.value,c.value,o.value,c.value,t,e,n)){h=s[f]=!0;break}f++}if(!h)return!1}return!0}function ph(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function Z6(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function D2(t,e,n,r){return(r===V6||r===B6||r===F6)&&(t.$$typeof||e.$$typeof)?!0:$6(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}const e_="[object ArrayBuffer]",t_="[object Arguments]",n_="[object Boolean]",r_="[object DataView]",s_="[object Date]",i_="[object Error]",a_="[object Map]",o_="[object Number]",l_="[object Object]",c_="[object RegExp]",d_="[object Set]",u_="[object String]",h_={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},f_="[object URL]",p_=Object.prototype.toString;function m_({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:s,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:c,areObjectsEqual:u,arePrimitiveWrappersEqual:h,areRegExpsEqual:f,areSetsEqual:m,areTypedArraysEqual:g,areUrlsEqual:y,unknownTagComparators:v}){return function(w,k,E){if(w===k)return!0;if(w==null||k==null)return!1;const C=typeof w;if(C!==typeof k)return!1;if(C!=="object")return C==="number"?c(w,k,E):C==="function"?a(w,k,E):!1;const T=w.constructor;if(T!==k.constructor)return!1;if(T===Object)return u(w,k,E);if(Array.isArray(w))return e(w,k,E);if(T===Date)return r(w,k,E);if(T===RegExp)return f(w,k,E);if(T===Map)return o(w,k,E);if(T===Set)return m(w,k,E);const O=p_.call(w);if(O===s_)return r(w,k,E);if(O===c_)return f(w,k,E);if(O===a_)return o(w,k,E);if(O===d_)return m(w,k,E);if(O===l_)return typeof w.then!="function"&&typeof k.then!="function"&&u(w,k,E);if(O===f_)return y(w,k,E);if(O===i_)return s(w,k,E);if(O===t_)return u(w,k,E);if(h_[O])return g(w,k,E);if(O===e_)return t(w,k,E);if(O===r_)return n(w,k,E);if(O===n_||O===o_||O===u_)return h(w,k,E);if(v){let B=v[O];if(!B){const R=z6(w);R&&(B=v[R])}if(B)return B(w,k,E)}return!1}}function g_({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:H6,areArraysEqual:n?nc:W6,areDataViewsEqual:U6,areDatesEqual:K6,areErrorsEqual:q6,areFunctionsEqual:G6,areMapsEqual:n?Gm(mw,nc):mw,areNumbersEqual:J6,areObjectsEqual:n?nc:Y6,arePrimitiveWrappersEqual:Q6,areRegExpsEqual:X6,areSetsEqual:n?Gm(gw,nc):gw,areTypedArraysEqual:n?Gm(ph,nc):ph,areUrlsEqual:Z6,unknownTagComparators:void 0};if(e&&(r=Object.assign({},r,e(r))),t){const s=Eu(r.areArraysEqual),a=Eu(r.areMapsEqual),o=Eu(r.areObjectsEqual),c=Eu(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:s,areMapsEqual:a,areObjectsEqual:o,areSetsEqual:c})}return r}function x_(t){return function(e,n,r,s,a,o,c){return t(e,n,c)}}function y_({circular:t,comparator:e,createState:n,equals:r,strict:s}){if(n)return function(c,u){const{cache:h=t?new WeakMap:void 0,meta:f}=n();return e(c,u,{cache:h,equals:r,meta:f,strict:s})};if(t)return function(c,u){return e(c,u,{cache:new WeakMap,equals:r,meta:void 0,strict:s})};const a={cache:void 0,equals:r,meta:void 0,strict:s};return function(c,u){return e(c,u,a)}}const v_=la();la({strict:!0});la({circular:!0});la({circular:!0,strict:!0});la({createInternalComparator:()=>so});la({strict:!0,createInternalComparator:()=>so});la({circular:!0,createInternalComparator:()=>so});la({circular:!0,createInternalComparator:()=>so,strict:!0});function la(t={}){const{circular:e=!1,createInternalComparator:n,createState:r,strict:s=!1}=t,a=g_(t),o=m_(a),c=n?n(o):x_(o);return y_({circular:e,comparator:o,createState:r,equals:c,strict:s})}var Jm={exports:{}},Ym={};/** +`)}function D6(t,e,n={}){const{state:r}=e,{doc:s,tr:a}=r,o=t;s.descendants((c,u)=>{const h=a.mapping.map(u),f=a.mapping.map(u)+c.nodeSize;let m=null;if(c.marks.forEach(y=>{if(y!==o)return!1;m=y}),!m)return;let g=!1;if(Object.keys(n).forEach(y=>{n[y]!==m.attrs[y]&&(g=!0)}),g){const y=t.type.create({...t.attrs,...n});a.removeMark(h,f,t.type),a.addMark(h,f,y)}}),a.docChanged&&e.view.dispatch(a)}var un=class O2 extends y0{constructor(){super(...arguments),this.type="node"}static create(e={}){const n=typeof e=="function"?e():e;return new O2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function Ya(t){return new g6({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:s})=>{const a=xt(t.getAttributes,void 0,r,s);if(a===!1||a===null)return null;const{tr:o}=e,c=r[r.length-1],u=r[0];let h=n.to;if(c){const f=u.search(/\S/),m=n.from+u.indexOf(c),g=m+c.length;if(x0(n.from,n.to,e.doc).filter(v=>v.mark.type.excluded.find(w=>w===t.type&&w!==v.mark.type)).filter(v=>v.to>m).length)return null;gn.from&&o.delete(n.from+f,m),h=n.from+f+c.length,o.addMark(n.from+f,h,t.type.create(a||{})),o.removeStoredMark(t.type)}}})}const{getOwnPropertyNames:L6,getOwnPropertySymbols:_6}=Object,{hasOwnProperty:z6}=Object.prototype;function Gm(t,e){return function(r,s,a){return t(r,s,a)&&e(r,s,a)}}function Eu(t){return function(n,r,s){if(!n||!r||typeof n!="object"||typeof r!="object")return t(n,r,s);const{cache:a}=s,o=a.get(n),c=a.get(r);if(o&&c)return o===r&&c===n;a.set(n,r),a.set(r,n);const u=t(n,r,s);return a.delete(n),a.delete(r),u}}function $6(t){return t!=null?t[Symbol.toStringTag]:void 0}function hw(t){return L6(t).concat(_6(t))}const F6=Object.hasOwn||((t,e)=>z6.call(t,e));function so(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const B6="__v",V6="__o",H6="_owner",{getOwnPropertyDescriptor:fw,keys:pw}=Object;function W6(t,e){return t.byteLength===e.byteLength&&ph(new Uint8Array(t),new Uint8Array(e))}function U6(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function K6(t,e){return t.byteLength===e.byteLength&&ph(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function q6(t,e){return so(t.getTime(),e.getTime())}function G6(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function J6(t,e){return t===e}function mw(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const s=new Array(r),a=t.entries();let o,c,u=0;for(;(o=a.next())&&!o.done;){const h=e.entries();let f=!1,m=0;for(;(c=h.next())&&!c.done;){if(s[m]){m++;continue}const g=o.value,y=c.value;if(n.equals(g[0],y[0],u,m,t,e,n)&&n.equals(g[1],y[1],g[0],y[0],t,e,n)){f=s[m]=!0;break}m++}if(!f)return!1;u++}return!0}const Y6=so;function Q6(t,e,n){const r=pw(t);let s=r.length;if(pw(e).length!==s)return!1;for(;s-- >0;)if(!D2(t,e,n,r[s]))return!1;return!0}function nc(t,e,n){const r=hw(t);let s=r.length;if(hw(e).length!==s)return!1;let a,o,c;for(;s-- >0;)if(a=r[s],!D2(t,e,n,a)||(o=fw(t,a),c=fw(e,a),(o||c)&&(!o||!c||o.configurable!==c.configurable||o.enumerable!==c.enumerable||o.writable!==c.writable)))return!1;return!0}function X6(t,e){return so(t.valueOf(),e.valueOf())}function Z6(t,e){return t.source===e.source&&t.flags===e.flags}function gw(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const s=new Array(r),a=t.values();let o,c;for(;(o=a.next())&&!o.done;){const u=e.values();let h=!1,f=0;for(;(c=u.next())&&!c.done;){if(!s[f]&&n.equals(o.value,c.value,o.value,c.value,t,e,n)){h=s[f]=!0;break}f++}if(!h)return!1}return!0}function ph(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function e_(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function D2(t,e,n,r){return(r===H6||r===V6||r===B6)&&(t.$$typeof||e.$$typeof)?!0:F6(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}const t_="[object ArrayBuffer]",n_="[object Arguments]",r_="[object Boolean]",s_="[object DataView]",i_="[object Date]",a_="[object Error]",o_="[object Map]",l_="[object Number]",c_="[object Object]",d_="[object RegExp]",u_="[object Set]",h_="[object String]",f_={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},p_="[object URL]",m_=Object.prototype.toString;function g_({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:s,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:c,areObjectsEqual:u,arePrimitiveWrappersEqual:h,areRegExpsEqual:f,areSetsEqual:m,areTypedArraysEqual:g,areUrlsEqual:y,unknownTagComparators:v}){return function(w,k,E){if(w===k)return!0;if(w==null||k==null)return!1;const C=typeof w;if(C!==typeof k)return!1;if(C!=="object")return C==="number"?c(w,k,E):C==="function"?a(w,k,E):!1;const T=w.constructor;if(T!==k.constructor)return!1;if(T===Object)return u(w,k,E);if(Array.isArray(w))return e(w,k,E);if(T===Date)return r(w,k,E);if(T===RegExp)return f(w,k,E);if(T===Map)return o(w,k,E);if(T===Set)return m(w,k,E);const O=m_.call(w);if(O===i_)return r(w,k,E);if(O===d_)return f(w,k,E);if(O===o_)return o(w,k,E);if(O===u_)return m(w,k,E);if(O===c_)return typeof w.then!="function"&&typeof k.then!="function"&&u(w,k,E);if(O===p_)return y(w,k,E);if(O===a_)return s(w,k,E);if(O===n_)return u(w,k,E);if(f_[O])return g(w,k,E);if(O===t_)return t(w,k,E);if(O===s_)return n(w,k,E);if(O===r_||O===l_||O===h_)return h(w,k,E);if(v){let B=v[O];if(!B){const R=$6(w);R&&(B=v[R])}if(B)return B(w,k,E)}return!1}}function x_({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:W6,areArraysEqual:n?nc:U6,areDataViewsEqual:K6,areDatesEqual:q6,areErrorsEqual:G6,areFunctionsEqual:J6,areMapsEqual:n?Gm(mw,nc):mw,areNumbersEqual:Y6,areObjectsEqual:n?nc:Q6,arePrimitiveWrappersEqual:X6,areRegExpsEqual:Z6,areSetsEqual:n?Gm(gw,nc):gw,areTypedArraysEqual:n?Gm(ph,nc):ph,areUrlsEqual:e_,unknownTagComparators:void 0};if(e&&(r=Object.assign({},r,e(r))),t){const s=Eu(r.areArraysEqual),a=Eu(r.areMapsEqual),o=Eu(r.areObjectsEqual),c=Eu(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:s,areMapsEqual:a,areObjectsEqual:o,areSetsEqual:c})}return r}function y_(t){return function(e,n,r,s,a,o,c){return t(e,n,c)}}function v_({circular:t,comparator:e,createState:n,equals:r,strict:s}){if(n)return function(c,u){const{cache:h=t?new WeakMap:void 0,meta:f}=n();return e(c,u,{cache:h,equals:r,meta:f,strict:s})};if(t)return function(c,u){return e(c,u,{cache:new WeakMap,equals:r,meta:void 0,strict:s})};const a={cache:void 0,equals:r,meta:void 0,strict:s};return function(c,u){return e(c,u,a)}}const b_=la();la({strict:!0});la({circular:!0});la({circular:!0,strict:!0});la({createInternalComparator:()=>so});la({strict:!0,createInternalComparator:()=>so});la({circular:!0,createInternalComparator:()=>so});la({circular:!0,createInternalComparator:()=>so,strict:!0});function la(t={}){const{circular:e=!1,createInternalComparator:n,createState:r,strict:s=!1}=t,a=x_(t),o=g_(a),c=n?n(o):y_(o);return v_({circular:e,comparator:o,createState:r,equals:c,strict:s})}var Jm={exports:{}},Ym={};/** * @license React * use-sync-external-store-shim/with-selector.production.js * @@ -702,11 +702,11 @@ ${w} * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var xw;function b_(){if(xw)return Ym;xw=1;var t=Hc(),e=kk();function n(h,f){return h===f&&(h!==0||1/h===1/f)||h!==h&&f!==f}var r=typeof Object.is=="function"?Object.is:n,s=e.useSyncExternalStore,a=t.useRef,o=t.useEffect,c=t.useMemo,u=t.useDebugValue;return Ym.useSyncExternalStoreWithSelector=function(h,f,m,g,y){var v=a(null);if(v.current===null){var j={hasValue:!1,value:null};v.current=j}else j=v.current;v=c(function(){function k(B){if(!E){if(E=!0,C=B,B=g(B),y!==void 0&&j.hasValue){var R=j.value;if(y(R,B))return T=R}return T=B}if(R=T,r(C,B))return R;var P=g(B);return y!==void 0&&y(R,P)?(C=B,R):(C=B,T=P)}var E=!1,C,T,O=m===void 0?null:m;return[function(){return k(f())},O===null?void 0:function(){return k(O())}]},[f,m,g,y]);var w=s(h,v[0],v[1]);return o(function(){j.hasValue=!0,j.value=w},[w]),u(w),w},Ym}var yw;function w_(){return yw||(yw=1,Jm.exports=b_()),Jm.exports}var N_=w_(),j_=(...t)=>e=>{t.forEach(n=>{typeof n=="function"?n(e):n&&(n.current=e)})},k_=({contentComponent:t})=>{const e=Sk.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return i.jsx(i.Fragment,{children:Object.values(e)})};function S_(){const t=new Set;let e={};return{subscribe(n){return t.add(n),()=>{t.delete(n)}},getSnapshot(){return e},getServerSnapshot(){return e},setRenderer(n,r){e={...e,[n]:jN.createPortal(r.reactElement,r.element,n)},t.forEach(s=>s())},removeRenderer(n){const r={...e};delete r[n],e=r,t.forEach(s=>s())}}}var C_=class extends er.Component{constructor(t){var e;super(t),this.editorContentRef=er.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!((e=t.editor)!=null&&e.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var t;const e=this.props.editor;if(e&&!e.isDestroyed&&((t=e.view.dom)!=null&&t.parentNode)){if(e.contentComponent)return;const n=this.editorContentRef.current;n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n}),e.contentComponent=S_(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe(()=>{this.setState(r=>r.hasContentComponentInitialized?r:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){var t;const e=this.props.editor;if(e){this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null;try{if(!((t=e.view.dom)!=null&&t.parentNode))return;const n=document.createElement("div");n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n})}catch{}}}render(){const{editor:t,innerRef:e,...n}=this.props;return i.jsxs(i.Fragment,{children:[i.jsx("div",{ref:j_(e,this.editorContentRef),...n}),(t==null?void 0:t.contentComponent)&&i.jsx(k_,{contentComponent:t.contentComponent})]})}},E_=b.forwardRef((t,e)=>{const n=er.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[t.editor]);return er.createElement(C_,{key:n,innerRef:e,...t})}),L2=er.memo(E_),T_=typeof window<"u"?b.useLayoutEffect:b.useEffect,M_=class{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach(r=>r())},n=this.editor;return n.on("transaction",e),()=>{n.off("transaction",e)}}}};function A_(t){var e;const[n]=b.useState(()=>new M_(t.editor)),r=N_.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,t.selector,(e=t.equalityFn)!=null?e:v_);return T_(()=>n.watch(t.editor),[t.editor,n]),b.useDebugValue(r),r}var R_=!1,Yg=typeof window>"u",P_=Yg||!!(typeof window<"u"&&window.next),I_=class _2{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(n=>n())}getInitialEditor(){return this.options.current.immediatelyRender===void 0?Yg||P_?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){const e={...this.options.current,onBeforeCreate:(...r)=>{var s,a;return(a=(s=this.options.current).onBeforeCreate)==null?void 0:a.call(s,...r)},onBlur:(...r)=>{var s,a;return(a=(s=this.options.current).onBlur)==null?void 0:a.call(s,...r)},onCreate:(...r)=>{var s,a;return(a=(s=this.options.current).onCreate)==null?void 0:a.call(s,...r)},onDestroy:(...r)=>{var s,a;return(a=(s=this.options.current).onDestroy)==null?void 0:a.call(s,...r)},onFocus:(...r)=>{var s,a;return(a=(s=this.options.current).onFocus)==null?void 0:a.call(s,...r)},onSelectionUpdate:(...r)=>{var s,a;return(a=(s=this.options.current).onSelectionUpdate)==null?void 0:a.call(s,...r)},onTransaction:(...r)=>{var s,a;return(a=(s=this.options.current).onTransaction)==null?void 0:a.call(s,...r)},onUpdate:(...r)=>{var s,a;return(a=(s=this.options.current).onUpdate)==null?void 0:a.call(s,...r)},onContentError:(...r)=>{var s,a;return(a=(s=this.options.current).onContentError)==null?void 0:a.call(s,...r)},onDrop:(...r)=>{var s,a;return(a=(s=this.options.current).onDrop)==null?void 0:a.call(s,...r)},onPaste:(...r)=>{var s,a;return(a=(s=this.options.current).onPaste)==null?void 0:a.call(s,...r)},onDelete:(...r)=>{var s,a;return(a=(s=this.options.current).onDelete)==null?void 0:a.call(s,...r)}};return new k6(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,n){return Object.keys(e).every(r=>["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(r)?!0:r==="extensions"&&e.extensions&&n.extensions?e.extensions.length!==n.extensions.length?!1:e.extensions.every((s,a)=>{var o;return s===((o=n.extensions)==null?void 0:o[a])}):e[r]===n[r])}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&e.length===0?_2.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((r,s)=>r===e[s]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,n=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){n&&n.setOptions(this.options.current);return}n&&!n.isDestroyed&&(n.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function O_(t={},e=[]){const n=b.useRef(t);n.current=t;const[r]=b.useState(()=>new I_(n)),s=Sk.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return b.useDebugValue(s),b.useEffect(r.onRender(e)),A_({editor:s,selector:({transactionNumber:a})=>t.shouldRerenderOnTransaction===!1||t.shouldRerenderOnTransaction===void 0?null:t.immediatelyRender&&a===0?0:a+1}),s}var z2=b.createContext({editor:null});z2.Consumer;var D_=b.createContext({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),L_=()=>b.useContext(D_);er.forwardRef((t,e)=>{const{onDragStart:n}=L_(),r=t.as||"div";return i.jsx(r,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});er.createContext({markViewContentRef:()=>{}});var N0=b.createContext({get editor(){throw new Error("useTiptap must be used within a provider")}});N0.displayName="TiptapContext";var __=()=>b.useContext(N0);function $2({editor:t,instance:e,children:n}){const r=t??e;if(!r)throw new Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");const s=b.useMemo(()=>({editor:r}),[r]),a=b.useMemo(()=>({editor:r}),[r]);return i.jsx(z2.Provider,{value:a,children:i.jsx(N0.Provider,{value:s,children:n})})}$2.displayName="Tiptap";function F2({...t}){const{editor:e}=__();return i.jsx(L2,{editor:e,...t})}F2.displayName="Tiptap.Content";Object.assign($2,{Content:F2});var mh=(t,e)=>{if(t==="slot")return 0;if(t instanceof Function)return t(e);const{children:n,...r}=e??{};if(t==="svg")throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[t,r,n]},z_=/^\s*>\s$/,$_=un.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return mh("blockquote",{...yt(this.options.HTMLAttributes,t),children:mh("slot",{})})},parseMarkdown:(t,e)=>e.createNode("blockquote",void 0,e.parseChildren(t.tokens||[])),renderMarkdown:(t,e)=>{if(!t.content)return"";const n=">",r=[];return t.content.forEach(s=>{const c=e.renderChildren([s]).split(` + */var xw;function w_(){if(xw)return Ym;xw=1;var t=Hc(),e=kk();function n(h,f){return h===f&&(h!==0||1/h===1/f)||h!==h&&f!==f}var r=typeof Object.is=="function"?Object.is:n,s=e.useSyncExternalStore,a=t.useRef,o=t.useEffect,c=t.useMemo,u=t.useDebugValue;return Ym.useSyncExternalStoreWithSelector=function(h,f,m,g,y){var v=a(null);if(v.current===null){var j={hasValue:!1,value:null};v.current=j}else j=v.current;v=c(function(){function k(B){if(!E){if(E=!0,C=B,B=g(B),y!==void 0&&j.hasValue){var R=j.value;if(y(R,B))return T=R}return T=B}if(R=T,r(C,B))return R;var P=g(B);return y!==void 0&&y(R,P)?(C=B,R):(C=B,T=P)}var E=!1,C,T,O=m===void 0?null:m;return[function(){return k(f())},O===null?void 0:function(){return k(O())}]},[f,m,g,y]);var w=s(h,v[0],v[1]);return o(function(){j.hasValue=!0,j.value=w},[w]),u(w),w},Ym}var yw;function N_(){return yw||(yw=1,Jm.exports=w_()),Jm.exports}var j_=N_(),k_=(...t)=>e=>{t.forEach(n=>{typeof n=="function"?n(e):n&&(n.current=e)})},S_=({contentComponent:t})=>{const e=Sk.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return i.jsx(i.Fragment,{children:Object.values(e)})};function C_(){const t=new Set;let e={};return{subscribe(n){return t.add(n),()=>{t.delete(n)}},getSnapshot(){return e},getServerSnapshot(){return e},setRenderer(n,r){e={...e,[n]:jN.createPortal(r.reactElement,r.element,n)},t.forEach(s=>s())},removeRenderer(n){const r={...e};delete r[n],e=r,t.forEach(s=>s())}}}var E_=class extends er.Component{constructor(t){var e;super(t),this.editorContentRef=er.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!((e=t.editor)!=null&&e.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var t;const e=this.props.editor;if(e&&!e.isDestroyed&&((t=e.view.dom)!=null&&t.parentNode)){if(e.contentComponent)return;const n=this.editorContentRef.current;n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n}),e.contentComponent=C_(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe(()=>{this.setState(r=>r.hasContentComponentInitialized?r:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){var t;const e=this.props.editor;if(e){this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null;try{if(!((t=e.view.dom)!=null&&t.parentNode))return;const n=document.createElement("div");n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n})}catch{}}}render(){const{editor:t,innerRef:e,...n}=this.props;return i.jsxs(i.Fragment,{children:[i.jsx("div",{ref:k_(e,this.editorContentRef),...n}),(t==null?void 0:t.contentComponent)&&i.jsx(S_,{contentComponent:t.contentComponent})]})}},T_=b.forwardRef((t,e)=>{const n=er.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[t.editor]);return er.createElement(E_,{key:n,innerRef:e,...t})}),L2=er.memo(T_),M_=typeof window<"u"?b.useLayoutEffect:b.useEffect,A_=class{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach(r=>r())},n=this.editor;return n.on("transaction",e),()=>{n.off("transaction",e)}}}};function R_(t){var e;const[n]=b.useState(()=>new A_(t.editor)),r=j_.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,t.selector,(e=t.equalityFn)!=null?e:b_);return M_(()=>n.watch(t.editor),[t.editor,n]),b.useDebugValue(r),r}var P_=!1,Yg=typeof window>"u",I_=Yg||!!(typeof window<"u"&&window.next),O_=class _2{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(n=>n())}getInitialEditor(){return this.options.current.immediatelyRender===void 0?Yg||I_?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){const e={...this.options.current,onBeforeCreate:(...r)=>{var s,a;return(a=(s=this.options.current).onBeforeCreate)==null?void 0:a.call(s,...r)},onBlur:(...r)=>{var s,a;return(a=(s=this.options.current).onBlur)==null?void 0:a.call(s,...r)},onCreate:(...r)=>{var s,a;return(a=(s=this.options.current).onCreate)==null?void 0:a.call(s,...r)},onDestroy:(...r)=>{var s,a;return(a=(s=this.options.current).onDestroy)==null?void 0:a.call(s,...r)},onFocus:(...r)=>{var s,a;return(a=(s=this.options.current).onFocus)==null?void 0:a.call(s,...r)},onSelectionUpdate:(...r)=>{var s,a;return(a=(s=this.options.current).onSelectionUpdate)==null?void 0:a.call(s,...r)},onTransaction:(...r)=>{var s,a;return(a=(s=this.options.current).onTransaction)==null?void 0:a.call(s,...r)},onUpdate:(...r)=>{var s,a;return(a=(s=this.options.current).onUpdate)==null?void 0:a.call(s,...r)},onContentError:(...r)=>{var s,a;return(a=(s=this.options.current).onContentError)==null?void 0:a.call(s,...r)},onDrop:(...r)=>{var s,a;return(a=(s=this.options.current).onDrop)==null?void 0:a.call(s,...r)},onPaste:(...r)=>{var s,a;return(a=(s=this.options.current).onPaste)==null?void 0:a.call(s,...r)},onDelete:(...r)=>{var s,a;return(a=(s=this.options.current).onDelete)==null?void 0:a.call(s,...r)}};return new S6(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,n){return Object.keys(e).every(r=>["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(r)?!0:r==="extensions"&&e.extensions&&n.extensions?e.extensions.length!==n.extensions.length?!1:e.extensions.every((s,a)=>{var o;return s===((o=n.extensions)==null?void 0:o[a])}):e[r]===n[r])}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&e.length===0?_2.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((r,s)=>r===e[s]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,n=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){n&&n.setOptions(this.options.current);return}n&&!n.isDestroyed&&(n.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function D_(t={},e=[]){const n=b.useRef(t);n.current=t;const[r]=b.useState(()=>new O_(n)),s=Sk.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return b.useDebugValue(s),b.useEffect(r.onRender(e)),R_({editor:s,selector:({transactionNumber:a})=>t.shouldRerenderOnTransaction===!1||t.shouldRerenderOnTransaction===void 0?null:t.immediatelyRender&&a===0?0:a+1}),s}var z2=b.createContext({editor:null});z2.Consumer;var L_=b.createContext({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),__=()=>b.useContext(L_);er.forwardRef((t,e)=>{const{onDragStart:n}=__(),r=t.as||"div";return i.jsx(r,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});er.createContext({markViewContentRef:()=>{}});var N0=b.createContext({get editor(){throw new Error("useTiptap must be used within a provider")}});N0.displayName="TiptapContext";var z_=()=>b.useContext(N0);function $2({editor:t,instance:e,children:n}){const r=t??e;if(!r)throw new Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");const s=b.useMemo(()=>({editor:r}),[r]),a=b.useMemo(()=>({editor:r}),[r]);return i.jsx(z2.Provider,{value:a,children:i.jsx(N0.Provider,{value:s,children:n})})}$2.displayName="Tiptap";function F2({...t}){const{editor:e}=z_();return i.jsx(L2,{editor:e,...t})}F2.displayName="Tiptap.Content";Object.assign($2,{Content:F2});var mh=(t,e)=>{if(t==="slot")return 0;if(t instanceof Function)return t(e);const{children:n,...r}=e??{};if(t==="svg")throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[t,r,n]},$_=/^\s*>\s$/,F_=un.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return mh("blockquote",{...yt(this.options.HTMLAttributes,t),children:mh("slot",{})})},parseMarkdown:(t,e)=>e.createNode("blockquote",void 0,e.parseChildren(t.tokens||[])),renderMarkdown:(t,e)=>{if(!t.content)return"";const n=">",r=[];return t.content.forEach(s=>{const c=e.renderChildren([s]).split(` `).map(u=>u.trim()===""?n:`${n} ${u}`);r.push(c.join(` `))}),r.join(` ${n} -`)},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[il({find:z_,type:this.type})]}}),F_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,B_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,V_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,H_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,W_=ro.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return mh("strong",{...yt(this.options.HTMLAttributes,t),children:mh("slot",{})})},markdownTokenName:"strong",parseMarkdown:(t,e)=>e.applyMark("bold",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`**${e.renderChildren(t)}**`,addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[sl({find:F_,type:this.type}),sl({find:V_,type:this.type})]},addPasteRules(){return[Ya({find:B_,type:this.type}),Ya({find:H_,type:this.type})]}}),U_=/(^|[^`])`([^`]+)`(?!`)$/,K_=/(^|[^`])`([^`]+)`(?!`)/g,q_=ro.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"codespan",parseMarkdown:(t,e)=>e.applyMark("code",[{type:"text",text:t.text||""}]),renderMarkdown:(t,e)=>t.content?`\`${e.renderChildren(t.content)}\``:"",addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[sl({find:U_,type:this.type})]},addPasteRules(){return[Ya({find:K_,type:this.type})]}}),Qm=4,G_=/^```([a-z]+)?[\s\n]$/,J_=/^~~~([a-z]+)?[\s\n]$/,Y_=un.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:Qm,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options;if(!n)return null;const a=[...((e=t.firstElementChild)==null?void 0:e.classList)||[]].filter(o=>o.startsWith(n)).map(o=>o.replace(n,""))[0];return a||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",yt(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(t,e)=>{var n,r;return((n=t.raw)==null?void 0:n.startsWith("```"))===!1&&((r=t.raw)==null?void 0:r.startsWith("~~~"))===!1&&t.codeBlockStyle!=="indented"?[]:e.createNode("codeBlock",{language:t.lang||null},t.text?[e.createTextNode(t.text)]:[])},renderMarkdown:(t,e)=>{var n;let r="";const s=((n=t.attrs)==null?void 0:n.language)||"";return t.content?r=[`\`\`\`${s}`,e.renderChildren(t.content),"```"].join(` +`)},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[il({find:$_,type:this.type})]}}),B_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,V_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,H_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,W_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,U_=ro.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return mh("strong",{...yt(this.options.HTMLAttributes,t),children:mh("slot",{})})},markdownTokenName:"strong",parseMarkdown:(t,e)=>e.applyMark("bold",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`**${e.renderChildren(t)}**`,addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[sl({find:B_,type:this.type}),sl({find:H_,type:this.type})]},addPasteRules(){return[Ya({find:V_,type:this.type}),Ya({find:W_,type:this.type})]}}),K_=/(^|[^`])`([^`]+)`(?!`)$/,q_=/(^|[^`])`([^`]+)`(?!`)/g,G_=ro.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"codespan",parseMarkdown:(t,e)=>e.applyMark("code",[{type:"text",text:t.text||""}]),renderMarkdown:(t,e)=>t.content?`\`${e.renderChildren(t.content)}\``:"",addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[sl({find:K_,type:this.type})]},addPasteRules(){return[Ya({find:q_,type:this.type})]}}),Qm=4,J_=/^```([a-z]+)?[\s\n]$/,Y_=/^~~~([a-z]+)?[\s\n]$/,Q_=un.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:Qm,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options;if(!n)return null;const a=[...((e=t.firstElementChild)==null?void 0:e.classList)||[]].filter(o=>o.startsWith(n)).map(o=>o.replace(n,""))[0];return a||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",yt(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(t,e)=>{var n,r;return((n=t.raw)==null?void 0:n.startsWith("```"))===!1&&((r=t.raw)==null?void 0:r.startsWith("~~~"))===!1&&t.codeBlockStyle!=="indented"?[]:e.createNode("codeBlock",{language:t.lang||null},t.text?[e.createTextNode(t.text)]:[])},renderMarkdown:(t,e)=>{var n;let r="";const s=((n=t.attrs)==null?void 0:n.language)||"";return t.content?r=[`\`\`\`${s}`,e.renderChildren(t.content),"```"].join(` `):r=`\`\`\`${s} \`\`\``,r},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=e.pos===1;return!t||e.parent.type.name!==this.name?!1:n||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:Qm,{state:r}=t,{selection:s}=r,{$from:a,empty:o}=s;if(a.parent.type!==this.type)return!1;const c=" ".repeat(n);return o?t.commands.insertContent(c):t.commands.command(({tr:u})=>{const{from:h,to:f}=s,y=r.doc.textBetween(h,f,` @@ -722,31 +722,31 @@ ${n} `).map(y=>{var v;const j=((v=y.match(/^ */))==null?void 0:v[0])||"",w=Math.min(j.length,n);return y.slice(w)}).join(` `);return c.replaceWith(u,h,r.schema.text(g)),!0})},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=t,{selection:n}=e,{$from:r,empty:s}=n;if(!s||r.parent.type!==this.type)return!1;const a=r.parentOffset===r.parent.nodeSize-2,o=r.parent.textContent.endsWith(` -`);return!a||!o?!1:t.chain().command(({tr:c})=>(c.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:s,empty:a}=n;if(!a||s.parent.type!==this.type||!(s.parentOffset===s.parent.nodeSize-2))return!1;const c=s.after();return c===void 0?!1:r.nodeAt(c)?t.commands.command(({tr:h})=>(h.setSelection(Je.near(r.resolve(c))),!0)):t.commands.exitCode()}}},addInputRules(){return[Gg({find:G_,type:this.type,getAttributes:t=>({language:t[1]})}),Gg({find:J_,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Pt({key:new Bt("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),s=r?JSON.parse(r):void 0,a=s==null?void 0:s.mode;if(!n||!a)return!1;const{tr:o,schema:c}=t.state,u=c.text(n.replace(/\r\n?/g,` -`));return o.replaceSelectionWith(this.type.create({language:a},u)),o.selection.$from.parent.type!==this.type&&o.setSelection(We.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),t.dispatch(o),!0}}})]}}),Q_=un.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`);return!a||!o?!1:t.chain().command(({tr:c})=>(c.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:s,empty:a}=n;if(!a||s.parent.type!==this.type||!(s.parentOffset===s.parent.nodeSize-2))return!1;const c=s.after();return c===void 0?!1:r.nodeAt(c)?t.commands.command(({tr:h})=>(h.setSelection(Je.near(r.resolve(c))),!0)):t.commands.exitCode()}}},addInputRules(){return[Gg({find:J_,type:this.type,getAttributes:t=>({language:t[1]})}),Gg({find:Y_,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Pt({key:new Bt("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),s=r?JSON.parse(r):void 0,a=s==null?void 0:s.mode;if(!n||!a)return!1;const{tr:o,schema:c}=t.state,u=c.text(n.replace(/\r\n?/g,` +`));return o.replaceSelectionWith(this.type.create({language:a},u)),o.selection.$from.parent.type!==this.type&&o.setSelection(We.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),t.dispatch(o),!0}}})]}}),X_=un.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):""}),X_=un.create({name:"hardBreak",markdownTokenName:"br",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",yt(this.options.HTMLAttributes,t)]},renderText(){return` +`):""}),Z_=un.create({name:"hardBreak",markdownTokenName:"br",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",yt(this.options.HTMLAttributes,t)]},renderText(){return` `},renderMarkdown:()=>` -`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:s,storedMarks:a}=n;if(s.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:c}=r.extensionManager,u=a||s.$to.parentOffset&&s.$from.marks();return e().insertContent({type:this.name}).command(({tr:h,dispatch:f})=>{if(f&&u&&o){const m=u.filter(g=>c.includes(g.type.name));h.ensureMarks(m)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Z_=un.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,yt(this.options.HTMLAttributes,e),0]},parseMarkdown:(t,e)=>e.createNode("heading",{level:t.depth||1},e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>{var n;const r=(n=t.attrs)!=null&&n.level?parseInt(t.attrs.level,10):1,s="#".repeat(r);return t.content?`${s} ${e.renderChildren(t.content)}`:""},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>Gg({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}}),ez=un.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{},nextNodeType:"paragraph"}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",yt(this.options.HTMLAttributes,t)]},markdownTokenName:"hr",parseMarkdown:(t,e)=>e.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{if(!E6(e,e.schema.nodes[this.name]))return!1;const{selection:n}=e,{$to:r}=n,s=t();return m2(n)?s.insertContentAt(r.pos,{type:this.name}):s.insertContent({type:this.name}),s.command(({state:a,tr:o,dispatch:c})=>{if(c){const{$to:u}=o.selection,h=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(We.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(He.create(o.doc,u.pos)):o.setSelection(We.create(o.doc,u.pos));else{const f=a.schema.nodes[this.options.nextNodeType]||u.parent.type.contentMatch.defaultType,m=f==null?void 0:f.create();m&&(o.insert(h,m),o.setSelection(We.create(o.doc,h+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[P2({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),tz=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,nz=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,rz=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,sz=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,iz=ro.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",yt(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(t,e)=>e.applyMark("italic",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`*${e.renderChildren(t)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[sl({find:tz,type:this.type}),sl({find:rz,type:this.type})]},addPasteRules(){return[Ya({find:nz,type:this.type}),Ya({find:sz,type:this.type})]}});const az="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",oz="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Qg="numeric",Xg="ascii",Zg="alpha",vc="asciinumeric",dc="alphanumeric",ex="domain",B2="emoji",lz="scheme",cz="slashscheme",Xm="whitespace";function dz(t,e){return t in e||(e[t]=[]),e[t]}function La(t,e,n){e[Qg]&&(e[vc]=!0,e[dc]=!0),e[Xg]&&(e[vc]=!0,e[Zg]=!0),e[vc]&&(e[dc]=!0),e[Zg]&&(e[dc]=!0),e[dc]&&(e[ex]=!0),e[B2]&&(e[ex]=!0);for(const r in e){const s=dz(r,n);s.indexOf(t)<0&&s.push(t)}}function uz(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function ur(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}ur.groups={};ur.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;rt.ta(e,n,r,s),Kt=(t,e,n,r,s)=>t.tr(e,n,r,s),vw=(t,e,n,r,s)=>t.ts(e,n,r,s),ke=(t,e,n,r,s)=>t.tt(e,n,r,s),qs="WORD",tx="UWORD",V2="ASCIINUMERICAL",H2="ALPHANUMERICAL",$c="LOCALHOST",nx="TLD",rx="UTLD",Vu="SCHEME",Fo="SLASH_SCHEME",j0="NUM",sx="WS",k0="NL",bc="OPENBRACE",wc="CLOSEBRACE",gh="OPENBRACKET",xh="CLOSEBRACKET",yh="OPENPAREN",vh="CLOSEPAREN",bh="OPENANGLEBRACKET",wh="CLOSEANGLEBRACKET",Nh="FULLWIDTHLEFTPAREN",jh="FULLWIDTHRIGHTPAREN",kh="LEFTCORNERBRACKET",Sh="RIGHTCORNERBRACKET",Ch="LEFTWHITECORNERBRACKET",Eh="RIGHTWHITECORNERBRACKET",Th="FULLWIDTHLESSTHAN",Mh="FULLWIDTHGREATERTHAN",Ah="AMPERSAND",Rh="APOSTROPHE",Ph="ASTERISK",Oi="AT",Ih="BACKSLASH",Oh="BACKTICK",Dh="CARET",_i="COLON",S0="COMMA",Lh="DOLLAR",ws="DOT",_h="EQUALS",C0="EXCLAMATION",Fr="HYPHEN",Nc="PERCENT",zh="PIPE",$h="PLUS",Fh="POUND",jc="QUERY",E0="QUOTE",W2="FULLWIDTHMIDDLEDOT",T0="SEMI",Ns="SLASH",kc="TILDE",Bh="UNDERSCORE",U2="EMOJI",Vh="SYM";var K2=Object.freeze({__proto__:null,ALPHANUMERICAL:H2,AMPERSAND:Ah,APOSTROPHE:Rh,ASCIINUMERICAL:V2,ASTERISK:Ph,AT:Oi,BACKSLASH:Ih,BACKTICK:Oh,CARET:Dh,CLOSEANGLEBRACKET:wh,CLOSEBRACE:wc,CLOSEBRACKET:xh,CLOSEPAREN:vh,COLON:_i,COMMA:S0,DOLLAR:Lh,DOT:ws,EMOJI:U2,EQUALS:_h,EXCLAMATION:C0,FULLWIDTHGREATERTHAN:Mh,FULLWIDTHLEFTPAREN:Nh,FULLWIDTHLESSTHAN:Th,FULLWIDTHMIDDLEDOT:W2,FULLWIDTHRIGHTPAREN:jh,HYPHEN:Fr,LEFTCORNERBRACKET:kh,LEFTWHITECORNERBRACKET:Ch,LOCALHOST:$c,NL:k0,NUM:j0,OPENANGLEBRACKET:bh,OPENBRACE:bc,OPENBRACKET:gh,OPENPAREN:yh,PERCENT:Nc,PIPE:zh,PLUS:$h,POUND:Fh,QUERY:jc,QUOTE:E0,RIGHTCORNERBRACKET:Sh,RIGHTWHITECORNERBRACKET:Eh,SCHEME:Vu,SEMI:T0,SLASH:Ns,SLASH_SCHEME:Fo,SYM:Vh,TILDE:kc,TLD:nx,UNDERSCORE:Bh,UTLD:rx,UWORD:tx,WORD:qs,WS:sx});const Us=/[a-z]/,rc=new RegExp("\\p{L}","u"),Zm=new RegExp("\\p{Emoji}","u"),Ks=/\d/,eg=/\s/,bw="\r",tg=` -`,hz="️",fz="‍",ng="";let Tu=null,Mu=null;function pz(t=[]){const e={};ur.groups=e;const n=new ur;Tu==null&&(Tu=ww(az)),Mu==null&&(Mu=ww(oz)),ke(n,"'",Rh),ke(n,"{",bc),ke(n,"}",wc),ke(n,"[",gh),ke(n,"]",xh),ke(n,"(",yh),ke(n,")",vh),ke(n,"<",bh),ke(n,">",wh),ke(n,"(",Nh),ke(n,")",jh),ke(n,"「",kh),ke(n,"」",Sh),ke(n,"『",Ch),ke(n,"』",Eh),ke(n,"<",Th),ke(n,">",Mh),ke(n,"&",Ah),ke(n,"*",Ph),ke(n,"@",Oi),ke(n,"`",Oh),ke(n,"^",Dh),ke(n,":",_i),ke(n,",",S0),ke(n,"$",Lh),ke(n,".",ws),ke(n,"=",_h),ke(n,"!",C0),ke(n,"-",Fr),ke(n,"%",Nc),ke(n,"|",zh),ke(n,"+",$h),ke(n,"#",Fh),ke(n,"?",jc),ke(n,'"',E0),ke(n,"/",Ns),ke(n,";",T0),ke(n,"~",kc),ke(n,"_",Bh),ke(n,"\\",Ih),ke(n,"・",W2);const r=Kt(n,Ks,j0,{[Qg]:!0});Kt(r,Ks,r);const s=Kt(r,Us,V2,{[vc]:!0}),a=Kt(r,rc,H2,{[dc]:!0}),o=Kt(n,Us,qs,{[Xg]:!0});Kt(o,Ks,s),Kt(o,Us,o),Kt(s,Ks,s),Kt(s,Us,s);const c=Kt(n,rc,tx,{[Zg]:!0});Kt(c,Us),Kt(c,Ks,a),Kt(c,rc,c),Kt(a,Ks,a),Kt(a,Us),Kt(a,rc,a);const u=ke(n,tg,k0,{[Xm]:!0}),h=ke(n,bw,sx,{[Xm]:!0}),f=Kt(n,eg,sx,{[Xm]:!0});ke(n,ng,f),ke(h,tg,u),ke(h,ng,f),Kt(h,eg,f),ke(f,bw),ke(f,tg),Kt(f,eg,f),ke(f,ng,f);const m=Kt(n,Zm,U2,{[B2]:!0});ke(m,"#"),Kt(m,Zm,m),ke(m,hz,m);const g=ke(m,fz);ke(g,"#"),Kt(g,Zm,m);const y=[[Us,o],[Ks,s]],v=[[Us,null],[rc,c],[Ks,a]];for(let j=0;jj[0]>w[0]?1:-1);for(let j=0;j=0?E[ex]=!0:Us.test(w)?Ks.test(w)?E[vc]=!0:E[Xg]=!0:E[Qg]=!0,vw(n,w,w,E)}return vw(n,"localhost",$c,{ascii:!0}),n.jd=new ur(Vh),{start:n,tokens:Object.assign({groups:e},K2)}}function q2(t,e){const n=mz(e.replace(/[A-Z]/g,c=>c.toLowerCase())),r=n.length,s=[];let a=0,o=0;for(;o=0&&(m+=n[o].length,g++),h+=n[o].length,a+=n[o].length,o++;a-=m,o-=g,h-=m,s.push({t:f.t,v:e.slice(a-h,a),s:a-h,e:a})}return s}function mz(t){const e=[],n=t.length;let r=0;for(;r56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?t[r]:t.slice(r,r+2);e.push(o),r+=o.length}return e}function Mi(t,e,n,r,s){let a;const o=e.length;for(let c=0;c=0;)a++;if(a>0){e.push(n.join(""));for(let o=parseInt(t.substring(r,r+a),10);o>0;o--)n.pop();r+=a}else n.push(t[r]),r++}return e}const Fc={defaultProtocol:"http",events:null,format:Nw,formatHref:Nw,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function M0(t,e=null){let n=Object.assign({},Fc);t&&(n=Object.assign(n,t instanceof M0?t.o:t));const r=n.ignoreTags,s=[];for(let a=0;an?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=Fc.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),s=t.get("tagName",n,e),a=this.toFormattedString(t),o={},c=t.get("className",n,e),u=t.get("target",n,e),h=t.get("rel",n,e),f=t.getObj("attributes",n,e),m=t.getObj("events",n,e);return o.href=r,c&&(o.class=c),u&&(o.target=u),h&&(o.rel=h),f&&Object.assign(o,f),{tagName:s,attributes:o,content:a,eventListeners:m}}};function vf(t,e){class n extends G2{constructor(s,a){super(s,a),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const jw=vf("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),kw=vf("text"),gz=vf("nl"),Au=vf("url",{isLink:!0,toHref(t=Fc.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==$c&&t[1].t===_i}}),$r=t=>new ur(t);function xz({groups:t}){const e=t.domain.concat([Ah,Ph,Oi,Ih,Oh,Dh,Lh,_h,Fr,j0,Nc,zh,$h,Fh,Ns,Vh,kc,Bh]),n=[Rh,_i,S0,ws,C0,Nc,jc,E0,T0,bh,wh,bc,wc,xh,gh,yh,vh,Nh,jh,kh,Sh,Ch,Eh,Th,Mh],r=[Ah,Rh,Ph,Ih,Oh,Dh,Lh,_h,Fr,bc,wc,Nc,zh,$h,Fh,jc,Ns,Vh,kc,Bh],s=$r(),a=ke(s,kc);st(a,r,a),st(a,t.domain,a);const o=$r(),c=$r(),u=$r();st(s,t.domain,o),st(s,t.scheme,c),st(s,t.slashscheme,u),st(o,r,a),st(o,t.domain,o);const h=ke(o,Oi);ke(a,Oi,h),ke(c,Oi,h),ke(u,Oi,h);const f=ke(a,ws);st(f,r,a),st(f,t.domain,a);const m=$r();st(h,t.domain,m),st(m,t.domain,m);const g=ke(m,ws);st(g,t.domain,m);const y=$r(jw);st(g,t.tld,y),st(g,t.utld,y),ke(h,$c,y);const v=ke(m,Fr);ke(v,Fr,v),st(v,t.domain,m),st(y,t.domain,m),ke(y,ws,g),ke(y,Fr,v);const j=ke(y,_i);st(j,t.numeric,jw);const w=ke(o,Fr),k=ke(o,ws);ke(w,Fr,w),st(w,t.domain,o),st(k,r,a),st(k,t.domain,o);const E=$r(Au);st(k,t.tld,E),st(k,t.utld,E),st(E,t.domain,o),st(E,r,a),ke(E,ws,k),ke(E,Fr,w),ke(E,Oi,h);const C=ke(E,_i),T=$r(Au);st(C,t.numeric,T);const O=$r(Au),B=$r();st(O,e,O),st(O,n,B),st(B,e,O),st(B,n,B),ke(E,Ns,O),ke(T,Ns,O);const R=ke(c,_i),P=ke(u,_i),I=ke(P,Ns),L=ke(I,Ns);st(c,t.domain,o),ke(c,ws,k),ke(c,Fr,w),st(u,t.domain,o),ke(u,ws,k),ke(u,Fr,w),st(R,t.domain,O),ke(R,Ns,O),ke(R,jc,O),st(L,t.domain,O),st(L,e,O),ke(L,Ns,O);const X=[[bc,wc],[gh,xh],[yh,vh],[bh,wh],[Nh,jh],[kh,Sh],[Ch,Eh],[Th,Mh]];for(let Z=0;Z=0&&g++,s++,f++;if(g<0)s-=f,s0&&(a.push(rg(kw,e,o)),o=[]),s-=g,f-=g;const y=m.t,v=n.slice(s-f,s);a.push(rg(y,e,v))}}return o.length>0&&a.push(rg(kw,e,o)),a}function rg(t,e,n){const r=n[0].s,s=n[n.length-1].e,a=e.slice(r,s);return new t(a,n)}const vz=typeof console<"u"&&console&&console.warn||(()=>{}),bz="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Lt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function wz(){return ur.groups={},Lt.scanner=null,Lt.parser=null,Lt.tokenQueue=[],Lt.pluginQueue=[],Lt.customSchemes=[],Lt.initialized=!1,Lt}function Sw(t,e=!1){if(Lt.initialized&&vz(`linkifyjs: already initialized - will not register custom scheme "${t}" ${bz}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. +`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:s,storedMarks:a}=n;if(s.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:c}=r.extensionManager,u=a||s.$to.parentOffset&&s.$from.marks();return e().insertContent({type:this.name}).command(({tr:h,dispatch:f})=>{if(f&&u&&o){const m=u.filter(g=>c.includes(g.type.name));h.ensureMarks(m)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),ez=un.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,yt(this.options.HTMLAttributes,e),0]},parseMarkdown:(t,e)=>e.createNode("heading",{level:t.depth||1},e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>{var n;const r=(n=t.attrs)!=null&&n.level?parseInt(t.attrs.level,10):1,s="#".repeat(r);return t.content?`${s} ${e.renderChildren(t.content)}`:""},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>Gg({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}}),tz=un.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{},nextNodeType:"paragraph"}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",yt(this.options.HTMLAttributes,t)]},markdownTokenName:"hr",parseMarkdown:(t,e)=>e.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{if(!T6(e,e.schema.nodes[this.name]))return!1;const{selection:n}=e,{$to:r}=n,s=t();return m2(n)?s.insertContentAt(r.pos,{type:this.name}):s.insertContent({type:this.name}),s.command(({state:a,tr:o,dispatch:c})=>{if(c){const{$to:u}=o.selection,h=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(We.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(He.create(o.doc,u.pos)):o.setSelection(We.create(o.doc,u.pos));else{const f=a.schema.nodes[this.options.nextNodeType]||u.parent.type.contentMatch.defaultType,m=f==null?void 0:f.create();m&&(o.insert(h,m),o.setSelection(We.create(o.doc,h+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[P2({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),nz=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,rz=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,sz=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,iz=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,az=ro.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",yt(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(t,e)=>e.applyMark("italic",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`*${e.renderChildren(t)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[sl({find:nz,type:this.type}),sl({find:sz,type:this.type})]},addPasteRules(){return[Ya({find:rz,type:this.type}),Ya({find:iz,type:this.type})]}});const oz="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",lz="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Qg="numeric",Xg="ascii",Zg="alpha",vc="asciinumeric",dc="alphanumeric",ex="domain",B2="emoji",cz="scheme",dz="slashscheme",Xm="whitespace";function uz(t,e){return t in e||(e[t]=[]),e[t]}function La(t,e,n){e[Qg]&&(e[vc]=!0,e[dc]=!0),e[Xg]&&(e[vc]=!0,e[Zg]=!0),e[vc]&&(e[dc]=!0),e[Zg]&&(e[dc]=!0),e[dc]&&(e[ex]=!0),e[B2]&&(e[ex]=!0);for(const r in e){const s=uz(r,n);s.indexOf(t)<0&&s.push(t)}}function hz(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function ur(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}ur.groups={};ur.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;rt.ta(e,n,r,s),Kt=(t,e,n,r,s)=>t.tr(e,n,r,s),vw=(t,e,n,r,s)=>t.ts(e,n,r,s),ke=(t,e,n,r,s)=>t.tt(e,n,r,s),qs="WORD",tx="UWORD",V2="ASCIINUMERICAL",H2="ALPHANUMERICAL",$c="LOCALHOST",nx="TLD",rx="UTLD",Vu="SCHEME",Fo="SLASH_SCHEME",j0="NUM",sx="WS",k0="NL",bc="OPENBRACE",wc="CLOSEBRACE",gh="OPENBRACKET",xh="CLOSEBRACKET",yh="OPENPAREN",vh="CLOSEPAREN",bh="OPENANGLEBRACKET",wh="CLOSEANGLEBRACKET",Nh="FULLWIDTHLEFTPAREN",jh="FULLWIDTHRIGHTPAREN",kh="LEFTCORNERBRACKET",Sh="RIGHTCORNERBRACKET",Ch="LEFTWHITECORNERBRACKET",Eh="RIGHTWHITECORNERBRACKET",Th="FULLWIDTHLESSTHAN",Mh="FULLWIDTHGREATERTHAN",Ah="AMPERSAND",Rh="APOSTROPHE",Ph="ASTERISK",Oi="AT",Ih="BACKSLASH",Oh="BACKTICK",Dh="CARET",_i="COLON",S0="COMMA",Lh="DOLLAR",ws="DOT",_h="EQUALS",C0="EXCLAMATION",Fr="HYPHEN",Nc="PERCENT",zh="PIPE",$h="PLUS",Fh="POUND",jc="QUERY",E0="QUOTE",W2="FULLWIDTHMIDDLEDOT",T0="SEMI",Ns="SLASH",kc="TILDE",Bh="UNDERSCORE",U2="EMOJI",Vh="SYM";var K2=Object.freeze({__proto__:null,ALPHANUMERICAL:H2,AMPERSAND:Ah,APOSTROPHE:Rh,ASCIINUMERICAL:V2,ASTERISK:Ph,AT:Oi,BACKSLASH:Ih,BACKTICK:Oh,CARET:Dh,CLOSEANGLEBRACKET:wh,CLOSEBRACE:wc,CLOSEBRACKET:xh,CLOSEPAREN:vh,COLON:_i,COMMA:S0,DOLLAR:Lh,DOT:ws,EMOJI:U2,EQUALS:_h,EXCLAMATION:C0,FULLWIDTHGREATERTHAN:Mh,FULLWIDTHLEFTPAREN:Nh,FULLWIDTHLESSTHAN:Th,FULLWIDTHMIDDLEDOT:W2,FULLWIDTHRIGHTPAREN:jh,HYPHEN:Fr,LEFTCORNERBRACKET:kh,LEFTWHITECORNERBRACKET:Ch,LOCALHOST:$c,NL:k0,NUM:j0,OPENANGLEBRACKET:bh,OPENBRACE:bc,OPENBRACKET:gh,OPENPAREN:yh,PERCENT:Nc,PIPE:zh,PLUS:$h,POUND:Fh,QUERY:jc,QUOTE:E0,RIGHTCORNERBRACKET:Sh,RIGHTWHITECORNERBRACKET:Eh,SCHEME:Vu,SEMI:T0,SLASH:Ns,SLASH_SCHEME:Fo,SYM:Vh,TILDE:kc,TLD:nx,UNDERSCORE:Bh,UTLD:rx,UWORD:tx,WORD:qs,WS:sx});const Us=/[a-z]/,rc=new RegExp("\\p{L}","u"),Zm=new RegExp("\\p{Emoji}","u"),Ks=/\d/,eg=/\s/,bw="\r",tg=` +`,fz="️",pz="‍",ng="";let Tu=null,Mu=null;function mz(t=[]){const e={};ur.groups=e;const n=new ur;Tu==null&&(Tu=ww(oz)),Mu==null&&(Mu=ww(lz)),ke(n,"'",Rh),ke(n,"{",bc),ke(n,"}",wc),ke(n,"[",gh),ke(n,"]",xh),ke(n,"(",yh),ke(n,")",vh),ke(n,"<",bh),ke(n,">",wh),ke(n,"(",Nh),ke(n,")",jh),ke(n,"「",kh),ke(n,"」",Sh),ke(n,"『",Ch),ke(n,"』",Eh),ke(n,"<",Th),ke(n,">",Mh),ke(n,"&",Ah),ke(n,"*",Ph),ke(n,"@",Oi),ke(n,"`",Oh),ke(n,"^",Dh),ke(n,":",_i),ke(n,",",S0),ke(n,"$",Lh),ke(n,".",ws),ke(n,"=",_h),ke(n,"!",C0),ke(n,"-",Fr),ke(n,"%",Nc),ke(n,"|",zh),ke(n,"+",$h),ke(n,"#",Fh),ke(n,"?",jc),ke(n,'"',E0),ke(n,"/",Ns),ke(n,";",T0),ke(n,"~",kc),ke(n,"_",Bh),ke(n,"\\",Ih),ke(n,"・",W2);const r=Kt(n,Ks,j0,{[Qg]:!0});Kt(r,Ks,r);const s=Kt(r,Us,V2,{[vc]:!0}),a=Kt(r,rc,H2,{[dc]:!0}),o=Kt(n,Us,qs,{[Xg]:!0});Kt(o,Ks,s),Kt(o,Us,o),Kt(s,Ks,s),Kt(s,Us,s);const c=Kt(n,rc,tx,{[Zg]:!0});Kt(c,Us),Kt(c,Ks,a),Kt(c,rc,c),Kt(a,Ks,a),Kt(a,Us),Kt(a,rc,a);const u=ke(n,tg,k0,{[Xm]:!0}),h=ke(n,bw,sx,{[Xm]:!0}),f=Kt(n,eg,sx,{[Xm]:!0});ke(n,ng,f),ke(h,tg,u),ke(h,ng,f),Kt(h,eg,f),ke(f,bw),ke(f,tg),Kt(f,eg,f),ke(f,ng,f);const m=Kt(n,Zm,U2,{[B2]:!0});ke(m,"#"),Kt(m,Zm,m),ke(m,fz,m);const g=ke(m,pz);ke(g,"#"),Kt(g,Zm,m);const y=[[Us,o],[Ks,s]],v=[[Us,null],[rc,c],[Ks,a]];for(let j=0;jj[0]>w[0]?1:-1);for(let j=0;j=0?E[ex]=!0:Us.test(w)?Ks.test(w)?E[vc]=!0:E[Xg]=!0:E[Qg]=!0,vw(n,w,w,E)}return vw(n,"localhost",$c,{ascii:!0}),n.jd=new ur(Vh),{start:n,tokens:Object.assign({groups:e},K2)}}function q2(t,e){const n=gz(e.replace(/[A-Z]/g,c=>c.toLowerCase())),r=n.length,s=[];let a=0,o=0;for(;o=0&&(m+=n[o].length,g++),h+=n[o].length,a+=n[o].length,o++;a-=m,o-=g,h-=m,s.push({t:f.t,v:e.slice(a-h,a),s:a-h,e:a})}return s}function gz(t){const e=[],n=t.length;let r=0;for(;r56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?t[r]:t.slice(r,r+2);e.push(o),r+=o.length}return e}function Mi(t,e,n,r,s){let a;const o=e.length;for(let c=0;c=0;)a++;if(a>0){e.push(n.join(""));for(let o=parseInt(t.substring(r,r+a),10);o>0;o--)n.pop();r+=a}else n.push(t[r]),r++}return e}const Fc={defaultProtocol:"http",events:null,format:Nw,formatHref:Nw,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function M0(t,e=null){let n=Object.assign({},Fc);t&&(n=Object.assign(n,t instanceof M0?t.o:t));const r=n.ignoreTags,s=[];for(let a=0;an?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=Fc.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),s=t.get("tagName",n,e),a=this.toFormattedString(t),o={},c=t.get("className",n,e),u=t.get("target",n,e),h=t.get("rel",n,e),f=t.getObj("attributes",n,e),m=t.getObj("events",n,e);return o.href=r,c&&(o.class=c),u&&(o.target=u),h&&(o.rel=h),f&&Object.assign(o,f),{tagName:s,attributes:o,content:a,eventListeners:m}}};function vf(t,e){class n extends G2{constructor(s,a){super(s,a),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const jw=vf("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),kw=vf("text"),xz=vf("nl"),Au=vf("url",{isLink:!0,toHref(t=Fc.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==$c&&t[1].t===_i}}),$r=t=>new ur(t);function yz({groups:t}){const e=t.domain.concat([Ah,Ph,Oi,Ih,Oh,Dh,Lh,_h,Fr,j0,Nc,zh,$h,Fh,Ns,Vh,kc,Bh]),n=[Rh,_i,S0,ws,C0,Nc,jc,E0,T0,bh,wh,bc,wc,xh,gh,yh,vh,Nh,jh,kh,Sh,Ch,Eh,Th,Mh],r=[Ah,Rh,Ph,Ih,Oh,Dh,Lh,_h,Fr,bc,wc,Nc,zh,$h,Fh,jc,Ns,Vh,kc,Bh],s=$r(),a=ke(s,kc);st(a,r,a),st(a,t.domain,a);const o=$r(),c=$r(),u=$r();st(s,t.domain,o),st(s,t.scheme,c),st(s,t.slashscheme,u),st(o,r,a),st(o,t.domain,o);const h=ke(o,Oi);ke(a,Oi,h),ke(c,Oi,h),ke(u,Oi,h);const f=ke(a,ws);st(f,r,a),st(f,t.domain,a);const m=$r();st(h,t.domain,m),st(m,t.domain,m);const g=ke(m,ws);st(g,t.domain,m);const y=$r(jw);st(g,t.tld,y),st(g,t.utld,y),ke(h,$c,y);const v=ke(m,Fr);ke(v,Fr,v),st(v,t.domain,m),st(y,t.domain,m),ke(y,ws,g),ke(y,Fr,v);const j=ke(y,_i);st(j,t.numeric,jw);const w=ke(o,Fr),k=ke(o,ws);ke(w,Fr,w),st(w,t.domain,o),st(k,r,a),st(k,t.domain,o);const E=$r(Au);st(k,t.tld,E),st(k,t.utld,E),st(E,t.domain,o),st(E,r,a),ke(E,ws,k),ke(E,Fr,w),ke(E,Oi,h);const C=ke(E,_i),T=$r(Au);st(C,t.numeric,T);const O=$r(Au),B=$r();st(O,e,O),st(O,n,B),st(B,e,O),st(B,n,B),ke(E,Ns,O),ke(T,Ns,O);const R=ke(c,_i),P=ke(u,_i),I=ke(P,Ns),L=ke(I,Ns);st(c,t.domain,o),ke(c,ws,k),ke(c,Fr,w),st(u,t.domain,o),ke(u,ws,k),ke(u,Fr,w),st(R,t.domain,O),ke(R,Ns,O),ke(R,jc,O),st(L,t.domain,O),st(L,e,O),ke(L,Ns,O);const X=[[bc,wc],[gh,xh],[yh,vh],[bh,wh],[Nh,jh],[kh,Sh],[Ch,Eh],[Th,Mh]];for(let Z=0;Z=0&&g++,s++,f++;if(g<0)s-=f,s0&&(a.push(rg(kw,e,o)),o=[]),s-=g,f-=g;const y=m.t,v=n.slice(s-f,s);a.push(rg(y,e,v))}}return o.length>0&&a.push(rg(kw,e,o)),a}function rg(t,e,n){const r=n[0].s,s=n[n.length-1].e,a=e.slice(r,s);return new t(a,n)}const bz=typeof console<"u"&&console&&console.warn||(()=>{}),wz="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Lt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Nz(){return ur.groups={},Lt.scanner=null,Lt.parser=null,Lt.tokenQueue=[],Lt.pluginQueue=[],Lt.customSchemes=[],Lt.initialized=!1,Lt}function Sw(t,e=!1){if(Lt.initialized&&bz(`linkifyjs: already initialized - will not register custom scheme "${t}" ${wz}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. 1. Must only contain digits, lowercase ASCII letters or "-" 2. Cannot start or end with "-" -3. "-" cannot repeat`);Lt.customSchemes.push([t,e])}function Nz(){Lt.scanner=pz(Lt.customSchemes);for(let t=0;t{const s=e.some(h=>h.docChanged)&&!n.doc.eq(r.doc),a=e.some(h=>h.getMeta("preventAutolink"));if(!s||a)return;const{tr:o}=r,c=a2(n.doc,[...e]);if(p2(c).forEach(({newRange:h})=>{const f=C8(r.doc,h,y=>y.isTextblock);let m,g;if(f.length>1)m=f[0],g=r.doc.textBetween(m.pos,m.pos+m.node.nodeSize,void 0," ");else if(f.length){const y=r.doc.textBetween(h.from,h.to," "," ");if(!kz.test(y))return;m=f[0],g=r.doc.textBetween(m.pos,h.to,void 0," ")}if(m&&g){const y=g.split(jz).filter(Boolean);if(y.length<=0)return!1;const v=y[y.length-1],j=m.pos+g.lastIndexOf(v);if(!v)return!1;const w=A0(v).map(k=>k.toObject(t.defaultProtocol));if(!Cz(w))return!1;w.filter(k=>k.isLink).map(k=>({...k,from:j+k.start+1,to:j+k.end+1})).filter(k=>r.schema.marks.code?!r.doc.rangeHasMark(k.from,k.to,r.schema.marks.code):!0).filter(k=>t.validate(k.value)).filter(k=>t.shouldAutoLink(k.value)).forEach(k=>{x0(k.from,k.to,r.doc).some(E=>E.mark.type===t.type)||o.addMark(k.from,k.to,t.type.create({href:k.href}))})}}),!!o.steps.length)return o}})}function Tz(t){return new Pt({key:new Bt("handleClickLink"),props:{handleClick:(e,n,r)=>{var s,a;if(r.button!==0||!e.editable)return!1;let o=null;if(r.target instanceof HTMLAnchorElement)o=r.target;else{const u=r.target;if(!u)return!1;const h=t.editor.view.dom;o=u.closest("a"),o&&!h.contains(o)&&(o=null)}if(!o)return!1;let c=!1;if(t.enableClickSelection&&(c=t.editor.commands.extendMarkRange(t.type.name)),t.openOnClick){const u=f2(e.state,t.type.name),h=(s=o.href)!=null?s:u.href,f=(a=o.target)!=null?a:u.target;h&&(window.open(h,f),c=!0)}return c}}})}function Mz(t){return new Pt({key:new Bt("handlePasteLink"),props:{handlePaste:(e,n,r)=>{const{shouldAutoLink:s}=t,{state:a}=e,{selection:o}=a,{empty:c}=o;if(c)return!1;let u="";r.content.forEach(f=>{u+=f.textContent});const h=J2(u,{defaultProtocol:t.defaultProtocol}).find(f=>f.isLink&&f.value===u);return!u||!h||s!==void 0&&!s(h.value)?!1:t.editor.commands.setMark(t.type,{href:h.href})}}})}function Aa(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const s=typeof r=="string"?r:r.scheme;s&&n.push(s)}),!t||t.replace(Sz,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var Y2=ro.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){Sw(t);return}Sw(t.scheme,t.optionalSlashes)})},onDestroy(){wz()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!Aa(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>{const e=/^[a-z][a-z0-9+.-]*:\/\//i.test(t),n=/^[a-z][a-z0-9+.-]*:/i.test(t);if(e||n&&!t.includes("@"))return!0;const s=(t.includes("@")?t.split("@").pop():t).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(s)||!/\./.test(s))}}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!Aa(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!Aa(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",yt(this.options.HTMLAttributes,t),0]:["a",yt(this.options.HTMLAttributes,{...t,href:""}),0]},markdownTokenName:"link",parseMarkdown:(t,e)=>e.applyMark("link",e.parseInline(t.tokens||[]),{href:t.href,title:t.title||null}),renderMarkdown:(t,e)=>{var n,r,s,a;const o=(r=(n=t.attrs)==null?void 0:n.href)!=null?r:"",c=(a=(s=t.attrs)==null?void 0:s.title)!=null?a:"",u=e.renderChildren(t);return c?`[${u}](${o} "${c}")`:`[${u}](${o})`},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t;return this.options.isAllowedUri(n,{defaultValidate:r=>!!Aa(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,t).setMeta("preventAutolink",!0).run():!1},toggleLink:t=>({chain:e})=>{const{href:n}=t||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:r=>!!Aa(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Ya({find:t=>{const e=[];if(t){const{protocols:n,defaultProtocol:r}=this.options,s=J2(t).filter(a=>a.isLink&&this.options.isAllowedUri(a.value,{defaultValidate:o=>!!Aa(o,n),protocols:n,defaultProtocol:r}));s.length&&s.forEach(a=>{this.options.shouldAutoLink(a.value)&&e.push({text:a.value,data:{href:a.href},index:a.start})})}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)==null?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(Ez({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:s=>!!Aa(s,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),t.push(Tz({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick==="whenNotEditable"?!0:this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&t.push(Mz({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),t}}),Az=Y2,Rz=Object.defineProperty,Pz=(t,e)=>{for(var n in e)Rz(t,n,{get:e[n],enumerable:!0})},Iz="listItem",Cw="textStyle",Ew=/^\s*([-+*])\s$/,Q2=un.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>t.type!=="list"||t.ordered?[]:{type:"bulletList",content:t.items?e.parseChildren(t.items):[]},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Iz,this.editor.getAttributes(Cw)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=il({find:Ew,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=il({find:Ew,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Cw),editor:this.editor})),[t]}}),X2=un.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list_item",parseMarkdown:(t,e)=>{if(t.type!=="list_item")return[];let n=[];if(t.tokens&&t.tokens.length>0)if(t.tokens.some(s=>s.type==="paragraph"))n=e.parseChildren(t.tokens);else{const s=t.tokens[0];if(s&&s.type==="text"&&s.tokens&&s.tokens.length>0){if(n=[{type:"paragraph",content:e.parseInline(s.tokens)}],t.tokens.length>1){const o=t.tokens.slice(1),c=e.parseChildren(o);n.push(...c)}}else n=e.parseChildren(t.tokens)}return n.length===0&&(n=[{type:"paragraph",content:[]}]),{type:"listItem",content:n}},renderMarkdown:(t,e,n)=>w0(t,e,r=>{var s,a;return r.parentType==="bulletList"?"- ":r.parentType==="orderedList"?`${(((a=(s=r.meta)==null?void 0:s.parentAttrs)==null?void 0:a.start)||1)+r.index}. `:"- "},n),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Oz={};Pz(Oz,{findListItemPos:()=>Zc,getNextListDepth:()=>P0,handleBackspace:()=>ix,handleDelete:()=>ax,hasListBefore:()=>Z2,hasListItemAfter:()=>Dz,hasListItemBefore:()=>eC,listItemHasSubList:()=>tC,nextListIsDeeper:()=>nC,nextListIsHigher:()=>rC});var Zc=(t,e)=>{const{$from:n}=e.selection,r=dn(t,e.schema);let s=null,a=n.depth,o=n.pos,c=null;for(;a>0&&c===null;)s=n.node(a),s.type===r?c=a:(a-=1,o-=1);return c===null?null:{$pos:e.doc.resolve(o),depth:c}},P0=(t,e)=>{const n=Zc(t,e);if(!n)return!1;const[,r]=L8(e,t,n.$pos.pos+4);return r},Z2=(t,e,n)=>{const{$anchor:r}=t.selection,s=Math.max(0,r.pos-2),a=t.doc.resolve(s).node();return!(!a||!n.includes(a.type.name))},eC=(t,e)=>{var n;const{$anchor:r}=e.selection,s=e.doc.resolve(r.pos-2);return!(s.index()===0||((n=s.nodeBefore)==null?void 0:n.type.name)!==t)},tC=(t,e,n)=>{if(!n)return!1;const r=dn(t,e.schema);let s=!1;return n.descendants(a=>{a.type===r&&(s=!0)}),s},ix=(t,e,n)=>{if(t.commands.undoInputRule())return!0;if(t.state.selection.from!==t.state.selection.to)return!1;if(!Zi(t.state,e)&&Z2(t.state,e,n)){const{$anchor:c}=t.state.selection,u=t.state.doc.resolve(c.before()-1),h=[];u.node().descendants((g,y)=>{g.type.name===e&&h.push({node:g,pos:y})});const f=h.at(-1);if(!f)return!1;const m=t.state.doc.resolve(u.start()+f.pos+1);return t.chain().cut({from:c.start()-1,to:c.end()+1},m.end()).joinForward().run()}if(!Zi(t.state,e)||!F8(t.state))return!1;const r=Zc(e,t.state);if(!r)return!1;const a=t.state.doc.resolve(r.$pos.pos-2).node(r.depth),o=tC(e,t.state,a);return eC(e,t.state)&&!o?t.commands.joinItemBackward():t.chain().liftListItem(e).run()},nC=(t,e)=>{const n=P0(t,e),r=Zc(t,e);return!r||!n?!1:n>r.depth},rC=(t,e)=>{const n=P0(t,e),r=Zc(t,e);return!r||!n?!1:n{if(!Zi(t.state,e)||!$8(t.state,e))return!1;const{selection:n}=t.state,{$from:r,$to:s}=n;return!n.empty&&r.sameParent(s)?!1:nC(e,t.state)?t.chain().focus(t.state.selection.from+4).lift(e).joinBackward().run():rC(e,t.state)?t.chain().joinForward().joinBackward().run():t.commands.joinItemForward()},Dz=(t,e)=>{var n;const{$anchor:r}=e.selection,s=e.doc.resolve(r.pos-r.parentOffset-2);return!(s.index()===s.parent.childCount-1||((n=s.nodeAfter)==null?void 0:n.type.name)!==t)},sC=Yt.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&ax(t,n)&&(e=!0)}),e},"Mod-Delete":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&ax(t,n)&&(e=!0)}),e},Backspace:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&ix(t,n,r)&&(e=!0)}),e},"Mod-Backspace":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&ix(t,n,r)&&(e=!0)}),e}}}}),Tw=/^(\s*)(\d+)\.\s+(.*)$/,Lz=/^\s/;function _z(t){const e=[];let n=0,r=0;for(;n{const s=e.some(h=>h.docChanged)&&!n.doc.eq(r.doc),a=e.some(h=>h.getMeta("preventAutolink"));if(!s||a)return;const{tr:o}=r,c=a2(n.doc,[...e]);if(p2(c).forEach(({newRange:h})=>{const f=E8(r.doc,h,y=>y.isTextblock);let m,g;if(f.length>1)m=f[0],g=r.doc.textBetween(m.pos,m.pos+m.node.nodeSize,void 0," ");else if(f.length){const y=r.doc.textBetween(h.from,h.to," "," ");if(!Sz.test(y))return;m=f[0],g=r.doc.textBetween(m.pos,h.to,void 0," ")}if(m&&g){const y=g.split(kz).filter(Boolean);if(y.length<=0)return!1;const v=y[y.length-1],j=m.pos+g.lastIndexOf(v);if(!v)return!1;const w=A0(v).map(k=>k.toObject(t.defaultProtocol));if(!Ez(w))return!1;w.filter(k=>k.isLink).map(k=>({...k,from:j+k.start+1,to:j+k.end+1})).filter(k=>r.schema.marks.code?!r.doc.rangeHasMark(k.from,k.to,r.schema.marks.code):!0).filter(k=>t.validate(k.value)).filter(k=>t.shouldAutoLink(k.value)).forEach(k=>{x0(k.from,k.to,r.doc).some(E=>E.mark.type===t.type)||o.addMark(k.from,k.to,t.type.create({href:k.href}))})}}),!!o.steps.length)return o}})}function Mz(t){return new Pt({key:new Bt("handleClickLink"),props:{handleClick:(e,n,r)=>{var s,a;if(r.button!==0||!e.editable)return!1;let o=null;if(r.target instanceof HTMLAnchorElement)o=r.target;else{const u=r.target;if(!u)return!1;const h=t.editor.view.dom;o=u.closest("a"),o&&!h.contains(o)&&(o=null)}if(!o)return!1;let c=!1;if(t.enableClickSelection&&(c=t.editor.commands.extendMarkRange(t.type.name)),t.openOnClick){const u=f2(e.state,t.type.name),h=(s=o.href)!=null?s:u.href,f=(a=o.target)!=null?a:u.target;h&&(window.open(h,f),c=!0)}return c}}})}function Az(t){return new Pt({key:new Bt("handlePasteLink"),props:{handlePaste:(e,n,r)=>{const{shouldAutoLink:s}=t,{state:a}=e,{selection:o}=a,{empty:c}=o;if(c)return!1;let u="";r.content.forEach(f=>{u+=f.textContent});const h=J2(u,{defaultProtocol:t.defaultProtocol}).find(f=>f.isLink&&f.value===u);return!u||!h||s!==void 0&&!s(h.value)?!1:t.editor.commands.setMark(t.type,{href:h.href})}}})}function Aa(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const s=typeof r=="string"?r:r.scheme;s&&n.push(s)}),!t||t.replace(Cz,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var Y2=ro.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){Sw(t);return}Sw(t.scheme,t.optionalSlashes)})},onDestroy(){Nz()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!Aa(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>{const e=/^[a-z][a-z0-9+.-]*:\/\//i.test(t),n=/^[a-z][a-z0-9+.-]*:/i.test(t);if(e||n&&!t.includes("@"))return!0;const s=(t.includes("@")?t.split("@").pop():t).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(s)||!/\./.test(s))}}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!Aa(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!Aa(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",yt(this.options.HTMLAttributes,t),0]:["a",yt(this.options.HTMLAttributes,{...t,href:""}),0]},markdownTokenName:"link",parseMarkdown:(t,e)=>e.applyMark("link",e.parseInline(t.tokens||[]),{href:t.href,title:t.title||null}),renderMarkdown:(t,e)=>{var n,r,s,a;const o=(r=(n=t.attrs)==null?void 0:n.href)!=null?r:"",c=(a=(s=t.attrs)==null?void 0:s.title)!=null?a:"",u=e.renderChildren(t);return c?`[${u}](${o} "${c}")`:`[${u}](${o})`},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t;return this.options.isAllowedUri(n,{defaultValidate:r=>!!Aa(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,t).setMeta("preventAutolink",!0).run():!1},toggleLink:t=>({chain:e})=>{const{href:n}=t||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:r=>!!Aa(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Ya({find:t=>{const e=[];if(t){const{protocols:n,defaultProtocol:r}=this.options,s=J2(t).filter(a=>a.isLink&&this.options.isAllowedUri(a.value,{defaultValidate:o=>!!Aa(o,n),protocols:n,defaultProtocol:r}));s.length&&s.forEach(a=>{this.options.shouldAutoLink(a.value)&&e.push({text:a.value,data:{href:a.href},index:a.start})})}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)==null?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(Tz({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:s=>!!Aa(s,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),t.push(Mz({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick==="whenNotEditable"?!0:this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&t.push(Az({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),t}}),Rz=Y2,Pz=Object.defineProperty,Iz=(t,e)=>{for(var n in e)Pz(t,n,{get:e[n],enumerable:!0})},Oz="listItem",Cw="textStyle",Ew=/^\s*([-+*])\s$/,Q2=un.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>t.type!=="list"||t.ordered?[]:{type:"bulletList",content:t.items?e.parseChildren(t.items):[]},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Oz,this.editor.getAttributes(Cw)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=il({find:Ew,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=il({find:Ew,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Cw),editor:this.editor})),[t]}}),X2=un.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list_item",parseMarkdown:(t,e)=>{if(t.type!=="list_item")return[];let n=[];if(t.tokens&&t.tokens.length>0)if(t.tokens.some(s=>s.type==="paragraph"))n=e.parseChildren(t.tokens);else{const s=t.tokens[0];if(s&&s.type==="text"&&s.tokens&&s.tokens.length>0){if(n=[{type:"paragraph",content:e.parseInline(s.tokens)}],t.tokens.length>1){const o=t.tokens.slice(1),c=e.parseChildren(o);n.push(...c)}}else n=e.parseChildren(t.tokens)}return n.length===0&&(n=[{type:"paragraph",content:[]}]),{type:"listItem",content:n}},renderMarkdown:(t,e,n)=>w0(t,e,r=>{var s,a;return r.parentType==="bulletList"?"- ":r.parentType==="orderedList"?`${(((a=(s=r.meta)==null?void 0:s.parentAttrs)==null?void 0:a.start)||1)+r.index}. `:"- "},n),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Dz={};Iz(Dz,{findListItemPos:()=>Zc,getNextListDepth:()=>P0,handleBackspace:()=>ix,handleDelete:()=>ax,hasListBefore:()=>Z2,hasListItemAfter:()=>Lz,hasListItemBefore:()=>eC,listItemHasSubList:()=>tC,nextListIsDeeper:()=>nC,nextListIsHigher:()=>rC});var Zc=(t,e)=>{const{$from:n}=e.selection,r=dn(t,e.schema);let s=null,a=n.depth,o=n.pos,c=null;for(;a>0&&c===null;)s=n.node(a),s.type===r?c=a:(a-=1,o-=1);return c===null?null:{$pos:e.doc.resolve(o),depth:c}},P0=(t,e)=>{const n=Zc(t,e);if(!n)return!1;const[,r]=_8(e,t,n.$pos.pos+4);return r},Z2=(t,e,n)=>{const{$anchor:r}=t.selection,s=Math.max(0,r.pos-2),a=t.doc.resolve(s).node();return!(!a||!n.includes(a.type.name))},eC=(t,e)=>{var n;const{$anchor:r}=e.selection,s=e.doc.resolve(r.pos-2);return!(s.index()===0||((n=s.nodeBefore)==null?void 0:n.type.name)!==t)},tC=(t,e,n)=>{if(!n)return!1;const r=dn(t,e.schema);let s=!1;return n.descendants(a=>{a.type===r&&(s=!0)}),s},ix=(t,e,n)=>{if(t.commands.undoInputRule())return!0;if(t.state.selection.from!==t.state.selection.to)return!1;if(!Zi(t.state,e)&&Z2(t.state,e,n)){const{$anchor:c}=t.state.selection,u=t.state.doc.resolve(c.before()-1),h=[];u.node().descendants((g,y)=>{g.type.name===e&&h.push({node:g,pos:y})});const f=h.at(-1);if(!f)return!1;const m=t.state.doc.resolve(u.start()+f.pos+1);return t.chain().cut({from:c.start()-1,to:c.end()+1},m.end()).joinForward().run()}if(!Zi(t.state,e)||!B8(t.state))return!1;const r=Zc(e,t.state);if(!r)return!1;const a=t.state.doc.resolve(r.$pos.pos-2).node(r.depth),o=tC(e,t.state,a);return eC(e,t.state)&&!o?t.commands.joinItemBackward():t.chain().liftListItem(e).run()},nC=(t,e)=>{const n=P0(t,e),r=Zc(t,e);return!r||!n?!1:n>r.depth},rC=(t,e)=>{const n=P0(t,e),r=Zc(t,e);return!r||!n?!1:n{if(!Zi(t.state,e)||!F8(t.state,e))return!1;const{selection:n}=t.state,{$from:r,$to:s}=n;return!n.empty&&r.sameParent(s)?!1:nC(e,t.state)?t.chain().focus(t.state.selection.from+4).lift(e).joinBackward().run():rC(e,t.state)?t.chain().joinForward().joinBackward().run():t.commands.joinItemForward()},Lz=(t,e)=>{var n;const{$anchor:r}=e.selection,s=e.doc.resolve(r.pos-r.parentOffset-2);return!(s.index()===s.parent.childCount-1||((n=s.nodeAfter)==null?void 0:n.type.name)!==t)},sC=Yt.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&ax(t,n)&&(e=!0)}),e},"Mod-Delete":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&ax(t,n)&&(e=!0)}),e},Backspace:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&ix(t,n,r)&&(e=!0)}),e},"Mod-Backspace":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&ix(t,n,r)&&(e=!0)}),e}}}}),Tw=/^(\s*)(\d+)\.\s+(.*)$/,_z=/^\s/;function zz(t){const e=[];let n=0,r=0;for(;ne;)g.push(t[m]),m+=1;if(g.length>0){const y=Math.min(...g.map(j=>j.indent)),v=iC(g,y,n);h.push({type:"list",ordered:!0,start:g[0].number,items:v,raw:g.map(j=>j.raw).join(` -`)})}s.push({type:"list_item",raw:o.raw,tokens:h}),a=m}else a+=1}return s}function zz(t,e){return t.map(n=>{if(n.type!=="list_item")return e.parseChildren([n])[0];const r=[];return n.tokens&&n.tokens.length>0&&n.tokens.forEach(s=>{if(s.type==="paragraph"||s.type==="list"||s.type==="blockquote"||s.type==="code")r.push(...e.parseChildren([s]));else if(s.type==="text"&&s.tokens){const a=e.parseChildren([s]);r.push({type:"paragraph",content:a})}else{const a=e.parseChildren([s]);a.length>0&&r.push(...a)}}),{type:"listItem",content:r}})}var $z="listItem",Mw="textStyle",Aw=/^(\d+)\.\s$/,aC=un.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return e===1?["ol",yt(this.options.HTMLAttributes,n),0]:["ol",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>{if(t.type!=="list"||!t.ordered)return[];const n=t.start||1,r=t.items?zz(t.items,e):[];return n!==1?{type:"orderedList",attrs:{start:n},content:r}:{type:"orderedList",content:r}},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`)})}s.push({type:"list_item",raw:o.raw,tokens:h}),a=m}else a+=1}return s}function $z(t,e){return t.map(n=>{if(n.type!=="list_item")return e.parseChildren([n])[0];const r=[];return n.tokens&&n.tokens.length>0&&n.tokens.forEach(s=>{if(s.type==="paragraph"||s.type==="list"||s.type==="blockquote"||s.type==="code")r.push(...e.parseChildren([s]));else if(s.type==="text"&&s.tokens){const a=e.parseChildren([s]);r.push({type:"paragraph",content:a})}else{const a=e.parseChildren([s]);a.length>0&&r.push(...a)}}),{type:"listItem",content:r}})}var Fz="listItem",Mw="textStyle",Aw=/^(\d+)\.\s$/,aC=un.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return e===1?["ol",yt(this.options.HTMLAttributes,n),0]:["ol",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>{if(t.type!=="list"||!t.ordered)return[];const n=t.start||1,r=t.items?$z(t.items,e):[];return n!==1?{type:"orderedList",attrs:{start:n},content:r}:{type:"orderedList",content:r}},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` `):"",markdownTokenizer:{name:"orderedList",level:"block",start:t=>{const e=t.match(/^(\s*)(\d+)\.\s+/),n=e==null?void 0:e.index;return n!==void 0?n:-1},tokenize:(t,e,n)=>{var r;const s=t.split(` -`),[a,o]=_z(s);if(a.length===0)return;const c=iC(a,0,n);return c.length===0?void 0:{type:"list",ordered:!0,start:((r=a[0])==null?void 0:r.number)||1,items:c,raw:s.slice(0,o).join(` -`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes($z,this.editor.getAttributes(Mw)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=il({find:Aw,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=il({find:Aw,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Mw)}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1],editor:this.editor})),[t]}}),Fz=/^\s*(\[([( |x])?\])\s$/,Bz=un.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",yt(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(t,e)=>{const n=[];if(t.tokens&&t.tokens.length>0?n.push(e.createNode("paragraph",{},e.parseInline(t.tokens))):t.text?n.push(e.createNode("paragraph",{},[e.createNode("text",{text:t.text})])):n.push(e.createNode("paragraph",{},[])),t.nestedTokens&&t.nestedTokens.length>0){const r=e.parseChildren(t.nestedTokens);n.push(...r)}return e.createNode("taskItem",{checked:t.checked||!1},n)},renderMarkdown:(t,e)=>{var n;const s=`- [${(n=t.attrs)!=null&&n.checked?"x":" "}] `;return w0(t,e,s)},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:r})=>{const s=document.createElement("li"),a=document.createElement("label"),o=document.createElement("span"),c=document.createElement("input"),u=document.createElement("div"),h=m=>{var g,y;c.ariaLabel=((y=(g=this.options.a11y)==null?void 0:g.checkboxLabel)==null?void 0:y.call(g,m,c.checked))||`Task item checkbox for ${m.textContent||"empty task item"}`};h(t),a.contentEditable="false",c.type="checkbox",c.addEventListener("mousedown",m=>m.preventDefault()),c.addEventListener("change",m=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){c.checked=!c.checked;return}const{checked:g}=m.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:y})=>{const v=n();if(typeof v!="number")return!1;const j=y.doc.nodeAt(v);return y.setNodeMarkup(v,void 0,{...j==null?void 0:j.attrs,checked:g}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,g)||(c.checked=!c.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([m,g])=>{s.setAttribute(m,g)}),s.dataset.checked=t.attrs.checked,c.checked=t.attrs.checked,a.append(c,o),s.append(a,u),Object.entries(e).forEach(([m,g])=>{s.setAttribute(m,g)});let f=new Set(Object.keys(e));return{dom:s,contentDOM:u,update:m=>{if(m.type!==this.type)return!1;s.dataset.checked=m.attrs.checked,c.checked=m.attrs.checked,h(m);const g=r.extensionManager.attributes,y=zc(m,g),v=new Set(Object.keys(y)),j=this.options.HTMLAttributes;return f.forEach(w=>{v.has(w)||(w in j?s.setAttribute(w,j[w]):s.removeAttribute(w))}),Object.entries(y).forEach(([w,k])=>{k==null?w in j?s.setAttribute(w,j[w]):s.removeAttribute(w):s.setAttribute(w,k)}),f=v,!0}}}},addInputRules(){return[il({find:Fz,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}}),Vz=un.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",yt(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},parseMarkdown:(t,e)=>e.createNode("taskList",{},e.parseChildren(t.items||[])),renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):"",markdownTokenizer:{name:"taskList",level:"block",start(t){var e;const n=(e=t.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))==null?void 0:e.index;return n!==void 0?n:-1},tokenize(t,e,n){const r=a=>{const o=Jg(a,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:c=>({indentLevel:c[1].length,mainContent:c[4],checked:c[3].toLowerCase()==="x"}),createToken:(c,u)=>({type:"taskItem",raw:"",mainContent:c.mainContent,indentLevel:c.indentLevel,checked:c.checked,text:c.mainContent,tokens:n.inlineTokens(c.mainContent),nestedTokens:u}),customNestedParser:r},n);return o?[{type:"taskList",raw:o.raw,items:o.items}]:n.blockTokens(a)},s=Jg(t,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:a=>({indentLevel:a[1].length,mainContent:a[4],checked:a[3].toLowerCase()==="x"}),createToken:(a,o)=>({type:"taskItem",raw:"",mainContent:a.mainContent,indentLevel:a.indentLevel,checked:a.checked,text:a.mainContent,tokens:n.inlineTokens(a.mainContent),nestedTokens:o}),customNestedParser:r},n);if(s)return{type:"taskList",raw:s.raw,items:s.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});Yt.create({name:"listKit",addExtensions(){const t=[];return this.options.bulletList!==!1&&t.push(Q2.configure(this.options.bulletList)),this.options.listItem!==!1&&t.push(X2.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(sC.configure(this.options.listKeymap)),this.options.orderedList!==!1&&t.push(aC.configure(this.options.orderedList)),this.options.taskItem!==!1&&t.push(Bz.configure(this.options.taskItem)),this.options.taskList!==!1&&t.push(Vz.configure(this.options.taskList)),t}});var Rw=" ",Hz=" ",Wz=un.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",yt(this.options.HTMLAttributes,t),0]},parseMarkdown:(t,e)=>{const n=t.tokens||[];if(n.length===1&&n[0].type==="image")return e.parseChildren([n[0]]);const r=e.parseInline(n);return r.length===1&&r[0].type==="text"&&(r[0].text===Rw||r[0].text===Hz)?e.createNode("paragraph",void 0,[]):e.createNode("paragraph",void 0,r)},renderMarkdown:(t,e)=>{if(!t)return"";const n=Array.isArray(t.content)?t.content:[];return n.length===0?Rw:e.renderChildren(n)},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Uz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,Kz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,qz=ro.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"del",parseMarkdown:(t,e)=>e.applyMark("strike",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`~~${e.renderChildren(t)}~~`,addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[sl({find:Uz,type:this.type})]},addPasteRules(){return[Ya({find:Kz,type:this.type})]}}),Gz=un.create({name:"text",group:"inline",parseMarkdown:t=>({type:"text",text:t.text||""}),renderMarkdown:t=>t.text||""}),Jz=ro.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",yt(this.options.HTMLAttributes,t),0]},parseMarkdown(t,e){return e.applyMark(this.name||"underline",e.parseInline(t.tokens||[]))},renderMarkdown(t,e){return`++${e.renderChildren(t)}++`},markdownTokenizer:{name:"underline",level:"inline",start(t){return t.indexOf("++")},tokenize(t,e,n){const s=/^(\+\+)([\s\S]+?)(\+\+)/.exec(t);if(!s)return;const a=s[2].trim();return{type:"underline",raw:s[0],text:a,tokens:n.inlineTokens(a)}}},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function Yz(t={}){return new Pt({view(e){return new Qz(e,t)}})}class Qz{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(s=>{let a=o=>{this[s](o)};return e.dom.addEventListener(s,a),{name:s,handler:a}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r,s=this.editorView.dom,a=s.getBoundingClientRect(),o=a.width/s.offsetWidth,c=a.height/s.offsetHeight;if(n){let m=e.nodeBefore,g=e.nodeAfter;if(m||g){let y=this.editorView.nodeDOM(this.cursorPos-(m?m.nodeSize:0));if(y){let v=y.getBoundingClientRect(),j=m?v.bottom:v.top;m&&g&&(j=(j+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let w=this.width/2*c;r={left:v.left,right:v.right,top:j-w,bottom:j+w}}}}if(!r){let m=this.editorView.coordsAtPos(this.cursorPos),g=this.width/2*o;r={left:m.left-g,right:m.left+g,top:m.top,bottom:m.bottom}}let u=this.editorView.dom.offsetParent;this.element||(this.element=u.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let h,f;if(!u||u==document.body&&getComputedStyle(u).position=="static")h=-pageXOffset,f=-pageYOffset;else{let m=u.getBoundingClientRect(),g=m.width/u.offsetWidth,y=m.height/u.offsetHeight;h=m.left-u.scrollLeft*g,f=m.top-u.scrollTop*y}this.element.style.left=(r.left-h)/o+"px",this.element.style.top=(r.top-f)/c+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/c+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),s=r&&r.type.spec.disableDropCursor,a=typeof s=="function"?s(this.editorView,n,e):s;if(n&&!a){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let c=Xk(this.editorView.state.doc,o,this.editorView.dragging.slice);c!=null&&(o=c)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class Gt extends Je{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return Gt.valid(r)?new Gt(r):Je.near(r)}content(){return Pe.empty}eq(e){return e instanceof Gt&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Gt(e.resolve(n.pos))}getBookmark(){return new I0(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!Xz(e)||!Zz(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let s=n.contentMatchAt(e.index()).defaultType;return s&&s.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&Gt.valid(e))return e;let s=e.pos,a=null;for(let o=e.depth;;o--){let c=e.node(o);if(n>0?e.indexAfter(o)0){a=c.child(n>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;s+=n;let u=e.doc.resolve(s);if(Gt.valid(u))return u}for(;;){let o=n>0?a.firstChild:a.lastChild;if(!o){if(a.isAtom&&!a.isText&&!He.isSelectable(a)){e=e.doc.resolve(s+a.nodeSize*n),r=!1;continue e}break}a=o,s+=n;let c=e.doc.resolve(s);if(Gt.valid(c))return c}return null}}}Gt.prototype.visible=!1;Gt.findFrom=Gt.findGapCursorFrom;Je.jsonID("gapcursor",Gt);class I0{constructor(e){this.pos=e}map(e){return new I0(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return Gt.valid(n)?new Gt(n):Je.near(n)}}function oC(t){return t.isAtom||t.spec.isolating||t.spec.createGapCursor}function Xz(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let s=r.child(n-1);;s=s.lastChild){if(s.childCount==0&&!s.inlineContent||oC(s.type))return!0;if(s.inlineContent)return!1}}return!0}function Zz(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let s=r.child(n);;s=s.firstChild){if(s.childCount==0&&!s.inlineContent||oC(s.type))return!0;if(s.inlineContent)return!1}}return!0}function e7(){return new Pt({props:{decorations:s7,createSelectionBetween(t,e,n){return e.pos==n.pos&&Gt.valid(n)?new Gt(n):null},handleClick:n7,handleKeyDown:t7,handleDOMEvents:{beforeinput:r7}}})}const t7=u0({ArrowLeft:Ru("horiz",-1),ArrowRight:Ru("horiz",1),ArrowUp:Ru("vert",-1),ArrowDown:Ru("vert",1)});function Ru(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,s,a){let o=r.selection,c=e>0?o.$to:o.$from,u=o.empty;if(o instanceof We){if(!a.endOfTextblock(n)||c.depth==0)return!1;u=!1,c=r.doc.resolve(e>0?c.after():c.before())}let h=Gt.findGapCursorFrom(c,e,u);return h?(s&&s(r.tr.setSelection(new Gt(h))),!0):!1}}function n7(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!Gt.valid(r))return!1;let s=t.posAtCoords({left:n.clientX,top:n.clientY});return s&&s.inside>-1&&He.isSelectable(t.state.doc.nodeAt(s.inside))?!1:(t.dispatch(t.state.tr.setSelection(new Gt(r))),!0)}function r7(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof Gt))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let s=me.empty;for(let o=r.length-1;o>=0;o--)s=me.from(r[o].createAndFill(null,s));let a=t.state.tr.replace(n.pos,n.pos,new Pe(s,0,0));return a.setSelection(We.near(a.doc.resolve(n.pos+1))),t.dispatch(a),!1}function s7(t){if(!(t.selection instanceof Gt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",St.create(t.doc,[gn.widget(t.selection.head,e,{key:"gapcursor"})])}var Hh=200,Sn=function(){};Sn.prototype.append=function(e){return e.length?(e=Sn.from(e),!this.length&&e||e.length=n?Sn.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};Sn.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};Sn.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};Sn.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var s=[];return this.forEach(function(a,o){return s.push(e(a,o))},n,r),s};Sn.from=function(e){return e instanceof Sn?e:e&&e.length?new lC(e):Sn.empty};var lC=(function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(s,a){return s==0&&a==this.length?this:new e(this.values.slice(s,a))},e.prototype.getInner=function(s){return this.values[s]},e.prototype.forEachInner=function(s,a,o,c){for(var u=a;u=o;u--)if(s(this.values[u],c+u)===!1)return!1},e.prototype.leafAppend=function(s){if(this.length+s.length<=Hh)return new e(this.values.concat(s.flatten()))},e.prototype.leafPrepend=function(s){if(this.length+s.length<=Hh)return new e(s.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e})(Sn);Sn.empty=new lC([]);var i7=(function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rc&&this.right.forEachInner(r,Math.max(s-c,0),Math.min(this.length,a)-c,o+c)===!1)return!1},e.prototype.forEachInvertedInner=function(r,s,a,o){var c=this.left.length;if(s>c&&this.right.forEachInvertedInner(r,s-c,Math.max(a,c)-c,o+c)===!1||a=a?this.right.slice(r-a,s-a):this.left.slice(r,a).append(this.right.slice(0,s-a))},e.prototype.leafAppend=function(r){var s=this.right.leafAppend(r);if(s)return new e(this.left,s)},e.prototype.leafPrepend=function(r){var s=this.left.leafPrepend(r);if(s)return new e(s,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e})(Sn);const a7=500;class is{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let s,a;n&&(s=this.remapping(r,this.items.length),a=s.maps.length);let o=e.tr,c,u,h=[],f=[];return this.items.forEach((m,g)=>{if(!m.step){s||(s=this.remapping(r,g+1),a=s.maps.length),a--,f.push(m);return}if(s){f.push(new Ai(m.map));let y=m.step.map(s.slice(a)),v;y&&o.maybeStep(y).doc&&(v=o.mapping.maps[o.mapping.maps.length-1],h.push(new Ai(v,void 0,void 0,h.length+f.length))),a--,v&&s.appendMap(v,a)}else o.maybeStep(m.step);if(m.selection)return c=s?m.selection.map(s.slice(a)):m.selection,u=new is(this.items.slice(0,r).append(f.reverse().concat(h)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:o,selection:c}}addTransform(e,n,r,s){let a=[],o=this.eventCount,c=this.items,u=!s&&c.length?c.get(c.length-1):null;for(let f=0;fl7&&(c=o7(c,h),o-=h),new is(c.append(a),o)}remapping(e,n){let r=new Pc;return this.items.forEach((s,a)=>{let o=s.mirrorOffset!=null&&a-s.mirrorOffset>=e?r.maps.length-s.mirrorOffset:void 0;r.appendMap(s.map,o)},e,n),r}addMaps(e){return this.eventCount==0?this:new is(this.items.append(e.map(n=>new Ai(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],s=Math.max(0,this.items.length-n),a=e.mapping,o=e.steps.length,c=this.eventCount;this.items.forEach(g=>{g.selection&&c--},s);let u=n;this.items.forEach(g=>{let y=a.getMirror(--u);if(y==null)return;o=Math.min(o,y);let v=a.maps[y];if(g.step){let j=e.steps[y].invert(e.docs[y]),w=g.selection&&g.selection.map(a.slice(u+1,y));w&&c++,r.push(new Ai(v,j,w))}else r.push(new Ai(v))},s);let h=[];for(let g=n;ga7&&(m=m.compress(this.items.length-r.length)),m}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,s=[],a=0;return this.items.forEach((o,c)=>{if(c>=e)s.push(o),o.selection&&a++;else if(o.step){let u=o.step.map(n.slice(r)),h=u&&u.getMap();if(r--,h&&n.appendMap(h,r),u){let f=o.selection&&o.selection.map(n.slice(r));f&&a++;let m=new Ai(h.invert(),u,f),g,y=s.length-1;(g=s.length&&s[y].merge(m))?s[y]=g:s.push(m)}}else o.map&&r--},this.items.length,0),new is(Sn.from(s.reverse()),a)}}is.empty=new is(Sn.empty,0);function o7(t,e){let n;return t.forEach((r,s)=>{if(r.selection&&e--==0)return n=s,!1}),t.slice(n)}let Ai=class cC{constructor(e,n,r,s){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=s}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new cC(n.getMap().invert(),n,this.selection)}}};class Di{constructor(e,n,r,s,a){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=s,this.prevComposition=a}}const l7=20;function c7(t,e,n,r){let s=n.getMeta(Va),a;if(s)return s.historyState;n.getMeta(h7)&&(t=new Di(t.done,t.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(o&&o.getMeta(Va))return o.getMeta(Va).redo?new Di(t.done.addTransform(n,void 0,r,Hu(e)),t.undone,Pw(n.mapping.maps),t.prevTime,t.prevComposition):new Di(t.done,t.undone.addTransform(n,void 0,r,Hu(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let c=n.getMeta("composition"),u=t.prevTime==0||!o&&t.prevComposition!=c&&(t.prevTime<(n.time||0)-r.newGroupDelay||!d7(n,t.prevRanges)),h=o?sg(t.prevRanges,n.mapping):Pw(n.mapping.maps);return new Di(t.done.addTransform(n,u?e.selection.getBookmark():void 0,r,Hu(e)),is.empty,h,n.time,c??t.prevComposition)}else return(a=n.getMeta("rebased"))?new Di(t.done.rebased(n,a),t.undone.rebased(n,a),sg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new Di(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),sg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function d7(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,s)=>{for(let a=0;a=e[a]&&(n=!0)}),n}function Pw(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,s,a,o)=>e.push(a,o));return e}function sg(t,e){if(!t)return null;let n=[];for(let r=0;r{let s=Va.getState(n);if(!s||(t?s.undone:s.done).eventCount==0)return!1;if(r){let a=u7(s,n,t);a&&r(e?a.scrollIntoView():a)}return!0}}const uC=dC(!1,!0),hC=dC(!0,!0);Yt.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc;if(((t==null?void 0:t.mode)||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Pt({key:new Bt("characterCount"),appendTransaction:(e,n,r)=>{if(t)return;const s=this.options.limit;if(s==null||s===0){t=!0;return}const a=this.storage.characters({node:r.doc});if(a>s){const o=a-s,c=0,u=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${s} characters. Content was automatically trimmed.`);const h=r.tr.deleteRange(c,u);return t=!0,h}t=!0},filterTransaction:(e,n)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const s=this.storage.characters({node:n.doc}),a=this.storage.characters({node:e.doc});if(a<=r||s>r&&a>r&&a<=s)return!0;if(s>r&&a>r&&a>s||!e.getMeta("paste"))return!1;const c=e.selection.$head.pos,u=a-r,h=c-u,f=c;return e.deleteRange(h,f),!(this.storage.characters({node:e.doc})>r)}})]}});var p7=Yt.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[Yz(this.options)]}});Yt.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new Pt({key:new Bt("focus"),props:{decorations:({doc:t,selection:e})=>{const{isEditable:n,isFocused:r}=this.editor,{anchor:s}=e,a=[];if(!n||!r)return St.create(t,[]);let o=0;this.options.mode==="deepest"&&t.descendants((u,h)=>{if(u.isText)return;if(!(s>=h&&s<=h+u.nodeSize-1))return!1;o+=1});let c=0;return t.descendants((u,h)=>{if(u.isText||!(s>=h&&s<=h+u.nodeSize-1))return!1;if(c+=1,this.options.mode==="deepest"&&o-c>0||this.options.mode==="shallowest"&&c>1)return this.options.mode==="deepest";a.push(gn.node(h,h+u.nodeSize,{class:this.options.className}))}),St.create(t,a)}}})]}});var m7=Yt.create({name:"gapCursor",addProseMirrorPlugins(){return[e7()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=xt(Ve(t,"allowGapCursor",n)))!=null?e:null}}}),Ow="placeholder";function g7(t){return t.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}var x7=Yt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:Ow,placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){const t=this.options.dataAttribute?`data-${g7(this.options.dataAttribute)}`:`data-${Ow}`;return[new Pt({key:new Bt("placeholder"),props:{decorations:({doc:e,selection:n})=>{const r=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:s}=n,a=[];if(!r)return null;const o=this.editor.isEmpty;return e.descendants((c,u)=>{const h=s>=u&&s<=u+c.nodeSize,f=!c.isLeaf&&gf(c);if((h||!this.options.showOnlyCurrent)&&f){const m=[this.options.emptyNodeClass];o&&m.push(this.options.emptyEditorClass);const g=gn.node(u,u+c.nodeSize,{class:m.join(" "),[t]:typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:c,pos:u,hasAnchor:h}):this.options.placeholder});a.push(g)}return this.options.includeChildren}),St.create(e,a)}}})]}});Yt.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:t,options:e}=this;return[new Pt({key:new Bt("selection"),props:{decorations(n){return n.selection.empty||t.isFocused||!t.isEditable||m2(n.selection)||t.view.dragging?null:St.create(n.doc,[gn.inline(n.selection.from,n.selection.to,{class:e.className})])}}})]}});function Dw({types:t,node:e}){return e&&Array.isArray(t)&&t.includes(e.type)||(e==null?void 0:e.type)===t}var y7=Yt.create({name:"trailingNode",addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){var t;const e=new Bt(this.name),n=this.options.node||((t=this.editor.schema.topNodeType.contentMatch.defaultType)==null?void 0:t.name)||"paragraph",r=Object.entries(this.editor.schema.nodes).map(([,s])=>s).filter(s=>(this.options.notAfter||[]).concat(n).includes(s.name));return[new Pt({key:e,appendTransaction:(s,a,o)=>{const{doc:c,tr:u,schema:h}=o,f=e.getState(o),m=c.content.size,g=h.nodes[n];if(f)return u.insert(m,g.create())},state:{init:(s,a)=>{const o=a.tr.doc.lastChild;return!Dw({node:o,types:r})},apply:(s,a)=>{if(!s.docChanged||s.getMeta("__uniqueIDTransaction"))return a;const o=s.doc.lastChild;return!Dw({node:o,types:r})}}})]}}),v7=Yt.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>uC(t,e),redo:()=>({state:t,dispatch:e})=>hC(t,e)}},addProseMirrorPlugins(){return[f7(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),b7=Yt.create({name:"starterKit",addExtensions(){var t,e,n,r;const s=[];return this.options.bold!==!1&&s.push(W_.configure(this.options.bold)),this.options.blockquote!==!1&&s.push($_.configure(this.options.blockquote)),this.options.bulletList!==!1&&s.push(Q2.configure(this.options.bulletList)),this.options.code!==!1&&s.push(q_.configure(this.options.code)),this.options.codeBlock!==!1&&s.push(Y_.configure(this.options.codeBlock)),this.options.document!==!1&&s.push(Q_.configure(this.options.document)),this.options.dropcursor!==!1&&s.push(p7.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&s.push(m7.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&s.push(X_.configure(this.options.hardBreak)),this.options.heading!==!1&&s.push(Z_.configure(this.options.heading)),this.options.undoRedo!==!1&&s.push(v7.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&s.push(ez.configure(this.options.horizontalRule)),this.options.italic!==!1&&s.push(iz.configure(this.options.italic)),this.options.listItem!==!1&&s.push(X2.configure(this.options.listItem)),this.options.listKeymap!==!1&&s.push(sC.configure((t=this.options)==null?void 0:t.listKeymap)),this.options.link!==!1&&s.push(Y2.configure((e=this.options)==null?void 0:e.link)),this.options.orderedList!==!1&&s.push(aC.configure(this.options.orderedList)),this.options.paragraph!==!1&&s.push(Wz.configure(this.options.paragraph)),this.options.strike!==!1&&s.push(qz.configure(this.options.strike)),this.options.text!==!1&&s.push(Gz.configure(this.options.text)),this.options.underline!==!1&&s.push(Jz.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&s.push(y7.configure((r=this.options)==null?void 0:r.trailingNode)),s}}),w7=b7,N7=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,j7=un.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{},resize:!1}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",yt(this.options.HTMLAttributes,t)]},parseMarkdown:(t,e)=>e.createNode("image",{src:t.href,title:t.title,alt:t.text}),renderMarkdown:t=>{var e,n,r,s,a,o;const c=(n=(e=t.attrs)==null?void 0:e.src)!=null?n:"",u=(s=(r=t.attrs)==null?void 0:r.alt)!=null?s:"",h=(o=(a=t.attrs)==null?void 0:a.title)!=null?o:"";return h?`![${u}](${c} "${h}")`:`![${u}](${c})`},addNodeView(){if(!this.options.resize||!this.options.resize.enabled||typeof document>"u")return null;const{directions:t,minWidth:e,minHeight:n,alwaysPreserveAspectRatio:r}=this.options.resize;return({node:s,getPos:a,HTMLAttributes:o,editor:c})=>{const u=document.createElement("img");Object.entries(o).forEach(([m,g])=>{if(g!=null)switch(m){case"width":case"height":break;default:u.setAttribute(m,g);break}}),u.src=o.src;const h=new C6({element:u,editor:c,node:s,getPos:a,onResize:(m,g)=>{u.style.width=`${m}px`,u.style.height=`${g}px`},onCommit:(m,g)=>{const y=a();y!==void 0&&this.editor.chain().setNodeSelection(y).updateAttributes(this.name,{width:m,height:g}).run()},onUpdate:(m,g,y)=>m.type===s.type,options:{directions:t,min:{width:e,height:n},preserveAspectRatio:r===!0}}),f=h.dom;return f.style.visibility="hidden",f.style.pointerEvents="none",u.onload=()=>{f.style.visibility="",f.style.pointerEvents=""},h}},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[P2({find:N7,type:this.type,getAttributes:t=>{const[,,e,n,r]=t;return{src:n,alt:e,title:r}}})]}}),k7=j7;function S7(t){var e;const{char:n,allowSpaces:r,allowToIncludeChar:s,allowedPrefixes:a,startOfLine:o,$position:c}=t,u=r&&!s,h=T6(n),f=new RegExp(`\\s${h}$`),m=o?"^":"",g=s?"":h,y=u?new RegExp(`${m}${h}.*?(?=\\s${g}|$)`,"gm"):new RegExp(`${m}(?:^)?${h}[^\\s${g}]*`,"gm"),v=((e=c.nodeBefore)==null?void 0:e.isText)&&c.nodeBefore.text;if(!v)return null;const j=c.pos-v.length,w=Array.from(v.matchAll(y)).pop();if(!w||w.input===void 0||w.index===void 0)return null;const k=w.input.slice(Math.max(0,w.index-1),w.index),E=new RegExp(`^[${a==null?void 0:a.join("")}\0]?$`).test(k);if(a!==null&&!E)return null;const C=j+w.index;let T=C+w[0].length;return u&&f.test(v.slice(T-1,T+1))&&(w[0]+=" ",T+=1),C=c.pos?{range:{from:C,to:T},query:w[0].slice(n.length),text:w[0]}:null}var C7=new Bt("suggestion");function E7({pluginKey:t=C7,editor:e,char:n="@",allowSpaces:r=!1,allowToIncludeChar:s=!1,allowedPrefixes:a=[" "],startOfLine:o=!1,decorationTag:c="span",decorationClass:u="suggestion",decorationContent:h="",decorationEmptyClass:f="is-empty",command:m=()=>null,items:g=()=>[],render:y=()=>({}),allow:v=()=>!0,findSuggestionMatch:j=S7,shouldShow:w}){let k;const E=y==null?void 0:y(),C=()=>{const R=e.state.selection.$anchor.pos,P=e.view.coordsAtPos(R),{top:I,right:L,bottom:X,left:Z}=P;try{return new DOMRect(Z,I,L-Z,X-I)}catch{return null}},T=(R,P)=>P?()=>{const I=t.getState(e.state),L=I==null?void 0:I.decorationId,X=R.dom.querySelector(`[data-decoration-id="${L}"]`);return(X==null?void 0:X.getBoundingClientRect())||null}:C;function O(R,P){var I;try{const X=t.getState(R.state),Z=X!=null&&X.decorationId?R.dom.querySelector(`[data-decoration-id="${X.decorationId}"]`):null,Y={editor:e,range:(X==null?void 0:X.range)||{from:0,to:0},query:(X==null?void 0:X.query)||null,text:(X==null?void 0:X.text)||null,items:[],command:W=>m({editor:e,range:(X==null?void 0:X.range)||{from:0,to:0},props:W}),decorationNode:Z,clientRect:T(R,Z)};(I=E==null?void 0:E.onExit)==null||I.call(E,Y)}catch{}const L=R.state.tr.setMeta(P,{exit:!0});R.dispatch(L)}const B=new Pt({key:t,view(){return{update:async(R,P)=>{var I,L,X,Z,Y,W,D;const $=(I=this.key)==null?void 0:I.getState(P),ae=(L=this.key)==null?void 0:L.getState(R.state),_=$.active&&ae.active&&$.range.from!==ae.range.from,se=!$.active&&ae.active,q=$.active&&!ae.active,z=!se&&!q&&$.query!==ae.query,H=se||_&&z,de=z||_,K=q||_&&z;if(!H&&!de&&!K)return;const fe=K&&!H?$:ae,Q=R.dom.querySelector(`[data-decoration-id="${fe.decorationId}"]`);k={editor:e,range:fe.range,query:fe.query,text:fe.text,items:[],command:oe=>m({editor:e,range:fe.range,props:oe}),decorationNode:Q,clientRect:T(R,Q)},H&&((X=E==null?void 0:E.onBeforeStart)==null||X.call(E,k)),de&&((Z=E==null?void 0:E.onBeforeUpdate)==null||Z.call(E,k)),(de||H)&&(k.items=await g({editor:e,query:fe.query})),K&&((Y=E==null?void 0:E.onExit)==null||Y.call(E,k)),de&&((W=E==null?void 0:E.onUpdate)==null||W.call(E,k)),H&&((D=E==null?void 0:E.onStart)==null||D.call(E,k))},destroy:()=>{var R;k&&((R=E==null?void 0:E.onExit)==null||R.call(E,k))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(R,P,I,L){const{isEditable:X}=e,{composing:Z}=e.view,{selection:Y}=R,{empty:W,from:D}=Y,$={...P},ae=R.getMeta(t);if(ae&&ae.exit)return $.active=!1,$.decorationId=null,$.range={from:0,to:0},$.query=null,$.text=null,$;if($.composing=Z,X&&(W||e.view.composing)){(DP.range.to)&&!Z&&!P.composing&&($.active=!1);const _=j({char:n,allowSpaces:r,allowToIncludeChar:s,allowedPrefixes:a,startOfLine:o,$position:Y.$from}),se=`id_${Math.floor(Math.random()*4294967295)}`;_&&v({editor:e,state:L,range:_.range,isActive:P.active})&&(!w||w({editor:e,range:_.range,query:_.query,text:_.text,transaction:R}))?($.active=!0,$.decorationId=P.decorationId?P.decorationId:se,$.range=_.range,$.query=_.query,$.text=_.text):$.active=!1}else $.active=!1;return $.active||($.decorationId=null,$.range={from:0,to:0},$.query=null,$.text=null),$}},props:{handleKeyDown(R,P){var I,L,X,Z;const{active:Y,range:W}=B.getState(R.state);if(!Y)return!1;if(P.key==="Escape"||P.key==="Esc"){const $=B.getState(R.state),ae=(I=k==null?void 0:k.decorationNode)!=null?I:null,_=ae??($!=null&&$.decorationId?R.dom.querySelector(`[data-decoration-id="${$.decorationId}"]`):null);if(((L=E==null?void 0:E.onKeyDown)==null?void 0:L.call(E,{view:R,event:P,range:$.range}))||!1)return!0;const q={editor:e,range:$.range,query:$.query,text:$.text,items:[],command:z=>m({editor:e,range:$.range,props:z}),decorationNode:_,clientRect:_?()=>_.getBoundingClientRect()||null:null};return(X=E==null?void 0:E.onExit)==null||X.call(E,q),O(R,t),!0}return((Z=E==null?void 0:E.onKeyDown)==null?void 0:Z.call(E,{view:R,event:P,range:W}))||!1},decorations(R){const{active:P,range:I,decorationId:L,query:X}=B.getState(R);if(!P)return null;const Z=!(X!=null&&X.length),Y=[u];return Z&&Y.push(f),St.create(R.doc,[gn.inline(I.from,I.to,{nodeName:c,class:Y.join(" "),"data-decoration-id":L,"data-decoration-content":h})])}}});return B}function T7({editor:t,overrideSuggestionOptions:e,extensionName:n,char:r="@"}){const s=new Bt;return{editor:t,char:r,pluginKey:s,command:({editor:a,range:o,props:c})=>{var u,h,f;const m=a.view.state.selection.$to.nodeAfter;((u=m==null?void 0:m.text)==null?void 0:u.startsWith(" "))&&(o.to+=1),a.chain().focus().insertContentAt(o,[{type:n,attrs:{...c,mentionSuggestionChar:r}},{type:"text",text:" "}]).run(),(f=(h=a.view.dom.ownerDocument.defaultView)==null?void 0:h.getSelection())==null||f.collapseToEnd()},allow:({state:a,range:o})=>{const c=a.doc.resolve(o.from),u=a.schema.nodes[n];return!!c.parent.type.contentMatch.matchType(u)},...e}}function fC(t){return(t.options.suggestions.length?t.options.suggestions:[t.options.suggestion]).map(e=>T7({editor:t.editor,overrideSuggestionOptions:e,extensionName:t.name,char:e.char}))}function Lw(t,e){const n=fC(t),r=n.find(s=>s.char===e);return r||(n.length?n[0]:null)}var M7=un.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({node:t,suggestion:e}){var n,r;return`${(n=e==null?void 0:e.char)!=null?n:"@"}${(r=t.attrs.label)!=null?r:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e,suggestion:n}){var r,s;return["span",yt(this.HTMLAttributes,t.HTMLAttributes),`${(r=n==null?void 0:n.char)!=null?r:"@"}${(s=e.attrs.label)!=null?s:e.attrs.id}`]},suggestions:[],suggestion:{}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}},mentionSuggestionChar:{default:"@",parseHTML:t=>t.getAttribute("data-mention-suggestion-char"),renderHTML:t=>({"data-mention-suggestion-char":t.mentionSuggestionChar})}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){const n=Lw(this,t.attrs.mentionSuggestionChar);if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",yt({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t,suggestion:n})];const r={...this.options};r.HTMLAttributes=yt({"data-type":this.name},this.options.HTMLAttributes,e);const s=this.options.renderHTML({options:r,node:t,suggestion:n});return typeof s=="string"?["span",yt({"data-type":this.name},this.options.HTMLAttributes,e),s]:s},...I2({nodeName:"mention",name:"@",selfClosing:!0,allowedAttributes:["id","label",{name:"mentionSuggestionChar",skipIfDefault:"@"}],parseAttributes:t=>{const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,s,a,o]=r,c=a??o;e[s==="char"?"mentionSuggestionChar":s]=c,r=n.exec(t)}return e},serializeAttributes:t=>Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e==="mentionSuggestionChar"?"char":e}="${n}"`).join(" ")}),renderText({node:t}){const e={options:this.options,node:t,suggestion:Lw(this,t.attrs.mentionSuggestionChar)};return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel(e)):this.options.renderText(e)},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:t,state:e})=>{let n=!1;const{selection:r}=e,{empty:s,anchor:a}=r;if(!s)return!1;let o=new Xs,c=0;return e.doc.nodesBetween(a-1,a,(u,h)=>{if(u.type.name===this.name)return n=!0,o=u,c=h,!1}),n&&t.insertText(this.options.deleteTriggerWithBackspace?"":o.attrs.mentionSuggestionChar,c,c+o.nodeSize),n})}},addProseMirrorPlugins(){return fC(this).map(E7)}}),A7=M7,R7=x7;let ox,lx;if(typeof WeakMap<"u"){let t=new WeakMap;ox=e=>t.get(e),lx=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;ox=r=>{for(let s=0;s(n==10&&(n=0),t[n++]=r,t[n++]=s)}var Jt=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e=n){(a||(a=[])).push({type:"overlong_rowspan",pos:f,n:k-C});break}const T=s+C*e;for(let O=0;Or&&(a+=h.attrs.colspan)}}for(let o=0;o1&&(n=!0)}e==-1?e=a:e!=a&&(e=Math.max(e,a))}return e}function O7(t,e,n){t.problems||(t.problems=[]);const r={};for(let s=0;s0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function L7(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function hs(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function bf(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=Qa(e.$head)||_7(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function _7(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function cx(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function z7(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function O0(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function pC(t,e,n){const r=t.node(-1),s=Jt.get(r),a=t.start(-1),o=s.nextCell(t.pos-a,e,n);return o==null?null:t.node(0).resolve(a+o)}function Xa(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(s=>s>0)||(r.colwidth=null)),r}function mC(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let s=0;sf!=n.pos-a);u.unshift(n.pos-a);const h=u.map(f=>{const m=r.nodeAt(f);if(!m)throw new RangeError(`No cell with offset ${f} found`);const g=a+f+1;return new rS(c.resolve(g),c.resolve(g+m.content.size))});super(h[0].$from,h[0].$to,h),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),s=e.resolve(n.map(this.$headCell.pos));if(cx(r)&&cx(s)&&O0(r,s)){const a=this.$anchorCell.node(-1)!=r.node(-1);return a&&this.isRowSelection()?Gs.rowSelection(r,s):a&&this.isColSelection()?Gs.colSelection(r,s):new Gs(r,s)}return We.between(r,s)}content(){const e=this.$anchorCell.node(-1),n=Jt.get(e),r=this.$anchorCell.start(-1),s=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),a={},o=[];for(let u=s.top;u0||w>0){let k=v.attrs;if(j>0&&(k=Xa(k,0,j)),w>0&&(k=Xa(k,k.colspan-w,w)),y.lefts.bottom){const k={...v.attrs,rowspan:Math.min(y.bottom,s.bottom)-Math.max(y.top,s.top)};y.top0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,s=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,s)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),s=Jt.get(r),a=e.start(-1),o=s.findCell(e.pos-a),c=s.findCell(n.pos-a),u=e.node(0);return o.top<=c.top?(o.top>0&&(e=u.resolve(a+s.map[o.left])),c.bottom0&&(n=u.resolve(a+s.map[c.left])),o.bottom0)return!1;const o=s+this.$anchorCell.nodeAfter.attrs.colspan,c=a+this.$headCell.nodeAfter.attrs.colspan;return Math.max(o,c)==n.width}eq(e){return e instanceof Gs&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),s=Jt.get(r),a=e.start(-1),o=s.findCell(e.pos-a),c=s.findCell(n.pos-a),u=e.node(0);return o.left<=c.left?(o.left>0&&(e=u.resolve(a+s.map[o.top*s.width])),c.right0&&(n=u.resolve(a+s.map[c.top*s.width])),o.right{e.push(gn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),St.create(t.doc,e)}function V7({$from:t,$to:e}){if(t.pos==e.pos||t.pos=0&&!(t.after(s+1)=0&&!(e.before(a+1)>e.start(a));a--,r--);return n==r&&/row|table/.test(t.node(s).type.spec.tableRole)}function H7({$from:t,$to:e}){let n,r;for(let s=t.depth;s>0;s--){const a=t.node(s);if(a.type.spec.tableRole==="cell"||a.type.spec.tableRole==="header_cell"){n=a;break}}for(let s=e.depth;s>0;s--){const a=e.node(s);if(a.type.spec.tableRole==="cell"||a.type.spec.tableRole==="header_cell"){r=a;break}}return n!==r&&e.parentOffset===0}function W7(t,e,n){const r=(e||t).selection,s=(e||t).doc;let a,o;if(r instanceof He&&(o=r.node.type.spec.tableRole)){if(o=="cell"||o=="header_cell")a=Rt.create(s,r.from);else if(o=="row"){const c=s.resolve(r.from+1);a=Rt.rowSelection(c,c)}else if(!n){const c=Jt.get(r.node),u=r.from+1,h=u+c.map[c.width*c.height-1];a=Rt.create(s,u+1,h)}}else r instanceof We&&V7(r)?a=We.create(s,r.from):r instanceof We&&H7(r)&&(a=We.create(s,r.$from.start(),r.$from.end()));return a&&(e||(e=t.tr)).setSelection(a),e}const U7=new Bt("fix-tables");function xC(t,e,n,r){const s=t.childCount,a=e.childCount;e:for(let o=0,c=0;o{s.type.spec.tableRole=="table"&&(n=K7(t,s,a,n))};return e?e.doc!=t.doc&&xC(e.doc,t.doc,0,r):t.doc.descendants(r),n}function K7(t,e,n,r){const s=Jt.get(e);if(!s.problems)return r;r||(r=t.tr);const a=[];for(let u=0;u0){let y="cell";f.firstChild&&(y=f.firstChild.type.spec.tableRole);const v=[];for(let w=0;w0?-1:0;$7(e,r,s+a)&&(a=s==0||s==e.width?null:0);for(let o=0;o0&&s0&&e.map[c-1]==u||s0?-1:0;Q7(e,r,s+c)&&(c=s==0||s==e.height?null:0);for(let h=0,f=e.width*s;h0&&s0&&m==e.map[f-e.width]){const g=n.nodeAt(m).attrs;t.setNodeMarkup(t.mapping.slice(c).map(m+r),null,{...g,rowspan:g.rowspan-1}),h+=g.colspan-1}else if(s0&&n[a]==n[a-1]||r.right0&&n[s]==n[s-t]||r.bottom0){const f=u+1+h.content.size,m=_w(h)?u+1:f;a.replaceWith(m+r.tableStart,f+r.tableStart,c)}a.setSelection(new Rt(a.doc.resolve(u+r.tableStart))),e(a)}return!0}function $w(t,e){const n=qn(t.schema);return r$(({node:r})=>n[r.type.spec.tableRole])(t,e)}function r$(t){return(e,n)=>{const r=e.selection;let s,a;if(r instanceof Rt){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;s=r.$anchorCell.nodeAfter,a=r.$anchorCell.pos}else{var o;if(s=L7(r.$from),!s)return!1;a=(o=Qa(r.$from))===null||o===void 0?void 0:o.pos}if(s==null||a==null||s.attrs.colspan==1&&s.attrs.rowspan==1)return!1;if(n){let c=s.attrs;const u=[],h=c.colwidth;c.rowspan>1&&(c={...c,rowspan:1}),c.colspan>1&&(c={...c,colspan:1});const f=As(e),m=e.tr;for(let y=0;y{o.attrs[t]!==e&&a.setNodeMarkup(c,null,{...o.attrs,[t]:e})}):a.setNodeMarkup(s.pos,null,{...s.nodeAfter.attrs,[t]:e}),r(a)}return!0}}function i$(t){return function(e,n){if(!hs(e))return!1;if(n){const r=qn(e.schema),s=As(e),a=e.tr,o=s.map.cellsInRect(t=="column"?{left:s.left,top:0,right:s.right,bottom:s.map.height}:t=="row"?{left:0,top:s.top,right:s.map.width,bottom:s.bottom}:s),c=o.map(u=>s.table.nodeAt(u));for(let u=0;u{const y=g+a.tableStart,v=o.doc.nodeAt(y);v&&o.setNodeMarkup(y,m,v.attrs)}),r(o)}return!0}}Bc("row",{useDeprecatedLogic:!0});Bc("column",{useDeprecatedLogic:!0});const a$=Bc("cell",{useDeprecatedLogic:!0});function o$(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,s=t.before();r>=0;r--){const a=t.node(-1).child(r),o=a.lastChild;if(o)return s-1-o.nodeSize;s-=a.nodeSize}}else{if(t.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Pu(t,e){const n=t.selection;if(!(n instanceof Rt))return!1;if(e){const r=t.tr,s=qn(t.schema).cell.createAndFill().content;n.forEachCell((a,o)=>{a.content.eq(s)||r.replace(r.mapping.map(o+1),r.mapping.map(o+a.nodeSize-1),new Pe(s,0,0))}),r.docChanged&&e(r)}return!0}function c$(t){if(t.size===0)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const s=e.child(0),a=s.type.spec.tableRole,o=s.type.schema,c=[];if(a=="row")for(let u=0;u=0;o--){const{rowspan:c,colspan:u}=a.child(o).attrs;for(let h=s;h=e.length&&e.push(me.empty),n[s]r&&(g=g.type.createChecked(Xa(g.attrs,g.attrs.colspan,f+g.attrs.colspan-r),g.content)),h.push(g),f+=g.attrs.colspan;for(let y=1;ys&&(m=m.type.create({...m.attrs,rowspan:Math.max(1,s-m.attrs.rowspan)},m.content)),u.push(m)}a.push(me.from(u))}n=a,e=s}return{width:t,height:e,rows:n}}function h$(t,e,n,r,s,a,o){const c=t.doc.type.schema,u=qn(c);let h,f;if(s>e.width)for(let m=0,g=0;me.height){const m=[];for(let v=0,j=(e.height-1)*e.width;v=e.width?!1:n.nodeAt(e.map[j+v]).type==u.header_cell;m.push(w?f||(f=u.header_cell.createAndFill()):h||(h=u.cell.createAndFill()))}const g=u.row.create(null,me.from(m)),y=[];for(let v=e.height;v{if(!s)return!1;const a=n.selection;if(a instanceof Rt)return Wu(n,r,Je.near(a.$headCell,e));if(t!="horiz"&&!a.empty)return!1;const o=wC(s,t,e);if(o==null)return!1;if(t=="horiz")return Wu(n,r,Je.near(n.doc.resolve(a.head+e),e));{const c=n.doc.resolve(o),u=pC(c,t,e);let h;return u?h=Je.near(u,1):e<0?h=Je.near(n.doc.resolve(c.before(-1)),-1):h=Je.near(n.doc.resolve(c.after(-1)),1),Wu(n,r,h)}}}function Ou(t,e){return(n,r,s)=>{if(!s)return!1;const a=n.selection;let o;if(a instanceof Rt)o=a;else{const u=wC(s,t,e);if(u==null)return!1;o=new Rt(n.doc.resolve(u))}const c=pC(o.$headCell,t,e);return c?Wu(n,r,new Rt(o.$anchorCell,c)):!1}}function p$(t,e){const n=t.state.doc,r=Qa(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Rt(r))),!0):!1}function m$(t,e,n){if(!hs(t.state))return!1;let r=c$(n);const s=t.state.selection;if(s instanceof Rt){r||(r={width:1,height:1,rows:[me.from(dx(qn(t.state.schema).cell,n))]});const a=s.$anchorCell.node(-1),o=s.$anchorCell.start(-1),c=Jt.get(a).rectBetween(s.$anchorCell.pos-o,s.$headCell.pos-o);return r=u$(r,c.right-c.left,c.bottom-c.top),Ww(t.state,t.dispatch,o,c,r),!0}else if(r){const a=bf(t.state),o=a.start(-1);return Ww(t.state,t.dispatch,o,Jt.get(a.node(-1)).findCell(a.pos-o),r),!0}else return!1}function g$(t,e){var n;if(e.button!=0||e.ctrlKey||e.metaKey)return;const r=Uw(t,e.target);let s;if(e.shiftKey&&t.state.selection instanceof Rt)a(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(s=Qa(t.state.selection.$anchor))!=null&&((n=ag(t,e))===null||n===void 0?void 0:n.pos)!=s.pos)a(s,e),e.preventDefault();else if(!r)return;function a(u,h){let f=ag(t,h);const m=zi.getState(t.state)==null;if(!f||!O0(u,f))if(m)f=u;else return;const g=new Rt(u,f);if(m||!t.state.selection.eq(g)){const y=t.state.tr.setSelection(g);m&&y.setMeta(zi,u.pos),t.dispatch(y)}}function o(){t.root.removeEventListener("mouseup",o),t.root.removeEventListener("dragstart",o),t.root.removeEventListener("mousemove",c),zi.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(zi,-1))}function c(u){const h=u,f=zi.getState(t.state);let m;if(f!=null)m=t.state.doc.resolve(f);else if(Uw(t,h.target)!=r&&(m=ag(t,e),!m))return o();m&&a(m,h)}t.root.addEventListener("mouseup",o),t.root.addEventListener("dragstart",o),t.root.addEventListener("mousemove",c)}function wC(t,e,n){if(!(t.state.selection instanceof We))return null;const{$head:r}=t.state.selection;for(let s=r.depth-1;s>=0;s--){const a=r.node(s);if((n<0?r.index(s):r.indexAfter(s))!=(n<0?0:a.childCount))return null;if(a.type.spec.tableRole=="cell"||a.type.spec.tableRole=="header_cell"){const o=r.before(s),c=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(c)?o:null}}return null}function Uw(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function ag(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});if(!n)return null;let{inside:r,pos:s}=n;return r>=0&&Qa(t.state.doc.resolve(r))||Qa(t.state.doc.resolve(s))}var x$=class{constructor(e,n){this.node=e,this.defaultCellMinWidth=n,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${n}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),ux(e,this.colgroup,this.table,n),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,ux(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function ux(t,e,n,r,s,a){let o=0,c=!0,u=e.firstChild;const h=t.firstChild;if(h){for(let m=0,g=0;mnew r(m,n,g)),new v$(-1,!1)},apply(o,c){return c.apply(o)}},props:{attributes:o=>{const c=kr.getState(o);return c&&c.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,c)=>{b$(o,c,t,s)},mouseleave:o=>{w$(o)},mousedown:(o,c)=>{N$(o,c,e,n)}},decorations:o=>{const c=kr.getState(o);if(c&&c.activeHandle>-1)return E$(o,c.activeHandle)},nodeViews:{}}});return a}var v$=class Uu{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(kr);if(r&&r.setHandle!=null)return new Uu(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Uu(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let s=e.mapping.map(n.activeHandle,-1);return cx(e.doc.resolve(s))||(s=-1),new Uu(s,n.dragging)}return n}};function b$(t,e,n,r){if(!t.editable)return;const s=kr.getState(t.state);if(s&&!s.dragging){const a=k$(e.target);let o=-1;if(a){const{left:c,right:u}=a.getBoundingClientRect();e.clientX-c<=n?o=Kw(t,e,"left",n):u-e.clientX<=n&&(o=Kw(t,e,"right",n))}if(o!=s.activeHandle){if(!r&&o!==-1){const c=t.state.doc.resolve(o),u=c.node(-1),h=Jt.get(u),f=c.start(-1);if(h.colCount(c.pos-f)+c.nodeAfter.attrs.colspan-1==h.width-1)return}NC(t,o)}}}function w$(t){if(!t.editable)return;const e=kr.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&NC(t,-1)}function N$(t,e,n,r){var s;if(!t.editable)return!1;const a=(s=t.dom.ownerDocument.defaultView)!==null&&s!==void 0?s:window,o=kr.getState(t.state);if(!o||o.activeHandle==-1||o.dragging)return!1;const c=t.state.doc.nodeAt(o.activeHandle),u=j$(t,o.activeHandle,c.attrs);t.dispatch(t.state.tr.setMeta(kr,{setDragging:{startX:e.clientX,startWidth:u}}));function h(m){a.removeEventListener("mouseup",h),a.removeEventListener("mousemove",f);const g=kr.getState(t.state);g!=null&&g.dragging&&(S$(t,g.activeHandle,qw(g.dragging,m,n)),t.dispatch(t.state.tr.setMeta(kr,{setDragging:null})))}function f(m){if(!m.which)return h(m);const g=kr.getState(t.state);if(g&&g.dragging){const y=qw(g.dragging,m,n);Gw(t,g.activeHandle,y,r)}}return Gw(t,o.activeHandle,u,r),a.addEventListener("mouseup",h),a.addEventListener("mousemove",f),e.preventDefault(),!0}function j$(t,e,{colspan:n,colwidth:r}){const s=r&&r[r.length-1];if(s)return s;const a=t.domAtPos(e);let o=a.node.childNodes[a.offset].offsetWidth,c=n;if(r)for(let u=0;u{var e,n;const r=t.getAttribute("colwidth"),s=r?r.split(",").map(a=>parseInt(a,10)):null;if(!s){const a=(e=t.closest("table"))==null?void 0:e.querySelectorAll("colgroup > col"),o=Array.from(((n=t.parentElement)==null?void 0:n.children)||[]).indexOf(t);if(o&&o>-1&&a&&a[o]){const c=a[o].getAttribute("width");return c?[parseInt(c,10)]:null}}return s}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:t}){return["td",yt(this.options.HTMLAttributes,t),0]}}),kC=un.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:t}){return["th",yt(this.options.HTMLAttributes,t),0]}}),SC=un.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:t}){return["tr",yt(this.options.HTMLAttributes,t),0]}});function hx(t,e){return e?["width",`${Math.max(e,t)}px`]:["min-width",`${t}px`]}function Jw(t,e,n,r,s,a){var o;let c=0,u=!0,h=e.firstChild;const f=t.firstChild;if(f!==null)for(let g=0,y=0;g{const r=t.nodes[n];r.spec.tableRole&&(e[r.spec.tableRole]=r)}),t.cached.tableNodeTypes=e,e}function P$(t,e,n,r,s){const a=R$(t),o=[],c=[];for(let h=0;h{const{selection:e}=t.state;if(!I$(e))return!1;let n=0;const r=o2(e.ranges[0].$from,a=>a.type.name==="table");return r==null||r.node.descendants(a=>{if(a.type.name==="table")return!1;["tableCell","tableHeader"].includes(a.type.name)&&(n+=1)}),n===e.ranges.length?(t.commands.deleteTable(),!0):!1},O$="";function D$(t){return(t||"").replace(/\s+/g," ").trim()}function L$(t,e,n={}){var r;const s=(r=n.cellLineSeparator)!=null?r:O$;if(!t||!t.content||t.content.length===0)return"";const a=[];t.content.forEach(v=>{const j=[];v.content&&v.content.forEach(w=>{let k="";w.content&&Array.isArray(w.content)&&w.content.length>1?k=w.content.map(O=>e.renderChildren(O)).join(s):k=w.content?e.renderChildren(w.content):"";const E=D$(k),C=w.type==="tableHeader";j.push({text:E,isHeader:C})}),a.push(j)});const o=a.reduce((v,j)=>Math.max(v,j.length),0);if(o===0)return"";const c=new Array(o).fill(0);a.forEach(v=>{var j;for(let w=0;wc[w]&&(c[w]=E),c[w]<3&&(c[w]=3)}});const u=(v,j)=>v+" ".repeat(Math.max(0,j-v.length)),h=a[0],f=h.some(v=>v.isHeader);let m=` +`),[a,o]=zz(s);if(a.length===0)return;const c=iC(a,0,n);return c.length===0?void 0:{type:"list",ordered:!0,start:((r=a[0])==null?void 0:r.number)||1,items:c,raw:s.slice(0,o).join(` +`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Fz,this.editor.getAttributes(Mw)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=il({find:Aw,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=il({find:Aw,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Mw)}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1],editor:this.editor})),[t]}}),Bz=/^\s*(\[([( |x])?\])\s$/,Vz=un.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",yt(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(t,e)=>{const n=[];if(t.tokens&&t.tokens.length>0?n.push(e.createNode("paragraph",{},e.parseInline(t.tokens))):t.text?n.push(e.createNode("paragraph",{},[e.createNode("text",{text:t.text})])):n.push(e.createNode("paragraph",{},[])),t.nestedTokens&&t.nestedTokens.length>0){const r=e.parseChildren(t.nestedTokens);n.push(...r)}return e.createNode("taskItem",{checked:t.checked||!1},n)},renderMarkdown:(t,e)=>{var n;const s=`- [${(n=t.attrs)!=null&&n.checked?"x":" "}] `;return w0(t,e,s)},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:r})=>{const s=document.createElement("li"),a=document.createElement("label"),o=document.createElement("span"),c=document.createElement("input"),u=document.createElement("div"),h=m=>{var g,y;c.ariaLabel=((y=(g=this.options.a11y)==null?void 0:g.checkboxLabel)==null?void 0:y.call(g,m,c.checked))||`Task item checkbox for ${m.textContent||"empty task item"}`};h(t),a.contentEditable="false",c.type="checkbox",c.addEventListener("mousedown",m=>m.preventDefault()),c.addEventListener("change",m=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){c.checked=!c.checked;return}const{checked:g}=m.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:y})=>{const v=n();if(typeof v!="number")return!1;const j=y.doc.nodeAt(v);return y.setNodeMarkup(v,void 0,{...j==null?void 0:j.attrs,checked:g}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,g)||(c.checked=!c.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([m,g])=>{s.setAttribute(m,g)}),s.dataset.checked=t.attrs.checked,c.checked=t.attrs.checked,a.append(c,o),s.append(a,u),Object.entries(e).forEach(([m,g])=>{s.setAttribute(m,g)});let f=new Set(Object.keys(e));return{dom:s,contentDOM:u,update:m=>{if(m.type!==this.type)return!1;s.dataset.checked=m.attrs.checked,c.checked=m.attrs.checked,h(m);const g=r.extensionManager.attributes,y=zc(m,g),v=new Set(Object.keys(y)),j=this.options.HTMLAttributes;return f.forEach(w=>{v.has(w)||(w in j?s.setAttribute(w,j[w]):s.removeAttribute(w))}),Object.entries(y).forEach(([w,k])=>{k==null?w in j?s.setAttribute(w,j[w]):s.removeAttribute(w):s.setAttribute(w,k)}),f=v,!0}}}},addInputRules(){return[il({find:Bz,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}}),Hz=un.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",yt(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},parseMarkdown:(t,e)=>e.createNode("taskList",{},e.parseChildren(t.items||[])),renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`):"",markdownTokenizer:{name:"taskList",level:"block",start(t){var e;const n=(e=t.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))==null?void 0:e.index;return n!==void 0?n:-1},tokenize(t,e,n){const r=a=>{const o=Jg(a,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:c=>({indentLevel:c[1].length,mainContent:c[4],checked:c[3].toLowerCase()==="x"}),createToken:(c,u)=>({type:"taskItem",raw:"",mainContent:c.mainContent,indentLevel:c.indentLevel,checked:c.checked,text:c.mainContent,tokens:n.inlineTokens(c.mainContent),nestedTokens:u}),customNestedParser:r},n);return o?[{type:"taskList",raw:o.raw,items:o.items}]:n.blockTokens(a)},s=Jg(t,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:a=>({indentLevel:a[1].length,mainContent:a[4],checked:a[3].toLowerCase()==="x"}),createToken:(a,o)=>({type:"taskItem",raw:"",mainContent:a.mainContent,indentLevel:a.indentLevel,checked:a.checked,text:a.mainContent,tokens:n.inlineTokens(a.mainContent),nestedTokens:o}),customNestedParser:r},n);if(s)return{type:"taskList",raw:s.raw,items:s.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});Yt.create({name:"listKit",addExtensions(){const t=[];return this.options.bulletList!==!1&&t.push(Q2.configure(this.options.bulletList)),this.options.listItem!==!1&&t.push(X2.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(sC.configure(this.options.listKeymap)),this.options.orderedList!==!1&&t.push(aC.configure(this.options.orderedList)),this.options.taskItem!==!1&&t.push(Vz.configure(this.options.taskItem)),this.options.taskList!==!1&&t.push(Hz.configure(this.options.taskList)),t}});var Rw=" ",Wz=" ",Uz=un.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",yt(this.options.HTMLAttributes,t),0]},parseMarkdown:(t,e)=>{const n=t.tokens||[];if(n.length===1&&n[0].type==="image")return e.parseChildren([n[0]]);const r=e.parseInline(n);return r.length===1&&r[0].type==="text"&&(r[0].text===Rw||r[0].text===Wz)?e.createNode("paragraph",void 0,[]):e.createNode("paragraph",void 0,r)},renderMarkdown:(t,e)=>{if(!t)return"";const n=Array.isArray(t.content)?t.content:[];return n.length===0?Rw:e.renderChildren(n)},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Kz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,qz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,Gz=ro.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",yt(this.options.HTMLAttributes,t),0]},markdownTokenName:"del",parseMarkdown:(t,e)=>e.applyMark("strike",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`~~${e.renderChildren(t)}~~`,addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[sl({find:Kz,type:this.type})]},addPasteRules(){return[Ya({find:qz,type:this.type})]}}),Jz=un.create({name:"text",group:"inline",parseMarkdown:t=>({type:"text",text:t.text||""}),renderMarkdown:t=>t.text||""}),Yz=ro.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",yt(this.options.HTMLAttributes,t),0]},parseMarkdown(t,e){return e.applyMark(this.name||"underline",e.parseInline(t.tokens||[]))},renderMarkdown(t,e){return`++${e.renderChildren(t)}++`},markdownTokenizer:{name:"underline",level:"inline",start(t){return t.indexOf("++")},tokenize(t,e,n){const s=/^(\+\+)([\s\S]+?)(\+\+)/.exec(t);if(!s)return;const a=s[2].trim();return{type:"underline",raw:s[0],text:a,tokens:n.inlineTokens(a)}}},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function Qz(t={}){return new Pt({view(e){return new Xz(e,t)}})}class Xz{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(s=>{let a=o=>{this[s](o)};return e.dom.addEventListener(s,a),{name:s,handler:a}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r,s=this.editorView.dom,a=s.getBoundingClientRect(),o=a.width/s.offsetWidth,c=a.height/s.offsetHeight;if(n){let m=e.nodeBefore,g=e.nodeAfter;if(m||g){let y=this.editorView.nodeDOM(this.cursorPos-(m?m.nodeSize:0));if(y){let v=y.getBoundingClientRect(),j=m?v.bottom:v.top;m&&g&&(j=(j+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let w=this.width/2*c;r={left:v.left,right:v.right,top:j-w,bottom:j+w}}}}if(!r){let m=this.editorView.coordsAtPos(this.cursorPos),g=this.width/2*o;r={left:m.left-g,right:m.left+g,top:m.top,bottom:m.bottom}}let u=this.editorView.dom.offsetParent;this.element||(this.element=u.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let h,f;if(!u||u==document.body&&getComputedStyle(u).position=="static")h=-pageXOffset,f=-pageYOffset;else{let m=u.getBoundingClientRect(),g=m.width/u.offsetWidth,y=m.height/u.offsetHeight;h=m.left-u.scrollLeft*g,f=m.top-u.scrollTop*y}this.element.style.left=(r.left-h)/o+"px",this.element.style.top=(r.top-f)/c+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/c+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),s=r&&r.type.spec.disableDropCursor,a=typeof s=="function"?s(this.editorView,n,e):s;if(n&&!a){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let c=Xk(this.editorView.state.doc,o,this.editorView.dragging.slice);c!=null&&(o=c)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class Gt extends Je{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return Gt.valid(r)?new Gt(r):Je.near(r)}content(){return Pe.empty}eq(e){return e instanceof Gt&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Gt(e.resolve(n.pos))}getBookmark(){return new I0(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!Zz(e)||!e7(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let s=n.contentMatchAt(e.index()).defaultType;return s&&s.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&Gt.valid(e))return e;let s=e.pos,a=null;for(let o=e.depth;;o--){let c=e.node(o);if(n>0?e.indexAfter(o)0){a=c.child(n>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;s+=n;let u=e.doc.resolve(s);if(Gt.valid(u))return u}for(;;){let o=n>0?a.firstChild:a.lastChild;if(!o){if(a.isAtom&&!a.isText&&!He.isSelectable(a)){e=e.doc.resolve(s+a.nodeSize*n),r=!1;continue e}break}a=o,s+=n;let c=e.doc.resolve(s);if(Gt.valid(c))return c}return null}}}Gt.prototype.visible=!1;Gt.findFrom=Gt.findGapCursorFrom;Je.jsonID("gapcursor",Gt);class I0{constructor(e){this.pos=e}map(e){return new I0(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return Gt.valid(n)?new Gt(n):Je.near(n)}}function oC(t){return t.isAtom||t.spec.isolating||t.spec.createGapCursor}function Zz(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let s=r.child(n-1);;s=s.lastChild){if(s.childCount==0&&!s.inlineContent||oC(s.type))return!0;if(s.inlineContent)return!1}}return!0}function e7(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let s=r.child(n);;s=s.firstChild){if(s.childCount==0&&!s.inlineContent||oC(s.type))return!0;if(s.inlineContent)return!1}}return!0}function t7(){return new Pt({props:{decorations:i7,createSelectionBetween(t,e,n){return e.pos==n.pos&&Gt.valid(n)?new Gt(n):null},handleClick:r7,handleKeyDown:n7,handleDOMEvents:{beforeinput:s7}}})}const n7=u0({ArrowLeft:Ru("horiz",-1),ArrowRight:Ru("horiz",1),ArrowUp:Ru("vert",-1),ArrowDown:Ru("vert",1)});function Ru(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,s,a){let o=r.selection,c=e>0?o.$to:o.$from,u=o.empty;if(o instanceof We){if(!a.endOfTextblock(n)||c.depth==0)return!1;u=!1,c=r.doc.resolve(e>0?c.after():c.before())}let h=Gt.findGapCursorFrom(c,e,u);return h?(s&&s(r.tr.setSelection(new Gt(h))),!0):!1}}function r7(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!Gt.valid(r))return!1;let s=t.posAtCoords({left:n.clientX,top:n.clientY});return s&&s.inside>-1&&He.isSelectable(t.state.doc.nodeAt(s.inside))?!1:(t.dispatch(t.state.tr.setSelection(new Gt(r))),!0)}function s7(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof Gt))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let s=me.empty;for(let o=r.length-1;o>=0;o--)s=me.from(r[o].createAndFill(null,s));let a=t.state.tr.replace(n.pos,n.pos,new Pe(s,0,0));return a.setSelection(We.near(a.doc.resolve(n.pos+1))),t.dispatch(a),!1}function i7(t){if(!(t.selection instanceof Gt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",St.create(t.doc,[gn.widget(t.selection.head,e,{key:"gapcursor"})])}var Hh=200,Sn=function(){};Sn.prototype.append=function(e){return e.length?(e=Sn.from(e),!this.length&&e||e.length=n?Sn.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};Sn.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};Sn.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};Sn.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var s=[];return this.forEach(function(a,o){return s.push(e(a,o))},n,r),s};Sn.from=function(e){return e instanceof Sn?e:e&&e.length?new lC(e):Sn.empty};var lC=(function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(s,a){return s==0&&a==this.length?this:new e(this.values.slice(s,a))},e.prototype.getInner=function(s){return this.values[s]},e.prototype.forEachInner=function(s,a,o,c){for(var u=a;u=o;u--)if(s(this.values[u],c+u)===!1)return!1},e.prototype.leafAppend=function(s){if(this.length+s.length<=Hh)return new e(this.values.concat(s.flatten()))},e.prototype.leafPrepend=function(s){if(this.length+s.length<=Hh)return new e(s.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e})(Sn);Sn.empty=new lC([]);var a7=(function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rc&&this.right.forEachInner(r,Math.max(s-c,0),Math.min(this.length,a)-c,o+c)===!1)return!1},e.prototype.forEachInvertedInner=function(r,s,a,o){var c=this.left.length;if(s>c&&this.right.forEachInvertedInner(r,s-c,Math.max(a,c)-c,o+c)===!1||a=a?this.right.slice(r-a,s-a):this.left.slice(r,a).append(this.right.slice(0,s-a))},e.prototype.leafAppend=function(r){var s=this.right.leafAppend(r);if(s)return new e(this.left,s)},e.prototype.leafPrepend=function(r){var s=this.left.leafPrepend(r);if(s)return new e(s,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e})(Sn);const o7=500;class is{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let s,a;n&&(s=this.remapping(r,this.items.length),a=s.maps.length);let o=e.tr,c,u,h=[],f=[];return this.items.forEach((m,g)=>{if(!m.step){s||(s=this.remapping(r,g+1),a=s.maps.length),a--,f.push(m);return}if(s){f.push(new Ai(m.map));let y=m.step.map(s.slice(a)),v;y&&o.maybeStep(y).doc&&(v=o.mapping.maps[o.mapping.maps.length-1],h.push(new Ai(v,void 0,void 0,h.length+f.length))),a--,v&&s.appendMap(v,a)}else o.maybeStep(m.step);if(m.selection)return c=s?m.selection.map(s.slice(a)):m.selection,u=new is(this.items.slice(0,r).append(f.reverse().concat(h)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:o,selection:c}}addTransform(e,n,r,s){let a=[],o=this.eventCount,c=this.items,u=!s&&c.length?c.get(c.length-1):null;for(let f=0;fc7&&(c=l7(c,h),o-=h),new is(c.append(a),o)}remapping(e,n){let r=new Pc;return this.items.forEach((s,a)=>{let o=s.mirrorOffset!=null&&a-s.mirrorOffset>=e?r.maps.length-s.mirrorOffset:void 0;r.appendMap(s.map,o)},e,n),r}addMaps(e){return this.eventCount==0?this:new is(this.items.append(e.map(n=>new Ai(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],s=Math.max(0,this.items.length-n),a=e.mapping,o=e.steps.length,c=this.eventCount;this.items.forEach(g=>{g.selection&&c--},s);let u=n;this.items.forEach(g=>{let y=a.getMirror(--u);if(y==null)return;o=Math.min(o,y);let v=a.maps[y];if(g.step){let j=e.steps[y].invert(e.docs[y]),w=g.selection&&g.selection.map(a.slice(u+1,y));w&&c++,r.push(new Ai(v,j,w))}else r.push(new Ai(v))},s);let h=[];for(let g=n;go7&&(m=m.compress(this.items.length-r.length)),m}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,s=[],a=0;return this.items.forEach((o,c)=>{if(c>=e)s.push(o),o.selection&&a++;else if(o.step){let u=o.step.map(n.slice(r)),h=u&&u.getMap();if(r--,h&&n.appendMap(h,r),u){let f=o.selection&&o.selection.map(n.slice(r));f&&a++;let m=new Ai(h.invert(),u,f),g,y=s.length-1;(g=s.length&&s[y].merge(m))?s[y]=g:s.push(m)}}else o.map&&r--},this.items.length,0),new is(Sn.from(s.reverse()),a)}}is.empty=new is(Sn.empty,0);function l7(t,e){let n;return t.forEach((r,s)=>{if(r.selection&&e--==0)return n=s,!1}),t.slice(n)}let Ai=class cC{constructor(e,n,r,s){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=s}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new cC(n.getMap().invert(),n,this.selection)}}};class Di{constructor(e,n,r,s,a){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=s,this.prevComposition=a}}const c7=20;function d7(t,e,n,r){let s=n.getMeta(Va),a;if(s)return s.historyState;n.getMeta(f7)&&(t=new Di(t.done,t.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(o&&o.getMeta(Va))return o.getMeta(Va).redo?new Di(t.done.addTransform(n,void 0,r,Hu(e)),t.undone,Pw(n.mapping.maps),t.prevTime,t.prevComposition):new Di(t.done,t.undone.addTransform(n,void 0,r,Hu(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let c=n.getMeta("composition"),u=t.prevTime==0||!o&&t.prevComposition!=c&&(t.prevTime<(n.time||0)-r.newGroupDelay||!u7(n,t.prevRanges)),h=o?sg(t.prevRanges,n.mapping):Pw(n.mapping.maps);return new Di(t.done.addTransform(n,u?e.selection.getBookmark():void 0,r,Hu(e)),is.empty,h,n.time,c??t.prevComposition)}else return(a=n.getMeta("rebased"))?new Di(t.done.rebased(n,a),t.undone.rebased(n,a),sg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new Di(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),sg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function u7(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,s)=>{for(let a=0;a=e[a]&&(n=!0)}),n}function Pw(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,s,a,o)=>e.push(a,o));return e}function sg(t,e){if(!t)return null;let n=[];for(let r=0;r{let s=Va.getState(n);if(!s||(t?s.undone:s.done).eventCount==0)return!1;if(r){let a=h7(s,n,t);a&&r(e?a.scrollIntoView():a)}return!0}}const uC=dC(!1,!0),hC=dC(!0,!0);Yt.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc;if(((t==null?void 0:t.mode)||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Pt({key:new Bt("characterCount"),appendTransaction:(e,n,r)=>{if(t)return;const s=this.options.limit;if(s==null||s===0){t=!0;return}const a=this.storage.characters({node:r.doc});if(a>s){const o=a-s,c=0,u=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${s} characters. Content was automatically trimmed.`);const h=r.tr.deleteRange(c,u);return t=!0,h}t=!0},filterTransaction:(e,n)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const s=this.storage.characters({node:n.doc}),a=this.storage.characters({node:e.doc});if(a<=r||s>r&&a>r&&a<=s)return!0;if(s>r&&a>r&&a>s||!e.getMeta("paste"))return!1;const c=e.selection.$head.pos,u=a-r,h=c-u,f=c;return e.deleteRange(h,f),!(this.storage.characters({node:e.doc})>r)}})]}});var m7=Yt.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[Qz(this.options)]}});Yt.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new Pt({key:new Bt("focus"),props:{decorations:({doc:t,selection:e})=>{const{isEditable:n,isFocused:r}=this.editor,{anchor:s}=e,a=[];if(!n||!r)return St.create(t,[]);let o=0;this.options.mode==="deepest"&&t.descendants((u,h)=>{if(u.isText)return;if(!(s>=h&&s<=h+u.nodeSize-1))return!1;o+=1});let c=0;return t.descendants((u,h)=>{if(u.isText||!(s>=h&&s<=h+u.nodeSize-1))return!1;if(c+=1,this.options.mode==="deepest"&&o-c>0||this.options.mode==="shallowest"&&c>1)return this.options.mode==="deepest";a.push(gn.node(h,h+u.nodeSize,{class:this.options.className}))}),St.create(t,a)}}})]}});var g7=Yt.create({name:"gapCursor",addProseMirrorPlugins(){return[t7()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=xt(Ve(t,"allowGapCursor",n)))!=null?e:null}}}),Ow="placeholder";function x7(t){return t.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}var y7=Yt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:Ow,placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){const t=this.options.dataAttribute?`data-${x7(this.options.dataAttribute)}`:`data-${Ow}`;return[new Pt({key:new Bt("placeholder"),props:{decorations:({doc:e,selection:n})=>{const r=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:s}=n,a=[];if(!r)return null;const o=this.editor.isEmpty;return e.descendants((c,u)=>{const h=s>=u&&s<=u+c.nodeSize,f=!c.isLeaf&&gf(c);if((h||!this.options.showOnlyCurrent)&&f){const m=[this.options.emptyNodeClass];o&&m.push(this.options.emptyEditorClass);const g=gn.node(u,u+c.nodeSize,{class:m.join(" "),[t]:typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:c,pos:u,hasAnchor:h}):this.options.placeholder});a.push(g)}return this.options.includeChildren}),St.create(e,a)}}})]}});Yt.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:t,options:e}=this;return[new Pt({key:new Bt("selection"),props:{decorations(n){return n.selection.empty||t.isFocused||!t.isEditable||m2(n.selection)||t.view.dragging?null:St.create(n.doc,[gn.inline(n.selection.from,n.selection.to,{class:e.className})])}}})]}});function Dw({types:t,node:e}){return e&&Array.isArray(t)&&t.includes(e.type)||(e==null?void 0:e.type)===t}var v7=Yt.create({name:"trailingNode",addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){var t;const e=new Bt(this.name),n=this.options.node||((t=this.editor.schema.topNodeType.contentMatch.defaultType)==null?void 0:t.name)||"paragraph",r=Object.entries(this.editor.schema.nodes).map(([,s])=>s).filter(s=>(this.options.notAfter||[]).concat(n).includes(s.name));return[new Pt({key:e,appendTransaction:(s,a,o)=>{const{doc:c,tr:u,schema:h}=o,f=e.getState(o),m=c.content.size,g=h.nodes[n];if(f)return u.insert(m,g.create())},state:{init:(s,a)=>{const o=a.tr.doc.lastChild;return!Dw({node:o,types:r})},apply:(s,a)=>{if(!s.docChanged||s.getMeta("__uniqueIDTransaction"))return a;const o=s.doc.lastChild;return!Dw({node:o,types:r})}}})]}}),b7=Yt.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>uC(t,e),redo:()=>({state:t,dispatch:e})=>hC(t,e)}},addProseMirrorPlugins(){return[p7(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),w7=Yt.create({name:"starterKit",addExtensions(){var t,e,n,r;const s=[];return this.options.bold!==!1&&s.push(U_.configure(this.options.bold)),this.options.blockquote!==!1&&s.push(F_.configure(this.options.blockquote)),this.options.bulletList!==!1&&s.push(Q2.configure(this.options.bulletList)),this.options.code!==!1&&s.push(G_.configure(this.options.code)),this.options.codeBlock!==!1&&s.push(Q_.configure(this.options.codeBlock)),this.options.document!==!1&&s.push(X_.configure(this.options.document)),this.options.dropcursor!==!1&&s.push(m7.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&s.push(g7.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&s.push(Z_.configure(this.options.hardBreak)),this.options.heading!==!1&&s.push(ez.configure(this.options.heading)),this.options.undoRedo!==!1&&s.push(b7.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&s.push(tz.configure(this.options.horizontalRule)),this.options.italic!==!1&&s.push(az.configure(this.options.italic)),this.options.listItem!==!1&&s.push(X2.configure(this.options.listItem)),this.options.listKeymap!==!1&&s.push(sC.configure((t=this.options)==null?void 0:t.listKeymap)),this.options.link!==!1&&s.push(Y2.configure((e=this.options)==null?void 0:e.link)),this.options.orderedList!==!1&&s.push(aC.configure(this.options.orderedList)),this.options.paragraph!==!1&&s.push(Uz.configure(this.options.paragraph)),this.options.strike!==!1&&s.push(Gz.configure(this.options.strike)),this.options.text!==!1&&s.push(Jz.configure(this.options.text)),this.options.underline!==!1&&s.push(Yz.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&s.push(v7.configure((r=this.options)==null?void 0:r.trailingNode)),s}}),N7=w7,j7=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,k7=un.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{},resize:!1}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",yt(this.options.HTMLAttributes,t)]},parseMarkdown:(t,e)=>e.createNode("image",{src:t.href,title:t.title,alt:t.text}),renderMarkdown:t=>{var e,n,r,s,a,o;const c=(n=(e=t.attrs)==null?void 0:e.src)!=null?n:"",u=(s=(r=t.attrs)==null?void 0:r.alt)!=null?s:"",h=(o=(a=t.attrs)==null?void 0:a.title)!=null?o:"";return h?`![${u}](${c} "${h}")`:`![${u}](${c})`},addNodeView(){if(!this.options.resize||!this.options.resize.enabled||typeof document>"u")return null;const{directions:t,minWidth:e,minHeight:n,alwaysPreserveAspectRatio:r}=this.options.resize;return({node:s,getPos:a,HTMLAttributes:o,editor:c})=>{const u=document.createElement("img");Object.entries(o).forEach(([m,g])=>{if(g!=null)switch(m){case"width":case"height":break;default:u.setAttribute(m,g);break}}),u.src=o.src;const h=new E6({element:u,editor:c,node:s,getPos:a,onResize:(m,g)=>{u.style.width=`${m}px`,u.style.height=`${g}px`},onCommit:(m,g)=>{const y=a();y!==void 0&&this.editor.chain().setNodeSelection(y).updateAttributes(this.name,{width:m,height:g}).run()},onUpdate:(m,g,y)=>m.type===s.type,options:{directions:t,min:{width:e,height:n},preserveAspectRatio:r===!0}}),f=h.dom;return f.style.visibility="hidden",f.style.pointerEvents="none",u.onload=()=>{f.style.visibility="",f.style.pointerEvents=""},h}},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[P2({find:j7,type:this.type,getAttributes:t=>{const[,,e,n,r]=t;return{src:n,alt:e,title:r}}})]}}),S7=k7;function C7(t){var e;const{char:n,allowSpaces:r,allowToIncludeChar:s,allowedPrefixes:a,startOfLine:o,$position:c}=t,u=r&&!s,h=M6(n),f=new RegExp(`\\s${h}$`),m=o?"^":"",g=s?"":h,y=u?new RegExp(`${m}${h}.*?(?=\\s${g}|$)`,"gm"):new RegExp(`${m}(?:^)?${h}[^\\s${g}]*`,"gm"),v=((e=c.nodeBefore)==null?void 0:e.isText)&&c.nodeBefore.text;if(!v)return null;const j=c.pos-v.length,w=Array.from(v.matchAll(y)).pop();if(!w||w.input===void 0||w.index===void 0)return null;const k=w.input.slice(Math.max(0,w.index-1),w.index),E=new RegExp(`^[${a==null?void 0:a.join("")}\0]?$`).test(k);if(a!==null&&!E)return null;const C=j+w.index;let T=C+w[0].length;return u&&f.test(v.slice(T-1,T+1))&&(w[0]+=" ",T+=1),C=c.pos?{range:{from:C,to:T},query:w[0].slice(n.length),text:w[0]}:null}var E7=new Bt("suggestion");function T7({pluginKey:t=E7,editor:e,char:n="@",allowSpaces:r=!1,allowToIncludeChar:s=!1,allowedPrefixes:a=[" "],startOfLine:o=!1,decorationTag:c="span",decorationClass:u="suggestion",decorationContent:h="",decorationEmptyClass:f="is-empty",command:m=()=>null,items:g=()=>[],render:y=()=>({}),allow:v=()=>!0,findSuggestionMatch:j=C7,shouldShow:w}){let k;const E=y==null?void 0:y(),C=()=>{const R=e.state.selection.$anchor.pos,P=e.view.coordsAtPos(R),{top:I,right:L,bottom:X,left:Z}=P;try{return new DOMRect(Z,I,L-Z,X-I)}catch{return null}},T=(R,P)=>P?()=>{const I=t.getState(e.state),L=I==null?void 0:I.decorationId,X=R.dom.querySelector(`[data-decoration-id="${L}"]`);return(X==null?void 0:X.getBoundingClientRect())||null}:C;function O(R,P){var I;try{const X=t.getState(R.state),Z=X!=null&&X.decorationId?R.dom.querySelector(`[data-decoration-id="${X.decorationId}"]`):null,Y={editor:e,range:(X==null?void 0:X.range)||{from:0,to:0},query:(X==null?void 0:X.query)||null,text:(X==null?void 0:X.text)||null,items:[],command:W=>m({editor:e,range:(X==null?void 0:X.range)||{from:0,to:0},props:W}),decorationNode:Z,clientRect:T(R,Z)};(I=E==null?void 0:E.onExit)==null||I.call(E,Y)}catch{}const L=R.state.tr.setMeta(P,{exit:!0});R.dispatch(L)}const B=new Pt({key:t,view(){return{update:async(R,P)=>{var I,L,X,Z,Y,W,D;const $=(I=this.key)==null?void 0:I.getState(P),ae=(L=this.key)==null?void 0:L.getState(R.state),_=$.active&&ae.active&&$.range.from!==ae.range.from,se=!$.active&&ae.active,q=$.active&&!ae.active,z=!se&&!q&&$.query!==ae.query,H=se||_&&z,de=z||_,K=q||_&&z;if(!H&&!de&&!K)return;const fe=K&&!H?$:ae,Q=R.dom.querySelector(`[data-decoration-id="${fe.decorationId}"]`);k={editor:e,range:fe.range,query:fe.query,text:fe.text,items:[],command:oe=>m({editor:e,range:fe.range,props:oe}),decorationNode:Q,clientRect:T(R,Q)},H&&((X=E==null?void 0:E.onBeforeStart)==null||X.call(E,k)),de&&((Z=E==null?void 0:E.onBeforeUpdate)==null||Z.call(E,k)),(de||H)&&(k.items=await g({editor:e,query:fe.query})),K&&((Y=E==null?void 0:E.onExit)==null||Y.call(E,k)),de&&((W=E==null?void 0:E.onUpdate)==null||W.call(E,k)),H&&((D=E==null?void 0:E.onStart)==null||D.call(E,k))},destroy:()=>{var R;k&&((R=E==null?void 0:E.onExit)==null||R.call(E,k))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(R,P,I,L){const{isEditable:X}=e,{composing:Z}=e.view,{selection:Y}=R,{empty:W,from:D}=Y,$={...P},ae=R.getMeta(t);if(ae&&ae.exit)return $.active=!1,$.decorationId=null,$.range={from:0,to:0},$.query=null,$.text=null,$;if($.composing=Z,X&&(W||e.view.composing)){(DP.range.to)&&!Z&&!P.composing&&($.active=!1);const _=j({char:n,allowSpaces:r,allowToIncludeChar:s,allowedPrefixes:a,startOfLine:o,$position:Y.$from}),se=`id_${Math.floor(Math.random()*4294967295)}`;_&&v({editor:e,state:L,range:_.range,isActive:P.active})&&(!w||w({editor:e,range:_.range,query:_.query,text:_.text,transaction:R}))?($.active=!0,$.decorationId=P.decorationId?P.decorationId:se,$.range=_.range,$.query=_.query,$.text=_.text):$.active=!1}else $.active=!1;return $.active||($.decorationId=null,$.range={from:0,to:0},$.query=null,$.text=null),$}},props:{handleKeyDown(R,P){var I,L,X,Z;const{active:Y,range:W}=B.getState(R.state);if(!Y)return!1;if(P.key==="Escape"||P.key==="Esc"){const $=B.getState(R.state),ae=(I=k==null?void 0:k.decorationNode)!=null?I:null,_=ae??($!=null&&$.decorationId?R.dom.querySelector(`[data-decoration-id="${$.decorationId}"]`):null);if(((L=E==null?void 0:E.onKeyDown)==null?void 0:L.call(E,{view:R,event:P,range:$.range}))||!1)return!0;const q={editor:e,range:$.range,query:$.query,text:$.text,items:[],command:z=>m({editor:e,range:$.range,props:z}),decorationNode:_,clientRect:_?()=>_.getBoundingClientRect()||null:null};return(X=E==null?void 0:E.onExit)==null||X.call(E,q),O(R,t),!0}return((Z=E==null?void 0:E.onKeyDown)==null?void 0:Z.call(E,{view:R,event:P,range:W}))||!1},decorations(R){const{active:P,range:I,decorationId:L,query:X}=B.getState(R);if(!P)return null;const Z=!(X!=null&&X.length),Y=[u];return Z&&Y.push(f),St.create(R.doc,[gn.inline(I.from,I.to,{nodeName:c,class:Y.join(" "),"data-decoration-id":L,"data-decoration-content":h})])}}});return B}function M7({editor:t,overrideSuggestionOptions:e,extensionName:n,char:r="@"}){const s=new Bt;return{editor:t,char:r,pluginKey:s,command:({editor:a,range:o,props:c})=>{var u,h,f;const m=a.view.state.selection.$to.nodeAfter;((u=m==null?void 0:m.text)==null?void 0:u.startsWith(" "))&&(o.to+=1),a.chain().focus().insertContentAt(o,[{type:n,attrs:{...c,mentionSuggestionChar:r}},{type:"text",text:" "}]).run(),(f=(h=a.view.dom.ownerDocument.defaultView)==null?void 0:h.getSelection())==null||f.collapseToEnd()},allow:({state:a,range:o})=>{const c=a.doc.resolve(o.from),u=a.schema.nodes[n];return!!c.parent.type.contentMatch.matchType(u)},...e}}function fC(t){return(t.options.suggestions.length?t.options.suggestions:[t.options.suggestion]).map(e=>M7({editor:t.editor,overrideSuggestionOptions:e,extensionName:t.name,char:e.char}))}function Lw(t,e){const n=fC(t),r=n.find(s=>s.char===e);return r||(n.length?n[0]:null)}var A7=un.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({node:t,suggestion:e}){var n,r;return`${(n=e==null?void 0:e.char)!=null?n:"@"}${(r=t.attrs.label)!=null?r:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e,suggestion:n}){var r,s;return["span",yt(this.HTMLAttributes,t.HTMLAttributes),`${(r=n==null?void 0:n.char)!=null?r:"@"}${(s=e.attrs.label)!=null?s:e.attrs.id}`]},suggestions:[],suggestion:{}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}},mentionSuggestionChar:{default:"@",parseHTML:t=>t.getAttribute("data-mention-suggestion-char"),renderHTML:t=>({"data-mention-suggestion-char":t.mentionSuggestionChar})}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){const n=Lw(this,t.attrs.mentionSuggestionChar);if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",yt({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t,suggestion:n})];const r={...this.options};r.HTMLAttributes=yt({"data-type":this.name},this.options.HTMLAttributes,e);const s=this.options.renderHTML({options:r,node:t,suggestion:n});return typeof s=="string"?["span",yt({"data-type":this.name},this.options.HTMLAttributes,e),s]:s},...I2({nodeName:"mention",name:"@",selfClosing:!0,allowedAttributes:["id","label",{name:"mentionSuggestionChar",skipIfDefault:"@"}],parseAttributes:t=>{const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,s,a,o]=r,c=a??o;e[s==="char"?"mentionSuggestionChar":s]=c,r=n.exec(t)}return e},serializeAttributes:t=>Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e==="mentionSuggestionChar"?"char":e}="${n}"`).join(" ")}),renderText({node:t}){const e={options:this.options,node:t,suggestion:Lw(this,t.attrs.mentionSuggestionChar)};return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel(e)):this.options.renderText(e)},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:t,state:e})=>{let n=!1;const{selection:r}=e,{empty:s,anchor:a}=r;if(!s)return!1;let o=new Xs,c=0;return e.doc.nodesBetween(a-1,a,(u,h)=>{if(u.type.name===this.name)return n=!0,o=u,c=h,!1}),n&&t.insertText(this.options.deleteTriggerWithBackspace?"":o.attrs.mentionSuggestionChar,c,c+o.nodeSize),n})}},addProseMirrorPlugins(){return fC(this).map(T7)}}),R7=A7,P7=y7;let ox,lx;if(typeof WeakMap<"u"){let t=new WeakMap;ox=e=>t.get(e),lx=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;ox=r=>{for(let s=0;s(n==10&&(n=0),t[n++]=r,t[n++]=s)}var Jt=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e=n){(a||(a=[])).push({type:"overlong_rowspan",pos:f,n:k-C});break}const T=s+C*e;for(let O=0;Or&&(a+=h.attrs.colspan)}}for(let o=0;o1&&(n=!0)}e==-1?e=a:e!=a&&(e=Math.max(e,a))}return e}function D7(t,e,n){t.problems||(t.problems=[]);const r={};for(let s=0;s0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function _7(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function hs(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function bf(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=Qa(e.$head)||z7(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function z7(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function cx(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function $7(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function O0(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function pC(t,e,n){const r=t.node(-1),s=Jt.get(r),a=t.start(-1),o=s.nextCell(t.pos-a,e,n);return o==null?null:t.node(0).resolve(a+o)}function Xa(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(s=>s>0)||(r.colwidth=null)),r}function mC(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let s=0;sf!=n.pos-a);u.unshift(n.pos-a);const h=u.map(f=>{const m=r.nodeAt(f);if(!m)throw new RangeError(`No cell with offset ${f} found`);const g=a+f+1;return new rS(c.resolve(g),c.resolve(g+m.content.size))});super(h[0].$from,h[0].$to,h),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),s=e.resolve(n.map(this.$headCell.pos));if(cx(r)&&cx(s)&&O0(r,s)){const a=this.$anchorCell.node(-1)!=r.node(-1);return a&&this.isRowSelection()?Gs.rowSelection(r,s):a&&this.isColSelection()?Gs.colSelection(r,s):new Gs(r,s)}return We.between(r,s)}content(){const e=this.$anchorCell.node(-1),n=Jt.get(e),r=this.$anchorCell.start(-1),s=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),a={},o=[];for(let u=s.top;u0||w>0){let k=v.attrs;if(j>0&&(k=Xa(k,0,j)),w>0&&(k=Xa(k,k.colspan-w,w)),y.lefts.bottom){const k={...v.attrs,rowspan:Math.min(y.bottom,s.bottom)-Math.max(y.top,s.top)};y.top0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,s=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,s)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),s=Jt.get(r),a=e.start(-1),o=s.findCell(e.pos-a),c=s.findCell(n.pos-a),u=e.node(0);return o.top<=c.top?(o.top>0&&(e=u.resolve(a+s.map[o.left])),c.bottom0&&(n=u.resolve(a+s.map[c.left])),o.bottom0)return!1;const o=s+this.$anchorCell.nodeAfter.attrs.colspan,c=a+this.$headCell.nodeAfter.attrs.colspan;return Math.max(o,c)==n.width}eq(e){return e instanceof Gs&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),s=Jt.get(r),a=e.start(-1),o=s.findCell(e.pos-a),c=s.findCell(n.pos-a),u=e.node(0);return o.left<=c.left?(o.left>0&&(e=u.resolve(a+s.map[o.top*s.width])),c.right0&&(n=u.resolve(a+s.map[c.top*s.width])),o.right{e.push(gn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),St.create(t.doc,e)}function H7({$from:t,$to:e}){if(t.pos==e.pos||t.pos=0&&!(t.after(s+1)=0&&!(e.before(a+1)>e.start(a));a--,r--);return n==r&&/row|table/.test(t.node(s).type.spec.tableRole)}function W7({$from:t,$to:e}){let n,r;for(let s=t.depth;s>0;s--){const a=t.node(s);if(a.type.spec.tableRole==="cell"||a.type.spec.tableRole==="header_cell"){n=a;break}}for(let s=e.depth;s>0;s--){const a=e.node(s);if(a.type.spec.tableRole==="cell"||a.type.spec.tableRole==="header_cell"){r=a;break}}return n!==r&&e.parentOffset===0}function U7(t,e,n){const r=(e||t).selection,s=(e||t).doc;let a,o;if(r instanceof He&&(o=r.node.type.spec.tableRole)){if(o=="cell"||o=="header_cell")a=Rt.create(s,r.from);else if(o=="row"){const c=s.resolve(r.from+1);a=Rt.rowSelection(c,c)}else if(!n){const c=Jt.get(r.node),u=r.from+1,h=u+c.map[c.width*c.height-1];a=Rt.create(s,u+1,h)}}else r instanceof We&&H7(r)?a=We.create(s,r.from):r instanceof We&&W7(r)&&(a=We.create(s,r.$from.start(),r.$from.end()));return a&&(e||(e=t.tr)).setSelection(a),e}const K7=new Bt("fix-tables");function xC(t,e,n,r){const s=t.childCount,a=e.childCount;e:for(let o=0,c=0;o{s.type.spec.tableRole=="table"&&(n=q7(t,s,a,n))};return e?e.doc!=t.doc&&xC(e.doc,t.doc,0,r):t.doc.descendants(r),n}function q7(t,e,n,r){const s=Jt.get(e);if(!s.problems)return r;r||(r=t.tr);const a=[];for(let u=0;u0){let y="cell";f.firstChild&&(y=f.firstChild.type.spec.tableRole);const v=[];for(let w=0;w0?-1:0;F7(e,r,s+a)&&(a=s==0||s==e.width?null:0);for(let o=0;o0&&s0&&e.map[c-1]==u||s0?-1:0;X7(e,r,s+c)&&(c=s==0||s==e.height?null:0);for(let h=0,f=e.width*s;h0&&s0&&m==e.map[f-e.width]){const g=n.nodeAt(m).attrs;t.setNodeMarkup(t.mapping.slice(c).map(m+r),null,{...g,rowspan:g.rowspan-1}),h+=g.colspan-1}else if(s0&&n[a]==n[a-1]||r.right0&&n[s]==n[s-t]||r.bottom0){const f=u+1+h.content.size,m=_w(h)?u+1:f;a.replaceWith(m+r.tableStart,f+r.tableStart,c)}a.setSelection(new Rt(a.doc.resolve(u+r.tableStart))),e(a)}return!0}function $w(t,e){const n=qn(t.schema);return s$(({node:r})=>n[r.type.spec.tableRole])(t,e)}function s$(t){return(e,n)=>{const r=e.selection;let s,a;if(r instanceof Rt){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;s=r.$anchorCell.nodeAfter,a=r.$anchorCell.pos}else{var o;if(s=_7(r.$from),!s)return!1;a=(o=Qa(r.$from))===null||o===void 0?void 0:o.pos}if(s==null||a==null||s.attrs.colspan==1&&s.attrs.rowspan==1)return!1;if(n){let c=s.attrs;const u=[],h=c.colwidth;c.rowspan>1&&(c={...c,rowspan:1}),c.colspan>1&&(c={...c,colspan:1});const f=As(e),m=e.tr;for(let y=0;y{o.attrs[t]!==e&&a.setNodeMarkup(c,null,{...o.attrs,[t]:e})}):a.setNodeMarkup(s.pos,null,{...s.nodeAfter.attrs,[t]:e}),r(a)}return!0}}function a$(t){return function(e,n){if(!hs(e))return!1;if(n){const r=qn(e.schema),s=As(e),a=e.tr,o=s.map.cellsInRect(t=="column"?{left:s.left,top:0,right:s.right,bottom:s.map.height}:t=="row"?{left:0,top:s.top,right:s.map.width,bottom:s.bottom}:s),c=o.map(u=>s.table.nodeAt(u));for(let u=0;u{const y=g+a.tableStart,v=o.doc.nodeAt(y);v&&o.setNodeMarkup(y,m,v.attrs)}),r(o)}return!0}}Bc("row",{useDeprecatedLogic:!0});Bc("column",{useDeprecatedLogic:!0});const o$=Bc("cell",{useDeprecatedLogic:!0});function l$(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,s=t.before();r>=0;r--){const a=t.node(-1).child(r),o=a.lastChild;if(o)return s-1-o.nodeSize;s-=a.nodeSize}}else{if(t.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Pu(t,e){const n=t.selection;if(!(n instanceof Rt))return!1;if(e){const r=t.tr,s=qn(t.schema).cell.createAndFill().content;n.forEachCell((a,o)=>{a.content.eq(s)||r.replace(r.mapping.map(o+1),r.mapping.map(o+a.nodeSize-1),new Pe(s,0,0))}),r.docChanged&&e(r)}return!0}function d$(t){if(t.size===0)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const s=e.child(0),a=s.type.spec.tableRole,o=s.type.schema,c=[];if(a=="row")for(let u=0;u=0;o--){const{rowspan:c,colspan:u}=a.child(o).attrs;for(let h=s;h=e.length&&e.push(me.empty),n[s]r&&(g=g.type.createChecked(Xa(g.attrs,g.attrs.colspan,f+g.attrs.colspan-r),g.content)),h.push(g),f+=g.attrs.colspan;for(let y=1;ys&&(m=m.type.create({...m.attrs,rowspan:Math.max(1,s-m.attrs.rowspan)},m.content)),u.push(m)}a.push(me.from(u))}n=a,e=s}return{width:t,height:e,rows:n}}function f$(t,e,n,r,s,a,o){const c=t.doc.type.schema,u=qn(c);let h,f;if(s>e.width)for(let m=0,g=0;me.height){const m=[];for(let v=0,j=(e.height-1)*e.width;v=e.width?!1:n.nodeAt(e.map[j+v]).type==u.header_cell;m.push(w?f||(f=u.header_cell.createAndFill()):h||(h=u.cell.createAndFill()))}const g=u.row.create(null,me.from(m)),y=[];for(let v=e.height;v{if(!s)return!1;const a=n.selection;if(a instanceof Rt)return Wu(n,r,Je.near(a.$headCell,e));if(t!="horiz"&&!a.empty)return!1;const o=wC(s,t,e);if(o==null)return!1;if(t=="horiz")return Wu(n,r,Je.near(n.doc.resolve(a.head+e),e));{const c=n.doc.resolve(o),u=pC(c,t,e);let h;return u?h=Je.near(u,1):e<0?h=Je.near(n.doc.resolve(c.before(-1)),-1):h=Je.near(n.doc.resolve(c.after(-1)),1),Wu(n,r,h)}}}function Ou(t,e){return(n,r,s)=>{if(!s)return!1;const a=n.selection;let o;if(a instanceof Rt)o=a;else{const u=wC(s,t,e);if(u==null)return!1;o=new Rt(n.doc.resolve(u))}const c=pC(o.$headCell,t,e);return c?Wu(n,r,new Rt(o.$anchorCell,c)):!1}}function m$(t,e){const n=t.state.doc,r=Qa(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Rt(r))),!0):!1}function g$(t,e,n){if(!hs(t.state))return!1;let r=d$(n);const s=t.state.selection;if(s instanceof Rt){r||(r={width:1,height:1,rows:[me.from(dx(qn(t.state.schema).cell,n))]});const a=s.$anchorCell.node(-1),o=s.$anchorCell.start(-1),c=Jt.get(a).rectBetween(s.$anchorCell.pos-o,s.$headCell.pos-o);return r=h$(r,c.right-c.left,c.bottom-c.top),Ww(t.state,t.dispatch,o,c,r),!0}else if(r){const a=bf(t.state),o=a.start(-1);return Ww(t.state,t.dispatch,o,Jt.get(a.node(-1)).findCell(a.pos-o),r),!0}else return!1}function x$(t,e){var n;if(e.button!=0||e.ctrlKey||e.metaKey)return;const r=Uw(t,e.target);let s;if(e.shiftKey&&t.state.selection instanceof Rt)a(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(s=Qa(t.state.selection.$anchor))!=null&&((n=ag(t,e))===null||n===void 0?void 0:n.pos)!=s.pos)a(s,e),e.preventDefault();else if(!r)return;function a(u,h){let f=ag(t,h);const m=zi.getState(t.state)==null;if(!f||!O0(u,f))if(m)f=u;else return;const g=new Rt(u,f);if(m||!t.state.selection.eq(g)){const y=t.state.tr.setSelection(g);m&&y.setMeta(zi,u.pos),t.dispatch(y)}}function o(){t.root.removeEventListener("mouseup",o),t.root.removeEventListener("dragstart",o),t.root.removeEventListener("mousemove",c),zi.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(zi,-1))}function c(u){const h=u,f=zi.getState(t.state);let m;if(f!=null)m=t.state.doc.resolve(f);else if(Uw(t,h.target)!=r&&(m=ag(t,e),!m))return o();m&&a(m,h)}t.root.addEventListener("mouseup",o),t.root.addEventListener("dragstart",o),t.root.addEventListener("mousemove",c)}function wC(t,e,n){if(!(t.state.selection instanceof We))return null;const{$head:r}=t.state.selection;for(let s=r.depth-1;s>=0;s--){const a=r.node(s);if((n<0?r.index(s):r.indexAfter(s))!=(n<0?0:a.childCount))return null;if(a.type.spec.tableRole=="cell"||a.type.spec.tableRole=="header_cell"){const o=r.before(s),c=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(c)?o:null}}return null}function Uw(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function ag(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});if(!n)return null;let{inside:r,pos:s}=n;return r>=0&&Qa(t.state.doc.resolve(r))||Qa(t.state.doc.resolve(s))}var y$=class{constructor(e,n){this.node=e,this.defaultCellMinWidth=n,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${n}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),ux(e,this.colgroup,this.table,n),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,ux(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function ux(t,e,n,r,s,a){let o=0,c=!0,u=e.firstChild;const h=t.firstChild;if(h){for(let m=0,g=0;mnew r(m,n,g)),new b$(-1,!1)},apply(o,c){return c.apply(o)}},props:{attributes:o=>{const c=kr.getState(o);return c&&c.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,c)=>{w$(o,c,t,s)},mouseleave:o=>{N$(o)},mousedown:(o,c)=>{j$(o,c,e,n)}},decorations:o=>{const c=kr.getState(o);if(c&&c.activeHandle>-1)return T$(o,c.activeHandle)},nodeViews:{}}});return a}var b$=class Uu{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(kr);if(r&&r.setHandle!=null)return new Uu(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Uu(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let s=e.mapping.map(n.activeHandle,-1);return cx(e.doc.resolve(s))||(s=-1),new Uu(s,n.dragging)}return n}};function w$(t,e,n,r){if(!t.editable)return;const s=kr.getState(t.state);if(s&&!s.dragging){const a=S$(e.target);let o=-1;if(a){const{left:c,right:u}=a.getBoundingClientRect();e.clientX-c<=n?o=Kw(t,e,"left",n):u-e.clientX<=n&&(o=Kw(t,e,"right",n))}if(o!=s.activeHandle){if(!r&&o!==-1){const c=t.state.doc.resolve(o),u=c.node(-1),h=Jt.get(u),f=c.start(-1);if(h.colCount(c.pos-f)+c.nodeAfter.attrs.colspan-1==h.width-1)return}NC(t,o)}}}function N$(t){if(!t.editable)return;const e=kr.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&NC(t,-1)}function j$(t,e,n,r){var s;if(!t.editable)return!1;const a=(s=t.dom.ownerDocument.defaultView)!==null&&s!==void 0?s:window,o=kr.getState(t.state);if(!o||o.activeHandle==-1||o.dragging)return!1;const c=t.state.doc.nodeAt(o.activeHandle),u=k$(t,o.activeHandle,c.attrs);t.dispatch(t.state.tr.setMeta(kr,{setDragging:{startX:e.clientX,startWidth:u}}));function h(m){a.removeEventListener("mouseup",h),a.removeEventListener("mousemove",f);const g=kr.getState(t.state);g!=null&&g.dragging&&(C$(t,g.activeHandle,qw(g.dragging,m,n)),t.dispatch(t.state.tr.setMeta(kr,{setDragging:null})))}function f(m){if(!m.which)return h(m);const g=kr.getState(t.state);if(g&&g.dragging){const y=qw(g.dragging,m,n);Gw(t,g.activeHandle,y,r)}}return Gw(t,o.activeHandle,u,r),a.addEventListener("mouseup",h),a.addEventListener("mousemove",f),e.preventDefault(),!0}function k$(t,e,{colspan:n,colwidth:r}){const s=r&&r[r.length-1];if(s)return s;const a=t.domAtPos(e);let o=a.node.childNodes[a.offset].offsetWidth,c=n;if(r)for(let u=0;u{var e,n;const r=t.getAttribute("colwidth"),s=r?r.split(",").map(a=>parseInt(a,10)):null;if(!s){const a=(e=t.closest("table"))==null?void 0:e.querySelectorAll("colgroup > col"),o=Array.from(((n=t.parentElement)==null?void 0:n.children)||[]).indexOf(t);if(o&&o>-1&&a&&a[o]){const c=a[o].getAttribute("width");return c?[parseInt(c,10)]:null}}return s}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:t}){return["td",yt(this.options.HTMLAttributes,t),0]}}),kC=un.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:t}){return["th",yt(this.options.HTMLAttributes,t),0]}}),SC=un.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:t}){return["tr",yt(this.options.HTMLAttributes,t),0]}});function hx(t,e){return e?["width",`${Math.max(e,t)}px`]:["min-width",`${t}px`]}function Jw(t,e,n,r,s,a){var o;let c=0,u=!0,h=e.firstChild;const f=t.firstChild;if(f!==null)for(let g=0,y=0;g{const r=t.nodes[n];r.spec.tableRole&&(e[r.spec.tableRole]=r)}),t.cached.tableNodeTypes=e,e}function I$(t,e,n,r,s){const a=P$(t),o=[],c=[];for(let h=0;h{const{selection:e}=t.state;if(!O$(e))return!1;let n=0;const r=o2(e.ranges[0].$from,a=>a.type.name==="table");return r==null||r.node.descendants(a=>{if(a.type.name==="table")return!1;["tableCell","tableHeader"].includes(a.type.name)&&(n+=1)}),n===e.ranges.length?(t.commands.deleteTable(),!0):!1},D$="";function L$(t){return(t||"").replace(/\s+/g," ").trim()}function _$(t,e,n={}){var r;const s=(r=n.cellLineSeparator)!=null?r:D$;if(!t||!t.content||t.content.length===0)return"";const a=[];t.content.forEach(v=>{const j=[];v.content&&v.content.forEach(w=>{let k="";w.content&&Array.isArray(w.content)&&w.content.length>1?k=w.content.map(O=>e.renderChildren(O)).join(s):k=w.content?e.renderChildren(w.content):"";const E=L$(k),C=w.type==="tableHeader";j.push({text:E,isHeader:C})}),a.push(j)});const o=a.reduce((v,j)=>Math.max(v,j.length),0);if(o===0)return"";const c=new Array(o).fill(0);a.forEach(v=>{var j;for(let w=0;wc[w]&&(c[w]=E),c[w]<3&&(c[w]=3)}});const u=(v,j)=>v+" ".repeat(Math.max(0,j-v.length)),h=a[0],f=h.some(v=>v.isHeader);let m=` `;const g=new Array(o).fill(0).map((v,j)=>f&&h[j]&&h[j].text||"");return m+=`| ${g.map((v,j)=>u(v,c[j])).join(" | ")} | `,m+=`| ${c.map(v=>"-".repeat(Math.max(3,v))).join(" | ")} | `,(f?a.slice(1):a).forEach(v=>{m+=`| ${new Array(o).fill(0).map((j,w)=>u(v[w]&&v[w].text||"",c[w])).join(" | ")} | -`}),m}var _$=L$,CC=un.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,renderWrapper:!1,handleWidth:5,cellMinWidth:25,View:M$,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:t,HTMLAttributes:e}){const{colgroup:n,tableWidth:r,tableMinWidth:s}=A$(t,this.options.cellMinWidth),a=e.style;function o(){return a||(r?`width: ${r}`:`min-width: ${s}`)}const c=["table",yt(this.options.HTMLAttributes,e,{style:o()}),n,["tbody",0]];return this.options.renderWrapper?["div",{class:"tableWrapper"},c]:c},parseMarkdown:(t,e)=>{const n=[];if(t.header){const r=[];t.header.forEach(s=>{r.push(e.createNode("tableHeader",{},[{type:"paragraph",content:e.parseInline(s.tokens)}]))}),n.push(e.createNode("tableRow",{},r))}return t.rows&&t.rows.forEach(r=>{const s=[];r.forEach(a=>{s.push(e.createNode("tableCell",{},[{type:"paragraph",content:e.parseInline(a.tokens)}]))}),n.push(e.createNode("tableRow",{},s))}),e.createNode("table",void 0,n)},renderMarkdown:(t,e)=>_$(t,e),addCommands(){return{insertTable:({rows:t=3,cols:e=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:s,editor:a})=>{const o=P$(a.schema,t,e,n);if(s){const c=r.selection.from+1;r.replaceSelectionWith(o).scrollIntoView().setSelection(We.near(r.doc.resolve(c)))}return!0},addColumnBefore:()=>({state:t,dispatch:e})=>q7(t,e),addColumnAfter:()=>({state:t,dispatch:e})=>G7(t,e),deleteColumn:()=>({state:t,dispatch:e})=>Y7(t,e),addRowBefore:()=>({state:t,dispatch:e})=>X7(t,e),addRowAfter:()=>({state:t,dispatch:e})=>Z7(t,e),deleteRow:()=>({state:t,dispatch:e})=>t$(t,e),deleteTable:()=>({state:t,dispatch:e})=>l$(t,e),mergeCells:()=>({state:t,dispatch:e})=>zw(t,e),splitCell:()=>({state:t,dispatch:e})=>$w(t,e),toggleHeaderColumn:()=>({state:t,dispatch:e})=>Bc("column")(t,e),toggleHeaderRow:()=>({state:t,dispatch:e})=>Bc("row")(t,e),toggleHeaderCell:()=>({state:t,dispatch:e})=>a$(t,e),mergeOrSplit:()=>({state:t,dispatch:e})=>zw(t,e)?!0:$w(t,e),setCellAttribute:(t,e)=>({state:n,dispatch:r})=>s$(t,e)(n,r),goToNextCell:()=>({state:t,dispatch:e})=>Bw(1)(t,e),goToPreviousCell:()=>({state:t,dispatch:e})=>Bw(-1)(t,e),fixTables:()=>({state:t,dispatch:e})=>(e&&yC(t),!0),setCellSelection:t=>({tr:e,dispatch:n})=>{if(n){const r=Rt.create(e.doc,t.anchorCell,t.headCell);e.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:Du,"Mod-Backspace":Du,Delete:Du,"Mod-Delete":Du}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[y$({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],T$({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(t){const e={name:t.name,options:t.options,storage:t.storage};return{tableRole:xt(Ve(t,"tableRole",e))}}});Yt.create({name:"tableKit",addExtensions(){const t=[];return this.options.table!==!1&&t.push(CC.configure(this.options.table)),this.options.tableCell!==!1&&t.push(jC.configure(this.options.tableCell)),this.options.tableHeader!==!1&&t.push(kC.configure(this.options.tableHeader)),this.options.tableRow!==!1&&t.push(SC.configure(this.options.tableRow)),t}});function z$(t){if(!t)return"";let e=t;return e=e.replace(/]*>(.*?)<\/h1>/gi,`# $1 +`}),m}var z$=_$,CC=un.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,renderWrapper:!1,handleWidth:5,cellMinWidth:25,View:A$,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:t,HTMLAttributes:e}){const{colgroup:n,tableWidth:r,tableMinWidth:s}=R$(t,this.options.cellMinWidth),a=e.style;function o(){return a||(r?`width: ${r}`:`min-width: ${s}`)}const c=["table",yt(this.options.HTMLAttributes,e,{style:o()}),n,["tbody",0]];return this.options.renderWrapper?["div",{class:"tableWrapper"},c]:c},parseMarkdown:(t,e)=>{const n=[];if(t.header){const r=[];t.header.forEach(s=>{r.push(e.createNode("tableHeader",{},[{type:"paragraph",content:e.parseInline(s.tokens)}]))}),n.push(e.createNode("tableRow",{},r))}return t.rows&&t.rows.forEach(r=>{const s=[];r.forEach(a=>{s.push(e.createNode("tableCell",{},[{type:"paragraph",content:e.parseInline(a.tokens)}]))}),n.push(e.createNode("tableRow",{},s))}),e.createNode("table",void 0,n)},renderMarkdown:(t,e)=>z$(t,e),addCommands(){return{insertTable:({rows:t=3,cols:e=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:s,editor:a})=>{const o=I$(a.schema,t,e,n);if(s){const c=r.selection.from+1;r.replaceSelectionWith(o).scrollIntoView().setSelection(We.near(r.doc.resolve(c)))}return!0},addColumnBefore:()=>({state:t,dispatch:e})=>G7(t,e),addColumnAfter:()=>({state:t,dispatch:e})=>J7(t,e),deleteColumn:()=>({state:t,dispatch:e})=>Q7(t,e),addRowBefore:()=>({state:t,dispatch:e})=>Z7(t,e),addRowAfter:()=>({state:t,dispatch:e})=>e$(t,e),deleteRow:()=>({state:t,dispatch:e})=>n$(t,e),deleteTable:()=>({state:t,dispatch:e})=>c$(t,e),mergeCells:()=>({state:t,dispatch:e})=>zw(t,e),splitCell:()=>({state:t,dispatch:e})=>$w(t,e),toggleHeaderColumn:()=>({state:t,dispatch:e})=>Bc("column")(t,e),toggleHeaderRow:()=>({state:t,dispatch:e})=>Bc("row")(t,e),toggleHeaderCell:()=>({state:t,dispatch:e})=>o$(t,e),mergeOrSplit:()=>({state:t,dispatch:e})=>zw(t,e)?!0:$w(t,e),setCellAttribute:(t,e)=>({state:n,dispatch:r})=>i$(t,e)(n,r),goToNextCell:()=>({state:t,dispatch:e})=>Bw(1)(t,e),goToPreviousCell:()=>({state:t,dispatch:e})=>Bw(-1)(t,e),fixTables:()=>({state:t,dispatch:e})=>(e&&yC(t),!0),setCellSelection:t=>({tr:e,dispatch:n})=>{if(n){const r=Rt.create(e.doc,t.anchorCell,t.headCell);e.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:Du,"Mod-Backspace":Du,Delete:Du,"Mod-Delete":Du}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[v$({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],M$({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(t){const e={name:t.name,options:t.options,storage:t.storage};return{tableRole:xt(Ve(t,"tableRole",e))}}});Yt.create({name:"tableKit",addExtensions(){const t=[];return this.options.table!==!1&&t.push(CC.configure(this.options.table)),this.options.tableCell!==!1&&t.push(jC.configure(this.options.tableCell)),this.options.tableHeader!==!1&&t.push(kC.configure(this.options.tableHeader)),this.options.tableRow!==!1&&t.push(SC.configure(this.options.tableRow)),t}});function $$(t){if(!t)return"";let e=t;return e=e.replace(/]*>(.*?)<\/h1>/gi,`# $1 `),e=e.replace(/]*>(.*?)<\/h2>/gi,`## $1 @@ -764,16 +764,16 @@ ${y.slice(h+2)}`,m+=1;else break}e.push({indent:h,number:parseInt(c,10),content: `),e=e.replace(/]*data-type="mention"[^>]*data-id="([^"]*)"[^>]*>@([^<]*)<\/span>/gi,"@$2"),e=e.replace(/]*data-type="linkTag"[^>]*data-url="([^"]*)"[^>]*>#([^<]*)<\/span>/gi,"#[$2]($1)"),e=e.replace(/<[^>]+>/g,""),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"),e=e.replace(/\n{3,}/g,` `),e.trim()}function Qw(t){if(!t)return"";if(t.startsWith("<")&&t.includes("$1"),e=e.replace(/^## (.+)$/gm,"

$1

"),e=e.replace(/^# (.+)$/gm,"

$1

"),e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/\*(.+?)\*/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/!\[([^\]]*)\]\(([^)]+)\)/g,'$1'),e=e.replace(/\[([^\]]+)\]\(([^)]+)\)/g,'$1'),e=e.replace(/^> (.+)$/gm,"

$1

"),e=e.replace(/^---$/gm,"
"),e=e.replace(/^- (.+)$/gm,"
  • $1
  • ");const n=e.split(` -`),r=[];for(const s of n){const a=s.trim();a&&(/^<(?:h[1-6]|blockquote|hr|li|ul|ol|table|img)/.test(a)?r.push(a):r.push(`

    ${a}

    `))}return r.join("")}const $$=un.create({name:"linkTag",group:"inline",inline:!0,selectable:!0,atom:!0,addAttributes(){return{label:{default:""},url:{default:""},tagType:{default:"url",parseHTML:t=>t.getAttribute("data-tag-type")||"url"},tagId:{default:"",parseHTML:t=>t.getAttribute("data-tag-id")||""},pagePath:{default:"",parseHTML:t=>t.getAttribute("data-page-path")||""}}},parseHTML(){return[{tag:'span[data-type="linkTag"]',getAttrs:t=>{var e;return{label:((e=t.textContent)==null?void 0:e.replace(/^#/,"").trim())||"",url:t.getAttribute("data-url")||"",tagType:t.getAttribute("data-tag-type")||"url",tagId:t.getAttribute("data-tag-id")||"",pagePath:t.getAttribute("data-page-path")||""}}}]},renderHTML({node:t,HTMLAttributes:e}){return["span",yt(e,{"data-type":"linkTag","data-url":t.attrs.url,"data-tag-type":t.attrs.tagType,"data-tag-id":t.attrs.tagId,"data-page-path":t.attrs.pagePath,class:"link-tag-node"}),`#${t.attrs.label}`]}}),F$=t=>({items:({query:e})=>t.filter(n=>n.name.toLowerCase().includes(e.toLowerCase())||n.id.includes(e)).slice(0,8),render:()=>{let e=null,n=0,r=[],s=null;const a=()=>{e&&(e.innerHTML=r.map((o,c)=>`
    +`),r=[];for(const s of n){const a=s.trim();a&&(/^<(?:h[1-6]|blockquote|hr|li|ul|ol|table|img)/.test(a)?r.push(a):r.push(`

    ${a}

    `))}return r.join("")}const F$=un.create({name:"linkTag",group:"inline",inline:!0,selectable:!0,atom:!0,addAttributes(){return{label:{default:""},url:{default:""},tagType:{default:"url",parseHTML:t=>t.getAttribute("data-tag-type")||"url"},tagId:{default:"",parseHTML:t=>t.getAttribute("data-tag-id")||""},pagePath:{default:"",parseHTML:t=>t.getAttribute("data-page-path")||""}}},parseHTML(){return[{tag:'span[data-type="linkTag"]',getAttrs:t=>{var e;return{label:((e=t.textContent)==null?void 0:e.replace(/^#/,"").trim())||"",url:t.getAttribute("data-url")||"",tagType:t.getAttribute("data-tag-type")||"url",tagId:t.getAttribute("data-tag-id")||"",pagePath:t.getAttribute("data-page-path")||""}}}]},renderHTML({node:t,HTMLAttributes:e}){return["span",yt(e,{"data-type":"linkTag","data-url":t.attrs.url,"data-tag-type":t.attrs.tagType,"data-tag-id":t.attrs.tagId,"data-page-path":t.attrs.pagePath,class:"link-tag-node"}),`#${t.attrs.label}`]}}),B$=t=>({items:({query:e})=>t.filter(n=>n.name.toLowerCase().includes(e.toLowerCase())||n.id.includes(e)).slice(0,8),render:()=>{let e=null,n=0,r=[],s=null;const a=()=>{e&&(e.innerHTML=r.map((o,c)=>`
    @${o.name} ${o.label||o.id} -
    `).join(""),e.querySelectorAll(".mention-item").forEach(o=>{o.addEventListener("click",()=>{const c=parseInt(o.getAttribute("data-index")||"0");s&&r[c]&&s({id:r[c].id,label:r[c].name})})}))};return{onStart:o=>{if(e=document.createElement("div"),e.className="mention-popup",document.body.appendChild(e),r=o.items,s=o.command,n=0,a(),o.clientRect){const c=o.clientRect();c&&(e.style.top=`${c.bottom+4}px`,e.style.left=`${c.left}px`)}},onUpdate:o=>{if(r=o.items,s=o.command,n=0,a(),o.clientRect&&e){const c=o.clientRect();c&&(e.style.top=`${c.bottom+4}px`,e.style.left=`${c.left}px`)}},onKeyDown:o=>o.event.key==="ArrowUp"?(n=Math.max(0,n-1),a(),!0):o.event.key==="ArrowDown"?(n=Math.min(r.length-1,n+1),a(),!0):o.event.key==="Enter"?(s&&r[n]&&s({id:r[n].id,label:r[n].name}),!0):o.event.key==="Escape"?(e==null||e.remove(),e=null,!0):!1,onExit:()=>{e==null||e.remove(),e=null}}}}),fx=b.forwardRef(({content:t,onChange:e,onImageUpload:n,persons:r=[],linkTags:s=[],placeholder:a="开始编辑内容...",className:o},c)=>{const u=b.useRef(null),[h,f]=b.useState(""),[m,g]=b.useState(!1),y=b.useRef(Qw(t)),v=O_({extensions:[w7,k7.configure({inline:!0,allowBase64:!0}),Az.configure({openOnClick:!1,HTMLAttributes:{class:"rich-link"}}),A7.configure({HTMLAttributes:{class:"mention-tag"},suggestion:F$(r)}),$$,R7.configure({placeholder:a}),CC.configure({resizable:!0}),SC,jC,kC],content:y.current,onUpdate:({editor:E})=>{e(E.getHTML())},editorProps:{attributes:{class:"rich-editor-content"}}});b.useImperativeHandle(c,()=>({getHTML:()=>(v==null?void 0:v.getHTML())||"",getMarkdown:()=>z$((v==null?void 0:v.getHTML())||"")})),b.useEffect(()=>{if(v&&t!==v.getHTML()){const E=Qw(t);E!==v.getHTML()&&v.commands.setContent(E)}},[t]);const j=b.useCallback(async E=>{var T;const C=(T=E.target.files)==null?void 0:T[0];if(!(!C||!v)){if(n){const O=await n(C);O&&v.chain().focus().setImage({src:O}).run()}else{const O=new FileReader;O.onload=()=>{typeof O.result=="string"&&v.chain().focus().setImage({src:O.result}).run()},O.readAsDataURL(C)}E.target.value=""}},[v,n]),w=b.useCallback(E=>{v&&v.chain().focus().insertContent({type:"linkTag",attrs:{label:E.label,url:E.url||"",tagType:E.type||"url",tagId:E.id||"",pagePath:E.pagePath||""}}).run()},[v]),k=b.useCallback(()=>{!v||!h||(v.chain().focus().setLink({href:h}).run(),f(""),g(!1))},[v,h]);return v?i.jsxs("div",{className:`rich-editor-wrapper ${o||""}`,children:[i.jsxs("div",{className:"rich-editor-toolbar",children:[i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleBold().run(),className:v.isActive("bold")?"is-active":"",type:"button",children:i.jsx(TT,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleItalic().run(),className:v.isActive("italic")?"is-active":"",type:"button",children:i.jsx(MM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleStrike().run(),className:v.isActive("strike")?"is-active":"",type:"button",children:i.jsx(EA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleCode().run(),className:v.isActive("code")?"is-active":"",type:"button",children:i.jsx(GT,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:1}).run(),className:v.isActive("heading",{level:1})?"is-active":"",type:"button",children:i.jsx(vM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:2}).run(),className:v.isActive("heading",{level:2})?"is-active":"",type:"button",children:i.jsx(wM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:3}).run(),className:v.isActive("heading",{level:3})?"is-active":"",type:"button",children:i.jsx(jM,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleBulletList().run(),className:v.isActive("bulletList")?"is-active":"",type:"button",children:i.jsx($M,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleOrderedList().run(),className:v.isActive("orderedList")?"is-active":"",type:"button",children:i.jsx(_M,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleBlockquote().run(),className:v.isActive("blockquote")?"is-active":"",type:"button",children:i.jsx(hA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().setHorizontalRule().run(),type:"button",children:i.jsx(YM,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("input",{ref:u,type:"file",accept:"image/*",onChange:j,className:"hidden"}),i.jsx("button",{onClick:()=>{var E;return(E=u.current)==null?void 0:E.click()},type:"button",children:i.jsx(FN,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>g(!m),className:v.isActive("link")?"is-active":"",type:"button",children:i.jsx(bg,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),type:"button",children:i.jsx(MA,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().undo().run(),disabled:!v.can().undo(),type:"button",children:i.jsx(LA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().redo().run(),disabled:!v.can().redo(),type:"button",children:i.jsx(pA,{className:"w-4 h-4"})})]}),s.length>0&&i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"toolbar-divider"}),i.jsx("div",{className:"toolbar-group",children:i.jsxs("select",{className:"link-tag-select",onChange:E=>{const C=s.find(T=>T.id===E.target.value);C&&w(C),E.target.value=""},defaultValue:"",children:[i.jsx("option",{value:"",disabled:!0,children:"# 插入链接标签"}),s.map(E=>i.jsx("option",{value:E.id,children:E.label},E.id))]})})]})]}),m&&i.jsxs("div",{className:"link-input-bar",children:[i.jsx("input",{type:"url",placeholder:"输入链接地址...",value:h,onChange:E=>f(E.target.value),onKeyDown:E=>E.key==="Enter"&&k(),className:"link-input"}),i.jsx("button",{onClick:k,className:"link-confirm",type:"button",children:"确定"}),i.jsx("button",{onClick:()=>{v.chain().focus().unsetLink().run(),g(!1)},className:"link-remove",type:"button",children:"移除"})]}),i.jsx(L2,{editor:v})]}):null});fx.displayName="RichEditor";const B$=["top","right","bottom","left"],ea=Math.min,Nr=Math.max,Wh=Math.round,Lu=Math.floor,Cs=t=>({x:t,y:t}),V$={left:"right",right:"left",bottom:"top",top:"bottom"},H$={start:"end",end:"start"};function px(t,e,n){return Nr(t,ea(e,n))}function ni(t,e){return typeof t=="function"?t(e):t}function ri(t){return t.split("-")[0]}function pl(t){return t.split("-")[1]}function D0(t){return t==="x"?"y":"x"}function L0(t){return t==="y"?"height":"width"}const W$=new Set(["top","bottom"]);function ks(t){return W$.has(ri(t))?"y":"x"}function _0(t){return D0(ks(t))}function U$(t,e,n){n===void 0&&(n=!1);const r=pl(t),s=_0(t),a=L0(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(o=Uh(o)),[o,Uh(o)]}function K$(t){const e=Uh(t);return[mx(t),e,mx(e)]}function mx(t){return t.replace(/start|end/g,e=>H$[e])}const Xw=["left","right"],Zw=["right","left"],q$=["top","bottom"],G$=["bottom","top"];function J$(t,e,n){switch(t){case"top":case"bottom":return n?e?Zw:Xw:e?Xw:Zw;case"left":case"right":return e?q$:G$;default:return[]}}function Y$(t,e,n,r){const s=pl(t);let a=J$(ri(t),n==="start",r);return s&&(a=a.map(o=>o+"-"+s),e&&(a=a.concat(a.map(mx)))),a}function Uh(t){return t.replace(/left|right|bottom|top/g,e=>V$[e])}function Q$(t){return{top:0,right:0,bottom:0,left:0,...t}}function EC(t){return typeof t!="number"?Q$(t):{top:t,right:t,bottom:t,left:t}}function Kh(t){const{x:e,y:n,width:r,height:s}=t;return{width:r,height:s,top:n,left:e,right:e+r,bottom:n+s,x:e,y:n}}function eN(t,e,n){let{reference:r,floating:s}=t;const a=ks(e),o=_0(e),c=L0(o),u=ri(e),h=a==="y",f=r.x+r.width/2-s.width/2,m=r.y+r.height/2-s.height/2,g=r[c]/2-s[c]/2;let y;switch(u){case"top":y={x:f,y:r.y-s.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-s.width,y:m};break;default:y={x:r.x,y:r.y}}switch(pl(e)){case"start":y[o]-=g*(n&&h?-1:1);break;case"end":y[o]+=g*(n&&h?-1:1);break}return y}async function X$(t,e){var n;e===void 0&&(e={});const{x:r,y:s,platform:a,rects:o,elements:c,strategy:u}=t,{boundary:h="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:g=!1,padding:y=0}=ni(e,t),v=EC(y),w=c[g?m==="floating"?"reference":"floating":m],k=Kh(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(w)))==null||n?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:f,strategy:u})),E=m==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),T=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},O=Kh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:E,offsetParent:C,strategy:u}):E);return{top:(k.top-O.top+v.top)/T.y,bottom:(O.bottom-k.bottom+v.bottom)/T.y,left:(k.left-O.left+v.left)/T.x,right:(O.right-k.right+v.right)/T.x}}const Z$=async(t,e,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:o}=n,c=a.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(e));let h=await o.getElementRects({reference:t,floating:e,strategy:s}),{x:f,y:m}=eN(h,r,u),g=r,y={},v=0;for(let w=0;w({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:s,rects:a,platform:o,elements:c,middlewareData:u}=e,{element:h,padding:f=0}=ni(t,e)||{};if(h==null)return{};const m=EC(f),g={x:n,y:r},y=_0(s),v=L0(y),j=await o.getDimensions(h),w=y==="y",k=w?"top":"left",E=w?"bottom":"right",C=w?"clientHeight":"clientWidth",T=a.reference[v]+a.reference[y]-g[y]-a.floating[v],O=g[y]-a.reference[y],B=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let R=B?B[C]:0;(!R||!await(o.isElement==null?void 0:o.isElement(B)))&&(R=c.floating[C]||a.floating[v]);const P=T/2-O/2,I=R/2-j[v]/2-1,L=ea(m[k],I),X=ea(m[E],I),Z=L,Y=R-j[v]-X,W=R/2-j[v]/2+P,D=px(Z,W,Y),$=!u.arrow&&pl(s)!=null&&W!==D&&a.reference[v]/2-(WW<=0)){var X,Z;const W=(((X=a.flip)==null?void 0:X.index)||0)+1,D=R[W];if(D&&(!(m==="alignment"?E!==ks(D):!1)||L.every(_=>ks(_.placement)===E?_.overflows[0]>0:!0)))return{data:{index:W,overflows:L},reset:{placement:D}};let $=(Z=L.filter(ae=>ae.overflows[0]<=0).sort((ae,_)=>ae.overflows[1]-_.overflows[1])[0])==null?void 0:Z.placement;if(!$)switch(y){case"bestFit":{var Y;const ae=(Y=L.filter(_=>{if(B){const se=ks(_.placement);return se===E||se==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(se=>se>0).reduce((se,q)=>se+q,0)]).sort((_,se)=>_[1]-se[1])[0])==null?void 0:Y[0];ae&&($=ae);break}case"initialPlacement":$=c;break}if(s!==$)return{reset:{placement:$}}}return{}}}};function tN(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function nN(t){return B$.some(e=>t[e]>=0)}const nF=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:s="referenceHidden",...a}=ni(t,e);switch(s){case"referenceHidden":{const o=await r.detectOverflow(e,{...a,elementContext:"reference"}),c=tN(o,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:nN(c)}}}case"escaped":{const o=await r.detectOverflow(e,{...a,altBoundary:!0}),c=tN(o,n.floating);return{data:{escapedOffsets:c,escaped:nN(c)}}}default:return{}}}}},TC=new Set(["left","top"]);async function rF(t,e){const{placement:n,platform:r,elements:s}=t,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=ri(n),c=pl(n),u=ks(n)==="y",h=TC.has(o)?-1:1,f=a&&u?-1:1,m=ni(e,t);let{mainAxis:g,crossAxis:y,alignmentAxis:v}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof v=="number"&&(y=c==="end"?v*-1:v),u?{x:y*f,y:g*h}:{x:g*h,y:y*f}}const sF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:s,y:a,placement:o,middlewareData:c}=e,u=await rF(e,t);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:{...u,placement:o}}}}},iF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:s,platform:a}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:u={fn:k=>{let{x:E,y:C}=k;return{x:E,y:C}}},...h}=ni(t,e),f={x:n,y:r},m=await a.detectOverflow(e,h),g=ks(ri(s)),y=D0(g);let v=f[y],j=f[g];if(o){const k=y==="y"?"top":"left",E=y==="y"?"bottom":"right",C=v+m[k],T=v-m[E];v=px(C,v,T)}if(c){const k=g==="y"?"top":"left",E=g==="y"?"bottom":"right",C=j+m[k],T=j-m[E];j=px(C,j,T)}const w=u.fn({...e,[y]:v,[g]:j});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[y]:o,[g]:c}}}}}},aF=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:s,rects:a,middlewareData:o}=e,{offset:c=0,mainAxis:u=!0,crossAxis:h=!0}=ni(t,e),f={x:n,y:r},m=ks(s),g=D0(m);let y=f[g],v=f[m];const j=ni(c,e),w=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:0,crossAxis:0,...j};if(u){const C=g==="y"?"height":"width",T=a.reference[g]-a.floating[C]+w.mainAxis,O=a.reference[g]+a.reference[C]-w.mainAxis;yO&&(y=O)}if(h){var k,E;const C=g==="y"?"width":"height",T=TC.has(ri(s)),O=a.reference[m]-a.floating[C]+(T&&((k=o.offset)==null?void 0:k[m])||0)+(T?0:w.crossAxis),B=a.reference[m]+a.reference[C]+(T?0:((E=o.offset)==null?void 0:E[m])||0)-(T?w.crossAxis:0);vB&&(v=B)}return{[g]:y,[m]:v}}}},oF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:s,rects:a,platform:o,elements:c}=e,{apply:u=()=>{},...h}=ni(t,e),f=await o.detectOverflow(e,h),m=ri(s),g=pl(s),y=ks(s)==="y",{width:v,height:j}=a.floating;let w,k;m==="top"||m==="bottom"?(w=m,k=g===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(k=m,w=g==="end"?"top":"bottom");const E=j-f.top-f.bottom,C=v-f.left-f.right,T=ea(j-f[w],E),O=ea(v-f[k],C),B=!e.middlewareData.shift;let R=T,P=O;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(P=C),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(R=E),B&&!g){const L=Nr(f.left,0),X=Nr(f.right,0),Z=Nr(f.top,0),Y=Nr(f.bottom,0);y?P=v-2*(L!==0||X!==0?L+X:Nr(f.left,f.right)):R=j-2*(Z!==0||Y!==0?Z+Y:Nr(f.top,f.bottom))}await u({...e,availableWidth:P,availableHeight:R});const I=await o.getDimensions(c.floating);return v!==I.width||j!==I.height?{reset:{rects:!0}}:{}}}};function wf(){return typeof window<"u"}function ml(t){return MC(t)?(t.nodeName||"").toLowerCase():"#document"}function Cr(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Rs(t){var e;return(e=(MC(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function MC(t){return wf()?t instanceof Node||t instanceof Cr(t).Node:!1}function cs(t){return wf()?t instanceof Element||t instanceof Cr(t).Element:!1}function Ms(t){return wf()?t instanceof HTMLElement||t instanceof Cr(t).HTMLElement:!1}function rN(t){return!wf()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Cr(t).ShadowRoot}const lF=new Set(["inline","contents"]);function ed(t){const{overflow:e,overflowX:n,overflowY:r,display:s}=ds(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!lF.has(s)}const cF=new Set(["table","td","th"]);function dF(t){return cF.has(ml(t))}const uF=[":popover-open",":modal"];function Nf(t){return uF.some(e=>{try{return t.matches(e)}catch{return!1}})}const hF=["transform","translate","scale","rotate","perspective"],fF=["transform","translate","scale","rotate","perspective","filter"],pF=["paint","layout","strict","content"];function z0(t){const e=$0(),n=cs(t)?ds(t):t;return hF.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||fF.some(r=>(n.willChange||"").includes(r))||pF.some(r=>(n.contain||"").includes(r))}function mF(t){let e=ta(t);for(;Ms(e)&&!al(e);){if(z0(e))return e;if(Nf(e))return null;e=ta(e)}return null}function $0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const gF=new Set(["html","body","#document"]);function al(t){return gF.has(ml(t))}function ds(t){return Cr(t).getComputedStyle(t)}function jf(t){return cs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ta(t){if(ml(t)==="html")return t;const e=t.assignedSlot||t.parentNode||rN(t)&&t.host||Rs(t);return rN(e)?e.host:e}function AC(t){const e=ta(t);return al(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ms(e)&&ed(e)?e:AC(e)}function Vc(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=AC(t),a=s===((r=t.ownerDocument)==null?void 0:r.body),o=Cr(s);if(a){const c=gx(o);return e.concat(o,o.visualViewport||[],ed(s)?s:[],c&&n?Vc(c):[])}return e.concat(s,Vc(s,[],n))}function gx(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function RC(t){const e=ds(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Ms(t),a=s?t.offsetWidth:n,o=s?t.offsetHeight:r,c=Wh(n)!==a||Wh(r)!==o;return c&&(n=a,r=o),{width:n,height:r,$:c}}function F0(t){return cs(t)?t:t.contextElement}function Qo(t){const e=F0(t);if(!Ms(e))return Cs(1);const n=e.getBoundingClientRect(),{width:r,height:s,$:a}=RC(e);let o=(a?Wh(n.width):n.width)/r,c=(a?Wh(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const xF=Cs(0);function PC(t){const e=Cr(t);return!$0()||!e.visualViewport?xF:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function yF(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Cr(t)?!1:e}function Za(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=F0(t);let o=Cs(1);e&&(r?cs(r)&&(o=Qo(r)):o=Qo(t));const c=yF(a,n,r)?PC(a):Cs(0);let u=(s.left+c.x)/o.x,h=(s.top+c.y)/o.y,f=s.width/o.x,m=s.height/o.y;if(a){const g=Cr(a),y=r&&cs(r)?Cr(r):r;let v=g,j=gx(v);for(;j&&r&&y!==v;){const w=Qo(j),k=j.getBoundingClientRect(),E=ds(j),C=k.left+(j.clientLeft+parseFloat(E.paddingLeft))*w.x,T=k.top+(j.clientTop+parseFloat(E.paddingTop))*w.y;u*=w.x,h*=w.y,f*=w.x,m*=w.y,u+=C,h+=T,v=Cr(j),j=gx(v)}}return Kh({width:f,height:m,x:u,y:h})}function kf(t,e){const n=jf(t).scrollLeft;return e?e.left+n:Za(Rs(t)).left+n}function IC(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-kf(t,n),s=n.top+e.scrollTop;return{x:r,y:s}}function vF(t){let{elements:e,rect:n,offsetParent:r,strategy:s}=t;const a=s==="fixed",o=Rs(r),c=e?Nf(e.floating):!1;if(r===o||c&&a)return n;let u={scrollLeft:0,scrollTop:0},h=Cs(1);const f=Cs(0),m=Ms(r);if((m||!m&&!a)&&((ml(r)!=="body"||ed(o))&&(u=jf(r)),Ms(r))){const y=Za(r);h=Qo(r),f.x=y.x+r.clientLeft,f.y=y.y+r.clientTop}const g=o&&!m&&!a?IC(o,u):Cs(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+f.x+g.x,y:n.y*h.y-u.scrollTop*h.y+f.y+g.y}}function bF(t){return Array.from(t.getClientRects())}function wF(t){const e=Rs(t),n=jf(t),r=t.ownerDocument.body,s=Nr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=Nr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+kf(t);const c=-n.scrollTop;return ds(r).direction==="rtl"&&(o+=Nr(e.clientWidth,r.clientWidth)-s),{width:s,height:a,x:o,y:c}}const sN=25;function NF(t,e){const n=Cr(t),r=Rs(t),s=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,c=0,u=0;if(s){a=s.width,o=s.height;const f=$0();(!f||f&&e==="fixed")&&(c=s.offsetLeft,u=s.offsetTop)}const h=kf(r);if(h<=0){const f=r.ownerDocument,m=f.body,g=getComputedStyle(m),y=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,v=Math.abs(r.clientWidth-m.clientWidth-y);v<=sN&&(a-=v)}else h<=sN&&(a+=h);return{width:a,height:o,x:c,y:u}}const jF=new Set(["absolute","fixed"]);function kF(t,e){const n=Za(t,!0,e==="fixed"),r=n.top+t.clientTop,s=n.left+t.clientLeft,a=Ms(t)?Qo(t):Cs(1),o=t.clientWidth*a.x,c=t.clientHeight*a.y,u=s*a.x,h=r*a.y;return{width:o,height:c,x:u,y:h}}function iN(t,e,n){let r;if(e==="viewport")r=NF(t,n);else if(e==="document")r=wF(Rs(t));else if(cs(e))r=kF(e,n);else{const s=PC(t);r={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return Kh(r)}function OC(t,e){const n=ta(t);return n===e||!cs(n)||al(n)?!1:ds(n).position==="fixed"||OC(n,e)}function SF(t,e){const n=e.get(t);if(n)return n;let r=Vc(t,[],!1).filter(c=>cs(c)&&ml(c)!=="body"),s=null;const a=ds(t).position==="fixed";let o=a?ta(t):t;for(;cs(o)&&!al(o);){const c=ds(o),u=z0(o);!u&&c.position==="fixed"&&(s=null),(a?!u&&!s:!u&&c.position==="static"&&!!s&&jF.has(s.position)||ed(o)&&!u&&OC(t,o))?r=r.filter(f=>f!==o):s=c,o=ta(o)}return e.set(t,r),r}function CF(t){let{element:e,boundary:n,rootBoundary:r,strategy:s}=t;const o=[...n==="clippingAncestors"?Nf(e)?[]:SF(e,this._c):[].concat(n),r],c=o[0],u=o.reduce((h,f)=>{const m=iN(e,f,s);return h.top=Nr(m.top,h.top),h.right=ea(m.right,h.right),h.bottom=ea(m.bottom,h.bottom),h.left=Nr(m.left,h.left),h},iN(e,c,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function EF(t){const{width:e,height:n}=RC(t);return{width:e,height:n}}function TF(t,e,n){const r=Ms(e),s=Rs(e),a=n==="fixed",o=Za(t,!0,a,e);let c={scrollLeft:0,scrollTop:0};const u=Cs(0);function h(){u.x=kf(s)}if(r||!r&&!a)if((ml(e)!=="body"||ed(s))&&(c=jf(e)),r){const y=Za(e,!0,a,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}else s&&h();a&&!r&&s&&h();const f=s&&!r&&!a?IC(s,c):Cs(0),m=o.left+c.scrollLeft-u.x-f.x,g=o.top+c.scrollTop-u.y-f.y;return{x:m,y:g,width:o.width,height:o.height}}function og(t){return ds(t).position==="static"}function aN(t,e){if(!Ms(t)||ds(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Rs(t)===n&&(n=n.ownerDocument.body),n}function DC(t,e){const n=Cr(t);if(Nf(t))return n;if(!Ms(t)){let s=ta(t);for(;s&&!al(s);){if(cs(s)&&!og(s))return s;s=ta(s)}return n}let r=aN(t,e);for(;r&&dF(r)&&og(r);)r=aN(r,e);return r&&al(r)&&og(r)&&!z0(r)?n:r||mF(t)||n}const MF=async function(t){const e=this.getOffsetParent||DC,n=this.getDimensions,r=await n(t.floating);return{reference:TF(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function AF(t){return ds(t).direction==="rtl"}const RF={convertOffsetParentRelativeRectToViewportRelativeRect:vF,getDocumentElement:Rs,getClippingRect:CF,getOffsetParent:DC,getElementRects:MF,getClientRects:bF,getDimensions:EF,getScale:Qo,isElement:cs,isRTL:AF};function LC(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function PF(t,e){let n=null,r;const s=Rs(t);function a(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),a();const h=t.getBoundingClientRect(),{left:f,top:m,width:g,height:y}=h;if(c||e(),!g||!y)return;const v=Lu(m),j=Lu(s.clientWidth-(f+g)),w=Lu(s.clientHeight-(m+y)),k=Lu(f),C={rootMargin:-v+"px "+-j+"px "+-w+"px "+-k+"px",threshold:Nr(0,ea(1,u))||1};let T=!0;function O(B){const R=B[0].intersectionRatio;if(R!==u){if(!T)return o();R?o(!1,R):r=setTimeout(()=>{o(!1,1e-7)},1e3)}R===1&&!LC(h,t.getBoundingClientRect())&&o(),T=!1}try{n=new IntersectionObserver(O,{...C,root:s.ownerDocument})}catch{n=new IntersectionObserver(O,C)}n.observe(t)}return o(!0),a}function IF(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,h=F0(t),f=s||a?[...h?Vc(h):[],...Vc(e)]:[];f.forEach(k=>{s&&k.addEventListener("scroll",n,{passive:!0}),a&&k.addEventListener("resize",n)});const m=h&&c?PF(h,n):null;let g=-1,y=null;o&&(y=new ResizeObserver(k=>{let[E]=k;E&&E.target===h&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var C;(C=y)==null||C.observe(e)})),n()}),h&&!u&&y.observe(h),y.observe(e));let v,j=u?Za(t):null;u&&w();function w(){const k=Za(t);j&&!LC(j,k)&&n(),j=k,v=requestAnimationFrame(w)}return n(),()=>{var k;f.forEach(E=>{s&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),m==null||m(),(k=y)==null||k.disconnect(),y=null,u&&cancelAnimationFrame(v)}}const OF=sF,DF=iF,LF=tF,_F=oF,zF=nF,oN=eF,$F=aF,FF=(t,e,n)=>{const r=new Map,s={platform:RF,...n},a={...s.platform,_c:r};return Z$(t,e,{...s,platform:a})};var BF=typeof document<"u",VF=function(){},Ku=BF?b.useLayoutEffect:VF;function qh(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,s;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!qh(t[r],e[r]))return!1;return!0}if(s=Object.keys(t),n=s.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,s[r]))return!1;for(r=n;r--!==0;){const a=s[r];if(!(a==="_owner"&&t.$$typeof)&&!qh(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function _C(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function lN(t,e){const n=_C(t);return Math.round(e*n)/n}function lg(t){const e=b.useRef(t);return Ku(()=>{e.current=t}),e}function HF(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:a,floating:o}={},transform:c=!0,whileElementsMounted:u,open:h}=t,[f,m]=b.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[g,y]=b.useState(r);qh(g,r)||y(r);const[v,j]=b.useState(null),[w,k]=b.useState(null),E=b.useCallback(_=>{_!==B.current&&(B.current=_,j(_))},[]),C=b.useCallback(_=>{_!==R.current&&(R.current=_,k(_))},[]),T=a||v,O=o||w,B=b.useRef(null),R=b.useRef(null),P=b.useRef(f),I=u!=null,L=lg(u),X=lg(s),Z=lg(h),Y=b.useCallback(()=>{if(!B.current||!R.current)return;const _={placement:e,strategy:n,middleware:g};X.current&&(_.platform=X.current),FF(B.current,R.current,_).then(se=>{const q={...se,isPositioned:Z.current!==!1};W.current&&!qh(P.current,q)&&(P.current=q,Wc.flushSync(()=>{m(q)}))})},[g,e,n,X,Z]);Ku(()=>{h===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,m(_=>({..._,isPositioned:!1})))},[h]);const W=b.useRef(!1);Ku(()=>(W.current=!0,()=>{W.current=!1}),[]),Ku(()=>{if(T&&(B.current=T),O&&(R.current=O),T&&O){if(L.current)return L.current(T,O,Y);Y()}},[T,O,Y,L,I]);const D=b.useMemo(()=>({reference:B,floating:R,setReference:E,setFloating:C}),[E,C]),$=b.useMemo(()=>({reference:T,floating:O}),[T,O]),ae=b.useMemo(()=>{const _={position:n,left:0,top:0};if(!$.floating)return _;const se=lN($.floating,f.x),q=lN($.floating,f.y);return c?{..._,transform:"translate("+se+"px, "+q+"px)",..._C($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:se,top:q}},[n,c,$.floating,f.x,f.y]);return b.useMemo(()=>({...f,update:Y,refs:D,elements:$,floatingStyles:ae}),[f,Y,D,$,ae])}const WF=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:s}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?oN({element:r.current,padding:s}).fn(n):{}:r?oN({element:r,padding:s}).fn(n):{}}}},UF=(t,e)=>({...OF(t),options:[t,e]}),KF=(t,e)=>({...DF(t),options:[t,e]}),qF=(t,e)=>({...$F(t),options:[t,e]}),GF=(t,e)=>({...LF(t),options:[t,e]}),JF=(t,e)=>({..._F(t),options:[t,e]}),YF=(t,e)=>({...zF(t),options:[t,e]}),QF=(t,e)=>({...WF(t),options:[t,e]});var XF="Arrow",zC=b.forwardRef((t,e)=>{const{children:n,width:r=10,height:s=5,...a}=t;return i.jsx(at.svg,{...a,ref:e,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});zC.displayName=XF;var ZF=zC,B0="Popper",[$C,FC]=ia(B0),[eB,BC]=$C(B0),VC=t=>{const{__scopePopper:e,children:n}=t,[r,s]=b.useState(null);return i.jsx(eB,{scope:e,anchor:r,onAnchorChange:s,children:n})};VC.displayName=B0;var HC="PopperAnchor",WC=b.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...s}=t,a=BC(HC,n),o=b.useRef(null),c=vt(e,o),u=b.useRef(null);return b.useEffect(()=>{const h=u.current;u.current=(r==null?void 0:r.current)||o.current,h!==u.current&&a.onAnchorChange(u.current)}),r?null:i.jsx(at.div,{...s,ref:c})});WC.displayName=HC;var V0="PopperContent",[tB,nB]=$C(V0),UC=b.forwardRef((t,e)=>{var oe,ue,ye,V,ge,Me;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:a="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:v,...j}=t,w=BC(V0,n),[k,E]=b.useState(null),C=vt(e,tt=>E(tt)),[T,O]=b.useState(null),B=Vx(T),R=(B==null?void 0:B.width)??0,P=(B==null?void 0:B.height)??0,I=r+(a!=="center"?"-"+a:""),L=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},X=Array.isArray(h)?h:[h],Z=X.length>0,Y={padding:L,boundary:X.filter(sB),altBoundary:Z},{refs:W,floatingStyles:D,placement:$,isPositioned:ae,middlewareData:_}=HF({strategy:"fixed",placement:I,whileElementsMounted:(...tt)=>IF(...tt,{animationFrame:y==="always"}),elements:{reference:w.anchor},middleware:[UF({mainAxis:s+P,alignmentAxis:o}),u&&KF({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?qF():void 0,...Y}),u&&GF({...Y}),JF({...Y,apply:({elements:tt,rects:et,availableWidth:ot,availableHeight:Ge})=>{const{width:dt,height:Et}=et.reference,ht=tt.floating.style;ht.setProperty("--radix-popper-available-width",`${ot}px`),ht.setProperty("--radix-popper-available-height",`${Ge}px`),ht.setProperty("--radix-popper-anchor-width",`${dt}px`),ht.setProperty("--radix-popper-anchor-height",`${Et}px`)}}),T&&QF({element:T,padding:c}),iB({arrowWidth:R,arrowHeight:P}),g&&YF({strategy:"referenceHidden",...Y})]}),[se,q]=GC($),z=Qi(v);Un(()=>{ae&&(z==null||z())},[ae,z]);const H=(oe=_.arrow)==null?void 0:oe.x,de=(ue=_.arrow)==null?void 0:ue.y,K=((ye=_.arrow)==null?void 0:ye.centerOffset)!==0,[fe,Q]=b.useState();return Un(()=>{k&&Q(window.getComputedStyle(k).zIndex)},[k]),i.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:ae?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[(V=_.transformOrigin)==null?void 0:V.x,(ge=_.transformOrigin)==null?void 0:ge.y].join(" "),...((Me=_.hide)==null?void 0:Me.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:i.jsx(tB,{scope:n,placedSide:se,onArrowChange:O,arrowX:H,arrowY:de,shouldHideArrow:K,children:i.jsx(at.div,{"data-side":se,"data-align":q,...j,ref:C,style:{...j.style,animation:ae?void 0:"none"}})})})});UC.displayName=V0;var KC="PopperArrow",rB={top:"bottom",right:"left",bottom:"top",left:"right"},qC=b.forwardRef(function(e,n){const{__scopePopper:r,...s}=e,a=nB(KC,r),o=rB[a.placedSide];return i.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:i.jsx(ZF,{...s,ref:n,style:{...s.style,display:"block"}})})});qC.displayName=KC;function sB(t){return t!==null}var iB=t=>({name:"transformOrigin",options:t,fn(e){var w,k,E;const{placement:n,rects:r,middlewareData:s}=e,o=((w=s.arrow)==null?void 0:w.centerOffset)!==0,c=o?0:t.arrowWidth,u=o?0:t.arrowHeight,[h,f]=GC(n),m={start:"0%",center:"50%",end:"100%"}[f],g=(((k=s.arrow)==null?void 0:k.x)??0)+c/2,y=(((E=s.arrow)==null?void 0:E.y)??0)+u/2;let v="",j="";return h==="bottom"?(v=o?m:`${g}px`,j=`${-u}px`):h==="top"?(v=o?m:`${g}px`,j=`${r.floating.height+u}px`):h==="right"?(v=`${-u}px`,j=o?m:`${y}px`):h==="left"&&(v=`${r.floating.width+u}px`,j=o?m:`${y}px`),{data:{x:v,y:j}}}});function GC(t){const[e,n="center"]=t.split("-");return[e,n]}var aB=VC,oB=WC,lB=UC,cB=qC,JC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),dB="VisuallyHidden",uB=b.forwardRef((t,e)=>i.jsx(at.span,{...t,ref:e,style:{...JC,...t.style}}));uB.displayName=dB;var hB=[" ","Enter","ArrowUp","ArrowDown"],fB=[" ","Enter"],eo="Select",[Sf,Cf,pB]=$x(eo),[gl]=ia(eo,[pB,FC]),Ef=FC(),[mB,ca]=gl(eo),[gB,xB]=gl(eo),YC=t=>{const{__scopeSelect:e,children:n,open:r,defaultOpen:s,onOpenChange:a,value:o,defaultValue:c,onValueChange:u,dir:h,name:f,autoComplete:m,disabled:g,required:y,form:v}=t,j=Ef(e),[w,k]=b.useState(null),[E,C]=b.useState(null),[T,O]=b.useState(!1),B=ef(h),[R,P]=Wa({prop:r,defaultProp:s??!1,onChange:a,caller:eo}),[I,L]=Wa({prop:o,defaultProp:c,onChange:u,caller:eo}),X=b.useRef(null),Z=w?v||!!w.closest("form"):!0,[Y,W]=b.useState(new Set),D=Array.from(Y).map($=>$.props.value).join(";");return i.jsx(aB,{...j,children:i.jsxs(mB,{required:y,scope:e,trigger:w,onTriggerChange:k,valueNode:E,onValueNodeChange:C,valueNodeHasChildren:T,onValueNodeHasChildrenChange:O,contentId:Ki(),value:I,onValueChange:L,open:R,onOpenChange:P,dir:B,triggerPointerDownPosRef:X,disabled:g,children:[i.jsx(Sf.Provider,{scope:e,children:i.jsx(gB,{scope:t.__scopeSelect,onNativeOptionAdd:b.useCallback($=>{W(ae=>new Set(ae).add($))},[]),onNativeOptionRemove:b.useCallback($=>{W(ae=>{const _=new Set(ae);return _.delete($),_})},[]),children:n})}),Z?i.jsxs(yE,{"aria-hidden":!0,required:y,tabIndex:-1,name:f,autoComplete:m,value:I,onChange:$=>L($.target.value),disabled:g,form:v,children:[I===void 0?i.jsx("option",{value:""}):null,Array.from(Y)]},D):null]})})};YC.displayName=eo;var QC="SelectTrigger",XC=b.forwardRef((t,e)=>{const{__scopeSelect:n,disabled:r=!1,...s}=t,a=Ef(n),o=ca(QC,n),c=o.disabled||r,u=vt(e,o.onTriggerChange),h=Cf(n),f=b.useRef("touch"),[m,g,y]=bE(j=>{const w=h().filter(C=>!C.disabled),k=w.find(C=>C.value===o.value),E=wE(w,j,k);E!==void 0&&o.onValueChange(E.value)}),v=j=>{c||(o.onOpenChange(!0),y()),j&&(o.triggerPointerDownPosRef.current={x:Math.round(j.pageX),y:Math.round(j.pageY)})};return i.jsx(oB,{asChild:!0,...a,children:i.jsx(at.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":vE(o.value)?"":void 0,...s,ref:u,onClick:rt(s.onClick,j=>{j.currentTarget.focus(),f.current!=="mouse"&&v(j)}),onPointerDown:rt(s.onPointerDown,j=>{f.current=j.pointerType;const w=j.target;w.hasPointerCapture(j.pointerId)&&w.releasePointerCapture(j.pointerId),j.button===0&&j.ctrlKey===!1&&j.pointerType==="mouse"&&(v(j),j.preventDefault())}),onKeyDown:rt(s.onKeyDown,j=>{const w=m.current!=="";!(j.ctrlKey||j.altKey||j.metaKey)&&j.key.length===1&&g(j.key),!(w&&j.key===" ")&&hB.includes(j.key)&&(v(),j.preventDefault())})})})});XC.displayName=QC;var ZC="SelectValue",eE=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:s,children:a,placeholder:o="",...c}=t,u=ca(ZC,n),{onValueNodeHasChildrenChange:h}=u,f=a!==void 0,m=vt(e,u.onValueNodeChange);return Un(()=>{h(f)},[h,f]),i.jsx(at.span,{...c,ref:m,style:{pointerEvents:"none"},children:vE(u.value)?i.jsx(i.Fragment,{children:o}):a})});eE.displayName=ZC;var yB="SelectIcon",tE=b.forwardRef((t,e)=>{const{__scopeSelect:n,children:r,...s}=t;return i.jsx(at.span,{"aria-hidden":!0,...s,ref:e,children:r||"▼"})});tE.displayName=yB;var vB="SelectPortal",nE=t=>i.jsx(Ox,{asChild:!0,...t});nE.displayName=vB;var to="SelectContent",rE=b.forwardRef((t,e)=>{const n=ca(to,t.__scopeSelect),[r,s]=b.useState();if(Un(()=>{s(new DocumentFragment)},[]),!n.open){const a=r;return a?Wc.createPortal(i.jsx(sE,{scope:t.__scopeSelect,children:i.jsx(Sf.Slot,{scope:t.__scopeSelect,children:i.jsx("div",{children:t.children})})}),a):null}return i.jsx(iE,{...t,ref:e})});rE.displayName=to;var rs=10,[sE,da]=gl(to),bB="SelectContentImpl",wB=Mc("SelectContent.RemoveScroll"),iE=b.forwardRef((t,e)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:a,onPointerDownOutside:o,side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:j,avoidCollisions:w,...k}=t,E=ca(to,n),[C,T]=b.useState(null),[O,B]=b.useState(null),R=vt(e,oe=>T(oe)),[P,I]=b.useState(null),[L,X]=b.useState(null),Z=Cf(n),[Y,W]=b.useState(!1),D=b.useRef(!1);b.useEffect(()=>{if(C)return vj(C)},[C]),dj();const $=b.useCallback(oe=>{const[ue,...ye]=Z().map(Me=>Me.ref.current),[V]=ye.slice(-1),ge=document.activeElement;for(const Me of oe)if(Me===ge||(Me==null||Me.scrollIntoView({block:"nearest"}),Me===ue&&O&&(O.scrollTop=0),Me===V&&O&&(O.scrollTop=O.scrollHeight),Me==null||Me.focus(),document.activeElement!==ge))return},[Z,O]),ae=b.useCallback(()=>$([P,C]),[$,P,C]);b.useEffect(()=>{Y&&ae()},[Y,ae]);const{onOpenChange:_,triggerPointerDownPosRef:se}=E;b.useEffect(()=>{if(C){let oe={x:0,y:0};const ue=V=>{var ge,Me;oe={x:Math.abs(Math.round(V.pageX)-(((ge=se.current)==null?void 0:ge.x)??0)),y:Math.abs(Math.round(V.pageY)-(((Me=se.current)==null?void 0:Me.y)??0))}},ye=V=>{oe.x<=10&&oe.y<=10?V.preventDefault():C.contains(V.target)||_(!1),document.removeEventListener("pointermove",ue),se.current=null};return se.current!==null&&(document.addEventListener("pointermove",ue),document.addEventListener("pointerup",ye,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",ye,{capture:!0})}}},[C,_,se]),b.useEffect(()=>{const oe=()=>_(!1);return window.addEventListener("blur",oe),window.addEventListener("resize",oe),()=>{window.removeEventListener("blur",oe),window.removeEventListener("resize",oe)}},[_]);const[q,z]=bE(oe=>{const ue=Z().filter(ge=>!ge.disabled),ye=ue.find(ge=>ge.ref.current===document.activeElement),V=wE(ue,oe,ye);V&&setTimeout(()=>V.ref.current.focus())}),H=b.useCallback((oe,ue,ye)=>{const V=!D.current&&!ye;(E.value!==void 0&&E.value===ue||V)&&(I(oe),V&&(D.current=!0))},[E.value]),de=b.useCallback(()=>C==null?void 0:C.focus(),[C]),K=b.useCallback((oe,ue,ye)=>{const V=!D.current&&!ye;(E.value!==void 0&&E.value===ue||V)&&X(oe)},[E.value]),fe=r==="popper"?xx:aE,Q=fe===xx?{side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:j,avoidCollisions:w}:{};return i.jsx(sE,{scope:n,content:C,viewport:O,onViewportChange:B,itemRefCallback:H,selectedItem:P,onItemLeave:de,itemTextRefCallback:K,focusSelectedItem:ae,selectedItemText:L,position:r,isPositioned:Y,searchRef:q,children:i.jsx(Dx,{as:wB,allowPinchZoom:!0,children:i.jsx(Ix,{asChild:!0,trapped:E.open,onMountAutoFocus:oe=>{oe.preventDefault()},onUnmountAutoFocus:rt(s,oe=>{var ue;(ue=E.trigger)==null||ue.focus({preventScroll:!0}),oe.preventDefault()}),children:i.jsx(Px,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:oe=>oe.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:i.jsx(fe,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:oe=>oe.preventDefault(),...k,...Q,onPlaced:()=>W(!0),ref:R,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:rt(k.onKeyDown,oe=>{const ue=oe.ctrlKey||oe.altKey||oe.metaKey;if(oe.key==="Tab"&&oe.preventDefault(),!ue&&oe.key.length===1&&z(oe.key),["ArrowUp","ArrowDown","Home","End"].includes(oe.key)){let V=Z().filter(ge=>!ge.disabled).map(ge=>ge.ref.current);if(["ArrowUp","End"].includes(oe.key)&&(V=V.slice().reverse()),["ArrowUp","ArrowDown"].includes(oe.key)){const ge=oe.target,Me=V.indexOf(ge);V=V.slice(Me+1)}setTimeout(()=>$(V)),oe.preventDefault()}})})})})})})});iE.displayName=bB;var NB="SelectItemAlignedPosition",aE=b.forwardRef((t,e)=>{const{__scopeSelect:n,onPlaced:r,...s}=t,a=ca(to,n),o=da(to,n),[c,u]=b.useState(null),[h,f]=b.useState(null),m=vt(e,R=>f(R)),g=Cf(n),y=b.useRef(!1),v=b.useRef(!0),{viewport:j,selectedItem:w,selectedItemText:k,focusSelectedItem:E}=o,C=b.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&h&&j&&w&&k){const R=a.trigger.getBoundingClientRect(),P=h.getBoundingClientRect(),I=a.valueNode.getBoundingClientRect(),L=k.getBoundingClientRect();if(a.dir!=="rtl"){const ge=L.left-P.left,Me=I.left-ge,tt=R.left-Me,et=R.width+tt,ot=Math.max(et,P.width),Ge=window.innerWidth-rs,dt=eh(Me,[rs,Math.max(rs,Ge-ot)]);c.style.minWidth=et+"px",c.style.left=dt+"px"}else{const ge=P.right-L.right,Me=window.innerWidth-I.right-ge,tt=window.innerWidth-R.right-Me,et=R.width+tt,ot=Math.max(et,P.width),Ge=window.innerWidth-rs,dt=eh(Me,[rs,Math.max(rs,Ge-ot)]);c.style.minWidth=et+"px",c.style.right=dt+"px"}const X=g(),Z=window.innerHeight-rs*2,Y=j.scrollHeight,W=window.getComputedStyle(h),D=parseInt(W.borderTopWidth,10),$=parseInt(W.paddingTop,10),ae=parseInt(W.borderBottomWidth,10),_=parseInt(W.paddingBottom,10),se=D+$+Y+_+ae,q=Math.min(w.offsetHeight*5,se),z=window.getComputedStyle(j),H=parseInt(z.paddingTop,10),de=parseInt(z.paddingBottom,10),K=R.top+R.height/2-rs,fe=Z-K,Q=w.offsetHeight/2,oe=w.offsetTop+Q,ue=D+$+oe,ye=se-ue;if(ue<=K){const ge=X.length>0&&w===X[X.length-1].ref.current;c.style.bottom="0px";const Me=h.clientHeight-j.offsetTop-j.offsetHeight,tt=Math.max(fe,Q+(ge?de:0)+Me+ae),et=ue+tt;c.style.height=et+"px"}else{const ge=X.length>0&&w===X[0].ref.current;c.style.top="0px";const tt=Math.max(K,D+j.offsetTop+(ge?H:0)+Q)+ye;c.style.height=tt+"px",j.scrollTop=ue-K+j.offsetTop}c.style.margin=`${rs}px 0`,c.style.minHeight=q+"px",c.style.maxHeight=Z+"px",r==null||r(),requestAnimationFrame(()=>y.current=!0)}},[g,a.trigger,a.valueNode,c,h,j,w,k,a.dir,r]);Un(()=>C(),[C]);const[T,O]=b.useState();Un(()=>{h&&O(window.getComputedStyle(h).zIndex)},[h]);const B=b.useCallback(R=>{R&&v.current===!0&&(C(),E==null||E(),v.current=!1)},[C,E]);return i.jsx(kB,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:y,onScrollButtonChange:B,children:i.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T},children:i.jsx(at.div,{...s,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});aE.displayName=NB;var jB="SelectPopperPosition",xx=b.forwardRef((t,e)=>{const{__scopeSelect:n,align:r="start",collisionPadding:s=rs,...a}=t,o=Ef(n);return i.jsx(lB,{...o,...a,ref:e,align:r,collisionPadding:s,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});xx.displayName=jB;var[kB,H0]=gl(to,{}),yx="SelectViewport",oE=b.forwardRef((t,e)=>{const{__scopeSelect:n,nonce:r,...s}=t,a=da(yx,n),o=H0(yx,n),c=vt(e,a.onViewportChange),u=b.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),i.jsx(Sf.Slot,{scope:n,children:i.jsx(at.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:rt(s.onScroll,h=>{const f=h.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:g}=o;if(g!=null&&g.current&&m){const y=Math.abs(u.current-f.scrollTop);if(y>0){const v=window.innerHeight-rs*2,j=parseFloat(m.style.minHeight),w=parseFloat(m.style.height),k=Math.max(j,w);if(k0?T:0,m.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});oE.displayName=yx;var lE="SelectGroup",[SB,CB]=gl(lE),EB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=Ki();return i.jsx(SB,{scope:n,id:s,children:i.jsx(at.div,{role:"group","aria-labelledby":s,...r,ref:e})})});EB.displayName=lE;var cE="SelectLabel",TB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=CB(cE,n);return i.jsx(at.div,{id:s.id,...r,ref:e})});TB.displayName=cE;var Gh="SelectItem",[MB,dE]=gl(Gh),uE=b.forwardRef((t,e)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:a,...o}=t,c=ca(Gh,n),u=da(Gh,n),h=c.value===r,[f,m]=b.useState(a??""),[g,y]=b.useState(!1),v=vt(e,E=>{var C;return(C=u.itemRefCallback)==null?void 0:C.call(u,E,r,s)}),j=Ki(),w=b.useRef("touch"),k=()=>{s||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(MB,{scope:n,value:r,disabled:s,textId:j,isSelected:h,onItemTextChange:b.useCallback(E=>{m(C=>C||((E==null?void 0:E.textContent)??"").trim())},[]),children:i.jsx(Sf.ItemSlot,{scope:n,value:r,disabled:s,textValue:f,children:i.jsx(at.div,{role:"option","aria-labelledby":j,"data-highlighted":g?"":void 0,"aria-selected":h&&g,"data-state":h?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...o,ref:v,onFocus:rt(o.onFocus,()=>y(!0)),onBlur:rt(o.onBlur,()=>y(!1)),onClick:rt(o.onClick,()=>{w.current!=="mouse"&&k()}),onPointerUp:rt(o.onPointerUp,()=>{w.current==="mouse"&&k()}),onPointerDown:rt(o.onPointerDown,E=>{w.current=E.pointerType}),onPointerMove:rt(o.onPointerMove,E=>{var C;w.current=E.pointerType,s?(C=u.onItemLeave)==null||C.call(u):w.current==="mouse"&&E.currentTarget.focus({preventScroll:!0})}),onPointerLeave:rt(o.onPointerLeave,E=>{var C;E.currentTarget===document.activeElement&&((C=u.onItemLeave)==null||C.call(u))}),onKeyDown:rt(o.onKeyDown,E=>{var T;((T=u.searchRef)==null?void 0:T.current)!==""&&E.key===" "||(fB.includes(E.key)&&k(),E.key===" "&&E.preventDefault())})})})})});uE.displayName=Gh;var uc="SelectItemText",hE=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:s,...a}=t,o=ca(uc,n),c=da(uc,n),u=dE(uc,n),h=xB(uc,n),[f,m]=b.useState(null),g=vt(e,k=>m(k),u.onItemTextChange,k=>{var E;return(E=c.itemTextRefCallback)==null?void 0:E.call(c,k,u.value,u.disabled)}),y=f==null?void 0:f.textContent,v=b.useMemo(()=>i.jsx("option",{value:u.value,disabled:u.disabled,children:y},u.value),[u.disabled,u.value,y]),{onNativeOptionAdd:j,onNativeOptionRemove:w}=h;return Un(()=>(j(v),()=>w(v)),[j,w,v]),i.jsxs(i.Fragment,{children:[i.jsx(at.span,{id:u.textId,...a,ref:g}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Wc.createPortal(a.children,o.valueNode):null]})});hE.displayName=uc;var fE="SelectItemIndicator",pE=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return dE(fE,n).isSelected?i.jsx(at.span,{"aria-hidden":!0,...r,ref:e}):null});pE.displayName=fE;var vx="SelectScrollUpButton",mE=b.forwardRef((t,e)=>{const n=da(vx,t.__scopeSelect),r=H0(vx,t.__scopeSelect),[s,a]=b.useState(!1),o=vt(e,r.onScrollButtonChange);return Un(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollTop>0;a(h)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),s?i.jsx(xE,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});mE.displayName=vx;var bx="SelectScrollDownButton",gE=b.forwardRef((t,e)=>{const n=da(bx,t.__scopeSelect),r=H0(bx,t.__scopeSelect),[s,a]=b.useState(!1),o=vt(e,r.onScrollButtonChange);return Un(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),s?i.jsx(xE,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});gE.displayName=bx;var xE=b.forwardRef((t,e)=>{const{__scopeSelect:n,onAutoScroll:r,...s}=t,a=da("SelectScrollButton",n),o=b.useRef(null),c=Cf(n),u=b.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return b.useEffect(()=>()=>u(),[u]),Un(()=>{var f;const h=c().find(m=>m.ref.current===document.activeElement);(f=h==null?void 0:h.ref.current)==null||f.scrollIntoView({block:"nearest"})},[c]),i.jsx(at.div,{"aria-hidden":!0,...s,ref:e,style:{flexShrink:0,...s.style},onPointerDown:rt(s.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:rt(s.onPointerMove,()=>{var h;(h=a.onItemLeave)==null||h.call(a),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:rt(s.onPointerLeave,()=>{u()})})}),AB="SelectSeparator",RB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return i.jsx(at.div,{"aria-hidden":!0,...r,ref:e})});RB.displayName=AB;var wx="SelectArrow",PB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=Ef(n),a=ca(wx,n),o=da(wx,n);return a.open&&o.position==="popper"?i.jsx(cB,{...s,...r,ref:e}):null});PB.displayName=wx;var IB="SelectBubbleInput",yE=b.forwardRef(({__scopeSelect:t,value:e,...n},r)=>{const s=b.useRef(null),a=vt(r,s),o=Bx(e);return b.useEffect(()=>{const c=s.current;if(!c)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("change",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),i.jsx(at.select,{...n,style:{...JC,...n.style},ref:a,defaultValue:e})});yE.displayName=IB;function vE(t){return t===""||t===void 0}function bE(t){const e=Qi(t),n=b.useRef(""),r=b.useRef(0),s=b.useCallback(o=>{const c=n.current+o;e(c),(function u(h){n.current=h,window.clearTimeout(r.current),h!==""&&(r.current=window.setTimeout(()=>u(""),1e3))})(c)},[e]),a=b.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return b.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,s,a]}function wE(t,e,n){const s=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,a=n?t.indexOf(n):-1;let o=OB(t,Math.max(a,0));s.length===1&&(o=o.filter(h=>h!==n));const u=o.find(h=>h.textValue.toLowerCase().startsWith(s.toLowerCase()));return u!==n?u:void 0}function OB(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var DB=YC,NE=XC,LB=eE,_B=tE,zB=nE,jE=rE,$B=oE,kE=uE,FB=hE,BB=pE,VB=mE,HB=gE;const sc=DB,ic=LB,Bo=b.forwardRef(({className:t,children:e,...n},r)=>i.jsxs(NE,{ref:r,className:bt("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...n,children:[e,i.jsx(_B,{asChild:!0,children:i.jsx(Ec,{className:"h-4 w-4 opacity-50"})})]}));Bo.displayName=NE.displayName;const Vo=b.forwardRef(({className:t,children:e,position:n="popper",...r},s)=>i.jsx(zB,{children:i.jsxs(jE,{ref:s,className:bt("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1",t),position:n,...r,children:[i.jsx(VB,{className:"flex cursor-default items-center justify-center py-1",children:i.jsx(DN,{className:"h-4 w-4"})}),i.jsx($B,{className:"p-1",children:e}),i.jsx(HB,{className:"flex cursor-default items-center justify-center py-1",children:i.jsx(Ec,{className:"h-4 w-4"})})]})}));Vo.displayName=jE.displayName;const bs=b.forwardRef(({className:t,children:e,...n},r)=>i.jsxs(kE,{ref:r,className:bt("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[i.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(BB,{children:i.jsx(Uc,{className:"h-4 w-4"})})}),i.jsx(FB,{children:e})]}));bs.displayName=kE.displayName;const WB=["一","二","三","四","五","六","七","八","九","十"];function cg(t){return t.startsWith("part:")?{type:"part",id:t.slice(5)}:t.startsWith("chapter:")?{type:"chapter",id:t.slice(8)}:t.startsWith("section:")?{type:"section",id:t.slice(8)}:null}function UB({parts:t,expandedParts:e,onTogglePart:n,onReorder:r,onReadSection:s,onDeleteSection:a,onAddSectionInPart:o,onAddChapterInPart:c,onDeleteChapter:u,onEditPart:h,onDeletePart:f,onEditChapter:m,selectedSectionIds:g=[],onToggleSectionSelect:y,onShowSectionOrders:v,pinnedSectionIds:j=[]}){const[w,k]=b.useState(null),[E,C]=b.useState(null),T=(L,X)=>(w==null?void 0:w.type)===L&&(w==null?void 0:w.id)===X,O=(L,X)=>(E==null?void 0:E.type)===L&&(E==null?void 0:E.id)===X,B=b.useCallback(()=>{const L=[];for(const X of t)for(const Z of X.chapters)for(const Y of Z.sections)L.push({id:Y.id,partId:X.id,partTitle:X.title,chapterId:Z.id,chapterTitle:Z.title});return L},[t]),R=b.useCallback(async(L,X,Z,Y)=>{var _;L.preventDefault(),L.stopPropagation();const W=L.dataTransfer.getData("text/plain"),D=cg(W);if(!D||D.type===X&&D.id===Z)return;const $=B(),ae=new Map($.map(se=>[se.id,se]));if(D.type==="part"&&X==="part"){const se=t.map(K=>K.id),q=se.indexOf(D.id),z=se.indexOf(Z);if(q===-1||z===-1)return;const H=[...se];H.splice(q,1),H.splice(qQ.id===K);if(fe)for(const Q of fe.chapters)for(const oe of Q.sections){const ue=ae.get(oe.id);ue&&de.push(ue)}}await r(de);return}if(D.type==="chapter"&&(X==="chapter"||X==="section"||X==="part")){const se=t.find(ue=>ue.chapters.some(ye=>ye.id===D.id)),q=se==null?void 0:se.chapters.find(ue=>ue.id===D.id);if(!se||!q)return;let z,H,de=null;if(X==="section"){const ue=ae.get(Z);if(!ue)return;z=ue.partId,H=ue.partTitle,de=Z}else if(X==="chapter"){const ue=t.find(ge=>ge.chapters.some(Me=>Me.id===Z)),ye=ue==null?void 0:ue.chapters.find(ge=>ge.id===Z);if(!ue||!ye)return;z=ue.id,H=ue.title;const V=$.filter(ge=>ge.chapterId===Z).pop();de=(V==null?void 0:V.id)??null}else{const ue=t.find(V=>V.id===Z);if(!ue||!ue.chapters[0])return;z=ue.id,H=ue.title;const ye=$.filter(V=>V.partId===ue.id&&V.chapterId===ue.chapters[0].id);de=((_=ye[ye.length-1])==null?void 0:_.id)??null}const K=q.sections.map(ue=>ue.id),fe=$.filter(ue=>!K.includes(ue.id));let Q=fe.length;if(de){const ue=fe.findIndex(ye=>ye.id===de);ue>=0&&(Q=ue+1)}const oe=K.map(ue=>({...ae.get(ue),partId:z,partTitle:H,chapterId:q.id,chapterTitle:q.title}));await r([...fe.slice(0,Q),...oe,...fe.slice(Q)]);return}if(D.type==="section"&&(X==="section"||X==="chapter"||X==="part")){if(!Y)return;const{partId:se,partTitle:q,chapterId:z,chapterTitle:H}=Y;let de;if(X==="section")de=$.findIndex(ye=>ye.id===Z);else if(X==="chapter"){const ye=$.filter(V=>V.chapterId===Z).pop();de=ye?$.findIndex(V=>V.id===ye.id)+1:$.length}else{const ye=t.find(Me=>Me.id===Z);if(!(ye!=null&&ye.chapters[0]))return;const V=$.filter(Me=>Me.partId===ye.id&&Me.chapterId===ye.chapters[0].id),ge=V[V.length-1];de=ge?$.findIndex(Me=>Me.id===ge.id)+1:0}const K=$.findIndex(ye=>ye.id===D.id);if(K===-1)return;const fe=$.filter(ye=>ye.id!==D.id),Q=K({onDragEnter:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",C({type:L,id:X})},onDragOver:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",C({type:L,id:X})},onDragLeave:()=>C(null),onDrop:Y=>{C(null);const W=cg(Y.dataTransfer.getData("text/plain"));if(W&&!(L==="section"&&W.type==="section"&&W.id===X))if(L==="part")if(W.type==="part")R(Y,"part",X);else{const D=t.find(ae=>ae.id===X);(D==null?void 0:D.chapters[0])&&Z&&R(Y,"part",X,Z)}else L==="chapter"&&Z?(W.type==="section"||W.type==="chapter")&&R(Y,"chapter",X,Z):L==="section"&&Z&&R(Y,"section",X,Z)}}),I=L=>WB[L]??String(L+1);return i.jsx("div",{className:"space-y-3",children:t.map((L,X)=>{var q,z,H,de;const Z=L.title==="序言"||L.title.includes("序言"),Y=L.title==="尾声"||L.title.includes("尾声"),W=L.title==="附录"||L.title.includes("附录"),D=O("part",L.id),$=e.includes(L.id),ae=L.chapters.length,_=L.chapters.reduce((K,fe)=>K+fe.sections.length,0);if(Z&&L.chapters.length===1&&L.chapters[0].sections.length===1){const K=L.chapters[0].sections[0],fe=O("section",K.id),Q={partId:L.id,partTitle:L.title,chapterId:L.chapters[0].id,chapterTitle:L.chapters[0].title};return i.jsxs("div",{draggable:!0,onDragStart:oe=>{oe.stopPropagation(),oe.dataTransfer.setData("text/plain","section:"+K.id),oe.dataTransfer.effectAllowed="move",k({type:"section",id:K.id})},onDragEnd:()=>{k(null),C(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${fe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${T("section",K.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",K.id,Q),children:[i.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:oe=>oe.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(K.id),onChange:()=>y(K.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:i.jsx(Hr,{className:"w-4 h-4 text-gray-400"})}),i.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[L.chapters[0].title," | ",K.title]}),j.includes(K.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3.5 h-3.5 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:oe=>oe.stopPropagation(),onClick:oe=>oe.stopPropagation(),children:[K.price===0||K.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",K.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",K.clickCount??0," · 付款 ",K.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(K.hotScore??0).toFixed(1)," · 第",K.hotRank&&K.hotRank>0?K.hotRank:"-","名"]}),v&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(K),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(K),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(K),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},L.id)}if(L.title==="2026每日派对干货"||L.title.includes("2026每日派对干货")){const K=O("part",L.id);return i.jsxs("div",{className:`rounded-xl border overflow-hidden transition-all duration-200 ${K?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50 bg-[#1C1C1E]"}`,...P("part",L.id,{partId:L.id,partTitle:L.title,chapterId:((q=L.chapters[0])==null?void 0:q.id)??"",chapterTitle:((z=L.chapters[0])==null?void 0:z.title)??""}),children:[i.jsxs("div",{draggable:!0,onDragStart:fe=>{fe.stopPropagation(),fe.dataTransfer.setData("text/plain","part:"+L.id),fe.dataTransfer.effectAllowed="move",k({type:"part",id:L.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${T("part",L.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/50"}`,onClick:()=>n(L.id),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),i.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac]/80 flex items-center justify-center text-white font-bold shrink-0",children:"派"}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-bold text-white text-base",children:L.title}),i.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",_," 节"]})]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:fe=>fe.stopPropagation(),onClick:fe=>fe.stopPropagation(),children:[o&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),h&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),f&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f(L),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:i.jsx(wn,{className:"w-3.5 h-3.5"})}),i.jsxs("span",{className:"text-xs text-gray-500",children:[ae,"章"]}),$?i.jsx(Ec,{className:"w-5 h-5 text-gray-500"}):i.jsx(Ho,{className:"w-5 h-5 text-gray-500"})]})]}),$&&L.chapters.length>0&&i.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:L.chapters.map(fe=>i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:fe.title}),i.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Q=>Q.stopPropagation(),children:[m&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m(L,fe),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),c&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),u&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u(L,fe),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx("div",{className:"space-y-1 pl-2",children:fe.sections.map(Q=>{const oe=O("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:ue=>{ue.stopPropagation(),ue.dataTransfer.setData("text/plain","section:"+Q.id),ue.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg min-h-[40px] cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${oe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${T("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Q.id,{partId:L.id,partTitle:L.title,chapterId:fe.id,chapterTitle:fe.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ue=>ue.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Q.id," ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]},Q.id)})})]},fe.id))})]},L.id)}if(W)return i.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[i.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"附录"}),i.jsx("div",{className:"space-y-3",children:L.chapters.map((K,fe)=>K.sections.length>0?K.sections.map(Q=>{const oe=O("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:ue=>{ue.stopPropagation(),ue.dataTransfer.setData("text/plain","section:"+Q.id),ue.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 group cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${oe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${T("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Q.id,{partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ue=>ue.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-300 truncate",children:["附录",fe+1," | ",K.title," | ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx(Ho,{className:"w-4 h-4 text-gray-500 shrink-0"})]},Q.id)}):i.jsxs("div",{className:"flex justify-between items-center py-2 select-none hover:bg-[#162840]/50 rounded px-2 -mx-2",children:[i.jsxs("span",{className:"text-sm text-gray-500",children:["附录",fe+1," | ",K.title,"(空)"]}),i.jsx(Ho,{className:"w-4 h-4 text-gray-500 shrink-0"})]},K.id))})]},L.id);if(Y&&L.chapters.length===1&&L.chapters[0].sections.length===1){const K=L.chapters[0].sections[0],fe=O("section",K.id),Q={partId:L.id,partTitle:L.title,chapterId:L.chapters[0].id,chapterTitle:L.chapters[0].title};return i.jsxs("div",{draggable:!0,onDragStart:oe=>{oe.stopPropagation(),oe.dataTransfer.setData("text/plain","section:"+K.id),oe.dataTransfer.effectAllowed="move",k({type:"section",id:K.id})},onDragEnd:()=>{k(null),C(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${fe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${T("section",K.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",K.id,Q),children:[i.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:oe=>oe.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(K.id),onChange:()=>y(K.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:i.jsx(Hr,{className:"w-4 h-4 text-gray-400"})}),i.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[L.chapters[0].title," | ",K.title]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:oe=>oe.stopPropagation(),onClick:oe=>oe.stopPropagation(),children:[K.price===0||K.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",K.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",K.clickCount??0," · 付款 ",K.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(K.hotScore??0).toFixed(1)," · 第",K.hotRank&&K.hotRank>0?K.hotRank:"-","名"]}),v&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(K),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(K),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(K),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},L.id)}return Y?i.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[i.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"尾声"}),i.jsx("div",{className:"space-y-3",children:L.chapters.map(K=>K.sections.map(fe=>{const Q=O("section",fe.id);return i.jsxs("div",{draggable:!0,onDragStart:oe=>{oe.stopPropagation(),oe.dataTransfer.setData("text/plain","section:"+fe.id),oe.dataTransfer.effectAllowed="move",k({type:"section",id:fe.id})},onDragEnd:()=>{k(null),C(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${Q?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${T("section",fe.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",fe.id,{partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:oe=>oe.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(fe.id),onChange:()=>y(fe.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-300",children:[K.title," | ",fe.title]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",fe.clickCount??0," · 付款 ",fe.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(fe.hotScore??0).toFixed(1)," · 第",fe.hotRank&&fe.hotRank>0?fe.hotRank:"-","名"]}),v&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(fe),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(fe),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(fe),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},fe.id)}))})]},L.id):i.jsxs("div",{className:`rounded-xl border bg-[#1C1C1E] overflow-hidden transition-all duration-200 ${D?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50"}`,...P("part",L.id,{partId:L.id,partTitle:L.title,chapterId:((H=L.chapters[0])==null?void 0:H.id)??"",chapterTitle:((de=L.chapters[0])==null?void 0:de.title)??""}),children:[i.jsxs("div",{draggable:!0,onDragStart:K=>{K.stopPropagation(),K.dataTransfer.setData("text/plain","part:"+L.id),K.dataTransfer.effectAllowed="move",k({type:"part",id:L.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${T("part",L.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] rounded-xl shadow-xl shadow-[#38bdac]/20":"hover:bg-[#162840]/50"}`,onClick:()=>n(L.id),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),i.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac] flex items-center justify-center text-white font-bold shadow-lg shadow-[#38bdac]/30 shrink-0",children:I(X)}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-bold text-white text-base",children:L.title}),i.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",_," 节"]})]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:K=>K.stopPropagation(),onClick:K=>K.stopPropagation(),children:[o&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),h&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),f&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f(L),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:i.jsx(wn,{className:"w-3.5 h-3.5"})}),i.jsxs("span",{className:"text-xs text-gray-500",children:[ae,"章"]}),$?i.jsx(Ec,{className:"w-5 h-5 text-gray-500"}):i.jsx(Ho,{className:"w-5 h-5 text-gray-500"})]})]}),$&&i.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:L.chapters.map(K=>{const fe=O("chapter",K.id);return i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i.jsxs("div",{draggable:!0,onDragStart:Q=>{Q.stopPropagation(),Q.dataTransfer.setData("text/plain","chapter:"+K.id),Q.dataTransfer.effectAllowed="move",k({type:"chapter",id:K.id})},onDragEnd:()=>{k(null),C(null)},onDragEnter:Q=>{Q.preventDefault(),Q.stopPropagation(),Q.dataTransfer.dropEffect="move",C({type:"chapter",id:K.id})},onDragOver:Q=>{Q.preventDefault(),Q.stopPropagation(),Q.dataTransfer.dropEffect="move",C({type:"chapter",id:K.id})},onDragLeave:()=>C(null),onDrop:Q=>{C(null);const oe=cg(Q.dataTransfer.getData("text/plain"));if(!oe)return;const ue={partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title};(oe.type==="section"||oe.type==="chapter")&&R(Q,"chapter",K.id,ue)},className:`flex-1 min-w-0 py-2 px-2 rounded cursor-grab active:cursor-grabbing select-none -mx-2 transition-all duration-200 flex items-center gap-2 ${fe?"bg-[#38bdac]/15 ring-1 ring-[#38bdac]/50":""} ${T("chapter",K.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/30"}`,children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),i.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:K.title})]}),i.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Q=>Q.stopPropagation(),children:[m&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m(L,K),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),c&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),u&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u(L,K),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx("div",{className:"space-y-1 pl-2",children:K.sections.map(Q=>{const oe=O("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:ue=>{ue.stopPropagation(),ue.dataTransfer.setData("text/plain","section:"+Q.id),ue.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg group cursor-grab active:cursor-grabbing select-none min-h-[40px] transition-all duration-200 ${oe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${T("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] shadow-lg":"hover:bg-[#162840]/50"}`,...P("section",Q.id,{partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title}),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ue=>ue.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),i.jsx("div",{className:`w-2 h-2 rounded-full shrink-0 ${Q.price===0||Q.isFree?"border-2 border-[#38bdac] bg-transparent":"bg-gray-500"}`}),i.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Q.id," ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ue=>ue.stopPropagation(),onClick:ue=>ue.stopPropagation(),children:[Q.isNew&&i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"NEW"}),Q.price===0||Q.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",Q.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",title:"点击次数 · 付款笔数",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5 shrink-0",children:"付款记录"}),i.jsxs("div",{className:"flex gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},Q.id)})})]},K.id)})})]},L.id)})})}function KB(t){const e=new Map;for(const c of t){const u=c.partId||"part-1",h=c.partTitle||"未分类",f=c.chapterId||"chapter-1",m=c.chapterTitle||"未分类";e.has(u)||e.set(u,{id:u,title:h,chapters:new Map});const g=e.get(u);g.chapters.has(f)||g.chapters.set(f,{id:f,title:m,sections:[]}),g.chapters.get(f).sections.push({id:c.id,title:c.title,price:c.price??1,filePath:c.filePath,isFree:c.isFree,isNew:c.isNew,clickCount:c.clickCount??0,payCount:c.payCount??0,hotScore:c.hotScore??0,hotRank:c.hotRank??0})}const n="part-2026-daily",r="2026每日派对干货";Array.from(e.values()).some(c=>c.title===r||c.title.includes(r))||e.set(n,{id:n,title:r,chapters:new Map([["chapter-2026-daily",{id:"chapter-2026-daily",title:r,sections:[]}]])});const a=Array.from(e.values()).map(c=>({...c,chapters:Array.from(c.chapters.values())})),o=c=>c.includes("序言")?0:c.includes(r)?1.5:c.includes("附录")?2:c.includes("尾声")?3:1;return a.sort((c,u)=>{const h=o(c.title),f=o(u.title);return h!==f?h-f:0})}function qB(){var od,ld,fa;const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState([]),[o,c]=b.useState(null),[u,h]=b.useState(!1),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,j]=b.useState(""),[w,k]=b.useState([]),[E,C]=b.useState(!1),[T,O]=b.useState({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),[B,R]=b.useState(null),[P,I]=b.useState(!1),[L,X]=b.useState(!1),[Z,Y]=b.useState(null),[W,D]=b.useState(!1),[$,ae]=b.useState([]),[_,se]=b.useState(!1),[q,z]=b.useState(""),[H,de]=b.useState(""),[K,fe]=b.useState(!1),[Q,oe]=b.useState(""),[ue,ye]=b.useState(!1),[V,ge]=b.useState(null),[Me,tt]=b.useState(!1),[et,ot]=b.useState(!1),[Ge,dt]=b.useState({readWeight:.5,recencyWeight:.3,payWeight:.2}),[Et,ht]=b.useState(!1),[Tt,rr]=b.useState(!1),[sr,Er]=b.useState(1),[on,Kr]=b.useState([]),[gr,Tr]=b.useState(!1),[_n,Jn]=b.useState(20),[Yn,Cn]=b.useState(!1),[pe,ve]=b.useState(!1),[hn,Mr]=b.useState([]),[fs,ua]=b.useState([]),[En,qr]=b.useState({personId:"",name:"",label:"",ckbApiKey:""}),[ha,xr]=b.useState(null),[Gr,ai]=b.useState(""),[ut,Ar]=b.useState({tagId:"",label:"",url:"",type:"url",appId:"",pagePath:""}),io=b.useRef(null),xn=KB(t),Jr=t.length,oi=[...t].sort((A,ee)=>(ee.hotScore??0)-(A.hotScore??0)),Rr=10,ps=Math.max(1,Math.ceil(oi.length/Rr)),Yr=oi.slice((sr-1)*Rr,sr*Rr),Tn=async()=>{r(!0);try{const A=await Fe("/api/db/book?action=list",{cache:"no-store"});e(Array.isArray(A==null?void 0:A.sections)?A.sections:[])}catch(A){console.error(A),e([])}finally{r(!1)}};b.useEffect(()=>{Tn()},[]);const ms=A=>{a(ee=>ee.includes(A)?ee.filter(Se=>Se!==A):[...ee,A])},Ps=b.useCallback(A=>{const ee=t,Se=A.flatMap(je=>{const jt=ee.find(Mt=>Mt.id===je.id);return jt?[{...jt,partId:je.partId,partTitle:je.partTitle,chapterId:je.chapterId,chapterTitle:je.chapterTitle}]:[]});return e(Se),_t("/api/db/book",{action:"reorder",items:A}).then(je=>{je&&je.success===!1&&(e(ee),he.error("排序失败: "+(je&&typeof je=="object"&&"error"in je?je.error:"未知错误")))}).catch(je=>{e(ee),console.error("排序失败:",je),he.error("排序失败: "+(je instanceof Error?je.message:"网络或服务异常"))}),Promise.resolve()},[t]),Is=async A=>{if(confirm(`确定要删除章节「${A.title}」吗?此操作不可恢复。`))try{const ee=await ss(`/api/db/book?id=${encodeURIComponent(A.id)}`);ee&&ee.success!==!1?(he.success("已删除"),Tn()):he.error("删除失败: "+(ee&&typeof ee=="object"&&"error"in ee?ee.error:"未知错误"))}catch(ee){console.error(ee),he.error("删除失败")}},G=b.useCallback(async()=>{ht(!0);try{const A=await Fe("/api/db/config/full?key=article_ranking_weights",{cache:"no-store"}),ee=A&&A.data;ee&&typeof ee.readWeight=="number"&&typeof ee.recencyWeight=="number"&&typeof ee.payWeight=="number"&&dt({readWeight:Math.max(0,Math.min(1,ee.readWeight)),recencyWeight:Math.max(0,Math.min(1,ee.recencyWeight)),payWeight:Math.max(0,Math.min(1,ee.payWeight))})}catch{}finally{ht(!1)}},[]);b.useEffect(()=>{et&&G()},[et,G]);const nt=async()=>{const{readWeight:A,recencyWeight:ee,payWeight:Se}=Ge,je=A+ee+Se;if(Math.abs(je-1)>.001){he.error("三个权重之和必须等于 1");return}rr(!0);try{const jt=await mt("/api/db/config",{key:"article_ranking_weights",value:{readWeight:A,recencyWeight:ee,payWeight:Se},description:"文章排名算法权重"});jt&&jt.success!==!1?(he.success("排名权重已保存"),Tn()):he.error("保存失败: "+(jt&&typeof jt=="object"&&"error"in jt?jt.error:""))}catch(jt){console.error(jt),he.error("保存失败")}finally{rr(!1)}},wt=b.useCallback(async()=>{Tr(!0);try{const A=await Fe("/api/db/config/full?key=pinned_section_ids",{cache:"no-store"}),ee=A&&A.data;Array.isArray(ee)&&Kr(ee)}catch{}finally{Tr(!1)}},[]),ft=b.useCallback(async()=>{try{const A=await Fe("/api/db/persons");A!=null&&A.success&&A.persons&&Mr(A.persons.map(ee=>({id:ee.personId,name:ee.name,label:ee.label,ckbApiKey:ee.ckbApiKey})))}catch{}},[]),Qt=b.useCallback(async()=>{try{const A=await Fe("/api/db/link-tags");A!=null&&A.success&&A.linkTags&&ua(A.linkTags.map(ee=>({id:ee.tagId,label:ee.label,url:ee.url,type:ee.type,appId:ee.appId,pagePath:ee.pagePath})))}catch{}},[]),li=async A=>{const ee=on.includes(A)?on.filter(Se=>Se!==A):[...on,A];Kr(ee);try{await mt("/api/db/config",{key:"pinned_section_ids",value:ee,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"})}catch{Kr(on)}},xl=b.useCallback(async()=>{Cn(!0);try{const A=await Fe("/api/db/config/full?key=unpaid_preview_percent",{cache:"no-store"}),ee=A&&A.data;typeof ee=="number"&&ee>0&&ee<=100&&Jn(ee)}catch{}finally{Cn(!1)}},[]),Tf=async()=>{if(_n<1||_n>100){he.error("预览比例需在 1~100 之间");return}ve(!0);try{const A=await mt("/api/db/config",{key:"unpaid_preview_percent",value:_n,description:"小程序未付费内容默认预览比例(%)"});A&&A.success!==!1?he.success("预览比例已保存"):he.error("保存失败: "+(A.error||""))}catch{he.error("保存失败")}finally{ve(!1)}};b.useEffect(()=>{wt(),xl(),ft(),Qt()},[wt,xl,ft,Qt]);const yl=async A=>{ge({section:A,orders:[]}),tt(!0);try{const ee=await Fe(`/api/db/book?action=section-orders&id=${encodeURIComponent(A.id)}`),Se=ee!=null&&ee.success&&Array.isArray(ee.orders)?ee.orders:[];ge(je=>je?{...je,orders:Se}:null)}catch(ee){console.error(ee),ge(Se=>Se?{...Se,orders:[]}:null)}finally{tt(!1)}},ao=async A=>{m(!0);try{const ee=await Fe(`/api/db/book?action=read&id=${encodeURIComponent(A.id)}`);if(ee!=null&&ee.success&&ee.section){const Se=ee.section,je=Se.editionPremium===!0;c({id:A.id,originalId:A.id,title:ee.section.title??A.title,price:ee.section.price??A.price,content:ee.section.content??"",filePath:A.filePath,isFree:A.isFree||A.price===0,isNew:Se.isNew??A.isNew,isPinned:on.includes(A.id),hotScore:A.hotScore??0,editionStandard:je?!1:Se.editionStandard??!0,editionPremium:je})}else c({id:A.id,originalId:A.id,title:A.title,price:A.price,content:"",filePath:A.filePath,isFree:A.isFree,isNew:A.isNew,isPinned:on.includes(A.id),hotScore:A.hotScore??0,editionStandard:!0,editionPremium:!1}),ee&&!ee.success&&he.error("无法读取文件内容: "+(ee.error||"未知错误"))}catch(ee){console.error(ee),c({id:A.id,title:A.title,price:A.price,content:"",filePath:A.filePath,isFree:A.isFree})}finally{m(!1)}},td=async()=>{var A;if(o){y(!0);try{let ee=o.content||"";const Se=[new RegExp(`^#+\\s*${o.id.replace(".","\\.")}\\s+.*$`,"gm"),new RegExp(`^#+\\s*${o.id.replace(".","\\.")}[::].*$`,"gm"),new RegExp(`^#\\s+.*${(A=o.title)==null?void 0:A.slice(0,10).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}.*$`,"gm")];for(const Mn of Se)ee=ee.replace(Mn,"");ee=ee.replace(/^\s*\n+/,"").trim();const je=o.originalId||o.id,jt=o.id!==je,Mt=await _t("/api/db/book",{id:je,...jt?{newId:o.id}:{},title:o.title,price:o.isFree?0:o.price,content:ee,isFree:o.isFree||o.price===0,isNew:o.isNew,hotScore:o.hotScore,editionStandard:o.editionPremium?!1:o.editionStandard??!0,editionPremium:o.editionPremium??!1,saveToFile:!0}),zn=jt?o.id:je;o.isPinned!==on.includes(zn)&&await li(zn),Mt&&Mt.success!==!1?(he.success(`已保存:${o.title}`),c(null),Tn()):he.error("保存失败: "+(Mt&&typeof Mt=="object"&&"error"in Mt?Mt.error:"未知错误"))}catch(ee){console.error(ee),he.error("保存失败")}finally{y(!1)}}},nd=async()=>{if(!T.id||!T.title){he.error("请填写章节ID和标题");return}y(!0);try{const A=xn.find(je=>je.id===T.partId),ee=A==null?void 0:A.chapters.find(je=>je.id===T.chapterId),Se=await _t("/api/db/book",{id:T.id,title:T.title,price:T.isFree?0:T.price,content:T.content,partId:T.partId,partTitle:(A==null?void 0:A.title)??"",chapterId:T.chapterId,chapterTitle:(ee==null?void 0:ee.title)??"",isFree:T.isFree,isNew:T.isNew,editionStandard:T.editionPremium?!1:T.editionStandard??!0,editionPremium:T.editionPremium??!1,hotScore:T.hotScore??0,saveToFile:!1});if(Se&&Se.success!==!1){if(T.isPinned){const je=[...on,T.id];Kr(je);try{await mt("/api/db/config",{key:"pinned_section_ids",value:je,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"})}catch{}}he.success(`章节创建成功:${T.title}`),h(!1),O({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),Tn()}else he.error("创建失败: "+(Se&&typeof Se=="object"&&"error"in Se?Se.error:"未知错误"))}catch(A){console.error(A),he.error("创建失败")}finally{y(!1)}},Mf=A=>{O(ee=>{var Se;return{...ee,partId:A.id,chapterId:((Se=A.chapters[0])==null?void 0:Se.id)??"chapter-1"}}),h(!0)},Af=A=>{R({id:A.id,title:A.title})},Vt=async()=>{var A;if((A=B==null?void 0:B.title)!=null&&A.trim()){I(!0);try{const ee=t.map(je=>({id:je.id,partId:je.partId||"part-1",partTitle:je.partId===B.id?B.title.trim():je.partTitle||"",chapterId:je.chapterId||"chapter-1",chapterTitle:je.chapterTitle||""})),Se=await _t("/api/db/book",{action:"reorder",items:ee});if(Se&&Se.success!==!1){const je=B.title.trim();e(jt=>jt.map(Mt=>Mt.partId===B.id?{...Mt,partTitle:je}:Mt)),R(null),Tn()}else he.error("更新篇名失败: "+(Se&&typeof Se=="object"&&"error"in Se?Se.error:"未知错误"))}catch(ee){console.error(ee),he.error("更新篇名失败")}finally{I(!1)}}},Rf=A=>{const ee=A.chapters.length+1,Se=`chapter-${A.id}-${ee}-${Date.now()}`;O({id:`${ee}.1`,title:"新章节",price:1,partId:A.id,chapterId:Se,content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),h(!0)},vl=(A,ee)=>{Y({part:A,chapter:ee,title:ee.title})},rd=async()=>{var A;if((A=Z==null?void 0:Z.title)!=null&&A.trim()){D(!0);try{const ee=t.map(je=>({id:je.id,partId:je.partId||Z.part.id,partTitle:je.partId===Z.part.id?Z.part.title:je.partTitle||"",chapterId:je.chapterId||Z.chapter.id,chapterTitle:je.partId===Z.part.id&&je.chapterId===Z.chapter.id?Z.title.trim():je.chapterTitle||""})),Se=await _t("/api/db/book",{action:"reorder",items:ee});if(Se&&Se.success!==!1){const je=Z.title.trim(),jt=Z.part.id,Mt=Z.chapter.id;e(zn=>zn.map(Mn=>Mn.partId===jt&&Mn.chapterId===Mt?{...Mn,chapterTitle:je}:Mn)),Y(null),Tn()}else he.error("保存失败: "+(Se&&typeof Se=="object"&&"error"in Se?Se.error:"未知错误"))}catch(ee){console.error(ee),he.error("保存失败")}finally{D(!1)}}},oo=async(A,ee)=>{const Se=ee.sections.map(je=>je.id);if(Se.length===0){he.info("该章下无小节,无需删除");return}if(confirm(`确定要删除「第${A.chapters.indexOf(ee)+1}章 | ${ee.title}」吗?将删除共 ${Se.length} 节,此操作不可恢复。`))try{for(const je of Se)await ss(`/api/db/book?id=${encodeURIComponent(je)}`);Tn()}catch(je){console.error(je),he.error("删除失败")}},Pf=async()=>{if(!Q.trim()){he.error("请输入篇名");return}ye(!0);try{const A=`part-new-${Date.now()}`,ee="chapter-1",Se=`part-placeholder-${Date.now()}`,je=await _t("/api/db/book",{id:Se,title:"占位节(可编辑)",price:0,content:"",partId:A,partTitle:Q.trim(),chapterId:ee,chapterTitle:"第1章 | 待编辑",saveToFile:!1});je&&je.success!==!1?(he.success(`篇「${Q}」创建成功`),X(!1),oe(""),Tn()):he.error("创建失败: "+(je&&typeof je=="object"&&"error"in je?je.error:"未知错误"))}catch(A){console.error(A),he.error("创建失败")}finally{ye(!1)}},sd=async()=>{if($.length===0){he.error("请先勾选要移动的章节");return}const A=xn.find(Se=>Se.id===q),ee=A==null?void 0:A.chapters.find(Se=>Se.id===H);if(!A||!ee||!q||!H){he.error("请选择目标篇和章");return}fe(!0);try{const Se=()=>{const zn=new Set($),Mn=t.map(Qe=>({id:Qe.id,partId:Qe.partId||"",partTitle:Qe.partTitle||"",chapterId:Qe.chapterId||"",chapterTitle:Qe.chapterTitle||""})),pa=Mn.filter(Qe=>zn.has(Qe.id)).map(Qe=>({...Qe,partId:q,partTitle:A.title||q,chapterId:H,chapterTitle:ee.title||H})),ma=Mn.filter(Qe=>!zn.has(Qe.id));let ga=ma.length;for(let Qe=ma.length-1;Qe>=0;Qe-=1){const bl=ma[Qe];if(bl.partId===q&&bl.chapterId===H){ga=Qe+1;break}}return[...ma.slice(0,ga),...pa,...ma.slice(ga)]},je=async()=>{const zn=Se(),Mn=await _t("/api/db/book",{action:"reorder",items:zn});return Mn&&Mn.success!==!1?(he.success(`已移动 ${$.length} 节到「${A.title}」-「${ee.title}」`),se(!1),ae([]),await Tn(),!0):!1},jt={action:"move-sections",sectionIds:$,targetPartId:q,targetChapterId:H,targetPartTitle:A.title||q,targetChapterTitle:ee.title||H},Mt=await _t("/api/db/book",jt);if(Mt&&Mt.success!==!1)he.success(`已移动 ${Mt.count??$.length} 节到「${A.title}」-「${ee.title}」`),se(!1),ae([]),await Tn();else{const zn=Mt&&typeof Mt=="object"&&"error"in Mt?Mt.error||"":"未知错误";if((zn.includes("缺少 id")||zn.includes("无效的 action"))&&await je())return;he.error("移动失败: "+zn)}}catch(Se){console.error(Se),he.error("移动失败: "+(Se instanceof Error?Se.message:"网络或服务异常"))}finally{fe(!1)}},lo=A=>{ae(ee=>ee.includes(A)?ee.filter(Se=>Se!==A):[...ee,A])},Pr=async A=>{const ee=t.filter(Se=>Se.partId===A.id).map(Se=>Se.id);if(ee.length===0){he.info("该篇下暂无小节可删除");return}if(confirm(`确定要删除「${A.title}」整篇吗?将删除共 ${ee.length} 节内容,此操作不可恢复。`))try{for(const Se of ee)await ss(`/api/db/book?id=${encodeURIComponent(Se)}`);Tn()}catch(Se){console.error(Se),he.error("删除失败")}},id=async()=>{var A;if(v.trim()){C(!0);try{const ee=await Fe(`/api/search?q=${encodeURIComponent(v)}`);ee!=null&&ee.success&&((A=ee.data)!=null&&A.results)?k(ee.data.results):(k([]),ee&&!ee.success&&he.error("搜索失败: "+ee.error))}catch(ee){console.error(ee),k([]),he.error("搜索失败")}finally{C(!1)}}},Qn=xn.find(A=>A.id===T.partId),ad=(Qn==null?void 0:Qn.chapters)??[];return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"内容管理"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",xn.length," 篇 · ",Jr," 节内容"]})]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsxs(ne,{onClick:()=>ot(!0),variant:"outline",className:"border-amber-500/50 text-amber-400 hover:bg-amber-500/10 bg-transparent",children:[i.jsx(uu,{className:"w-4 h-4 mr-2"}),"排名算法"]}),i.jsxs(ne,{onClick:()=>{const A=typeof window<"u"?`${window.location.origin}/api-doc`:"";A&&window.open(A,"_blank","noopener,noreferrer")},variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Ss,{className:"w-4 h-4 mr-2"}),"API 接口"]})]})]}),i.jsx(Zt,{open:u,onOpenChange:h,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[i.jsx(en,{className:"shrink-0 px-6 pt-6 pb-2",children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Ft,{className:"w-5 h-5 text-[#38bdac]"}),"新建章节"]})}),i.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节ID *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 9.15",value:T.id,onChange:A=>O({...T,id:A.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:T.isFree?0:T.price,onChange:A=>O({...T,price:Number(A.target.value),isFree:Number(A.target.value)===0}),disabled:T.isFree})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"免费"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:T.isFree,onChange:A=>O({...T,isFree:A.target.checked,price:A.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最新新增"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:T.isNew,onChange:A=>O({...T,isNew:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序直推"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:T.isPinned,onChange:A=>O({...T,isPinned:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"文章类型"}),i.jsxs("div",{className:"flex items-center gap-4 h-10",children:[i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"new-edition-type",checked:T.editionPremium!==!0,onChange:()=>O({...T,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"new-edition-type",checked:T.editionPremium===!0,onChange:()=>O({...T,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"热度分"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:T.hotScore??0,onChange:A=>O({...T,hotScore:Math.max(0,parseFloat(A.target.value)||0)})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节标题 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入章节标题",value:T.title,onChange:A=>O({...T,title:A.target.value})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"所属篇"}),i.jsxs(sc,{value:T.partId,onValueChange:A=>{var Se;const ee=xn.find(je=>je.id===A);O({...T,partId:A,chapterId:((Se=ee==null?void 0:ee.chapters[0])==null?void 0:Se.id)??"chapter-1"})},children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{})}),i.jsxs(Vo,{className:"bg-[#0f2137] border-gray-700",children:[xn.map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id)),xn.length===0&&i.jsx(bs,{value:"part-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认篇"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"所属章"}),i.jsxs(sc,{value:T.chapterId,onValueChange:A=>O({...T,chapterId:A}),children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{})}),i.jsxs(Vo,{className:"bg-[#0f2137] border-gray-700",children:[ad.map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id)),ad.length===0&&i.jsx(bs,{value:"chapter-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认章"})]})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),i.jsx(fx,{content:T.content||"",onChange:A=>O({...T,content:A}),onImageUpload:async A=>{var jt;const ee=new FormData;ee.append("file",A),ee.append("folder","book-images");const je=await(await fetch(Ha("/api/upload"),{method:"POST",body:ee,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((jt=je==null?void 0:je.data)==null?void 0:jt.url)||(je==null?void 0:je.url)||""},persons:hn,linkTags:fs,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),i.jsxs(Nn,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[i.jsx(ne,{variant:"outline",onClick:()=>h(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:nd,disabled:g||!T.id||!T.title,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"创建章节"]})})]})]})}),i.jsx(Zt,{open:!!B,onOpenChange:A=>!A&&R(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑篇名"]})}),B&&i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"篇名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:B.title,onChange:A=>R({...B,title:A.target.value}),placeholder:"输入篇名"})]})}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>R(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:Vt,disabled:P||!((od=B==null?void 0:B.title)!=null&&od.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:P?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),i.jsx(Zt,{open:!!Z,onOpenChange:A=>!A&&Y(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节名称"]})}),Z&&i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节名称(如:第8章|底层结构)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:Z.title,onChange:A=>Y({...Z,title:A.target.value}),placeholder:"输入章节名称"})]})}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>Y(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:rd,disabled:W||!((ld=Z==null?void 0:Z.title)!=null&&ld.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:W?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),i.jsx(Zt,{open:_,onOpenChange:A=>{var ee;if(se(A),A&&xn.length>0){const Se=xn[0];z(Se.id),de(((ee=Se.chapters[0])==null?void 0:ee.id)??"")}},children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:"批量移动至指定目录"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["已选 ",i.jsx("span",{className:"text-[#38bdac] font-medium",children:$.length})," 节,请选择目标篇与章。"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目标篇"}),i.jsxs(sc,{value:q,onValueChange:A=>{var Se;z(A);const ee=xn.find(je=>je.id===A);de(((Se=ee==null?void 0:ee.chapters[0])==null?void 0:Se.id)??"")},children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{placeholder:"选择篇"})}),i.jsx(Vo,{className:"bg-[#0f2137] border-gray-700",children:xn.map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目标章"}),i.jsxs(sc,{value:H,onValueChange:de,children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{placeholder:"选择章"})}),i.jsx(Vo,{className:"bg-[#0f2137] border-gray-700",children:(((fa=xn.find(A=>A.id===q))==null?void 0:fa.chapters)??[]).map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id))})]})]})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>se(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:sd,disabled:K||$.length===0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:K?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"移动中..."]}):"确认移动"})]})]})}),i.jsx(Zt,{open:!!V,onOpenChange:A=>!A&&ge(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-3xl max-h-[85vh] overflow-hidden flex flex-col",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white",children:["付款记录 — ",(V==null?void 0:V.section.title)??""]})}),i.jsx("div",{className:"flex-1 overflow-y-auto py-2",children:Me?i.jsxs("div",{className:"flex items-center justify-center py-8",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):V&&V.orders.length===0?i.jsx("p",{className:"text-gray-500 text-center py-6",children:"暂无付款记录"}):V?i.jsxs("table",{className:"w-full text-sm border-collapse",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[i.jsx("th",{className:"py-2 pr-2",children:"订单号"}),i.jsx("th",{className:"py-2 pr-2",children:"用户ID"}),i.jsx("th",{className:"py-2 pr-2",children:"金额"}),i.jsx("th",{className:"py-2 pr-2",children:"状态"}),i.jsx("th",{className:"py-2 pr-2",children:"支付时间"})]})}),i.jsx("tbody",{children:V.orders.map(A=>i.jsxs("tr",{className:"border-b border-gray-700/50",children:[i.jsx("td",{className:"py-2 pr-2",children:i.jsx("button",{className:"text-blue-400 hover:text-blue-300 hover:underline text-left truncate max-w-[180px] block",title:`查看订单 ${A.orderSn}`,onClick:()=>window.open(`/orders?search=${A.orderSn??A.id??""}`,"_blank"),children:A.orderSn?A.orderSn.length>16?A.orderSn.slice(0,8)+"..."+A.orderSn.slice(-6):A.orderSn:"-"})}),i.jsx("td",{className:"py-2 pr-2",children:i.jsx("button",{className:"text-[#38bdac] hover:text-[#2da396] hover:underline text-left truncate max-w-[140px] block",title:`查看用户 ${A.userId??A.openId??""}`,onClick:()=>window.open(`/users?search=${A.userId??A.openId??""}`,"_blank"),children:(()=>{const ee=A.userId??A.openId??"-";return ee.length>12?ee.slice(0,6)+"..."+ee.slice(-4):ee})()})}),i.jsxs("td",{className:"py-2 pr-2 text-gray-300",children:["¥",A.amount??0]}),i.jsx("td",{className:"py-2 pr-2 text-gray-300",children:A.status??"-"}),i.jsx("td",{className:"py-2 pr-2 text-gray-500",children:A.payTime??A.createdAt??"-"})]},A.id??A.orderSn??""))})]}):null})]})}),i.jsx(Zt,{open:et,onOpenChange:ot,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(uu,{className:"w-5 h-5 text-amber-400"}),"文章排名算法"]})}),i.jsxs("div",{className:"space-y-4 py-2",children:[i.jsx("p",{className:"text-sm text-gray-400",children:"热度积分 = 阅读权重×阅读排名分 + 新度权重×新度排名分 + 付款权重×付款排名分(三权重之和须为 1)"}),Et?i.jsx("p",{className:"text-gray-500",children:"加载中..."}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"阅读权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Ge.readWeight,onChange:A=>dt(ee=>({...ee,readWeight:Math.max(0,Math.min(1,parseFloat(A.target.value)||0))}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"新度权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Ge.recencyWeight,onChange:A=>dt(ee=>({...ee,recencyWeight:Math.max(0,Math.min(1,parseFloat(A.target.value)||0))}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"付款权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Ge.payWeight,onChange:A=>dt(ee=>({...ee,payWeight:Math.max(0,Math.min(1,parseFloat(A.target.value)||0))}))})]})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["当前之和: ",(Ge.readWeight+Ge.recencyWeight+Ge.payWeight).toFixed(1)]}),i.jsxs("ul",{className:"list-disc list-inside space-y-1 text-xs text-gray-400",children:[i.jsx("li",{children:"阅读量前 20 名:第1名=20分、第2名=19分...第20名=1分"}),i.jsx("li",{children:"最近更新前 30 篇:第1名=30分、第2名=29分...第30名=1分"}),i.jsx("li",{children:"付款数前 20 名:第1名=20分、第2名=19分...第20名=1分"}),i.jsx("li",{children:"热度分可在编辑章节中手动覆盖"})]}),i.jsx(ne,{onClick:nt,disabled:Tt||Math.abs(Ge.readWeight+Ge.recencyWeight+Ge.payWeight-1)>.001,className:"w-full bg-amber-500 hover:bg-amber-600 text-white",children:Tt?"保存中...":"保存权重"})]})]})]})}),i.jsx(Zt,{open:L,onOpenChange:X,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Ft,{className:"w-5 h-5 text-amber-400"}),"新建篇"]})}),i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"篇名(如:第六篇|真实的社会)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:Q,onChange:A=>oe(A.target.value),placeholder:"输入篇名"})]})}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>{X(!1),oe("")},className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:Pf,disabled:ue||!Q.trim(),className:"bg-amber-500 hover:bg-amber-600 text-white",children:ue?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"创建篇"]})})]})]})}),i.jsx(Zt,{open:!!o,onOpenChange:()=>c(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[i.jsx(en,{className:"shrink-0 px-6 pt-6 pb-2",children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节"]})}),o&&i.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.id,onChange:A=>c({...o,id:A.target.value}),placeholder:"如: 9.15"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:o.isFree?0:o.price,onChange:A=>c({...o,price:Number(A.target.value),isFree:Number(A.target.value)===0}),disabled:o.isFree})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"免费"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isFree||o.price===0,onChange:A=>c({...o,isFree:A.target.checked,price:A.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最新新增"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isNew??!1,onChange:A=>c({...o,isNew:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序直推"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isPinned??!1,onChange:A=>c({...o,isPinned:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"文章类型"}),i.jsxs("div",{className:"flex items-center gap-4 h-10",children:[i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium!==!0,onChange:()=>c({...o,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium===!0,onChange:()=>c({...o,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"热度分"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:o.hotScore??0,onChange:A=>c({...o,hotScore:Math.max(0,parseFloat(A.target.value)||0)})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.title,onChange:A=>c({...o,title:A.target.value})})]}),o.filePath&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"文件路径"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-gray-400 text-sm",value:o.filePath,disabled:!0})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),f?i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700 rounded-md min-h-[400px] flex items-center justify-center",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsx(fx,{ref:io,content:o.content||"",onChange:A=>c({...o,content:A}),onImageUpload:async A=>{var jt;const ee=new FormData;ee.append("file",A),ee.append("folder","book-images");const je=await(await fetch(Ha("/api/upload"),{method:"POST",body:ee,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((jt=je==null?void 0:je.data)==null?void 0:jt.url)||(je==null?void 0:je.url)||""},persons:hn,linkTags:fs,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),i.jsxs(Nn,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[o&&i.jsxs(ne,{variant:"outline",onClick:()=>yl({id:o.id,title:o.title,price:o.price}),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent mr-auto",children:[i.jsx(Hr,{className:"w-4 h-4 mr-2"}),"付款记录"]}),i.jsxs(ne,{variant:"outline",onClick:()=>c(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsx(ne,{onClick:td,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存修改"]})})]})]})}),i.jsxs(Gc,{defaultValue:"chapters",className:"space-y-6",children:[i.jsxs(ul,{className:"bg-[#0f2137] border border-gray-700/50 p-1",children:[i.jsxs(nn,{value:"chapters",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[i.jsx(Hr,{className:"w-4 h-4 mr-2"}),"章节管理"]}),i.jsxs(nn,{value:"ranking",className:"data-[state=active]:bg-amber-500/20 data-[state=active]:text-amber-400 text-gray-400",children:[i.jsx(Ob,{className:"w-4 h-4 mr-2"}),"内容排行榜"]}),i.jsxs(nn,{value:"search",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[i.jsx(Ui,{className:"w-4 h-4 mr-2"}),"内容搜索"]}),i.jsxs(nn,{value:"link-ai",className:"data-[state=active]:bg-purple-500/20 data-[state=active]:text-purple-400 text-gray-400",children:[i.jsx(Ss,{className:"w-4 h-4 mr-2"}),"链接AI"]})]}),i.jsxs(rn,{value:"chapters",className:"space-y-4",children:[i.jsxs("div",{className:"rounded-2xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between shadow-sm",children:[i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac] flex items-center justify-center text-white shadow-lg shadow-[#38bdac]/20 shrink-0",children:i.jsx(Hr,{className:"w-6 h-6"})}),i.jsxs("div",{children:[i.jsx("h2",{className:"font-bold text-base text-white leading-tight mb-1",children:"一场SOUL的创业实验场"}),i.jsx("p",{className:"text-xs text-gray-500",children:"来自Soul派对房的真实商业故事"})]})]}),i.jsxs("div",{className:"text-center shrink-0",children:[i.jsx("span",{className:"block text-2xl font-bold text-[#38bdac]",children:Jr}),i.jsx("span",{className:"text-xs text-gray-500",children:"章节"})]})]}),i.jsxs("div",{className:"flex flex-wrap gap-2",children:[i.jsxs(ne,{onClick:()=>h(!0),className:"flex-1 min-w-[120px] bg-[#38bdac]/10 hover:bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/30",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新建章节"]}),i.jsxs(ne,{onClick:()=>X(!0),className:"flex-1 min-w-[120px] bg-amber-500/10 hover:bg-amber-500/20 text-amber-400 border border-amber-500/30",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新建篇"]}),i.jsxs(ne,{variant:"outline",onClick:()=>se(!0),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:["批量移动(已选 ",$.length," 节)"]})]}),n?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsx(UB,{parts:xn,expandedParts:s,onTogglePart:ms,onReorder:Ps,onReadSection:ao,onDeleteSection:Is,onAddSectionInPart:Mf,onAddChapterInPart:Rf,onDeleteChapter:oo,onEditPart:Af,onDeletePart:Pr,onEditChapter:vl,selectedSectionIds:$,onToggleSectionSelect:lo,onShowSectionOrders:yl,pinnedSectionIds:on})]}),i.jsx(rn,{value:"search",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"内容搜索"})}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",placeholder:"搜索标题或内容...",value:v,onChange:A=>j(A.target.value),onKeyDown:A=>A.key==="Enter"&&id()}),i.jsx(ne,{onClick:id,disabled:E||!v.trim(),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:E?i.jsx(qe,{className:"w-4 h-4 animate-spin"}):i.jsx(Ui,{className:"w-4 h-4"})})]}),w.length>0&&i.jsxs("div",{className:"space-y-2 mt-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["找到 ",w.length," 个结果"]}),w.map(A=>i.jsxs("div",{className:"p-3 rounded-lg bg-[#162840] hover:bg-[#1a3050] cursor-pointer transition-colors",onClick:()=>ao({id:A.id,title:A.title,price:A.price??1,filePath:""}),children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"text-[#38bdac] font-mono text-xs",children:A.id}),i.jsx("span",{className:"text-white",children:A.title}),on.includes(A.id)&&i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})]}),i.jsx(Be,{variant:"outline",className:"text-gray-400 border-gray-600 text-xs",children:A.matchType==="title"?"标题匹配":"内容匹配"})]}),A.snippet&&i.jsx("p",{className:"text-gray-500 text-xs mt-2 line-clamp-2",children:A.snippet}),(A.partTitle||A.chapterTitle)&&i.jsxs("p",{className:"text-gray-600 text-xs mt-1",children:[A.partTitle," · ",A.chapterTitle]})]},A.id))]})]})]})}),i.jsxs(rn,{value:"ranking",className:"space-y-4",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{className:"pb-3",children:i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(uu,{className:"w-4 h-4 text-[#38bdac]"}),"内容显示规则"]})}),i.jsx(Re,{children:i.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(te,{className:"text-gray-400 text-sm whitespace-nowrap",children:"未付费预览比例"}),i.jsx(ce,{type:"number",min:"1",max:"100",className:"bg-[#0a1628] border-gray-700 text-white w-20",value:_n,onChange:A=>Jn(Math.max(1,Math.min(100,Number(A.target.value)||20))),disabled:Yn}),i.jsx("span",{className:"text-gray-500 text-sm",children:"%"})]}),i.jsx(ne,{size:"sm",onClick:Tf,disabled:pe,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:pe?"保存中...":"保存"}),i.jsxs("span",{className:"text-xs text-gray-500",children:["小程序未付费用户默认显示文章前 ",_n,"% 内容"]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{className:"pb-3",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(Ob,{className:"w-4 h-4 text-amber-400"}),"内容排行榜",i.jsxs("span",{className:"text-xs text-gray-500 font-normal ml-2",children:["按热度排行 · 共 ",oi.length," 节"]})]}),i.jsxs("div",{className:"flex items-center gap-1 text-sm",children:[i.jsx(ne,{variant:"ghost",size:"sm",disabled:sr<=1,onClick:()=>Er(A=>Math.max(1,A-1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:i.jsx(LT,{className:"w-4 h-4"})}),i.jsxs("span",{className:"text-gray-400 min-w-[60px] text-center",children:[sr," / ",ps]}),i.jsx(ne,{variant:"ghost",size:"sm",disabled:sr>=ps,onClick:()=>Er(A=>Math.min(ps,A+1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:i.jsx(Ho,{className:"w-4 h-4"})})]})]})}),i.jsx(Re,{children:i.jsxs("div",{className:"space-y-0",children:[i.jsxs("div",{className:"grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2 text-xs text-gray-500 border-b border-gray-700/50",children:[i.jsx("span",{children:"排名"}),i.jsx("span",{children:"置顶"}),i.jsx("span",{children:"标题"}),i.jsx("span",{className:"text-right",children:"点击量"}),i.jsx("span",{className:"text-right",children:"付款数"}),i.jsx("span",{className:"text-right",children:"热度"}),i.jsx("span",{className:"text-right",children:"编辑"})]}),Yr.map((A,ee)=>{const Se=(sr-1)*Rr+ee+1,je=on.includes(A.id);return i.jsxs("div",{className:`grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2.5 items-center border-b border-gray-700/30 hover:bg-[#162840] transition-colors ${je?"bg-amber-500/5":""}`,children:[i.jsx("span",{className:`text-sm font-bold ${Se<=3?"text-amber-400":"text-gray-500"}`,children:Se<=3?["🥇","🥈","🥉"][Se-1]:`#${Se}`}),i.jsx(ne,{variant:"ghost",size:"sm",className:`h-6 w-6 p-0 ${je?"text-amber-400":"text-gray-600 hover:text-amber-400"}`,onClick:()=>li(A.id),disabled:gr,title:je?"取消置顶":"强制置顶(精选推荐/首页最新更新)",children:je?i.jsx(Uo,{className:"w-3.5 h-3.5 fill-current"}):i.jsx(lA,{className:"w-3.5 h-3.5"})}),i.jsxs("div",{className:"min-w-0",children:[i.jsx("span",{className:"text-white text-sm truncate block",children:A.title}),i.jsxs("span",{className:"text-gray-600 text-xs",children:[A.partTitle," · ",A.chapterTitle]})]}),i.jsx("span",{className:"text-right text-sm text-blue-400 font-mono",children:A.clickCount??0}),i.jsx("span",{className:"text-right text-sm text-green-400 font-mono",children:A.payCount??0}),i.jsx("span",{className:"text-right text-sm text-amber-400 font-mono",children:(A.hotScore??0).toFixed(1)}),i.jsx("div",{className:"text-right",children:i.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-500 hover:text-[#38bdac] h-6 px-1",onClick:()=>ao({id:A.id,title:A.title,price:A.price,filePath:""}),title:"编辑文章",children:i.jsx(kt,{className:"w-3 h-3"})})})]},A.id)}),Yr.length===0&&i.jsx("div",{className:"py-8 text-center text-gray-500",children:"暂无数据"})]})})]})]}),i.jsxs(rn,{value:"link-ai",className:"space-y-4",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"pb-3",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx("span",{className:"text-[#38bdac] text-lg font-bold",children:"@"}),"AI列表 — 链接人与事(编辑器内输入 @ 可链接)"]}),i.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"在文章中 @人物,小程序端点击可跳转存客宝流量池或详情页"})]}),i.jsxs(Re,{className:"space-y-3",children:[i.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"名称 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 卡若",value:En.name,onChange:A=>qr({...En,name:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"人物ID(可选)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"自动生成",value:En.personId,onChange:A=>qr({...En,personId:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"标签(身份/角色)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"如 超级个体",value:En.label,onChange:A=>qr({...En,label:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"存客宝密钥(留空用默认)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-48",placeholder:"xxxx-xxxx-xxxx-xxxx",value:En.ckbApiKey,onChange:A=>qr({...En,ckbApiKey:A.target.value})})]}),i.jsxs(ne,{size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white h-8",onClick:async()=>{if(!En.name){he.error("名称必填");return}const A={...En};A.personId||(A.personId=En.name.toLowerCase().replace(/\s+/g,"_")+"_"+Date.now().toString(36)),await mt("/api/db/persons",A),qr({personId:"",name:"",label:"",ckbApiKey:""}),ft()},children:[i.jsx(Ft,{className:"w-3 h-3 mr-1"}),"添加"]})]}),i.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[hn.map(A=>i.jsxs("div",{className:"bg-[#0a1628] rounded px-3 py-2 space-y-1.5",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[i.jsxs("span",{className:"text-[#38bdac] font-bold text-base",children:["@",A.name]}),i.jsx("span",{className:"text-gray-600 text-xs font-mono",children:A.id}),A.label&&i.jsx(Be,{variant:"secondary",className:"bg-purple-500/20 text-purple-300 border-purple-500/30 text-[10px]",children:A.label}),A.ckbApiKey?i.jsx(Be,{variant:"secondary",className:"bg-green-500/20 text-green-300 border-green-500/30 text-[10px]",children:"密钥 ✓"}):i.jsx(Be,{variant:"secondary",className:"bg-gray-500/20 text-gray-500 border-gray-500/30 text-[10px]",children:"用默认密钥"})]}),i.jsxs("div",{className:"flex items-center gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-[#38bdac] h-6 px-2",title:"编辑密钥",onClick:()=>{xr(A.id),ai(A.ckbApiKey||"")},children:i.jsx(nA,{className:"w-3 h-3"})}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await ss(`/api/db/persons?personId=${A.id}`),ft()},children:i.jsx(Wn,{className:"w-3 h-3"})})]})]}),ha===A.id&&i.jsxs("div",{className:"flex items-center gap-2 pt-0.5",children:[i.jsx(ce,{className:"bg-[#0d1f35] border-gray-600 text-white h-7 text-xs flex-1",placeholder:"输入存客宝密钥,留空则用默认",value:Gr,onChange:ee=>ai(ee.target.value),onKeyDown:ee=>{ee.key==="Escape"&&xr(null)},autoFocus:!0}),i.jsx(ne,{size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white h-7 px-2",onClick:async()=>{await mt("/api/db/persons",{personId:A.id,name:A.name,label:A.label,ckbApiKey:Gr}),xr(null),ft()},children:i.jsx(Uc,{className:"w-3 h-3"})}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 h-7 px-2",onClick:()=>xr(null),children:i.jsx(Wn,{className:"w-3 h-3"})})]})]},A.id)),hn.length===0&&i.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无AI人物,添加后可在编辑器中 @链接"})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"pb-3",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(xM,{className:"w-4 h-4 text-amber-400"}),"链接标签 — 链接事与物(编辑器内 #标签 可跳转链接/小程序/存客宝)"]}),i.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"小程序端点击 #标签 可直接跳转对应链接,进入流量池"})]}),i.jsxs(Re,{className:"space-y-3",children:[i.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"标签ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",placeholder:"如 team01",value:ut.tagId,onChange:A=>Ar({...ut,tagId:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"显示文字"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 神仙团队",value:ut.label,onChange:A=>Ar({...ut,label:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"类型"}),i.jsxs(sc,{value:ut.type,onValueChange:A=>Ar({...ut,type:A}),children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",children:i.jsx(ic,{})}),i.jsxs(Vo,{children:[i.jsx(bs,{value:"url",children:"网页链接"}),i.jsx(bs,{value:"miniprogram",children:"小程序"}),i.jsx(bs,{value:"ckb",children:"存客宝"})]})]})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:ut.type==="url"?"URL地址":ut.type==="ckb"?"存客宝计划URL":"小程序AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-44",placeholder:ut.type==="url"?"https://...":ut.type==="ckb"?"https://ckbapi.quwanzhi.com/...":"wx...",value:ut.type==="url"||ut.type==="ckb"?ut.url:ut.appId,onChange:A=>{ut.type==="url"||ut.type==="ckb"?Ar({...ut,url:A.target.value}):Ar({...ut,appId:A.target.value})}})]}),ut.type==="miniprogram"&&i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"页面路径"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"pages/index/index",value:ut.pagePath,onChange:A=>Ar({...ut,pagePath:A.target.value})})]}),i.jsxs(ne,{size:"sm",className:"bg-amber-500 hover:bg-amber-600 text-white h-8",onClick:async()=>{if(!ut.tagId||!ut.label){he.error("标签ID和显示文字必填");return}const A={...ut};A.type==="miniprogram"&&A.appId&&(A.url=`weixin://dl/business/?appid=${A.appId}&path=${A.pagePath}`),await mt("/api/db/link-tags",A),Ar({tagId:"",label:"",url:"",type:"url",appId:"",pagePath:""}),Qt()},children:[i.jsx(Ft,{className:"w-3 h-3 mr-1"}),"添加"]})]}),i.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[fs.map(A=>i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded px-3 py-2",children:[i.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[i.jsxs("span",{className:"text-amber-400 font-bold text-base",children:["#",A.label]}),i.jsx(Be,{variant:"secondary",className:`text-[10px] ${A.type==="ckb"?"bg-green-500/20 text-green-300 border-green-500/30":"bg-gray-700 text-gray-300"}`,children:A.type==="url"?"网页":A.type==="ckb"?"存客宝":"小程序"}),i.jsxs("a",{href:A.url,target:"_blank",rel:"noreferrer",className:"text-blue-400 text-xs truncate max-w-[250px] hover:underline flex items-center gap-1",children:[A.url," ",i.jsx(ti,{className:"w-3 h-3 shrink-0"})]})]}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await ss(`/api/db/link-tags?tagId=${A.id}`),Qt()},children:i.jsx(Wn,{className:"w-3 h-3"})})]},A.id)),fs.length===0&&i.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无链接标签,添加后可在编辑器中使用 #标签 跳转"})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"pb-3",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(uu,{className:"w-4 h-4 text-green-400"}),"存客宝绑定"]}),i.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"配置存客宝 API 后,文章中 @人物 或 #标签 点击可自动进入存客宝流量池"})]}),i.jsxs(Re,{className:"space-y-3",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"存客宝 API 地址"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"https://ckbapi.quwanzhi.com",defaultValue:"https://ckbapi.quwanzhi.com",readOnly:!0})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"绑定计划"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"创业实验-内容引流",defaultValue:"创业实验-内容引流",readOnly:!0})]})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["具体存客宝场景配置与接口测试请前往 ",i.jsx("button",{className:"text-[#38bdac] hover:underline",onClick:()=>window.open("/match","_blank"),children:"找伙伴 → 存客宝工作台"})]})]})]})]})]})]})}const Ys={name:"卡若",avatar:"K",avatarImg:"",title:"Soul派对房主理人 · 私域运营专家",bio:'每天早上6点到9点,在Soul派对房分享真实的创业故事。专注私域运营与项目变现,用"云阿米巴"模式帮助创业者构建可持续的商业体系。',stats:[{label:"商业案例",value:"62"},{label:"连续直播",value:"365天"},{label:"派对分享",value:"1000+"}],highlights:["5年私域运营经验","帮助100+品牌从0到1增长","连续创业者,擅长商业模式设计"]};function cN(t){return Array.isArray(t)?t.map(e=>e&&typeof e=="object"&&"label"in e&&"value"in e?{label:String(e.label),value:String(e.value)}:{label:"",value:""}).filter(e=>e.label||e.value):Ys.stats}function dN(t){return Array.isArray(t)?t.map(e=>typeof e=="string"?e:String(e??"")).filter(Boolean):Ys.highlights}function GB(){const[t,e]=b.useState(Ys),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(!1),u=b.useRef(null);b.useEffect(()=>{Fe("/api/admin/author-settings").then(k=>{const E=k==null?void 0:k.data;E&&typeof E=="object"&&e({name:String(E.name??Ys.name),avatar:String(E.avatar??Ys.avatar),avatarImg:String(E.avatarImg??""),title:String(E.title??Ys.title),bio:String(E.bio??Ys.bio),stats:cN(E.stats).length?cN(E.stats):Ys.stats,highlights:dN(E.highlights).length?dN(E.highlights):Ys.highlights})}).catch(console.error).finally(()=>r(!1))},[]);const h=async()=>{a(!0);try{const k={name:t.name,avatar:t.avatar||"K",avatarImg:t.avatarImg,title:t.title,bio:t.bio,stats:t.stats.filter(T=>T.label||T.value),highlights:t.highlights.filter(Boolean)},E=await mt("/api/admin/author-settings",k);if(!E||E.success===!1){he.error("保存失败: "+(E&&typeof E=="object"&&"error"in E?E.error:""));return}a(!1);const C=document.createElement("div");C.className="fixed top-4 right-4 z-50 px-4 py-2 rounded-lg bg-[#38bdac] text-white text-sm shadow-lg",C.textContent="作者设置已保存",document.body.appendChild(C),setTimeout(()=>C.remove(),2e3)}catch(k){console.error(k),he.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{a(!1)}},f=async k=>{var C;const E=(C=k.target.files)==null?void 0:C[0];if(E){c(!0);try{const T=new FormData;T.append("file",E),T.append("folder","avatars");const O=Mx(),B={};O&&(B.Authorization=`Bearer ${O}`);const P=await(await fetch(Ha("/api/upload"),{method:"POST",body:T,credentials:"include",headers:B})).json();P!=null&&P.success&&(P!=null&&P.url)?e(I=>({...I,avatarImg:P.url})):he.error("上传失败: "+((P==null?void 0:P.error)||"未知错误"))}catch(T){console.error(T),he.error("上传失败")}finally{c(!1),u.current&&(u.current.value="")}}},m=()=>e(k=>({...k,stats:[...k.stats,{label:"",value:""}]})),g=k=>e(E=>({...E,stats:E.stats.filter((C,T)=>T!==k)})),y=(k,E,C)=>e(T=>({...T,stats:T.stats.map((O,B)=>B===k?{...O,[E]:C}:O)})),v=()=>e(k=>({...k,highlights:[...k.highlights,""]})),j=k=>e(E=>({...E,highlights:E.highlights.filter((C,T)=>T!==k)})),w=(k,E)=>e(C=>({...C,highlights:C.highlights.map((T,O)=>O===k?E:T)}));return n?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(qo,{className:"w-5 h-5 text-[#38bdac]"}),"作者详情"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置小程序「关于作者」页展示的作者信息,包括头像、简介、统计数据与亮点标签。"})]}),i.jsxs(ne,{onClick:h,disabled:s||n,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),s?"保存中...":"保存"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"flex items-center gap-2 text-white",children:[i.jsx(qo,{className:"w-4 h-4 text-[#38bdac]"}),"基本信息"]}),i.jsx(zt,{className:"text-gray-400",children:"作者姓名、头像、头衔与个人简介,将展示在「关于作者」页顶部。"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"姓名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.name,onChange:k=>e(E=>({...E,name:k.target.value})),placeholder:"卡若"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首字母占位(无头像时显示)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white w-20",value:t.avatar,onChange:k=>e(E=>({...E,avatar:k.target.value.slice(0,1)||"K"})),placeholder:"K"})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(FN,{className:"w-3 h-3 text-[#38bdac]"}),"头像图片"]}),i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:t.avatarImg,onChange:k=>e(E=>({...E,avatarImg:k.target.value})),placeholder:"上传或粘贴 URL,如 /uploads/avatars/xxx.png"}),i.jsx("input",{ref:u,type:"file",accept:"image/*",className:"hidden",onChange:f}),i.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:o,onClick:()=>{var k;return(k=u.current)==null?void 0:k.click()},children:[i.jsx(Yu,{className:"w-4 h-4 mr-2"}),o?"上传中...":"上传"]})]}),t.avatarImg&&i.jsx("div",{className:"mt-2",children:i.jsx("img",{src:t.avatarImg.startsWith("http")?t.avatarImg:Ha(t.avatarImg),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"头衔"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.title,onChange:k=>e(E=>({...E,title:k.target.value})),placeholder:"Soul派对房主理人 · 私域运营专家"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"个人简介"}),i.jsx(Jc,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[120px]",value:t.bio,onChange:k=>e(E=>({...E,bio:k.target.value})),placeholder:"每天早上6点到9点..."})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsx(Ze,{className:"text-white",children:"统计数据"}),i.jsx(zt,{className:"text-gray-400",children:"展示在作者卡片中的数字指标,如「商业案例 62」「连续直播 365天」。第一个「商业案例」的值可由书籍统计自动更新。"})]}),i.jsxs(Re,{className:"space-y-3",children:[t.stats.map((k,E)=>i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.label,onChange:C=>y(E,"label",C.target.value),placeholder:"标签"}),i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.value,onChange:C=>y(E,"value",C.target.value),placeholder:"数值"}),i.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>g(E),children:i.jsx(Wn,{className:"w-4 h-4"})})]},E)),i.jsxs(ne,{variant:"outline",size:"sm",onClick:m,className:"border-gray-600 text-gray-400",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"添加统计项"]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsx(Ze,{className:"text-white",children:"亮点标签"}),i.jsx(zt,{className:"text-gray-400",children:"作者优势或成就的简短描述,以标签形式展示。"})]}),i.jsxs(Re,{className:"space-y-3",children:[t.highlights.map((k,E)=>i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k,onChange:C=>w(E,C.target.value),placeholder:"5年私域运营经验"}),i.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>j(E),children:i.jsx(Wn,{className:"w-4 h-4"})})]},E)),i.jsxs(ne,{variant:"outline",size:"sm",onClick:v,className:"border-gray-600 text-gray-400",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"添加亮点"]})]})]})]})]})}function JB(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o]=b.useState(10),[c,u]=b.useState(0),[h,f]=b.useState(""),m=Wx(h,300),[g,y]=b.useState(!0),[v,j]=b.useState(null),[w,k]=b.useState(!1),[E,C]=b.useState(null),[T,O]=b.useState(""),[B,R]=b.useState(""),[P,I]=b.useState(""),[L,X]=b.useState("admin"),[Z,Y]=b.useState("active"),[W,D]=b.useState(!1);async function $(){var H;y(!0),j(null);try{const de=new URLSearchParams({page:String(s),pageSize:String(o)});m.trim()&&de.set("search",m.trim());const K=await Fe(`/api/admin/users?${de}`);K!=null&&K.success?(e(K.records||[]),r(K.total??0),u(K.totalPages??0)):j(K.error||"加载失败")}catch(de){const K=de;j(K.status===403?"无权限访问":((H=K==null?void 0:K.data)==null?void 0:H.error)||"加载失败"),e([])}finally{y(!1)}}b.useEffect(()=>{$()},[s,o,m]);const ae=()=>{C(null),O(""),R(""),I(""),X("admin"),Y("active"),k(!0)},_=H=>{C(H),O(H.username),R(""),I(H.name||""),X(H.role==="super_admin"?"super_admin":"admin"),Y(H.status==="disabled"?"disabled":"active"),k(!0)},se=async()=>{var H;if(!T.trim()){j("用户名不能为空");return}if(!E&&!B){j("新建时密码必填,至少 6 位");return}if(B&&B.length<6){j("密码至少 6 位");return}j(null),D(!0);try{if(E){const de=await _t("/api/admin/users",{id:E.id,password:B||void 0,name:P.trim(),role:L,status:Z});de!=null&&de.success?(k(!1),$()):j((de==null?void 0:de.error)||"保存失败")}else{const de=await mt("/api/admin/users",{username:T.trim(),password:B,name:P.trim(),role:L});de!=null&&de.success?(k(!1),$()):j((de==null?void 0:de.error)||"保存失败")}}catch(de){const K=de;j(((H=K==null?void 0:K.data)==null?void 0:H.error)||"保存失败")}finally{D(!1)}},q=async H=>{var de;if(confirm("确定删除该管理员?"))try{const K=await ss(`/api/admin/users?id=${H}`);K!=null&&K.success?$():j((K==null?void 0:K.error)||"删除失败")}catch(K){const fe=K;j(((de=fe==null?void 0:fe.data)==null?void 0:de.error)||"删除失败")}},z=H=>{if(!H)return"-";try{const de=new Date(H);return isNaN(de.getTime())?H:de.toLocaleString("zh-CN")}catch{return H}};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Ex,{className:"w-5 h-5 text-[#38bdac]"}),"管理员用户"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"后台登录账号管理,仅超级管理员可操作"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(ce,{placeholder:"搜索用户名/昵称",value:h,onChange:H=>f(H.target.value),className:"w-48 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500"}),i.jsx(ne,{variant:"outline",size:"sm",onClick:$,disabled:g,className:"border-gray-600 text-gray-300",children:i.jsx(qe,{className:`w-4 h-4 ${g?"animate-spin":""}`})}),i.jsxs(ne,{onClick:ae,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新增管理员"]})]})]}),v&&i.jsxs("div",{className:"mb-4 p-3 rounded-lg bg-red-500/10 border border-red-500/20 text-red-400 text-sm flex justify-between items-center",children:[i.jsx("span",{children:v}),i.jsx("button",{type:"button",onClick:()=>j(null),className:"text-red-400 hover:text-red-300",children:"×"})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:g?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"用户名"}),i.jsx(Te,{className:"text-gray-400",children:"昵称"}),i.jsx(Te,{className:"text-gray-400",children:"角色"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"创建时间"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(H=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:H.id}),i.jsx(we,{className:"text-white font-medium",children:H.username}),i.jsx(we,{className:"text-gray-400",children:H.name||"-"}),i.jsx(we,{children:i.jsx(Be,{variant:"outline",className:H.role==="super_admin"?"border-amber-500/50 text-amber-400":"border-gray-600 text-gray-400",children:H.role==="super_admin"?"超级管理员":"管理员"})}),i.jsx(we,{children:i.jsx(Be,{variant:"outline",className:H.status==="active"?"border-[#38bdac]/50 text-[#38bdac]":"border-gray-500 text-gray-500",children:H.status==="active"?"正常":"已禁用"})}),i.jsx(we,{className:"text-gray-500 text-sm",children:z(H.createdAt)}),i.jsxs(we,{className:"text-right",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>_(H),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>q(H.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(wn,{className:"w-4 h-4"})})]})]},H.id)),t.length===0&&!g&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:v==="无权限访问"?"仅超级管理员可查看":"暂无管理员"})})]})]}),c>1&&i.jsx("div",{className:"p-4 border-t border-gray-700/50",children:i.jsx(ls,{page:s,pageSize:o,total:n,totalPages:c,onPageChange:a})})]})})}),i.jsx(Zt,{open:w,onOpenChange:k,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:E?"编辑管理员":"新增管理员"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"用户名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"登录用户名",value:T,onChange:H=>O(H.target.value),disabled:!!E}),E&&i.jsx("p",{className:"text-xs text-gray-500",children:"用户名不可修改"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:E?"新密码(留空不改)":"密码"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:E?"留空表示不修改":"至少 6 位",value:B,onChange:H=>R(H.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"显示名称",value:P,onChange:H=>I(H.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色"}),i.jsxs("select",{value:L,onChange:H=>X(H.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[i.jsx("option",{value:"admin",children:"管理员"}),i.jsx("option",{value:"super_admin",children:"超级管理员"})]})]}),E&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"状态"}),i.jsxs("select",{value:Z,onChange:H=>Y(H.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[i.jsx("option",{value:"active",children:"正常"}),i.jsx("option",{value:"disabled",children:"禁用"})]})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>k(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:se,disabled:W,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),W?"保存中...":"保存"]})]})]})})]})}const YB={appId:"wxb8bbb2b10dec74aa",withdrawSubscribeTmplId:"u3MbZGPRkrZIk-I7QdpwzFxnO_CeQPaCWF2FkiIablE",mchId:"1318592501",minWithdraw:10},QB={name:"卡若",startDate:"2025年10月15日",bio:"连续创业者,私域运营专家,每天早上6-9点在Soul派对房分享真实商业故事",liveTime:"06:00-09:00",platform:"Soul派对房",description:"连续创业者,私域运营专家"},XB={sectionPrice:1,baseBookPrice:9.9,distributorShare:90,authorInfo:{...QB}},ZB={matchEnabled:!0,referralEnabled:!0,searchEnabled:!0,aboutEnabled:!0},eV=["system","author","admin"];function tV(){const[t,e]=IN(),n=t.get("tab")??"system",r=eV.includes(n)?n:"system",[s,a]=b.useState(XB),[o,c]=b.useState(ZB),[u,h]=b.useState(YB),[f,m]=b.useState(!1),[g,y]=b.useState(!0),[v,j]=b.useState(!1),[w,k]=b.useState(""),[E,C]=b.useState(""),[T,O]=b.useState(!1),[B,R]=b.useState(!1),P=(Y,W,D=!1)=>{k(Y),C(W),O(D),j(!0)};b.useEffect(()=>{(async()=>{try{const W=await Fe("/api/admin/settings");if(!W||W.success===!1)return;if(W.featureConfig&&Object.keys(W.featureConfig).length&&c(D=>({...D,...W.featureConfig})),W.mpConfig&&typeof W.mpConfig=="object"&&h(D=>({...D,...W.mpConfig})),W.siteSettings&&typeof W.siteSettings=="object"){const D=W.siteSettings;a($=>({...$,...typeof D.sectionPrice=="number"&&{sectionPrice:D.sectionPrice},...typeof D.baseBookPrice=="number"&&{baseBookPrice:D.baseBookPrice},...typeof D.distributorShare=="number"&&{distributorShare:D.distributorShare},...D.authorInfo&&typeof D.authorInfo=="object"&&{authorInfo:{...$.authorInfo,...D.authorInfo}}}))}}catch(W){console.error("Load settings error:",W)}finally{y(!1)}})()},[]);const I=async(Y,W)=>{R(!0);try{const D=await mt("/api/admin/settings",{featureConfig:Y});if(!D||D.success===!1){W(),P("保存失败",(D==null?void 0:D.error)??"未知错误",!0);return}P("已保存","功能开关已更新,相关入口将随之显示或隐藏。")}catch(D){console.error("Save feature config error:",D),W(),P("保存失败",D instanceof Error?D.message:String(D),!0)}finally{R(!1)}},L=(Y,W)=>{const D=o,$={...D,[Y]:W};c($),I($,()=>c(D))},X=async()=>{m(!0);try{const Y=await mt("/api/admin/settings",{featureConfig:o,siteSettings:{sectionPrice:s.sectionPrice,baseBookPrice:s.baseBookPrice,distributorShare:s.distributorShare,authorInfo:s.authorInfo},mpConfig:{...u,appId:u.appId||"",withdrawSubscribeTmplId:u.withdrawSubscribeTmplId||"",mchId:u.mchId||"",minWithdraw:typeof u.minWithdraw=="number"?u.minWithdraw:10}});if(!Y||Y.success===!1){P("保存失败",(Y==null?void 0:Y.error)??"未知错误",!0);return}P("已保存","设置已保存成功。")}catch(Y){console.error("Save settings error:",Y),P("保存失败",Y instanceof Error?Y.message:String(Y),!0)}finally{m(!1)}},Z=Y=>{e(Y==="system"?{}:{tab:Y})};return g?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"系统设置"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置全站基础参数与开关"})]}),r==="system"&&i.jsxs(ne,{onClick:X,disabled:f,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),f?"保存中...":"保存设置"]})]}),i.jsxs(Gc,{value:r,onValueChange:Z,className:"w-full",children:[i.jsxs(ul,{className:"mb-6 bg-[#0f2137] border border-gray-700/50 p-1",children:[i.jsxs(nn,{value:"system",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(_a,{className:"w-4 h-4 mr-2"}),"系统设置"]}),i.jsxs(nn,{value:"author",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(gm,{className:"w-4 h-4 mr-2"}),"作者详情"]}),i.jsxs(nn,{value:"admin",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(Ex,{className:"w-4 h-4 mr-2"}),"管理员"]})]}),i.jsx(rn,{value:"system",className:"mt-0",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(gm,{className:"w-5 h-5 text-[#38bdac]"}),"关于作者"]}),i.jsx(zt,{className:"text-gray-400",children:'配置作者信息,将在"关于作者"页面显示'})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"author-name",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(gm,{className:"w-3 h-3"}),"主理人名称"]}),i.jsx(ce,{id:"author-name",className:"bg-[#0a1628] border-gray-700 text-white",value:s.authorInfo.name??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,name:Y.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"start-date",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Gu,{className:"w-3 h-3"}),"开播日期"]}),i.jsx(ce,{id:"start-date",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 2025年10月15日",value:s.authorInfo.startDate??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,startDate:Y.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"live-time",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Gu,{className:"w-3 h-3"}),"直播时间"]}),i.jsx(ce,{id:"live-time",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 06:00-09:00",value:s.authorInfo.liveTime??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,liveTime:Y.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"platform",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(BN,{className:"w-3 h-3"}),"直播平台"]}),i.jsx(ce,{id:"platform",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: Soul派对房",value:s.authorInfo.platform??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,platform:Y.target.value}}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"description",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Hr,{className:"w-3 h-3"}),"简介描述"]}),i.jsx(ce,{id:"description",className:"bg-[#0a1628] border-gray-700 text-white",value:s.authorInfo.description??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,description:Y.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"bio",className:"text-gray-300",children:"详细介绍"}),i.jsx(Jc,{id:"bio",className:"bg-[#0a1628] border-gray-700 text-white min-h-[100px]",placeholder:"输入作者详细介绍...",value:s.authorInfo.bio??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,bio:Y.target.value}}))})]}),i.jsxs("div",{className:"mt-4 p-4 rounded-xl bg-[#0a1628] border border-[#38bdac]/30",children:[i.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"预览效果"}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-[#00CED1] to-[#20B2AA] flex items-center justify-center text-xl font-bold text-white",children:(s.authorInfo.name??"K").charAt(0)}),i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-semibold",children:s.authorInfo.name}),i.jsx("p",{className:"text-gray-400 text-xs",children:s.authorInfo.description}),i.jsxs("p",{className:"text-[#38bdac] text-xs mt-1",children:["每日 ",s.authorInfo.liveTime," · ",s.authorInfo.platform]})]})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ju,{className:"w-5 h-5 text-[#38bdac]"}),"价格设置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置书籍和章节的定价"})]}),i.jsx(Re,{className:"space-y-4",children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单节价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:s.sectionPrice,onChange:Y=>a(W=>({...W,sectionPrice:Number.parseFloat(Y.target.value)||1}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"整本价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:s.baseBookPrice,onChange:Y=>a(W=>({...W,baseBookPrice:Number.parseFloat(Y.target.value)||9.9}))})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Tc,{className:"w-5 h-5 text-[#38bdac]"}),"小程序配置"]}),i.jsx(zt,{className:"text-gray-400",children:"订阅消息模板、支付商户号等,小程序从 /api/miniprogram/config 读取(API 地址由 app.js baseUrl 控制)"})]}),i.jsx(Re,{className:"space-y-4",children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序 AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"wxb8bbb2b10dec74aa",value:u.appId??"",onChange:Y=>h(W=>({...W,appId:Y.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"提现订阅模板 ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"用户申请提现时需授权",value:u.withdrawSubscribeTmplId??"",onChange:Y=>h(W=>({...W,withdrawSubscribeTmplId:Y.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"微信支付商户号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"1318592501",value:u.mchId??"",onChange:Y=>h(W=>({...W,mchId:Y.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最低提现金额 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:u.minWithdraw??10,onChange:Y=>h(W=>({...W,minWithdraw:Number.parseFloat(Y.target.value)||10}))})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(_a,{className:"w-5 h-5 text-[#38bdac]"}),"功能开关"]}),i.jsx(zt,{className:"text-gray-400",children:"控制各个功能模块的显示/隐藏"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Ln,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"match-enabled",className:"text-white font-medium cursor-pointer",children:"找伙伴功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制小程序和Web端的找伙伴功能显示"})]}),i.jsx(Nt,{id:"match-enabled",checked:o.matchEnabled,disabled:B,onCheckedChange:Y=>L("matchEnabled",Y)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(oM,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"referral-enabled",className:"text-white font-medium cursor-pointer",children:"推广功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制推广中心的显示(我的页面入口)"})]}),i.jsx(Nt,{id:"referral-enabled",checked:o.referralEnabled,disabled:B,onCheckedChange:Y=>L("referralEnabled",Y)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Hr,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"search-enabled",className:"text-white font-medium cursor-pointer",children:"搜索功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制首页搜索栏的显示"})]}),i.jsx(Nt,{id:"search-enabled",checked:o.searchEnabled,disabled:B,onCheckedChange:Y=>L("searchEnabled",Y)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(_a,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"about-enabled",className:"text-white font-medium cursor-pointer",children:"关于页面"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制关于页面的访问"})]}),i.jsx(Nt,{id:"about-enabled",checked:o.aboutEnabled,disabled:B,onCheckedChange:Y=>L("aboutEnabled",Y)})]})]}),i.jsx("div",{className:"p-3 rounded-lg bg-blue-500/10 border border-blue-500/30",children:i.jsx("p",{className:"text-xs text-blue-300",children:"💡 关闭功能后,相关入口会自动隐藏。建议在功能开发完成后再开启。"})})]})]})]})}),i.jsx(rn,{value:"author",className:"mt-0",children:i.jsx(GB,{})}),i.jsx(rn,{value:"admin",className:"mt-0",children:i.jsx(JB,{})})]}),i.jsx(Zt,{open:v,onOpenChange:j,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white",showCloseButton:!0,children:[i.jsxs(en,{children:[i.jsx(tn,{className:T?"text-red-400":"text-[#38bdac]",children:w}),i.jsx(RP,{className:"text-gray-400 whitespace-pre-wrap pt-2",children:E})]}),i.jsx(Nn,{className:"mt-4",children:i.jsx(ne,{onClick:()=>j(!1),className:T?"bg-gray-600 hover:bg-gray-500":"bg-[#38bdac] hover:bg-[#2da396]",children:"确定"})})]})})]})}const uN={wechat:{enabled:!0,qrCode:"/images/wechat-pay.png",account:"卡若",websiteAppId:"",merchantId:"",groupQrCode:"/images/party-group-qr.png"},alipay:{enabled:!0,qrCode:"/images/alipay.png",account:"卡若",partnerId:"",securityKey:""},usdt:{enabled:!1,network:"TRC20",address:"",exchangeRate:7.2},paypal:{enabled:!1,email:"",exchangeRate:7.2}};function nV(){const[t,e]=b.useState(!1),[n,r]=b.useState(uN),[s,a]=b.useState(""),o=async()=>{e(!0);try{const k=await Fe("/api/config");k!=null&&k.paymentMethods&&r({...uN,...k.paymentMethods})}catch(k){console.error(k)}finally{e(!1)}};b.useEffect(()=>{o()},[]);const c=async()=>{e(!0);try{await mt("/api/db/config",{key:"payment_methods",value:n,description:"支付方式配置"}),he.success("配置已保存!")}catch(k){console.error("保存失败:",k),he.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{e(!1)}},u=(k,E)=>{navigator.clipboard.writeText(k),a(E),setTimeout(()=>a(""),2e3)},h=(k,E)=>{r(C=>({...C,wechat:{...C.wechat,[k]:E}}))},f=(k,E)=>{r(C=>({...C,alipay:{...C.alipay,[k]:E}}))},m=(k,E)=>{r(C=>({...C,usdt:{...C.usdt,[k]:E}}))},g=(k,E)=>{r(C=>({...C,paypal:{...C.paypal,[k]:E}}))},y=n.wechat,v=n.alipay,j=n.usdt,w=n.paypal;return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold mb-2 text-white",children:"支付配置"}),i.jsx("p",{className:"text-gray-400",children:"配置微信、支付宝、USDT、PayPal等支付参数"})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(ne,{variant:"outline",onClick:o,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${t?"animate-spin":""}`}),"同步配置"]}),i.jsxs(ne,{onClick:c,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存配置"]})]})]}),i.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(LN,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),i.jsxs("div",{className:"text-sm",children:[i.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"如何获取微信群跳转链接?"}),i.jsxs("ol",{className:"text-[#07C160]/80 space-y-1 list-decimal list-inside",children:[i.jsx("li",{children:"打开微信,进入目标微信群"}),i.jsx("li",{children:'点击右上角"..." → "群二维码"'}),i.jsx("li",{children:'点击右上角"..." → "发送到电脑"'}),i.jsx("li",{children:"在电脑上保存二维码图片,上传到图床获取URL"}),i.jsx("li",{children:"或使用草料二维码等工具解析二维码获取链接"})]}),i.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"提示:微信群二维码7天后失效,建议使用活码工具"})]})]})}),i.jsxs(Gc,{defaultValue:"wechat",className:"space-y-6",children:[i.jsxs(ul,{className:"bg-[#0f2137] border border-gray-700/50 p-1 grid grid-cols-4 w-full",children:[i.jsxs(nn,{value:"wechat",className:"data-[state=active]:bg-[#07C160]/20 data-[state=active]:text-[#07C160] text-gray-400",children:[i.jsx(Tc,{className:"w-4 h-4 mr-2"}),"微信"]}),i.jsxs(nn,{value:"alipay",className:"data-[state=active]:bg-[#1677FF]/20 data-[state=active]:text-[#1677FF] text-gray-400",children:[i.jsx(Pb,{className:"w-4 h-4 mr-2"}),"支付宝"]}),i.jsxs(nn,{value:"usdt",className:"data-[state=active]:bg-[#26A17B]/20 data-[state=active]:text-[#26A17B] text-gray-400",children:[i.jsx(Ab,{className:"w-4 h-4 mr-2"}),"USDT"]}),i.jsxs(nn,{value:"paypal",className:"data-[state=active]:bg-[#003087]/20 data-[state=active]:text-[#169BD7] text-gray-400",children:[i.jsx(vg,{className:"w-4 h-4 mr-2"}),"PayPal"]})]}),i.jsx(rn,{value:"wechat",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#07C160] flex items-center gap-2",children:[i.jsx(Tc,{className:"w-5 h-5"}),"微信支付配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置微信支付参数和跳转链接"})]}),i.jsx(Nt,{checked:!!y.enabled,onCheckedChange:k=>h("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"网站AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.websiteAppId??""),onChange:k=>h("websiteAppId",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"商户号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.merchantId??""),onChange:k=>h("merchantId",k.target.value)})]})]}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[i.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[i.jsx(ti,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置(核心功能)"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"微信收款码/支付链接"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://收款码图片URL 或 weixin://支付链接",value:String(y.qrCode??""),onChange:k=>h("qrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户点击微信支付后显示的二维码图片URL"})]}),i.jsxs("div",{className:"space-y-2 bg-[#07C160]/5 p-4 rounded-xl border border-[#07C160]/20",children:[i.jsx(te,{className:"text-[#07C160] font-medium",children:"微信群跳转链接(支付成功后跳转)"}),i.jsx(ce,{className:"bg-[#0a1628] border-[#07C160]/30 text-white placeholder:text-gray-500",placeholder:"https://weixin.qq.com/g/... 或微信群二维码图片URL",value:String(y.groupQrCode??""),onChange:k=>h("groupQrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-[#07C160]/70",children:"用户支付成功后将自动跳转到此链接,进入指定微信群"})]})]})]})]})}),i.jsx(rn,{value:"alipay",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#1677FF] flex items-center gap-2",children:[i.jsx(Pb,{className:"w-5 h-5"}),"支付宝配置"]}),i.jsx(zt,{className:"text-gray-400",children:"已加载真实支付宝参数"})]}),i.jsx(Nt,{checked:!!v.enabled,onCheckedChange:k=>f("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"合作者身份 (PID)"}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.partnerId??""),onChange:k=>f("partnerId",k.target.value)}),i.jsx(ne,{size:"icon",variant:"outline",className:"border-gray-700 bg-transparent",onClick:()=>u(String(v.partnerId??""),"pid"),children:s==="pid"?i.jsx(Uc,{className:"w-4 h-4 text-green-500"}):i.jsx(zN,{className:"w-4 h-4 text-gray-400"})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"安全校验码 (Key)"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.securityKey??""),onChange:k=>f("securityKey",k.target.value)})]})]}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[i.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[i.jsx(ti,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"支付宝收款码/跳转链接"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://qr.alipay.com/... 或收款码图片URL",value:String(v.qrCode??""),onChange:k=>f("qrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户点击支付宝支付后显示的二维码"})]})]})]})]})}),i.jsx(rn,{value:"usdt",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#26A17B] flex items-center gap-2",children:[i.jsx(Ab,{className:"w-5 h-5"}),"USDT配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置加密货币收款地址"})]}),i.jsx(Nt,{checked:!!j.enabled,onCheckedChange:k=>m("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"网络类型"}),i.jsxs("select",{className:"w-full bg-[#0a1628] border border-gray-700 text-white rounded-md p-2",value:String(j.network??"TRC20"),onChange:k=>m("network",k.target.value),children:[i.jsx("option",{value:"TRC20",children:"TRC20 (波场)"}),i.jsx("option",{value:"ERC20",children:"ERC20 (以太坊)"}),i.jsx("option",{value:"BEP20",children:"BEP20 (币安链)"})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"收款地址"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",placeholder:"T... (TRC20地址)",value:String(j.address??""),onChange:k=>m("address",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(j.exchangeRate)??7.2,onChange:k=>m("exchangeRate",Number.parseFloat(k.target.value)||7.2)})]})]})]})}),i.jsx(rn,{value:"paypal",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#169BD7] flex items-center gap-2",children:[i.jsx(vg,{className:"w-5 h-5"}),"PayPal配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置PayPal收款账户"})]}),i.jsx(Nt,{checked:!!w.enabled,onCheckedChange:k=>g("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"PayPal邮箱"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"your@email.com",value:String(w.email??""),onChange:k=>g("email",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(w.exchangeRate)??7.2,onChange:k=>g("exchangeRate",Number(k.target.value)||7.2)})]})]})]})})]})]})}const rV={siteName:"卡若日记",siteTitle:"一场SOUL的创业实验场",siteDescription:"来自Soul派对房的真实商业故事",logo:"/logo.png",favicon:"/favicon.ico",primaryColor:"#00CED1"},sV={home:{enabled:!0,label:"首页"},chapters:{enabled:!0,label:"目录"},match:{enabled:!0,label:"匹配"},my:{enabled:!0,label:"我的"}},iV={homeTitle:"一场SOUL的创业实验场",homeSubtitle:"来自Soul派对房的真实商业故事",chaptersTitle:"我要看",matchTitle:"语音匹配",myTitle:"我的",aboutTitle:"关于作者"};function aV(){const[t,e]=b.useState({siteConfig:{...rV},menuConfig:{...sV},pageConfig:{...iV}}),[n,r]=b.useState(!1),[s,a]=b.useState(!1);b.useEffect(()=>{Fe("/api/config").then(f=>{f!=null&&f.siteConfig&&e(m=>({...m,siteConfig:{...m.siteConfig,...f.siteConfig}})),f!=null&&f.menuConfig&&e(m=>({...m,menuConfig:{...m.menuConfig,...f.menuConfig}})),f!=null&&f.pageConfig&&e(m=>({...m,pageConfig:{...m.pageConfig,...f.pageConfig}}))}).catch(console.error)},[]);const o=async()=>{a(!0);try{await mt("/api/db/config",{key:"site_config",value:t.siteConfig,description:"网站基础配置"}),await mt("/api/db/config",{key:"menu_config",value:t.menuConfig,description:"底部菜单配置"}),await mt("/api/db/config",{key:"page_config",value:t.pageConfig,description:"页面标题配置"}),r(!0),setTimeout(()=>r(!1),2e3),he.success("配置已保存")}catch(f){console.error(f),he.error("保存失败: "+(f instanceof Error?f.message:String(f)))}finally{a(!1)}},c=t.siteConfig,u=t.menuConfig,h=t.pageConfig;return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"网站配置"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置网站名称、图标、菜单和页面标题"})]}),i.jsxs(ne,{onClick:o,disabled:s,className:`${n?"bg-green-500":"bg-[#00CED1]"} hover:bg-[#20B2AA] text-white transition-colors`,children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),s?"保存中...":n?"已保存":"保存设置"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(vg,{className:"w-5 h-5 text-[#00CED1]"}),"网站基础信息"]}),i.jsx(zt,{className:"text-gray-400",children:"配置网站名称、标题和描述"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-name",className:"text-gray-300",children:"网站名称"}),i.jsx(ce,{id:"site-name",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteName??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteName:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-title",className:"text-gray-300",children:"网站标题"}),i.jsx(ce,{id:"site-title",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteTitle??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteTitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-desc",className:"text-gray-300",children:"网站描述"}),i.jsx(ce,{id:"site-desc",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteDescription??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteDescription:f.target.value}}))})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"logo",className:"text-gray-300",children:"Logo地址"}),i.jsx(ce,{id:"logo",className:"bg-[#0a1628] border-gray-700 text-white",value:c.logo??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,logo:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"favicon",className:"text-gray-300",children:"Favicon地址"}),i.jsx(ce,{id:"favicon",className:"bg-[#0a1628] border-gray-700 text-white",value:c.favicon??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,favicon:f.target.value}}))})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(ZM,{className:"w-5 h-5 text-[#00CED1]"}),"主题颜色"]}),i.jsx(zt,{className:"text-gray-400",children:"配置网站主题色"})]}),i.jsx(Re,{children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("div",{className:"space-y-2 flex-1",children:[i.jsx(te,{htmlFor:"primary-color",className:"text-gray-300",children:"主色调"}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(ce,{id:"primary-color",type:"color",className:"w-16 h-10 bg-[#0a1628] border-gray-700 cursor-pointer p-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white flex-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))})]})]}),i.jsx("div",{className:"w-24 h-24 rounded-xl flex items-center justify-center text-white font-bold",style:{backgroundColor:c.primaryColor??"#00CED1"},children:"预览"})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(KM,{className:"w-5 h-5 text-[#00CED1]"}),"底部菜单配置"]}),i.jsx(zt,{className:"text-gray-400",children:"控制底部导航栏菜单的显示和名称"})]}),i.jsx(Re,{className:"space-y-4",children:Object.entries(u).map(([f,m])=>i.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-4 flex-1",children:[i.jsx(Nt,{checked:(m==null?void 0:m.enabled)??!0,onCheckedChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,enabled:g}}}))}),i.jsx("span",{className:"text-gray-300 w-16 capitalize",children:f}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white max-w-[200px]",value:(m==null?void 0:m.label)??"",onChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,label:g.target.value}}}))})]}),i.jsx("span",{className:`text-sm ${m!=null&&m.enabled?"text-green-400":"text-gray-500"}`,children:m!=null&&m.enabled?"显示":"隐藏"})]},f))})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(sM,{className:"w-5 h-5 text-[#00CED1]"}),"页面标题配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置各个页面的标题和副标题"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首页副标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeSubtitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeSubtitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目录页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.chaptersTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,chaptersTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.matchTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,matchTitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"我的页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.myTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,myTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"关于作者标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.aboutTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,aboutTitle:f.target.value}}))})]})]})]})]})]})]})}function oV(){const[t,e]=b.useState(""),[n,r]=b.useState(""),[s,a]=b.useState(""),[o,c]=b.useState({}),u=async()=>{var y,v,j,w;try{const k=await Fe("/api/config"),E=(v=(y=k==null?void 0:k.liveQRCodes)==null?void 0:y[0])==null?void 0:v.urls;Array.isArray(E)&&e(E.join(` +
    `).join(""),e.querySelectorAll(".mention-item").forEach(o=>{o.addEventListener("click",()=>{const c=parseInt(o.getAttribute("data-index")||"0");s&&r[c]&&s({id:r[c].id,label:r[c].name})})}))};return{onStart:o=>{if(e=document.createElement("div"),e.className="mention-popup",document.body.appendChild(e),r=o.items,s=o.command,n=0,a(),o.clientRect){const c=o.clientRect();c&&(e.style.top=`${c.bottom+4}px`,e.style.left=`${c.left}px`)}},onUpdate:o=>{if(r=o.items,s=o.command,n=0,a(),o.clientRect&&e){const c=o.clientRect();c&&(e.style.top=`${c.bottom+4}px`,e.style.left=`${c.left}px`)}},onKeyDown:o=>o.event.key==="ArrowUp"?(n=Math.max(0,n-1),a(),!0):o.event.key==="ArrowDown"?(n=Math.min(r.length-1,n+1),a(),!0):o.event.key==="Enter"?(s&&r[n]&&s({id:r[n].id,label:r[n].name}),!0):o.event.key==="Escape"?(e==null||e.remove(),e=null,!0):!1,onExit:()=>{e==null||e.remove(),e=null}}}}),fx=b.forwardRef(({content:t,onChange:e,onImageUpload:n,persons:r=[],linkTags:s=[],placeholder:a="开始编辑内容...",className:o},c)=>{const u=b.useRef(null),[h,f]=b.useState(""),[m,g]=b.useState(!1),y=b.useRef(Qw(t)),v=D_({extensions:[N7,S7.configure({inline:!0,allowBase64:!0}),Rz.configure({openOnClick:!1,HTMLAttributes:{class:"rich-link"}}),R7.configure({HTMLAttributes:{class:"mention-tag"},suggestion:B$(r)}),F$,P7.configure({placeholder:a}),CC.configure({resizable:!0}),SC,jC,kC],content:y.current,onUpdate:({editor:E})=>{e(E.getHTML())},editorProps:{attributes:{class:"rich-editor-content"}}});b.useImperativeHandle(c,()=>({getHTML:()=>(v==null?void 0:v.getHTML())||"",getMarkdown:()=>$$((v==null?void 0:v.getHTML())||"")})),b.useEffect(()=>{if(v&&t!==v.getHTML()){const E=Qw(t);E!==v.getHTML()&&v.commands.setContent(E)}},[t]);const j=b.useCallback(async E=>{var T;const C=(T=E.target.files)==null?void 0:T[0];if(!(!C||!v)){if(n){const O=await n(C);O&&v.chain().focus().setImage({src:O}).run()}else{const O=new FileReader;O.onload=()=>{typeof O.result=="string"&&v.chain().focus().setImage({src:O.result}).run()},O.readAsDataURL(C)}E.target.value=""}},[v,n]),w=b.useCallback(E=>{v&&v.chain().focus().insertContent({type:"linkTag",attrs:{label:E.label,url:E.url||"",tagType:E.type||"url",tagId:E.id||"",pagePath:E.pagePath||""}}).run()},[v]),k=b.useCallback(()=>{!v||!h||(v.chain().focus().setLink({href:h}).run(),f(""),g(!1))},[v,h]);return v?i.jsxs("div",{className:`rich-editor-wrapper ${o||""}`,children:[i.jsxs("div",{className:"rich-editor-toolbar",children:[i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleBold().run(),className:v.isActive("bold")?"is-active":"",type:"button",children:i.jsx(TT,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleItalic().run(),className:v.isActive("italic")?"is-active":"",type:"button",children:i.jsx(MM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleStrike().run(),className:v.isActive("strike")?"is-active":"",type:"button",children:i.jsx(EA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleCode().run(),className:v.isActive("code")?"is-active":"",type:"button",children:i.jsx(GT,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:1}).run(),className:v.isActive("heading",{level:1})?"is-active":"",type:"button",children:i.jsx(vM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:2}).run(),className:v.isActive("heading",{level:2})?"is-active":"",type:"button",children:i.jsx(wM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:3}).run(),className:v.isActive("heading",{level:3})?"is-active":"",type:"button",children:i.jsx(jM,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleBulletList().run(),className:v.isActive("bulletList")?"is-active":"",type:"button",children:i.jsx($M,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleOrderedList().run(),className:v.isActive("orderedList")?"is-active":"",type:"button",children:i.jsx(_M,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleBlockquote().run(),className:v.isActive("blockquote")?"is-active":"",type:"button",children:i.jsx(hA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().setHorizontalRule().run(),type:"button",children:i.jsx(YM,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("input",{ref:u,type:"file",accept:"image/*",onChange:j,className:"hidden"}),i.jsx("button",{onClick:()=>{var E;return(E=u.current)==null?void 0:E.click()},type:"button",children:i.jsx(FN,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>g(!m),className:v.isActive("link")?"is-active":"",type:"button",children:i.jsx(bg,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),type:"button",children:i.jsx(MA,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().undo().run(),disabled:!v.can().undo(),type:"button",children:i.jsx(LA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().redo().run(),disabled:!v.can().redo(),type:"button",children:i.jsx(pA,{className:"w-4 h-4"})})]}),s.length>0&&i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"toolbar-divider"}),i.jsx("div",{className:"toolbar-group",children:i.jsxs("select",{className:"link-tag-select",onChange:E=>{const C=s.find(T=>T.id===E.target.value);C&&w(C),E.target.value=""},defaultValue:"",children:[i.jsx("option",{value:"",disabled:!0,children:"# 插入链接标签"}),s.map(E=>i.jsx("option",{value:E.id,children:E.label},E.id))]})})]})]}),m&&i.jsxs("div",{className:"link-input-bar",children:[i.jsx("input",{type:"url",placeholder:"输入链接地址...",value:h,onChange:E=>f(E.target.value),onKeyDown:E=>E.key==="Enter"&&k(),className:"link-input"}),i.jsx("button",{onClick:k,className:"link-confirm",type:"button",children:"确定"}),i.jsx("button",{onClick:()=>{v.chain().focus().unsetLink().run(),g(!1)},className:"link-remove",type:"button",children:"移除"})]}),i.jsx(L2,{editor:v})]}):null});fx.displayName="RichEditor";const V$=["top","right","bottom","left"],ea=Math.min,Nr=Math.max,Wh=Math.round,Lu=Math.floor,Cs=t=>({x:t,y:t}),H$={left:"right",right:"left",bottom:"top",top:"bottom"},W$={start:"end",end:"start"};function px(t,e,n){return Nr(t,ea(e,n))}function ni(t,e){return typeof t=="function"?t(e):t}function ri(t){return t.split("-")[0]}function pl(t){return t.split("-")[1]}function D0(t){return t==="x"?"y":"x"}function L0(t){return t==="y"?"height":"width"}const U$=new Set(["top","bottom"]);function ks(t){return U$.has(ri(t))?"y":"x"}function _0(t){return D0(ks(t))}function K$(t,e,n){n===void 0&&(n=!1);const r=pl(t),s=_0(t),a=L0(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(o=Uh(o)),[o,Uh(o)]}function q$(t){const e=Uh(t);return[mx(t),e,mx(e)]}function mx(t){return t.replace(/start|end/g,e=>W$[e])}const Xw=["left","right"],Zw=["right","left"],G$=["top","bottom"],J$=["bottom","top"];function Y$(t,e,n){switch(t){case"top":case"bottom":return n?e?Zw:Xw:e?Xw:Zw;case"left":case"right":return e?G$:J$;default:return[]}}function Q$(t,e,n,r){const s=pl(t);let a=Y$(ri(t),n==="start",r);return s&&(a=a.map(o=>o+"-"+s),e&&(a=a.concat(a.map(mx)))),a}function Uh(t){return t.replace(/left|right|bottom|top/g,e=>H$[e])}function X$(t){return{top:0,right:0,bottom:0,left:0,...t}}function EC(t){return typeof t!="number"?X$(t):{top:t,right:t,bottom:t,left:t}}function Kh(t){const{x:e,y:n,width:r,height:s}=t;return{width:r,height:s,top:n,left:e,right:e+r,bottom:n+s,x:e,y:n}}function eN(t,e,n){let{reference:r,floating:s}=t;const a=ks(e),o=_0(e),c=L0(o),u=ri(e),h=a==="y",f=r.x+r.width/2-s.width/2,m=r.y+r.height/2-s.height/2,g=r[c]/2-s[c]/2;let y;switch(u){case"top":y={x:f,y:r.y-s.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-s.width,y:m};break;default:y={x:r.x,y:r.y}}switch(pl(e)){case"start":y[o]-=g*(n&&h?-1:1);break;case"end":y[o]+=g*(n&&h?-1:1);break}return y}async function Z$(t,e){var n;e===void 0&&(e={});const{x:r,y:s,platform:a,rects:o,elements:c,strategy:u}=t,{boundary:h="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:g=!1,padding:y=0}=ni(e,t),v=EC(y),w=c[g?m==="floating"?"reference":"floating":m],k=Kh(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(w)))==null||n?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:f,strategy:u})),E=m==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),T=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},O=Kh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:E,offsetParent:C,strategy:u}):E);return{top:(k.top-O.top+v.top)/T.y,bottom:(O.bottom-k.bottom+v.bottom)/T.y,left:(k.left-O.left+v.left)/T.x,right:(O.right-k.right+v.right)/T.x}}const eF=async(t,e,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:o}=n,c=a.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(e));let h=await o.getElementRects({reference:t,floating:e,strategy:s}),{x:f,y:m}=eN(h,r,u),g=r,y={},v=0;for(let w=0;w({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:s,rects:a,platform:o,elements:c,middlewareData:u}=e,{element:h,padding:f=0}=ni(t,e)||{};if(h==null)return{};const m=EC(f),g={x:n,y:r},y=_0(s),v=L0(y),j=await o.getDimensions(h),w=y==="y",k=w?"top":"left",E=w?"bottom":"right",C=w?"clientHeight":"clientWidth",T=a.reference[v]+a.reference[y]-g[y]-a.floating[v],O=g[y]-a.reference[y],B=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let R=B?B[C]:0;(!R||!await(o.isElement==null?void 0:o.isElement(B)))&&(R=c.floating[C]||a.floating[v]);const P=T/2-O/2,I=R/2-j[v]/2-1,L=ea(m[k],I),X=ea(m[E],I),Z=L,Y=R-j[v]-X,W=R/2-j[v]/2+P,D=px(Z,W,Y),$=!u.arrow&&pl(s)!=null&&W!==D&&a.reference[v]/2-(WW<=0)){var X,Z;const W=(((X=a.flip)==null?void 0:X.index)||0)+1,D=R[W];if(D&&(!(m==="alignment"?E!==ks(D):!1)||L.every(_=>ks(_.placement)===E?_.overflows[0]>0:!0)))return{data:{index:W,overflows:L},reset:{placement:D}};let $=(Z=L.filter(ae=>ae.overflows[0]<=0).sort((ae,_)=>ae.overflows[1]-_.overflows[1])[0])==null?void 0:Z.placement;if(!$)switch(y){case"bestFit":{var Y;const ae=(Y=L.filter(_=>{if(B){const se=ks(_.placement);return se===E||se==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(se=>se>0).reduce((se,q)=>se+q,0)]).sort((_,se)=>_[1]-se[1])[0])==null?void 0:Y[0];ae&&($=ae);break}case"initialPlacement":$=c;break}if(s!==$)return{reset:{placement:$}}}return{}}}};function tN(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function nN(t){return V$.some(e=>t[e]>=0)}const rF=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:s="referenceHidden",...a}=ni(t,e);switch(s){case"referenceHidden":{const o=await r.detectOverflow(e,{...a,elementContext:"reference"}),c=tN(o,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:nN(c)}}}case"escaped":{const o=await r.detectOverflow(e,{...a,altBoundary:!0}),c=tN(o,n.floating);return{data:{escapedOffsets:c,escaped:nN(c)}}}default:return{}}}}},TC=new Set(["left","top"]);async function sF(t,e){const{placement:n,platform:r,elements:s}=t,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=ri(n),c=pl(n),u=ks(n)==="y",h=TC.has(o)?-1:1,f=a&&u?-1:1,m=ni(e,t);let{mainAxis:g,crossAxis:y,alignmentAxis:v}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof v=="number"&&(y=c==="end"?v*-1:v),u?{x:y*f,y:g*h}:{x:g*h,y:y*f}}const iF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:s,y:a,placement:o,middlewareData:c}=e,u=await sF(e,t);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:{...u,placement:o}}}}},aF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:s,platform:a}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:u={fn:k=>{let{x:E,y:C}=k;return{x:E,y:C}}},...h}=ni(t,e),f={x:n,y:r},m=await a.detectOverflow(e,h),g=ks(ri(s)),y=D0(g);let v=f[y],j=f[g];if(o){const k=y==="y"?"top":"left",E=y==="y"?"bottom":"right",C=v+m[k],T=v-m[E];v=px(C,v,T)}if(c){const k=g==="y"?"top":"left",E=g==="y"?"bottom":"right",C=j+m[k],T=j-m[E];j=px(C,j,T)}const w=u.fn({...e,[y]:v,[g]:j});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[y]:o,[g]:c}}}}}},oF=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:s,rects:a,middlewareData:o}=e,{offset:c=0,mainAxis:u=!0,crossAxis:h=!0}=ni(t,e),f={x:n,y:r},m=ks(s),g=D0(m);let y=f[g],v=f[m];const j=ni(c,e),w=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:0,crossAxis:0,...j};if(u){const C=g==="y"?"height":"width",T=a.reference[g]-a.floating[C]+w.mainAxis,O=a.reference[g]+a.reference[C]-w.mainAxis;yO&&(y=O)}if(h){var k,E;const C=g==="y"?"width":"height",T=TC.has(ri(s)),O=a.reference[m]-a.floating[C]+(T&&((k=o.offset)==null?void 0:k[m])||0)+(T?0:w.crossAxis),B=a.reference[m]+a.reference[C]+(T?0:((E=o.offset)==null?void 0:E[m])||0)-(T?w.crossAxis:0);vB&&(v=B)}return{[g]:y,[m]:v}}}},lF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:s,rects:a,platform:o,elements:c}=e,{apply:u=()=>{},...h}=ni(t,e),f=await o.detectOverflow(e,h),m=ri(s),g=pl(s),y=ks(s)==="y",{width:v,height:j}=a.floating;let w,k;m==="top"||m==="bottom"?(w=m,k=g===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(k=m,w=g==="end"?"top":"bottom");const E=j-f.top-f.bottom,C=v-f.left-f.right,T=ea(j-f[w],E),O=ea(v-f[k],C),B=!e.middlewareData.shift;let R=T,P=O;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(P=C),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(R=E),B&&!g){const L=Nr(f.left,0),X=Nr(f.right,0),Z=Nr(f.top,0),Y=Nr(f.bottom,0);y?P=v-2*(L!==0||X!==0?L+X:Nr(f.left,f.right)):R=j-2*(Z!==0||Y!==0?Z+Y:Nr(f.top,f.bottom))}await u({...e,availableWidth:P,availableHeight:R});const I=await o.getDimensions(c.floating);return v!==I.width||j!==I.height?{reset:{rects:!0}}:{}}}};function wf(){return typeof window<"u"}function ml(t){return MC(t)?(t.nodeName||"").toLowerCase():"#document"}function Cr(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Rs(t){var e;return(e=(MC(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function MC(t){return wf()?t instanceof Node||t instanceof Cr(t).Node:!1}function cs(t){return wf()?t instanceof Element||t instanceof Cr(t).Element:!1}function Ms(t){return wf()?t instanceof HTMLElement||t instanceof Cr(t).HTMLElement:!1}function rN(t){return!wf()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Cr(t).ShadowRoot}const cF=new Set(["inline","contents"]);function ed(t){const{overflow:e,overflowX:n,overflowY:r,display:s}=ds(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!cF.has(s)}const dF=new Set(["table","td","th"]);function uF(t){return dF.has(ml(t))}const hF=[":popover-open",":modal"];function Nf(t){return hF.some(e=>{try{return t.matches(e)}catch{return!1}})}const fF=["transform","translate","scale","rotate","perspective"],pF=["transform","translate","scale","rotate","perspective","filter"],mF=["paint","layout","strict","content"];function z0(t){const e=$0(),n=cs(t)?ds(t):t;return fF.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||pF.some(r=>(n.willChange||"").includes(r))||mF.some(r=>(n.contain||"").includes(r))}function gF(t){let e=ta(t);for(;Ms(e)&&!al(e);){if(z0(e))return e;if(Nf(e))return null;e=ta(e)}return null}function $0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const xF=new Set(["html","body","#document"]);function al(t){return xF.has(ml(t))}function ds(t){return Cr(t).getComputedStyle(t)}function jf(t){return cs(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ta(t){if(ml(t)==="html")return t;const e=t.assignedSlot||t.parentNode||rN(t)&&t.host||Rs(t);return rN(e)?e.host:e}function AC(t){const e=ta(t);return al(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ms(e)&&ed(e)?e:AC(e)}function Vc(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=AC(t),a=s===((r=t.ownerDocument)==null?void 0:r.body),o=Cr(s);if(a){const c=gx(o);return e.concat(o,o.visualViewport||[],ed(s)?s:[],c&&n?Vc(c):[])}return e.concat(s,Vc(s,[],n))}function gx(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function RC(t){const e=ds(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Ms(t),a=s?t.offsetWidth:n,o=s?t.offsetHeight:r,c=Wh(n)!==a||Wh(r)!==o;return c&&(n=a,r=o),{width:n,height:r,$:c}}function F0(t){return cs(t)?t:t.contextElement}function Qo(t){const e=F0(t);if(!Ms(e))return Cs(1);const n=e.getBoundingClientRect(),{width:r,height:s,$:a}=RC(e);let o=(a?Wh(n.width):n.width)/r,c=(a?Wh(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const yF=Cs(0);function PC(t){const e=Cr(t);return!$0()||!e.visualViewport?yF:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function vF(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Cr(t)?!1:e}function Za(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=F0(t);let o=Cs(1);e&&(r?cs(r)&&(o=Qo(r)):o=Qo(t));const c=vF(a,n,r)?PC(a):Cs(0);let u=(s.left+c.x)/o.x,h=(s.top+c.y)/o.y,f=s.width/o.x,m=s.height/o.y;if(a){const g=Cr(a),y=r&&cs(r)?Cr(r):r;let v=g,j=gx(v);for(;j&&r&&y!==v;){const w=Qo(j),k=j.getBoundingClientRect(),E=ds(j),C=k.left+(j.clientLeft+parseFloat(E.paddingLeft))*w.x,T=k.top+(j.clientTop+parseFloat(E.paddingTop))*w.y;u*=w.x,h*=w.y,f*=w.x,m*=w.y,u+=C,h+=T,v=Cr(j),j=gx(v)}}return Kh({width:f,height:m,x:u,y:h})}function kf(t,e){const n=jf(t).scrollLeft;return e?e.left+n:Za(Rs(t)).left+n}function IC(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-kf(t,n),s=n.top+e.scrollTop;return{x:r,y:s}}function bF(t){let{elements:e,rect:n,offsetParent:r,strategy:s}=t;const a=s==="fixed",o=Rs(r),c=e?Nf(e.floating):!1;if(r===o||c&&a)return n;let u={scrollLeft:0,scrollTop:0},h=Cs(1);const f=Cs(0),m=Ms(r);if((m||!m&&!a)&&((ml(r)!=="body"||ed(o))&&(u=jf(r)),Ms(r))){const y=Za(r);h=Qo(r),f.x=y.x+r.clientLeft,f.y=y.y+r.clientTop}const g=o&&!m&&!a?IC(o,u):Cs(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+f.x+g.x,y:n.y*h.y-u.scrollTop*h.y+f.y+g.y}}function wF(t){return Array.from(t.getClientRects())}function NF(t){const e=Rs(t),n=jf(t),r=t.ownerDocument.body,s=Nr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=Nr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+kf(t);const c=-n.scrollTop;return ds(r).direction==="rtl"&&(o+=Nr(e.clientWidth,r.clientWidth)-s),{width:s,height:a,x:o,y:c}}const sN=25;function jF(t,e){const n=Cr(t),r=Rs(t),s=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,c=0,u=0;if(s){a=s.width,o=s.height;const f=$0();(!f||f&&e==="fixed")&&(c=s.offsetLeft,u=s.offsetTop)}const h=kf(r);if(h<=0){const f=r.ownerDocument,m=f.body,g=getComputedStyle(m),y=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,v=Math.abs(r.clientWidth-m.clientWidth-y);v<=sN&&(a-=v)}else h<=sN&&(a+=h);return{width:a,height:o,x:c,y:u}}const kF=new Set(["absolute","fixed"]);function SF(t,e){const n=Za(t,!0,e==="fixed"),r=n.top+t.clientTop,s=n.left+t.clientLeft,a=Ms(t)?Qo(t):Cs(1),o=t.clientWidth*a.x,c=t.clientHeight*a.y,u=s*a.x,h=r*a.y;return{width:o,height:c,x:u,y:h}}function iN(t,e,n){let r;if(e==="viewport")r=jF(t,n);else if(e==="document")r=NF(Rs(t));else if(cs(e))r=SF(e,n);else{const s=PC(t);r={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return Kh(r)}function OC(t,e){const n=ta(t);return n===e||!cs(n)||al(n)?!1:ds(n).position==="fixed"||OC(n,e)}function CF(t,e){const n=e.get(t);if(n)return n;let r=Vc(t,[],!1).filter(c=>cs(c)&&ml(c)!=="body"),s=null;const a=ds(t).position==="fixed";let o=a?ta(t):t;for(;cs(o)&&!al(o);){const c=ds(o),u=z0(o);!u&&c.position==="fixed"&&(s=null),(a?!u&&!s:!u&&c.position==="static"&&!!s&&kF.has(s.position)||ed(o)&&!u&&OC(t,o))?r=r.filter(f=>f!==o):s=c,o=ta(o)}return e.set(t,r),r}function EF(t){let{element:e,boundary:n,rootBoundary:r,strategy:s}=t;const o=[...n==="clippingAncestors"?Nf(e)?[]:CF(e,this._c):[].concat(n),r],c=o[0],u=o.reduce((h,f)=>{const m=iN(e,f,s);return h.top=Nr(m.top,h.top),h.right=ea(m.right,h.right),h.bottom=ea(m.bottom,h.bottom),h.left=Nr(m.left,h.left),h},iN(e,c,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function TF(t){const{width:e,height:n}=RC(t);return{width:e,height:n}}function MF(t,e,n){const r=Ms(e),s=Rs(e),a=n==="fixed",o=Za(t,!0,a,e);let c={scrollLeft:0,scrollTop:0};const u=Cs(0);function h(){u.x=kf(s)}if(r||!r&&!a)if((ml(e)!=="body"||ed(s))&&(c=jf(e)),r){const y=Za(e,!0,a,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}else s&&h();a&&!r&&s&&h();const f=s&&!r&&!a?IC(s,c):Cs(0),m=o.left+c.scrollLeft-u.x-f.x,g=o.top+c.scrollTop-u.y-f.y;return{x:m,y:g,width:o.width,height:o.height}}function og(t){return ds(t).position==="static"}function aN(t,e){if(!Ms(t)||ds(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Rs(t)===n&&(n=n.ownerDocument.body),n}function DC(t,e){const n=Cr(t);if(Nf(t))return n;if(!Ms(t)){let s=ta(t);for(;s&&!al(s);){if(cs(s)&&!og(s))return s;s=ta(s)}return n}let r=aN(t,e);for(;r&&uF(r)&&og(r);)r=aN(r,e);return r&&al(r)&&og(r)&&!z0(r)?n:r||gF(t)||n}const AF=async function(t){const e=this.getOffsetParent||DC,n=this.getDimensions,r=await n(t.floating);return{reference:MF(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function RF(t){return ds(t).direction==="rtl"}const PF={convertOffsetParentRelativeRectToViewportRelativeRect:bF,getDocumentElement:Rs,getClippingRect:EF,getOffsetParent:DC,getElementRects:AF,getClientRects:wF,getDimensions:TF,getScale:Qo,isElement:cs,isRTL:RF};function LC(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function IF(t,e){let n=null,r;const s=Rs(t);function a(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),a();const h=t.getBoundingClientRect(),{left:f,top:m,width:g,height:y}=h;if(c||e(),!g||!y)return;const v=Lu(m),j=Lu(s.clientWidth-(f+g)),w=Lu(s.clientHeight-(m+y)),k=Lu(f),C={rootMargin:-v+"px "+-j+"px "+-w+"px "+-k+"px",threshold:Nr(0,ea(1,u))||1};let T=!0;function O(B){const R=B[0].intersectionRatio;if(R!==u){if(!T)return o();R?o(!1,R):r=setTimeout(()=>{o(!1,1e-7)},1e3)}R===1&&!LC(h,t.getBoundingClientRect())&&o(),T=!1}try{n=new IntersectionObserver(O,{...C,root:s.ownerDocument})}catch{n=new IntersectionObserver(O,C)}n.observe(t)}return o(!0),a}function OF(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,h=F0(t),f=s||a?[...h?Vc(h):[],...Vc(e)]:[];f.forEach(k=>{s&&k.addEventListener("scroll",n,{passive:!0}),a&&k.addEventListener("resize",n)});const m=h&&c?IF(h,n):null;let g=-1,y=null;o&&(y=new ResizeObserver(k=>{let[E]=k;E&&E.target===h&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var C;(C=y)==null||C.observe(e)})),n()}),h&&!u&&y.observe(h),y.observe(e));let v,j=u?Za(t):null;u&&w();function w(){const k=Za(t);j&&!LC(j,k)&&n(),j=k,v=requestAnimationFrame(w)}return n(),()=>{var k;f.forEach(E=>{s&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),m==null||m(),(k=y)==null||k.disconnect(),y=null,u&&cancelAnimationFrame(v)}}const DF=iF,LF=aF,_F=nF,zF=lF,$F=rF,oN=tF,FF=oF,BF=(t,e,n)=>{const r=new Map,s={platform:PF,...n},a={...s.platform,_c:r};return eF(t,e,{...s,platform:a})};var VF=typeof document<"u",HF=function(){},Ku=VF?b.useLayoutEffect:HF;function qh(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,s;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!qh(t[r],e[r]))return!1;return!0}if(s=Object.keys(t),n=s.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,s[r]))return!1;for(r=n;r--!==0;){const a=s[r];if(!(a==="_owner"&&t.$$typeof)&&!qh(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function _C(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function lN(t,e){const n=_C(t);return Math.round(e*n)/n}function lg(t){const e=b.useRef(t);return Ku(()=>{e.current=t}),e}function WF(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:a,floating:o}={},transform:c=!0,whileElementsMounted:u,open:h}=t,[f,m]=b.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[g,y]=b.useState(r);qh(g,r)||y(r);const[v,j]=b.useState(null),[w,k]=b.useState(null),E=b.useCallback(_=>{_!==B.current&&(B.current=_,j(_))},[]),C=b.useCallback(_=>{_!==R.current&&(R.current=_,k(_))},[]),T=a||v,O=o||w,B=b.useRef(null),R=b.useRef(null),P=b.useRef(f),I=u!=null,L=lg(u),X=lg(s),Z=lg(h),Y=b.useCallback(()=>{if(!B.current||!R.current)return;const _={placement:e,strategy:n,middleware:g};X.current&&(_.platform=X.current),BF(B.current,R.current,_).then(se=>{const q={...se,isPositioned:Z.current!==!1};W.current&&!qh(P.current,q)&&(P.current=q,Wc.flushSync(()=>{m(q)}))})},[g,e,n,X,Z]);Ku(()=>{h===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,m(_=>({..._,isPositioned:!1})))},[h]);const W=b.useRef(!1);Ku(()=>(W.current=!0,()=>{W.current=!1}),[]),Ku(()=>{if(T&&(B.current=T),O&&(R.current=O),T&&O){if(L.current)return L.current(T,O,Y);Y()}},[T,O,Y,L,I]);const D=b.useMemo(()=>({reference:B,floating:R,setReference:E,setFloating:C}),[E,C]),$=b.useMemo(()=>({reference:T,floating:O}),[T,O]),ae=b.useMemo(()=>{const _={position:n,left:0,top:0};if(!$.floating)return _;const se=lN($.floating,f.x),q=lN($.floating,f.y);return c?{..._,transform:"translate("+se+"px, "+q+"px)",..._C($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:se,top:q}},[n,c,$.floating,f.x,f.y]);return b.useMemo(()=>({...f,update:Y,refs:D,elements:$,floatingStyles:ae}),[f,Y,D,$,ae])}const UF=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:s}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?oN({element:r.current,padding:s}).fn(n):{}:r?oN({element:r,padding:s}).fn(n):{}}}},KF=(t,e)=>({...DF(t),options:[t,e]}),qF=(t,e)=>({...LF(t),options:[t,e]}),GF=(t,e)=>({...FF(t),options:[t,e]}),JF=(t,e)=>({..._F(t),options:[t,e]}),YF=(t,e)=>({...zF(t),options:[t,e]}),QF=(t,e)=>({...$F(t),options:[t,e]}),XF=(t,e)=>({...UF(t),options:[t,e]});var ZF="Arrow",zC=b.forwardRef((t,e)=>{const{children:n,width:r=10,height:s=5,...a}=t;return i.jsx(at.svg,{...a,ref:e,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});zC.displayName=ZF;var eB=zC,B0="Popper",[$C,FC]=ia(B0),[tB,BC]=$C(B0),VC=t=>{const{__scopePopper:e,children:n}=t,[r,s]=b.useState(null);return i.jsx(tB,{scope:e,anchor:r,onAnchorChange:s,children:n})};VC.displayName=B0;var HC="PopperAnchor",WC=b.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...s}=t,a=BC(HC,n),o=b.useRef(null),c=vt(e,o),u=b.useRef(null);return b.useEffect(()=>{const h=u.current;u.current=(r==null?void 0:r.current)||o.current,h!==u.current&&a.onAnchorChange(u.current)}),r?null:i.jsx(at.div,{...s,ref:c})});WC.displayName=HC;var V0="PopperContent",[nB,rB]=$C(V0),UC=b.forwardRef((t,e)=>{var oe,ue,ye,V,ge,Me;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:a="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:v,...j}=t,w=BC(V0,n),[k,E]=b.useState(null),C=vt(e,tt=>E(tt)),[T,O]=b.useState(null),B=Vx(T),R=(B==null?void 0:B.width)??0,P=(B==null?void 0:B.height)??0,I=r+(a!=="center"?"-"+a:""),L=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},X=Array.isArray(h)?h:[h],Z=X.length>0,Y={padding:L,boundary:X.filter(iB),altBoundary:Z},{refs:W,floatingStyles:D,placement:$,isPositioned:ae,middlewareData:_}=WF({strategy:"fixed",placement:I,whileElementsMounted:(...tt)=>OF(...tt,{animationFrame:y==="always"}),elements:{reference:w.anchor},middleware:[KF({mainAxis:s+P,alignmentAxis:o}),u&&qF({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?GF():void 0,...Y}),u&&JF({...Y}),YF({...Y,apply:({elements:tt,rects:et,availableWidth:ot,availableHeight:Ge})=>{const{width:dt,height:Et}=et.reference,ht=tt.floating.style;ht.setProperty("--radix-popper-available-width",`${ot}px`),ht.setProperty("--radix-popper-available-height",`${Ge}px`),ht.setProperty("--radix-popper-anchor-width",`${dt}px`),ht.setProperty("--radix-popper-anchor-height",`${Et}px`)}}),T&&XF({element:T,padding:c}),aB({arrowWidth:R,arrowHeight:P}),g&&QF({strategy:"referenceHidden",...Y})]}),[se,q]=GC($),z=Qi(v);Un(()=>{ae&&(z==null||z())},[ae,z]);const H=(oe=_.arrow)==null?void 0:oe.x,de=(ue=_.arrow)==null?void 0:ue.y,K=((ye=_.arrow)==null?void 0:ye.centerOffset)!==0,[fe,Q]=b.useState();return Un(()=>{k&&Q(window.getComputedStyle(k).zIndex)},[k]),i.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:ae?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[(V=_.transformOrigin)==null?void 0:V.x,(ge=_.transformOrigin)==null?void 0:ge.y].join(" "),...((Me=_.hide)==null?void 0:Me.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:i.jsx(nB,{scope:n,placedSide:se,onArrowChange:O,arrowX:H,arrowY:de,shouldHideArrow:K,children:i.jsx(at.div,{"data-side":se,"data-align":q,...j,ref:C,style:{...j.style,animation:ae?void 0:"none"}})})})});UC.displayName=V0;var KC="PopperArrow",sB={top:"bottom",right:"left",bottom:"top",left:"right"},qC=b.forwardRef(function(e,n){const{__scopePopper:r,...s}=e,a=rB(KC,r),o=sB[a.placedSide];return i.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:i.jsx(eB,{...s,ref:n,style:{...s.style,display:"block"}})})});qC.displayName=KC;function iB(t){return t!==null}var aB=t=>({name:"transformOrigin",options:t,fn(e){var w,k,E;const{placement:n,rects:r,middlewareData:s}=e,o=((w=s.arrow)==null?void 0:w.centerOffset)!==0,c=o?0:t.arrowWidth,u=o?0:t.arrowHeight,[h,f]=GC(n),m={start:"0%",center:"50%",end:"100%"}[f],g=(((k=s.arrow)==null?void 0:k.x)??0)+c/2,y=(((E=s.arrow)==null?void 0:E.y)??0)+u/2;let v="",j="";return h==="bottom"?(v=o?m:`${g}px`,j=`${-u}px`):h==="top"?(v=o?m:`${g}px`,j=`${r.floating.height+u}px`):h==="right"?(v=`${-u}px`,j=o?m:`${y}px`):h==="left"&&(v=`${r.floating.width+u}px`,j=o?m:`${y}px`),{data:{x:v,y:j}}}});function GC(t){const[e,n="center"]=t.split("-");return[e,n]}var oB=VC,lB=WC,cB=UC,dB=qC,JC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),uB="VisuallyHidden",hB=b.forwardRef((t,e)=>i.jsx(at.span,{...t,ref:e,style:{...JC,...t.style}}));hB.displayName=uB;var fB=[" ","Enter","ArrowUp","ArrowDown"],pB=[" ","Enter"],eo="Select",[Sf,Cf,mB]=$x(eo),[gl]=ia(eo,[mB,FC]),Ef=FC(),[gB,ca]=gl(eo),[xB,yB]=gl(eo),YC=t=>{const{__scopeSelect:e,children:n,open:r,defaultOpen:s,onOpenChange:a,value:o,defaultValue:c,onValueChange:u,dir:h,name:f,autoComplete:m,disabled:g,required:y,form:v}=t,j=Ef(e),[w,k]=b.useState(null),[E,C]=b.useState(null),[T,O]=b.useState(!1),B=ef(h),[R,P]=Wa({prop:r,defaultProp:s??!1,onChange:a,caller:eo}),[I,L]=Wa({prop:o,defaultProp:c,onChange:u,caller:eo}),X=b.useRef(null),Z=w?v||!!w.closest("form"):!0,[Y,W]=b.useState(new Set),D=Array.from(Y).map($=>$.props.value).join(";");return i.jsx(oB,{...j,children:i.jsxs(gB,{required:y,scope:e,trigger:w,onTriggerChange:k,valueNode:E,onValueNodeChange:C,valueNodeHasChildren:T,onValueNodeHasChildrenChange:O,contentId:Ki(),value:I,onValueChange:L,open:R,onOpenChange:P,dir:B,triggerPointerDownPosRef:X,disabled:g,children:[i.jsx(Sf.Provider,{scope:e,children:i.jsx(xB,{scope:t.__scopeSelect,onNativeOptionAdd:b.useCallback($=>{W(ae=>new Set(ae).add($))},[]),onNativeOptionRemove:b.useCallback($=>{W(ae=>{const _=new Set(ae);return _.delete($),_})},[]),children:n})}),Z?i.jsxs(yE,{"aria-hidden":!0,required:y,tabIndex:-1,name:f,autoComplete:m,value:I,onChange:$=>L($.target.value),disabled:g,form:v,children:[I===void 0?i.jsx("option",{value:""}):null,Array.from(Y)]},D):null]})})};YC.displayName=eo;var QC="SelectTrigger",XC=b.forwardRef((t,e)=>{const{__scopeSelect:n,disabled:r=!1,...s}=t,a=Ef(n),o=ca(QC,n),c=o.disabled||r,u=vt(e,o.onTriggerChange),h=Cf(n),f=b.useRef("touch"),[m,g,y]=bE(j=>{const w=h().filter(C=>!C.disabled),k=w.find(C=>C.value===o.value),E=wE(w,j,k);E!==void 0&&o.onValueChange(E.value)}),v=j=>{c||(o.onOpenChange(!0),y()),j&&(o.triggerPointerDownPosRef.current={x:Math.round(j.pageX),y:Math.round(j.pageY)})};return i.jsx(lB,{asChild:!0,...a,children:i.jsx(at.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":vE(o.value)?"":void 0,...s,ref:u,onClick:rt(s.onClick,j=>{j.currentTarget.focus(),f.current!=="mouse"&&v(j)}),onPointerDown:rt(s.onPointerDown,j=>{f.current=j.pointerType;const w=j.target;w.hasPointerCapture(j.pointerId)&&w.releasePointerCapture(j.pointerId),j.button===0&&j.ctrlKey===!1&&j.pointerType==="mouse"&&(v(j),j.preventDefault())}),onKeyDown:rt(s.onKeyDown,j=>{const w=m.current!=="";!(j.ctrlKey||j.altKey||j.metaKey)&&j.key.length===1&&g(j.key),!(w&&j.key===" ")&&fB.includes(j.key)&&(v(),j.preventDefault())})})})});XC.displayName=QC;var ZC="SelectValue",eE=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:s,children:a,placeholder:o="",...c}=t,u=ca(ZC,n),{onValueNodeHasChildrenChange:h}=u,f=a!==void 0,m=vt(e,u.onValueNodeChange);return Un(()=>{h(f)},[h,f]),i.jsx(at.span,{...c,ref:m,style:{pointerEvents:"none"},children:vE(u.value)?i.jsx(i.Fragment,{children:o}):a})});eE.displayName=ZC;var vB="SelectIcon",tE=b.forwardRef((t,e)=>{const{__scopeSelect:n,children:r,...s}=t;return i.jsx(at.span,{"aria-hidden":!0,...s,ref:e,children:r||"▼"})});tE.displayName=vB;var bB="SelectPortal",nE=t=>i.jsx(Ox,{asChild:!0,...t});nE.displayName=bB;var to="SelectContent",rE=b.forwardRef((t,e)=>{const n=ca(to,t.__scopeSelect),[r,s]=b.useState();if(Un(()=>{s(new DocumentFragment)},[]),!n.open){const a=r;return a?Wc.createPortal(i.jsx(sE,{scope:t.__scopeSelect,children:i.jsx(Sf.Slot,{scope:t.__scopeSelect,children:i.jsx("div",{children:t.children})})}),a):null}return i.jsx(iE,{...t,ref:e})});rE.displayName=to;var rs=10,[sE,da]=gl(to),wB="SelectContentImpl",NB=Mc("SelectContent.RemoveScroll"),iE=b.forwardRef((t,e)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:a,onPointerDownOutside:o,side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:j,avoidCollisions:w,...k}=t,E=ca(to,n),[C,T]=b.useState(null),[O,B]=b.useState(null),R=vt(e,oe=>T(oe)),[P,I]=b.useState(null),[L,X]=b.useState(null),Z=Cf(n),[Y,W]=b.useState(!1),D=b.useRef(!1);b.useEffect(()=>{if(C)return vj(C)},[C]),dj();const $=b.useCallback(oe=>{const[ue,...ye]=Z().map(Me=>Me.ref.current),[V]=ye.slice(-1),ge=document.activeElement;for(const Me of oe)if(Me===ge||(Me==null||Me.scrollIntoView({block:"nearest"}),Me===ue&&O&&(O.scrollTop=0),Me===V&&O&&(O.scrollTop=O.scrollHeight),Me==null||Me.focus(),document.activeElement!==ge))return},[Z,O]),ae=b.useCallback(()=>$([P,C]),[$,P,C]);b.useEffect(()=>{Y&&ae()},[Y,ae]);const{onOpenChange:_,triggerPointerDownPosRef:se}=E;b.useEffect(()=>{if(C){let oe={x:0,y:0};const ue=V=>{var ge,Me;oe={x:Math.abs(Math.round(V.pageX)-(((ge=se.current)==null?void 0:ge.x)??0)),y:Math.abs(Math.round(V.pageY)-(((Me=se.current)==null?void 0:Me.y)??0))}},ye=V=>{oe.x<=10&&oe.y<=10?V.preventDefault():C.contains(V.target)||_(!1),document.removeEventListener("pointermove",ue),se.current=null};return se.current!==null&&(document.addEventListener("pointermove",ue),document.addEventListener("pointerup",ye,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",ye,{capture:!0})}}},[C,_,se]),b.useEffect(()=>{const oe=()=>_(!1);return window.addEventListener("blur",oe),window.addEventListener("resize",oe),()=>{window.removeEventListener("blur",oe),window.removeEventListener("resize",oe)}},[_]);const[q,z]=bE(oe=>{const ue=Z().filter(ge=>!ge.disabled),ye=ue.find(ge=>ge.ref.current===document.activeElement),V=wE(ue,oe,ye);V&&setTimeout(()=>V.ref.current.focus())}),H=b.useCallback((oe,ue,ye)=>{const V=!D.current&&!ye;(E.value!==void 0&&E.value===ue||V)&&(I(oe),V&&(D.current=!0))},[E.value]),de=b.useCallback(()=>C==null?void 0:C.focus(),[C]),K=b.useCallback((oe,ue,ye)=>{const V=!D.current&&!ye;(E.value!==void 0&&E.value===ue||V)&&X(oe)},[E.value]),fe=r==="popper"?xx:aE,Q=fe===xx?{side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:j,avoidCollisions:w}:{};return i.jsx(sE,{scope:n,content:C,viewport:O,onViewportChange:B,itemRefCallback:H,selectedItem:P,onItemLeave:de,itemTextRefCallback:K,focusSelectedItem:ae,selectedItemText:L,position:r,isPositioned:Y,searchRef:q,children:i.jsx(Dx,{as:NB,allowPinchZoom:!0,children:i.jsx(Ix,{asChild:!0,trapped:E.open,onMountAutoFocus:oe=>{oe.preventDefault()},onUnmountAutoFocus:rt(s,oe=>{var ue;(ue=E.trigger)==null||ue.focus({preventScroll:!0}),oe.preventDefault()}),children:i.jsx(Px,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:oe=>oe.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:i.jsx(fe,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:oe=>oe.preventDefault(),...k,...Q,onPlaced:()=>W(!0),ref:R,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:rt(k.onKeyDown,oe=>{const ue=oe.ctrlKey||oe.altKey||oe.metaKey;if(oe.key==="Tab"&&oe.preventDefault(),!ue&&oe.key.length===1&&z(oe.key),["ArrowUp","ArrowDown","Home","End"].includes(oe.key)){let V=Z().filter(ge=>!ge.disabled).map(ge=>ge.ref.current);if(["ArrowUp","End"].includes(oe.key)&&(V=V.slice().reverse()),["ArrowUp","ArrowDown"].includes(oe.key)){const ge=oe.target,Me=V.indexOf(ge);V=V.slice(Me+1)}setTimeout(()=>$(V)),oe.preventDefault()}})})})})})})});iE.displayName=wB;var jB="SelectItemAlignedPosition",aE=b.forwardRef((t,e)=>{const{__scopeSelect:n,onPlaced:r,...s}=t,a=ca(to,n),o=da(to,n),[c,u]=b.useState(null),[h,f]=b.useState(null),m=vt(e,R=>f(R)),g=Cf(n),y=b.useRef(!1),v=b.useRef(!0),{viewport:j,selectedItem:w,selectedItemText:k,focusSelectedItem:E}=o,C=b.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&h&&j&&w&&k){const R=a.trigger.getBoundingClientRect(),P=h.getBoundingClientRect(),I=a.valueNode.getBoundingClientRect(),L=k.getBoundingClientRect();if(a.dir!=="rtl"){const ge=L.left-P.left,Me=I.left-ge,tt=R.left-Me,et=R.width+tt,ot=Math.max(et,P.width),Ge=window.innerWidth-rs,dt=eh(Me,[rs,Math.max(rs,Ge-ot)]);c.style.minWidth=et+"px",c.style.left=dt+"px"}else{const ge=P.right-L.right,Me=window.innerWidth-I.right-ge,tt=window.innerWidth-R.right-Me,et=R.width+tt,ot=Math.max(et,P.width),Ge=window.innerWidth-rs,dt=eh(Me,[rs,Math.max(rs,Ge-ot)]);c.style.minWidth=et+"px",c.style.right=dt+"px"}const X=g(),Z=window.innerHeight-rs*2,Y=j.scrollHeight,W=window.getComputedStyle(h),D=parseInt(W.borderTopWidth,10),$=parseInt(W.paddingTop,10),ae=parseInt(W.borderBottomWidth,10),_=parseInt(W.paddingBottom,10),se=D+$+Y+_+ae,q=Math.min(w.offsetHeight*5,se),z=window.getComputedStyle(j),H=parseInt(z.paddingTop,10),de=parseInt(z.paddingBottom,10),K=R.top+R.height/2-rs,fe=Z-K,Q=w.offsetHeight/2,oe=w.offsetTop+Q,ue=D+$+oe,ye=se-ue;if(ue<=K){const ge=X.length>0&&w===X[X.length-1].ref.current;c.style.bottom="0px";const Me=h.clientHeight-j.offsetTop-j.offsetHeight,tt=Math.max(fe,Q+(ge?de:0)+Me+ae),et=ue+tt;c.style.height=et+"px"}else{const ge=X.length>0&&w===X[0].ref.current;c.style.top="0px";const tt=Math.max(K,D+j.offsetTop+(ge?H:0)+Q)+ye;c.style.height=tt+"px",j.scrollTop=ue-K+j.offsetTop}c.style.margin=`${rs}px 0`,c.style.minHeight=q+"px",c.style.maxHeight=Z+"px",r==null||r(),requestAnimationFrame(()=>y.current=!0)}},[g,a.trigger,a.valueNode,c,h,j,w,k,a.dir,r]);Un(()=>C(),[C]);const[T,O]=b.useState();Un(()=>{h&&O(window.getComputedStyle(h).zIndex)},[h]);const B=b.useCallback(R=>{R&&v.current===!0&&(C(),E==null||E(),v.current=!1)},[C,E]);return i.jsx(SB,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:y,onScrollButtonChange:B,children:i.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T},children:i.jsx(at.div,{...s,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});aE.displayName=jB;var kB="SelectPopperPosition",xx=b.forwardRef((t,e)=>{const{__scopeSelect:n,align:r="start",collisionPadding:s=rs,...a}=t,o=Ef(n);return i.jsx(cB,{...o,...a,ref:e,align:r,collisionPadding:s,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});xx.displayName=kB;var[SB,H0]=gl(to,{}),yx="SelectViewport",oE=b.forwardRef((t,e)=>{const{__scopeSelect:n,nonce:r,...s}=t,a=da(yx,n),o=H0(yx,n),c=vt(e,a.onViewportChange),u=b.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),i.jsx(Sf.Slot,{scope:n,children:i.jsx(at.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:rt(s.onScroll,h=>{const f=h.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:g}=o;if(g!=null&&g.current&&m){const y=Math.abs(u.current-f.scrollTop);if(y>0){const v=window.innerHeight-rs*2,j=parseFloat(m.style.minHeight),w=parseFloat(m.style.height),k=Math.max(j,w);if(k0?T:0,m.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});oE.displayName=yx;var lE="SelectGroup",[CB,EB]=gl(lE),TB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=Ki();return i.jsx(CB,{scope:n,id:s,children:i.jsx(at.div,{role:"group","aria-labelledby":s,...r,ref:e})})});TB.displayName=lE;var cE="SelectLabel",MB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=EB(cE,n);return i.jsx(at.div,{id:s.id,...r,ref:e})});MB.displayName=cE;var Gh="SelectItem",[AB,dE]=gl(Gh),uE=b.forwardRef((t,e)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:a,...o}=t,c=ca(Gh,n),u=da(Gh,n),h=c.value===r,[f,m]=b.useState(a??""),[g,y]=b.useState(!1),v=vt(e,E=>{var C;return(C=u.itemRefCallback)==null?void 0:C.call(u,E,r,s)}),j=Ki(),w=b.useRef("touch"),k=()=>{s||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(AB,{scope:n,value:r,disabled:s,textId:j,isSelected:h,onItemTextChange:b.useCallback(E=>{m(C=>C||((E==null?void 0:E.textContent)??"").trim())},[]),children:i.jsx(Sf.ItemSlot,{scope:n,value:r,disabled:s,textValue:f,children:i.jsx(at.div,{role:"option","aria-labelledby":j,"data-highlighted":g?"":void 0,"aria-selected":h&&g,"data-state":h?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...o,ref:v,onFocus:rt(o.onFocus,()=>y(!0)),onBlur:rt(o.onBlur,()=>y(!1)),onClick:rt(o.onClick,()=>{w.current!=="mouse"&&k()}),onPointerUp:rt(o.onPointerUp,()=>{w.current==="mouse"&&k()}),onPointerDown:rt(o.onPointerDown,E=>{w.current=E.pointerType}),onPointerMove:rt(o.onPointerMove,E=>{var C;w.current=E.pointerType,s?(C=u.onItemLeave)==null||C.call(u):w.current==="mouse"&&E.currentTarget.focus({preventScroll:!0})}),onPointerLeave:rt(o.onPointerLeave,E=>{var C;E.currentTarget===document.activeElement&&((C=u.onItemLeave)==null||C.call(u))}),onKeyDown:rt(o.onKeyDown,E=>{var T;((T=u.searchRef)==null?void 0:T.current)!==""&&E.key===" "||(pB.includes(E.key)&&k(),E.key===" "&&E.preventDefault())})})})})});uE.displayName=Gh;var uc="SelectItemText",hE=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:s,...a}=t,o=ca(uc,n),c=da(uc,n),u=dE(uc,n),h=yB(uc,n),[f,m]=b.useState(null),g=vt(e,k=>m(k),u.onItemTextChange,k=>{var E;return(E=c.itemTextRefCallback)==null?void 0:E.call(c,k,u.value,u.disabled)}),y=f==null?void 0:f.textContent,v=b.useMemo(()=>i.jsx("option",{value:u.value,disabled:u.disabled,children:y},u.value),[u.disabled,u.value,y]),{onNativeOptionAdd:j,onNativeOptionRemove:w}=h;return Un(()=>(j(v),()=>w(v)),[j,w,v]),i.jsxs(i.Fragment,{children:[i.jsx(at.span,{id:u.textId,...a,ref:g}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Wc.createPortal(a.children,o.valueNode):null]})});hE.displayName=uc;var fE="SelectItemIndicator",pE=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return dE(fE,n).isSelected?i.jsx(at.span,{"aria-hidden":!0,...r,ref:e}):null});pE.displayName=fE;var vx="SelectScrollUpButton",mE=b.forwardRef((t,e)=>{const n=da(vx,t.__scopeSelect),r=H0(vx,t.__scopeSelect),[s,a]=b.useState(!1),o=vt(e,r.onScrollButtonChange);return Un(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollTop>0;a(h)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),s?i.jsx(xE,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});mE.displayName=vx;var bx="SelectScrollDownButton",gE=b.forwardRef((t,e)=>{const n=da(bx,t.__scopeSelect),r=H0(bx,t.__scopeSelect),[s,a]=b.useState(!1),o=vt(e,r.onScrollButtonChange);return Un(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),s?i.jsx(xE,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});gE.displayName=bx;var xE=b.forwardRef((t,e)=>{const{__scopeSelect:n,onAutoScroll:r,...s}=t,a=da("SelectScrollButton",n),o=b.useRef(null),c=Cf(n),u=b.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return b.useEffect(()=>()=>u(),[u]),Un(()=>{var f;const h=c().find(m=>m.ref.current===document.activeElement);(f=h==null?void 0:h.ref.current)==null||f.scrollIntoView({block:"nearest"})},[c]),i.jsx(at.div,{"aria-hidden":!0,...s,ref:e,style:{flexShrink:0,...s.style},onPointerDown:rt(s.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:rt(s.onPointerMove,()=>{var h;(h=a.onItemLeave)==null||h.call(a),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:rt(s.onPointerLeave,()=>{u()})})}),RB="SelectSeparator",PB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return i.jsx(at.div,{"aria-hidden":!0,...r,ref:e})});PB.displayName=RB;var wx="SelectArrow",IB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=Ef(n),a=ca(wx,n),o=da(wx,n);return a.open&&o.position==="popper"?i.jsx(dB,{...s,...r,ref:e}):null});IB.displayName=wx;var OB="SelectBubbleInput",yE=b.forwardRef(({__scopeSelect:t,value:e,...n},r)=>{const s=b.useRef(null),a=vt(r,s),o=Bx(e);return b.useEffect(()=>{const c=s.current;if(!c)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("change",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),i.jsx(at.select,{...n,style:{...JC,...n.style},ref:a,defaultValue:e})});yE.displayName=OB;function vE(t){return t===""||t===void 0}function bE(t){const e=Qi(t),n=b.useRef(""),r=b.useRef(0),s=b.useCallback(o=>{const c=n.current+o;e(c),(function u(h){n.current=h,window.clearTimeout(r.current),h!==""&&(r.current=window.setTimeout(()=>u(""),1e3))})(c)},[e]),a=b.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return b.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,s,a]}function wE(t,e,n){const s=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,a=n?t.indexOf(n):-1;let o=DB(t,Math.max(a,0));s.length===1&&(o=o.filter(h=>h!==n));const u=o.find(h=>h.textValue.toLowerCase().startsWith(s.toLowerCase()));return u!==n?u:void 0}function DB(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var LB=YC,NE=XC,_B=eE,zB=tE,$B=nE,jE=rE,FB=oE,kE=uE,BB=hE,VB=pE,HB=mE,WB=gE;const sc=LB,ic=_B,Bo=b.forwardRef(({className:t,children:e,...n},r)=>i.jsxs(NE,{ref:r,className:bt("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...n,children:[e,i.jsx(zB,{asChild:!0,children:i.jsx(Ec,{className:"h-4 w-4 opacity-50"})})]}));Bo.displayName=NE.displayName;const Vo=b.forwardRef(({className:t,children:e,position:n="popper",...r},s)=>i.jsx($B,{children:i.jsxs(jE,{ref:s,className:bt("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1",t),position:n,...r,children:[i.jsx(HB,{className:"flex cursor-default items-center justify-center py-1",children:i.jsx(DN,{className:"h-4 w-4"})}),i.jsx(FB,{className:"p-1",children:e}),i.jsx(WB,{className:"flex cursor-default items-center justify-center py-1",children:i.jsx(Ec,{className:"h-4 w-4"})})]})}));Vo.displayName=jE.displayName;const bs=b.forwardRef(({className:t,children:e,...n},r)=>i.jsxs(kE,{ref:r,className:bt("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[i.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(VB,{children:i.jsx(Uc,{className:"h-4 w-4"})})}),i.jsx(BB,{children:e})]}));bs.displayName=kE.displayName;const UB=["一","二","三","四","五","六","七","八","九","十"];function cg(t){return t.startsWith("part:")?{type:"part",id:t.slice(5)}:t.startsWith("chapter:")?{type:"chapter",id:t.slice(8)}:t.startsWith("section:")?{type:"section",id:t.slice(8)}:null}function KB({parts:t,expandedParts:e,onTogglePart:n,onReorder:r,onReadSection:s,onDeleteSection:a,onAddSectionInPart:o,onAddChapterInPart:c,onDeleteChapter:u,onEditPart:h,onDeletePart:f,onEditChapter:m,selectedSectionIds:g=[],onToggleSectionSelect:y,onShowSectionOrders:v,pinnedSectionIds:j=[]}){const[w,k]=b.useState(null),[E,C]=b.useState(null),T=(L,X)=>(w==null?void 0:w.type)===L&&(w==null?void 0:w.id)===X,O=(L,X)=>(E==null?void 0:E.type)===L&&(E==null?void 0:E.id)===X,B=b.useCallback(()=>{const L=[];for(const X of t)for(const Z of X.chapters)for(const Y of Z.sections)L.push({id:Y.id,partId:X.id,partTitle:X.title,chapterId:Z.id,chapterTitle:Z.title});return L},[t]),R=b.useCallback(async(L,X,Z,Y)=>{var _;L.preventDefault(),L.stopPropagation();const W=L.dataTransfer.getData("text/plain"),D=cg(W);if(!D||D.type===X&&D.id===Z)return;const $=B(),ae=new Map($.map(se=>[se.id,se]));if(D.type==="part"&&X==="part"){const se=t.map(K=>K.id),q=se.indexOf(D.id),z=se.indexOf(Z);if(q===-1||z===-1)return;const H=[...se];H.splice(q,1),H.splice(qQ.id===K);if(fe)for(const Q of fe.chapters)for(const oe of Q.sections){const ue=ae.get(oe.id);ue&&de.push(ue)}}await r(de);return}if(D.type==="chapter"&&(X==="chapter"||X==="section"||X==="part")){const se=t.find(ue=>ue.chapters.some(ye=>ye.id===D.id)),q=se==null?void 0:se.chapters.find(ue=>ue.id===D.id);if(!se||!q)return;let z,H,de=null;if(X==="section"){const ue=ae.get(Z);if(!ue)return;z=ue.partId,H=ue.partTitle,de=Z}else if(X==="chapter"){const ue=t.find(ge=>ge.chapters.some(Me=>Me.id===Z)),ye=ue==null?void 0:ue.chapters.find(ge=>ge.id===Z);if(!ue||!ye)return;z=ue.id,H=ue.title;const V=$.filter(ge=>ge.chapterId===Z).pop();de=(V==null?void 0:V.id)??null}else{const ue=t.find(V=>V.id===Z);if(!ue||!ue.chapters[0])return;z=ue.id,H=ue.title;const ye=$.filter(V=>V.partId===ue.id&&V.chapterId===ue.chapters[0].id);de=((_=ye[ye.length-1])==null?void 0:_.id)??null}const K=q.sections.map(ue=>ue.id),fe=$.filter(ue=>!K.includes(ue.id));let Q=fe.length;if(de){const ue=fe.findIndex(ye=>ye.id===de);ue>=0&&(Q=ue+1)}const oe=K.map(ue=>({...ae.get(ue),partId:z,partTitle:H,chapterId:q.id,chapterTitle:q.title}));await r([...fe.slice(0,Q),...oe,...fe.slice(Q)]);return}if(D.type==="section"&&(X==="section"||X==="chapter"||X==="part")){if(!Y)return;const{partId:se,partTitle:q,chapterId:z,chapterTitle:H}=Y;let de;if(X==="section")de=$.findIndex(ye=>ye.id===Z);else if(X==="chapter"){const ye=$.filter(V=>V.chapterId===Z).pop();de=ye?$.findIndex(V=>V.id===ye.id)+1:$.length}else{const ye=t.find(Me=>Me.id===Z);if(!(ye!=null&&ye.chapters[0]))return;const V=$.filter(Me=>Me.partId===ye.id&&Me.chapterId===ye.chapters[0].id),ge=V[V.length-1];de=ge?$.findIndex(Me=>Me.id===ge.id)+1:0}const K=$.findIndex(ye=>ye.id===D.id);if(K===-1)return;const fe=$.filter(ye=>ye.id!==D.id),Q=K({onDragEnter:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",C({type:L,id:X})},onDragOver:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",C({type:L,id:X})},onDragLeave:()=>C(null),onDrop:Y=>{C(null);const W=cg(Y.dataTransfer.getData("text/plain"));if(W&&!(L==="section"&&W.type==="section"&&W.id===X))if(L==="part")if(W.type==="part")R(Y,"part",X);else{const D=t.find(ae=>ae.id===X);(D==null?void 0:D.chapters[0])&&Z&&R(Y,"part",X,Z)}else L==="chapter"&&Z?(W.type==="section"||W.type==="chapter")&&R(Y,"chapter",X,Z):L==="section"&&Z&&R(Y,"section",X,Z)}}),I=L=>UB[L]??String(L+1);return i.jsx("div",{className:"space-y-3",children:t.map((L,X)=>{var q,z,H,de;const Z=L.title==="序言"||L.title.includes("序言"),Y=L.title==="尾声"||L.title.includes("尾声"),W=L.title==="附录"||L.title.includes("附录"),D=O("part",L.id),$=e.includes(L.id),ae=L.chapters.length,_=L.chapters.reduce((K,fe)=>K+fe.sections.length,0);if(Z&&L.chapters.length===1&&L.chapters[0].sections.length===1){const K=L.chapters[0].sections[0],fe=O("section",K.id),Q={partId:L.id,partTitle:L.title,chapterId:L.chapters[0].id,chapterTitle:L.chapters[0].title};return i.jsxs("div",{draggable:!0,onDragStart:oe=>{oe.stopPropagation(),oe.dataTransfer.setData("text/plain","section:"+K.id),oe.dataTransfer.effectAllowed="move",k({type:"section",id:K.id})},onDragEnd:()=>{k(null),C(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${fe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${T("section",K.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",K.id,Q),children:[i.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:oe=>oe.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(K.id),onChange:()=>y(K.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:i.jsx(Hr,{className:"w-4 h-4 text-gray-400"})}),i.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[L.chapters[0].title," | ",K.title]}),j.includes(K.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3.5 h-3.5 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:oe=>oe.stopPropagation(),onClick:oe=>oe.stopPropagation(),children:[K.price===0||K.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",K.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",K.clickCount??0," · 付款 ",K.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(K.hotScore??0).toFixed(1)," · 第",K.hotRank&&K.hotRank>0?K.hotRank:"-","名"]}),v&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(K),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(K),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(K),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},L.id)}if(L.title==="2026每日派对干货"||L.title.includes("2026每日派对干货")){const K=O("part",L.id);return i.jsxs("div",{className:`rounded-xl border overflow-hidden transition-all duration-200 ${K?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50 bg-[#1C1C1E]"}`,...P("part",L.id,{partId:L.id,partTitle:L.title,chapterId:((q=L.chapters[0])==null?void 0:q.id)??"",chapterTitle:((z=L.chapters[0])==null?void 0:z.title)??""}),children:[i.jsxs("div",{draggable:!0,onDragStart:fe=>{fe.stopPropagation(),fe.dataTransfer.setData("text/plain","part:"+L.id),fe.dataTransfer.effectAllowed="move",k({type:"part",id:L.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${T("part",L.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/50"}`,onClick:()=>n(L.id),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),i.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac]/80 flex items-center justify-center text-white font-bold shrink-0",children:"派"}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-bold text-white text-base",children:L.title}),i.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",_," 节"]})]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:fe=>fe.stopPropagation(),onClick:fe=>fe.stopPropagation(),children:[o&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),h&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),f&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f(L),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:i.jsx(wn,{className:"w-3.5 h-3.5"})}),i.jsxs("span",{className:"text-xs text-gray-500",children:[ae,"章"]}),$?i.jsx(Ec,{className:"w-5 h-5 text-gray-500"}):i.jsx(Ho,{className:"w-5 h-5 text-gray-500"})]})]}),$&&L.chapters.length>0&&i.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:L.chapters.map(fe=>i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:fe.title}),i.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Q=>Q.stopPropagation(),children:[m&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m(L,fe),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),c&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),u&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u(L,fe),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx("div",{className:"space-y-1 pl-2",children:fe.sections.map(Q=>{const oe=O("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:ue=>{ue.stopPropagation(),ue.dataTransfer.setData("text/plain","section:"+Q.id),ue.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg min-h-[40px] cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${oe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${T("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Q.id,{partId:L.id,partTitle:L.title,chapterId:fe.id,chapterTitle:fe.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ue=>ue.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Q.id," ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]},Q.id)})})]},fe.id))})]},L.id)}if(W)return i.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[i.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"附录"}),i.jsx("div",{className:"space-y-3",children:L.chapters.map((K,fe)=>K.sections.length>0?K.sections.map(Q=>{const oe=O("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:ue=>{ue.stopPropagation(),ue.dataTransfer.setData("text/plain","section:"+Q.id),ue.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 group cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${oe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${T("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Q.id,{partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ue=>ue.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-300 truncate",children:["附录",fe+1," | ",K.title," | ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx(Ho,{className:"w-4 h-4 text-gray-500 shrink-0"})]},Q.id)}):i.jsxs("div",{className:"flex justify-between items-center py-2 select-none hover:bg-[#162840]/50 rounded px-2 -mx-2",children:[i.jsxs("span",{className:"text-sm text-gray-500",children:["附录",fe+1," | ",K.title,"(空)"]}),i.jsx(Ho,{className:"w-4 h-4 text-gray-500 shrink-0"})]},K.id))})]},L.id);if(Y&&L.chapters.length===1&&L.chapters[0].sections.length===1){const K=L.chapters[0].sections[0],fe=O("section",K.id),Q={partId:L.id,partTitle:L.title,chapterId:L.chapters[0].id,chapterTitle:L.chapters[0].title};return i.jsxs("div",{draggable:!0,onDragStart:oe=>{oe.stopPropagation(),oe.dataTransfer.setData("text/plain","section:"+K.id),oe.dataTransfer.effectAllowed="move",k({type:"section",id:K.id})},onDragEnd:()=>{k(null),C(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${fe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${T("section",K.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",K.id,Q),children:[i.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:oe=>oe.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(K.id),onChange:()=>y(K.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:i.jsx(Hr,{className:"w-4 h-4 text-gray-400"})}),i.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[L.chapters[0].title," | ",K.title]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:oe=>oe.stopPropagation(),onClick:oe=>oe.stopPropagation(),children:[K.price===0||K.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",K.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",K.clickCount??0," · 付款 ",K.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(K.hotScore??0).toFixed(1)," · 第",K.hotRank&&K.hotRank>0?K.hotRank:"-","名"]}),v&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(K),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(K),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(K),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},L.id)}return Y?i.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[i.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"尾声"}),i.jsx("div",{className:"space-y-3",children:L.chapters.map(K=>K.sections.map(fe=>{const Q=O("section",fe.id);return i.jsxs("div",{draggable:!0,onDragStart:oe=>{oe.stopPropagation(),oe.dataTransfer.setData("text/plain","section:"+fe.id),oe.dataTransfer.effectAllowed="move",k({type:"section",id:fe.id})},onDragEnd:()=>{k(null),C(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${Q?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${T("section",fe.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",fe.id,{partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:oe=>oe.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(fe.id),onChange:()=>y(fe.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-300",children:[K.title," | ",fe.title]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",fe.clickCount??0," · 付款 ",fe.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(fe.hotScore??0).toFixed(1)," · 第",fe.hotRank&&fe.hotRank>0?fe.hotRank:"-","名"]}),v&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(fe),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(fe),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(fe),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},fe.id)}))})]},L.id):i.jsxs("div",{className:`rounded-xl border bg-[#1C1C1E] overflow-hidden transition-all duration-200 ${D?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50"}`,...P("part",L.id,{partId:L.id,partTitle:L.title,chapterId:((H=L.chapters[0])==null?void 0:H.id)??"",chapterTitle:((de=L.chapters[0])==null?void 0:de.title)??""}),children:[i.jsxs("div",{draggable:!0,onDragStart:K=>{K.stopPropagation(),K.dataTransfer.setData("text/plain","part:"+L.id),K.dataTransfer.effectAllowed="move",k({type:"part",id:L.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${T("part",L.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] rounded-xl shadow-xl shadow-[#38bdac]/20":"hover:bg-[#162840]/50"}`,onClick:()=>n(L.id),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[i.jsx(Vs,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),i.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac] flex items-center justify-center text-white font-bold shadow-lg shadow-[#38bdac]/30 shrink-0",children:I(X)}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-bold text-white text-base",children:L.title}),i.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",_," 节"]})]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:K=>K.stopPropagation(),onClick:K=>K.stopPropagation(),children:[o&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),h&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),f&&i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f(L),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:i.jsx(wn,{className:"w-3.5 h-3.5"})}),i.jsxs("span",{className:"text-xs text-gray-500",children:[ae,"章"]}),$?i.jsx(Ec,{className:"w-5 h-5 text-gray-500"}):i.jsx(Ho,{className:"w-5 h-5 text-gray-500"})]})]}),$&&i.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:L.chapters.map(K=>{const fe=O("chapter",K.id);return i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i.jsxs("div",{draggable:!0,onDragStart:Q=>{Q.stopPropagation(),Q.dataTransfer.setData("text/plain","chapter:"+K.id),Q.dataTransfer.effectAllowed="move",k({type:"chapter",id:K.id})},onDragEnd:()=>{k(null),C(null)},onDragEnter:Q=>{Q.preventDefault(),Q.stopPropagation(),Q.dataTransfer.dropEffect="move",C({type:"chapter",id:K.id})},onDragOver:Q=>{Q.preventDefault(),Q.stopPropagation(),Q.dataTransfer.dropEffect="move",C({type:"chapter",id:K.id})},onDragLeave:()=>C(null),onDrop:Q=>{C(null);const oe=cg(Q.dataTransfer.getData("text/plain"));if(!oe)return;const ue={partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title};(oe.type==="section"||oe.type==="chapter")&&R(Q,"chapter",K.id,ue)},className:`flex-1 min-w-0 py-2 px-2 rounded cursor-grab active:cursor-grabbing select-none -mx-2 transition-all duration-200 flex items-center gap-2 ${fe?"bg-[#38bdac]/15 ring-1 ring-[#38bdac]/50":""} ${T("chapter",K.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/30"}`,children:[i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),i.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:K.title})]}),i.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Q=>Q.stopPropagation(),children:[m&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m(L,K),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),c&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c(L),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:i.jsx(Ft,{className:"w-3.5 h-3.5"})}),u&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u(L,K),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx("div",{className:"space-y-1 pl-2",children:K.sections.map(Q=>{const oe=O("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:ue=>{ue.stopPropagation(),ue.dataTransfer.setData("text/plain","section:"+Q.id),ue.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg group cursor-grab active:cursor-grabbing select-none min-h-[40px] transition-all duration-200 ${oe?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${T("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] shadow-lg":"hover:bg-[#162840]/50"}`,...P("section",Q.id,{partId:L.id,partTitle:L.title,chapterId:K.id,chapterTitle:K.title}),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ue=>ue.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx(Vs,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),i.jsx("div",{className:`w-2 h-2 rounded-full shrink-0 ${Q.price===0||Q.isFree?"border-2 border-[#38bdac] bg-transparent":"bg-gray-500"}`}),i.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Q.id," ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ue=>ue.stopPropagation(),onClick:ue=>ue.stopPropagation(),children:[Q.isNew&&i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"NEW"}),Q.price===0||Q.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",Q.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",title:"点击次数 · 付款笔数",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5 shrink-0",children:"付款记录"}),i.jsxs("div",{className:"flex gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(kt,{className:"w-3.5 h-3.5"})}),i.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(wn,{className:"w-3.5 h-3.5"})})]})]})]},Q.id)})})]},K.id)})})]},L.id)})})}function qB(t){const e=new Map;for(const c of t){const u=c.partId||"part-1",h=c.partTitle||"未分类",f=c.chapterId||"chapter-1",m=c.chapterTitle||"未分类";e.has(u)||e.set(u,{id:u,title:h,chapters:new Map});const g=e.get(u);g.chapters.has(f)||g.chapters.set(f,{id:f,title:m,sections:[]}),g.chapters.get(f).sections.push({id:c.id,title:c.title,price:c.price??1,filePath:c.filePath,isFree:c.isFree,isNew:c.isNew,clickCount:c.clickCount??0,payCount:c.payCount??0,hotScore:c.hotScore??0,hotRank:c.hotRank??0})}const n="part-2026-daily",r="2026每日派对干货";Array.from(e.values()).some(c=>c.title===r||c.title.includes(r))||e.set(n,{id:n,title:r,chapters:new Map([["chapter-2026-daily",{id:"chapter-2026-daily",title:r,sections:[]}]])});const a=Array.from(e.values()).map(c=>({...c,chapters:Array.from(c.chapters.values())})),o=c=>c.includes("序言")?0:c.includes(r)?1.5:c.includes("附录")?2:c.includes("尾声")?3:1;return a.sort((c,u)=>{const h=o(c.title),f=o(u.title);return h!==f?h-f:0})}function GB(){var od,ld,fa;const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState([]),[o,c]=b.useState(null),[u,h]=b.useState(!1),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,j]=b.useState(""),[w,k]=b.useState([]),[E,C]=b.useState(!1),[T,O]=b.useState({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),[B,R]=b.useState(null),[P,I]=b.useState(!1),[L,X]=b.useState(!1),[Z,Y]=b.useState(null),[W,D]=b.useState(!1),[$,ae]=b.useState([]),[_,se]=b.useState(!1),[q,z]=b.useState(""),[H,de]=b.useState(""),[K,fe]=b.useState(!1),[Q,oe]=b.useState(""),[ue,ye]=b.useState(!1),[V,ge]=b.useState(null),[Me,tt]=b.useState(!1),[et,ot]=b.useState(!1),[Ge,dt]=b.useState({readWeight:.5,recencyWeight:.3,payWeight:.2}),[Et,ht]=b.useState(!1),[Tt,rr]=b.useState(!1),[sr,Er]=b.useState(1),[on,Kr]=b.useState([]),[gr,Tr]=b.useState(!1),[_n,Jn]=b.useState(20),[Yn,Cn]=b.useState(!1),[pe,ve]=b.useState(!1),[hn,Mr]=b.useState([]),[fs,ua]=b.useState([]),[En,qr]=b.useState({personId:"",name:"",label:"",ckbApiKey:""}),[ha,xr]=b.useState(null),[Gr,ai]=b.useState(""),[ut,Ar]=b.useState({tagId:"",label:"",url:"",type:"url",appId:"",pagePath:""}),io=b.useRef(null),xn=qB(t),Jr=t.length,oi=[...t].sort((A,ee)=>(ee.hotScore??0)-(A.hotScore??0)),Rr=10,ps=Math.max(1,Math.ceil(oi.length/Rr)),Yr=oi.slice((sr-1)*Rr,sr*Rr),Tn=async()=>{r(!0);try{const A=await Fe("/api/db/book?action=list",{cache:"no-store"});e(Array.isArray(A==null?void 0:A.sections)?A.sections:[])}catch(A){console.error(A),e([])}finally{r(!1)}};b.useEffect(()=>{Tn()},[]);const ms=A=>{a(ee=>ee.includes(A)?ee.filter(Se=>Se!==A):[...ee,A])},Ps=b.useCallback(A=>{const ee=t,Se=A.flatMap(je=>{const jt=ee.find(Mt=>Mt.id===je.id);return jt?[{...jt,partId:je.partId,partTitle:je.partTitle,chapterId:je.chapterId,chapterTitle:je.chapterTitle}]:[]});return e(Se),_t("/api/db/book",{action:"reorder",items:A}).then(je=>{je&&je.success===!1&&(e(ee),he.error("排序失败: "+(je&&typeof je=="object"&&"error"in je?je.error:"未知错误")))}).catch(je=>{e(ee),console.error("排序失败:",je),he.error("排序失败: "+(je instanceof Error?je.message:"网络或服务异常"))}),Promise.resolve()},[t]),Is=async A=>{if(confirm(`确定要删除章节「${A.title}」吗?此操作不可恢复。`))try{const ee=await ss(`/api/db/book?id=${encodeURIComponent(A.id)}`);ee&&ee.success!==!1?(he.success("已删除"),Tn()):he.error("删除失败: "+(ee&&typeof ee=="object"&&"error"in ee?ee.error:"未知错误"))}catch(ee){console.error(ee),he.error("删除失败")}},G=b.useCallback(async()=>{ht(!0);try{const A=await Fe("/api/db/config/full?key=article_ranking_weights",{cache:"no-store"}),ee=A&&A.data;ee&&typeof ee.readWeight=="number"&&typeof ee.recencyWeight=="number"&&typeof ee.payWeight=="number"&&dt({readWeight:Math.max(0,Math.min(1,ee.readWeight)),recencyWeight:Math.max(0,Math.min(1,ee.recencyWeight)),payWeight:Math.max(0,Math.min(1,ee.payWeight))})}catch{}finally{ht(!1)}},[]);b.useEffect(()=>{et&&G()},[et,G]);const nt=async()=>{const{readWeight:A,recencyWeight:ee,payWeight:Se}=Ge,je=A+ee+Se;if(Math.abs(je-1)>.001){he.error("三个权重之和必须等于 1");return}rr(!0);try{const jt=await mt("/api/db/config",{key:"article_ranking_weights",value:{readWeight:A,recencyWeight:ee,payWeight:Se},description:"文章排名算法权重"});jt&&jt.success!==!1?(he.success("排名权重已保存"),Tn()):he.error("保存失败: "+(jt&&typeof jt=="object"&&"error"in jt?jt.error:""))}catch(jt){console.error(jt),he.error("保存失败")}finally{rr(!1)}},wt=b.useCallback(async()=>{Tr(!0);try{const A=await Fe("/api/db/config/full?key=pinned_section_ids",{cache:"no-store"}),ee=A&&A.data;Array.isArray(ee)&&Kr(ee)}catch{}finally{Tr(!1)}},[]),ft=b.useCallback(async()=>{try{const A=await Fe("/api/db/persons");A!=null&&A.success&&A.persons&&Mr(A.persons.map(ee=>({id:ee.personId,name:ee.name,label:ee.label,ckbApiKey:ee.ckbApiKey})))}catch{}},[]),Qt=b.useCallback(async()=>{try{const A=await Fe("/api/db/link-tags");A!=null&&A.success&&A.linkTags&&ua(A.linkTags.map(ee=>({id:ee.tagId,label:ee.label,url:ee.url,type:ee.type,appId:ee.appId,pagePath:ee.pagePath})))}catch{}},[]),li=async A=>{const ee=on.includes(A)?on.filter(Se=>Se!==A):[...on,A];Kr(ee);try{await mt("/api/db/config",{key:"pinned_section_ids",value:ee,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"})}catch{Kr(on)}},xl=b.useCallback(async()=>{Cn(!0);try{const A=await Fe("/api/db/config/full?key=unpaid_preview_percent",{cache:"no-store"}),ee=A&&A.data;typeof ee=="number"&&ee>0&&ee<=100&&Jn(ee)}catch{}finally{Cn(!1)}},[]),Tf=async()=>{if(_n<1||_n>100){he.error("预览比例需在 1~100 之间");return}ve(!0);try{const A=await mt("/api/db/config",{key:"unpaid_preview_percent",value:_n,description:"小程序未付费内容默认预览比例(%)"});A&&A.success!==!1?he.success("预览比例已保存"):he.error("保存失败: "+(A.error||""))}catch{he.error("保存失败")}finally{ve(!1)}};b.useEffect(()=>{wt(),xl(),ft(),Qt()},[wt,xl,ft,Qt]);const yl=async A=>{ge({section:A,orders:[]}),tt(!0);try{const ee=await Fe(`/api/db/book?action=section-orders&id=${encodeURIComponent(A.id)}`),Se=ee!=null&&ee.success&&Array.isArray(ee.orders)?ee.orders:[];ge(je=>je?{...je,orders:Se}:null)}catch(ee){console.error(ee),ge(Se=>Se?{...Se,orders:[]}:null)}finally{tt(!1)}},ao=async A=>{m(!0);try{const ee=await Fe(`/api/db/book?action=read&id=${encodeURIComponent(A.id)}`);if(ee!=null&&ee.success&&ee.section){const Se=ee.section,je=Se.editionPremium===!0;c({id:A.id,originalId:A.id,title:ee.section.title??A.title,price:ee.section.price??A.price,content:ee.section.content??"",filePath:A.filePath,isFree:A.isFree||A.price===0,isNew:Se.isNew??A.isNew,isPinned:on.includes(A.id),hotScore:A.hotScore??0,editionStandard:je?!1:Se.editionStandard??!0,editionPremium:je})}else c({id:A.id,originalId:A.id,title:A.title,price:A.price,content:"",filePath:A.filePath,isFree:A.isFree,isNew:A.isNew,isPinned:on.includes(A.id),hotScore:A.hotScore??0,editionStandard:!0,editionPremium:!1}),ee&&!ee.success&&he.error("无法读取文件内容: "+(ee.error||"未知错误"))}catch(ee){console.error(ee),c({id:A.id,title:A.title,price:A.price,content:"",filePath:A.filePath,isFree:A.isFree})}finally{m(!1)}},td=async()=>{var A;if(o){y(!0);try{let ee=o.content||"";const Se=[new RegExp(`^#+\\s*${o.id.replace(".","\\.")}\\s+.*$`,"gm"),new RegExp(`^#+\\s*${o.id.replace(".","\\.")}[::].*$`,"gm"),new RegExp(`^#\\s+.*${(A=o.title)==null?void 0:A.slice(0,10).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}.*$`,"gm")];for(const Mn of Se)ee=ee.replace(Mn,"");ee=ee.replace(/^\s*\n+/,"").trim();const je=o.originalId||o.id,jt=o.id!==je,Mt=await _t("/api/db/book",{id:je,...jt?{newId:o.id}:{},title:o.title,price:o.isFree?0:o.price,content:ee,isFree:o.isFree||o.price===0,isNew:o.isNew,hotScore:o.hotScore,editionStandard:o.editionPremium?!1:o.editionStandard??!0,editionPremium:o.editionPremium??!1,saveToFile:!0}),zn=jt?o.id:je;o.isPinned!==on.includes(zn)&&await li(zn),Mt&&Mt.success!==!1?(he.success(`已保存:${o.title}`),c(null),Tn()):he.error("保存失败: "+(Mt&&typeof Mt=="object"&&"error"in Mt?Mt.error:"未知错误"))}catch(ee){console.error(ee),he.error("保存失败")}finally{y(!1)}}},nd=async()=>{if(!T.id||!T.title){he.error("请填写章节ID和标题");return}y(!0);try{const A=xn.find(je=>je.id===T.partId),ee=A==null?void 0:A.chapters.find(je=>je.id===T.chapterId),Se=await _t("/api/db/book",{id:T.id,title:T.title,price:T.isFree?0:T.price,content:T.content,partId:T.partId,partTitle:(A==null?void 0:A.title)??"",chapterId:T.chapterId,chapterTitle:(ee==null?void 0:ee.title)??"",isFree:T.isFree,isNew:T.isNew,editionStandard:T.editionPremium?!1:T.editionStandard??!0,editionPremium:T.editionPremium??!1,hotScore:T.hotScore??0,saveToFile:!1});if(Se&&Se.success!==!1){if(T.isPinned){const je=[...on,T.id];Kr(je);try{await mt("/api/db/config",{key:"pinned_section_ids",value:je,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"})}catch{}}he.success(`章节创建成功:${T.title}`),h(!1),O({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),Tn()}else he.error("创建失败: "+(Se&&typeof Se=="object"&&"error"in Se?Se.error:"未知错误"))}catch(A){console.error(A),he.error("创建失败")}finally{y(!1)}},Mf=A=>{O(ee=>{var Se;return{...ee,partId:A.id,chapterId:((Se=A.chapters[0])==null?void 0:Se.id)??"chapter-1"}}),h(!0)},Af=A=>{R({id:A.id,title:A.title})},Vt=async()=>{var A;if((A=B==null?void 0:B.title)!=null&&A.trim()){I(!0);try{const ee=t.map(je=>({id:je.id,partId:je.partId||"part-1",partTitle:je.partId===B.id?B.title.trim():je.partTitle||"",chapterId:je.chapterId||"chapter-1",chapterTitle:je.chapterTitle||""})),Se=await _t("/api/db/book",{action:"reorder",items:ee});if(Se&&Se.success!==!1){const je=B.title.trim();e(jt=>jt.map(Mt=>Mt.partId===B.id?{...Mt,partTitle:je}:Mt)),R(null),Tn()}else he.error("更新篇名失败: "+(Se&&typeof Se=="object"&&"error"in Se?Se.error:"未知错误"))}catch(ee){console.error(ee),he.error("更新篇名失败")}finally{I(!1)}}},Rf=A=>{const ee=A.chapters.length+1,Se=`chapter-${A.id}-${ee}-${Date.now()}`;O({id:`${ee}.1`,title:"新章节",price:1,partId:A.id,chapterId:Se,content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),h(!0)},vl=(A,ee)=>{Y({part:A,chapter:ee,title:ee.title})},rd=async()=>{var A;if((A=Z==null?void 0:Z.title)!=null&&A.trim()){D(!0);try{const ee=t.map(je=>({id:je.id,partId:je.partId||Z.part.id,partTitle:je.partId===Z.part.id?Z.part.title:je.partTitle||"",chapterId:je.chapterId||Z.chapter.id,chapterTitle:je.partId===Z.part.id&&je.chapterId===Z.chapter.id?Z.title.trim():je.chapterTitle||""})),Se=await _t("/api/db/book",{action:"reorder",items:ee});if(Se&&Se.success!==!1){const je=Z.title.trim(),jt=Z.part.id,Mt=Z.chapter.id;e(zn=>zn.map(Mn=>Mn.partId===jt&&Mn.chapterId===Mt?{...Mn,chapterTitle:je}:Mn)),Y(null),Tn()}else he.error("保存失败: "+(Se&&typeof Se=="object"&&"error"in Se?Se.error:"未知错误"))}catch(ee){console.error(ee),he.error("保存失败")}finally{D(!1)}}},oo=async(A,ee)=>{const Se=ee.sections.map(je=>je.id);if(Se.length===0){he.info("该章下无小节,无需删除");return}if(confirm(`确定要删除「第${A.chapters.indexOf(ee)+1}章 | ${ee.title}」吗?将删除共 ${Se.length} 节,此操作不可恢复。`))try{for(const je of Se)await ss(`/api/db/book?id=${encodeURIComponent(je)}`);Tn()}catch(je){console.error(je),he.error("删除失败")}},Pf=async()=>{if(!Q.trim()){he.error("请输入篇名");return}ye(!0);try{const A=`part-new-${Date.now()}`,ee="chapter-1",Se=`part-placeholder-${Date.now()}`,je=await _t("/api/db/book",{id:Se,title:"占位节(可编辑)",price:0,content:"",partId:A,partTitle:Q.trim(),chapterId:ee,chapterTitle:"第1章 | 待编辑",saveToFile:!1});je&&je.success!==!1?(he.success(`篇「${Q}」创建成功`),X(!1),oe(""),Tn()):he.error("创建失败: "+(je&&typeof je=="object"&&"error"in je?je.error:"未知错误"))}catch(A){console.error(A),he.error("创建失败")}finally{ye(!1)}},sd=async()=>{if($.length===0){he.error("请先勾选要移动的章节");return}const A=xn.find(Se=>Se.id===q),ee=A==null?void 0:A.chapters.find(Se=>Se.id===H);if(!A||!ee||!q||!H){he.error("请选择目标篇和章");return}fe(!0);try{const Se=()=>{const zn=new Set($),Mn=t.map(Qe=>({id:Qe.id,partId:Qe.partId||"",partTitle:Qe.partTitle||"",chapterId:Qe.chapterId||"",chapterTitle:Qe.chapterTitle||""})),pa=Mn.filter(Qe=>zn.has(Qe.id)).map(Qe=>({...Qe,partId:q,partTitle:A.title||q,chapterId:H,chapterTitle:ee.title||H})),ma=Mn.filter(Qe=>!zn.has(Qe.id));let ga=ma.length;for(let Qe=ma.length-1;Qe>=0;Qe-=1){const bl=ma[Qe];if(bl.partId===q&&bl.chapterId===H){ga=Qe+1;break}}return[...ma.slice(0,ga),...pa,...ma.slice(ga)]},je=async()=>{const zn=Se(),Mn=await _t("/api/db/book",{action:"reorder",items:zn});return Mn&&Mn.success!==!1?(he.success(`已移动 ${$.length} 节到「${A.title}」-「${ee.title}」`),se(!1),ae([]),await Tn(),!0):!1},jt={action:"move-sections",sectionIds:$,targetPartId:q,targetChapterId:H,targetPartTitle:A.title||q,targetChapterTitle:ee.title||H},Mt=await _t("/api/db/book",jt);if(Mt&&Mt.success!==!1)he.success(`已移动 ${Mt.count??$.length} 节到「${A.title}」-「${ee.title}」`),se(!1),ae([]),await Tn();else{const zn=Mt&&typeof Mt=="object"&&"error"in Mt?Mt.error||"":"未知错误";if((zn.includes("缺少 id")||zn.includes("无效的 action"))&&await je())return;he.error("移动失败: "+zn)}}catch(Se){console.error(Se),he.error("移动失败: "+(Se instanceof Error?Se.message:"网络或服务异常"))}finally{fe(!1)}},lo=A=>{ae(ee=>ee.includes(A)?ee.filter(Se=>Se!==A):[...ee,A])},Pr=async A=>{const ee=t.filter(Se=>Se.partId===A.id).map(Se=>Se.id);if(ee.length===0){he.info("该篇下暂无小节可删除");return}if(confirm(`确定要删除「${A.title}」整篇吗?将删除共 ${ee.length} 节内容,此操作不可恢复。`))try{for(const Se of ee)await ss(`/api/db/book?id=${encodeURIComponent(Se)}`);Tn()}catch(Se){console.error(Se),he.error("删除失败")}},id=async()=>{var A;if(v.trim()){C(!0);try{const ee=await Fe(`/api/search?q=${encodeURIComponent(v)}`);ee!=null&&ee.success&&((A=ee.data)!=null&&A.results)?k(ee.data.results):(k([]),ee&&!ee.success&&he.error("搜索失败: "+ee.error))}catch(ee){console.error(ee),k([]),he.error("搜索失败")}finally{C(!1)}}},Qn=xn.find(A=>A.id===T.partId),ad=(Qn==null?void 0:Qn.chapters)??[];return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"内容管理"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",xn.length," 篇 · ",Jr," 节内容"]})]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsxs(ne,{onClick:()=>ot(!0),variant:"outline",className:"border-amber-500/50 text-amber-400 hover:bg-amber-500/10 bg-transparent",children:[i.jsx(uu,{className:"w-4 h-4 mr-2"}),"排名算法"]}),i.jsxs(ne,{onClick:()=>{const A=typeof window<"u"?`${window.location.origin}/api-doc`:"";A&&window.open(A,"_blank","noopener,noreferrer")},variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Ss,{className:"w-4 h-4 mr-2"}),"API 接口"]})]})]}),i.jsx(Zt,{open:u,onOpenChange:h,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[i.jsx(en,{className:"shrink-0 px-6 pt-6 pb-2",children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Ft,{className:"w-5 h-5 text-[#38bdac]"}),"新建章节"]})}),i.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节ID *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 9.15",value:T.id,onChange:A=>O({...T,id:A.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:T.isFree?0:T.price,onChange:A=>O({...T,price:Number(A.target.value),isFree:Number(A.target.value)===0}),disabled:T.isFree})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"免费"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:T.isFree,onChange:A=>O({...T,isFree:A.target.checked,price:A.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最新新增"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:T.isNew,onChange:A=>O({...T,isNew:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序直推"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:T.isPinned,onChange:A=>O({...T,isPinned:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"文章类型"}),i.jsxs("div",{className:"flex items-center gap-4 h-10",children:[i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"new-edition-type",checked:T.editionPremium!==!0,onChange:()=>O({...T,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"new-edition-type",checked:T.editionPremium===!0,onChange:()=>O({...T,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"热度分"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:T.hotScore??0,onChange:A=>O({...T,hotScore:Math.max(0,parseFloat(A.target.value)||0)})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节标题 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入章节标题",value:T.title,onChange:A=>O({...T,title:A.target.value})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"所属篇"}),i.jsxs(sc,{value:T.partId,onValueChange:A=>{var Se;const ee=xn.find(je=>je.id===A);O({...T,partId:A,chapterId:((Se=ee==null?void 0:ee.chapters[0])==null?void 0:Se.id)??"chapter-1"})},children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{})}),i.jsxs(Vo,{className:"bg-[#0f2137] border-gray-700",children:[xn.map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id)),xn.length===0&&i.jsx(bs,{value:"part-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认篇"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"所属章"}),i.jsxs(sc,{value:T.chapterId,onValueChange:A=>O({...T,chapterId:A}),children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{})}),i.jsxs(Vo,{className:"bg-[#0f2137] border-gray-700",children:[ad.map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id)),ad.length===0&&i.jsx(bs,{value:"chapter-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认章"})]})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),i.jsx(fx,{content:T.content||"",onChange:A=>O({...T,content:A}),onImageUpload:async A=>{var jt;const ee=new FormData;ee.append("file",A),ee.append("folder","book-images");const je=await(await fetch(Ha("/api/upload"),{method:"POST",body:ee,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((jt=je==null?void 0:je.data)==null?void 0:jt.url)||(je==null?void 0:je.url)||""},persons:hn,linkTags:fs,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),i.jsxs(Nn,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[i.jsx(ne,{variant:"outline",onClick:()=>h(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:nd,disabled:g||!T.id||!T.title,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"创建章节"]})})]})]})}),i.jsx(Zt,{open:!!B,onOpenChange:A=>!A&&R(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑篇名"]})}),B&&i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"篇名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:B.title,onChange:A=>R({...B,title:A.target.value}),placeholder:"输入篇名"})]})}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>R(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:Vt,disabled:P||!((od=B==null?void 0:B.title)!=null&&od.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:P?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),i.jsx(Zt,{open:!!Z,onOpenChange:A=>!A&&Y(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节名称"]})}),Z&&i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节名称(如:第8章|底层结构)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:Z.title,onChange:A=>Y({...Z,title:A.target.value}),placeholder:"输入章节名称"})]})}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>Y(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:rd,disabled:W||!((ld=Z==null?void 0:Z.title)!=null&&ld.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:W?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),i.jsx(Zt,{open:_,onOpenChange:A=>{var ee;if(se(A),A&&xn.length>0){const Se=xn[0];z(Se.id),de(((ee=Se.chapters[0])==null?void 0:ee.id)??"")}},children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:"批量移动至指定目录"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["已选 ",i.jsx("span",{className:"text-[#38bdac] font-medium",children:$.length})," 节,请选择目标篇与章。"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目标篇"}),i.jsxs(sc,{value:q,onValueChange:A=>{var Se;z(A);const ee=xn.find(je=>je.id===A);de(((Se=ee==null?void 0:ee.chapters[0])==null?void 0:Se.id)??"")},children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{placeholder:"选择篇"})}),i.jsx(Vo,{className:"bg-[#0f2137] border-gray-700",children:xn.map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目标章"}),i.jsxs(sc,{value:H,onValueChange:de,children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(ic,{placeholder:"选择章"})}),i.jsx(Vo,{className:"bg-[#0f2137] border-gray-700",children:(((fa=xn.find(A=>A.id===q))==null?void 0:fa.chapters)??[]).map(A=>i.jsx(bs,{value:A.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:A.title},A.id))})]})]})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>se(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:sd,disabled:K||$.length===0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:K?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"移动中..."]}):"确认移动"})]})]})}),i.jsx(Zt,{open:!!V,onOpenChange:A=>!A&&ge(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-3xl max-h-[85vh] overflow-hidden flex flex-col",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white",children:["付款记录 — ",(V==null?void 0:V.section.title)??""]})}),i.jsx("div",{className:"flex-1 overflow-y-auto py-2",children:Me?i.jsxs("div",{className:"flex items-center justify-center py-8",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):V&&V.orders.length===0?i.jsx("p",{className:"text-gray-500 text-center py-6",children:"暂无付款记录"}):V?i.jsxs("table",{className:"w-full text-sm border-collapse",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[i.jsx("th",{className:"py-2 pr-2",children:"订单号"}),i.jsx("th",{className:"py-2 pr-2",children:"用户ID"}),i.jsx("th",{className:"py-2 pr-2",children:"金额"}),i.jsx("th",{className:"py-2 pr-2",children:"状态"}),i.jsx("th",{className:"py-2 pr-2",children:"支付时间"})]})}),i.jsx("tbody",{children:V.orders.map(A=>i.jsxs("tr",{className:"border-b border-gray-700/50",children:[i.jsx("td",{className:"py-2 pr-2",children:i.jsx("button",{className:"text-blue-400 hover:text-blue-300 hover:underline text-left truncate max-w-[180px] block",title:`查看订单 ${A.orderSn}`,onClick:()=>window.open(`/orders?search=${A.orderSn??A.id??""}`,"_blank"),children:A.orderSn?A.orderSn.length>16?A.orderSn.slice(0,8)+"..."+A.orderSn.slice(-6):A.orderSn:"-"})}),i.jsx("td",{className:"py-2 pr-2",children:i.jsx("button",{className:"text-[#38bdac] hover:text-[#2da396] hover:underline text-left truncate max-w-[140px] block",title:`查看用户 ${A.userId??A.openId??""}`,onClick:()=>window.open(`/users?search=${A.userId??A.openId??""}`,"_blank"),children:(()=>{const ee=A.userId??A.openId??"-";return ee.length>12?ee.slice(0,6)+"..."+ee.slice(-4):ee})()})}),i.jsxs("td",{className:"py-2 pr-2 text-gray-300",children:["¥",A.amount??0]}),i.jsx("td",{className:"py-2 pr-2 text-gray-300",children:A.status??"-"}),i.jsx("td",{className:"py-2 pr-2 text-gray-500",children:A.payTime??A.createdAt??"-"})]},A.id??A.orderSn??""))})]}):null})]})}),i.jsx(Zt,{open:et,onOpenChange:ot,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(uu,{className:"w-5 h-5 text-amber-400"}),"文章排名算法"]})}),i.jsxs("div",{className:"space-y-4 py-2",children:[i.jsx("p",{className:"text-sm text-gray-400",children:"热度积分 = 阅读权重×阅读排名分 + 新度权重×新度排名分 + 付款权重×付款排名分(三权重之和须为 1)"}),Et?i.jsx("p",{className:"text-gray-500",children:"加载中..."}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"阅读权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Ge.readWeight,onChange:A=>dt(ee=>({...ee,readWeight:Math.max(0,Math.min(1,parseFloat(A.target.value)||0))}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"新度权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Ge.recencyWeight,onChange:A=>dt(ee=>({...ee,recencyWeight:Math.max(0,Math.min(1,parseFloat(A.target.value)||0))}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"付款权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Ge.payWeight,onChange:A=>dt(ee=>({...ee,payWeight:Math.max(0,Math.min(1,parseFloat(A.target.value)||0))}))})]})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["当前之和: ",(Ge.readWeight+Ge.recencyWeight+Ge.payWeight).toFixed(1)]}),i.jsxs("ul",{className:"list-disc list-inside space-y-1 text-xs text-gray-400",children:[i.jsx("li",{children:"阅读量前 20 名:第1名=20分、第2名=19分...第20名=1分"}),i.jsx("li",{children:"最近更新前 30 篇:第1名=30分、第2名=29分...第30名=1分"}),i.jsx("li",{children:"付款数前 20 名:第1名=20分、第2名=19分...第20名=1分"}),i.jsx("li",{children:"热度分可在编辑章节中手动覆盖"})]}),i.jsx(ne,{onClick:nt,disabled:Tt||Math.abs(Ge.readWeight+Ge.recencyWeight+Ge.payWeight-1)>.001,className:"w-full bg-amber-500 hover:bg-amber-600 text-white",children:Tt?"保存中...":"保存权重"})]})]})]})}),i.jsx(Zt,{open:L,onOpenChange:X,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(Ft,{className:"w-5 h-5 text-amber-400"}),"新建篇"]})}),i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"篇名(如:第六篇|真实的社会)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:Q,onChange:A=>oe(A.target.value),placeholder:"输入篇名"})]})}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>{X(!1),oe("")},className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(ne,{onClick:Pf,disabled:ue||!Q.trim(),className:"bg-amber-500 hover:bg-amber-600 text-white",children:ue?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"创建篇"]})})]})]})}),i.jsx(Zt,{open:!!o,onOpenChange:()=>c(null),children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[i.jsx(en,{className:"shrink-0 px-6 pt-6 pb-2",children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节"]})}),o&&i.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.id,onChange:A=>c({...o,id:A.target.value}),placeholder:"如: 9.15"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:o.isFree?0:o.price,onChange:A=>c({...o,price:Number(A.target.value),isFree:Number(A.target.value)===0}),disabled:o.isFree})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"免费"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isFree||o.price===0,onChange:A=>c({...o,isFree:A.target.checked,price:A.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最新新增"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isNew??!1,onChange:A=>c({...o,isNew:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序直推"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isPinned??!1,onChange:A=>c({...o,isPinned:A.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"文章类型"}),i.jsxs("div",{className:"flex items-center gap-4 h-10",children:[i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium!==!0,onChange:()=>c({...o,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium===!0,onChange:()=>c({...o,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"热度分"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:o.hotScore??0,onChange:A=>c({...o,hotScore:Math.max(0,parseFloat(A.target.value)||0)})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.title,onChange:A=>c({...o,title:A.target.value})})]}),o.filePath&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"文件路径"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-gray-400 text-sm",value:o.filePath,disabled:!0})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),f?i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700 rounded-md min-h-[400px] flex items-center justify-center",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsx(fx,{ref:io,content:o.content||"",onChange:A=>c({...o,content:A}),onImageUpload:async A=>{var jt;const ee=new FormData;ee.append("file",A),ee.append("folder","book-images");const je=await(await fetch(Ha("/api/upload"),{method:"POST",body:ee,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((jt=je==null?void 0:je.data)==null?void 0:jt.url)||(je==null?void 0:je.url)||""},persons:hn,linkTags:fs,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),i.jsxs(Nn,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[o&&i.jsxs(ne,{variant:"outline",onClick:()=>yl({id:o.id,title:o.title,price:o.price}),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent mr-auto",children:[i.jsx(Hr,{className:"w-4 h-4 mr-2"}),"付款记录"]}),i.jsxs(ne,{variant:"outline",onClick:()=>c(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsx(ne,{onClick:td,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存修改"]})})]})]})}),i.jsxs(Gc,{defaultValue:"chapters",className:"space-y-6",children:[i.jsxs(ul,{className:"bg-[#0f2137] border border-gray-700/50 p-1",children:[i.jsxs(nn,{value:"chapters",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[i.jsx(Hr,{className:"w-4 h-4 mr-2"}),"章节管理"]}),i.jsxs(nn,{value:"ranking",className:"data-[state=active]:bg-amber-500/20 data-[state=active]:text-amber-400 text-gray-400",children:[i.jsx(Ob,{className:"w-4 h-4 mr-2"}),"内容排行榜"]}),i.jsxs(nn,{value:"search",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[i.jsx(Ui,{className:"w-4 h-4 mr-2"}),"内容搜索"]}),i.jsxs(nn,{value:"link-ai",className:"data-[state=active]:bg-purple-500/20 data-[state=active]:text-purple-400 text-gray-400",children:[i.jsx(Ss,{className:"w-4 h-4 mr-2"}),"链接AI"]})]}),i.jsxs(rn,{value:"chapters",className:"space-y-4",children:[i.jsxs("div",{className:"rounded-2xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between shadow-sm",children:[i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac] flex items-center justify-center text-white shadow-lg shadow-[#38bdac]/20 shrink-0",children:i.jsx(Hr,{className:"w-6 h-6"})}),i.jsxs("div",{children:[i.jsx("h2",{className:"font-bold text-base text-white leading-tight mb-1",children:"一场SOUL的创业实验场"}),i.jsx("p",{className:"text-xs text-gray-500",children:"来自Soul派对房的真实商业故事"})]})]}),i.jsxs("div",{className:"text-center shrink-0",children:[i.jsx("span",{className:"block text-2xl font-bold text-[#38bdac]",children:Jr}),i.jsx("span",{className:"text-xs text-gray-500",children:"章节"})]})]}),i.jsxs("div",{className:"flex flex-wrap gap-2",children:[i.jsxs(ne,{onClick:()=>h(!0),className:"flex-1 min-w-[120px] bg-[#38bdac]/10 hover:bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/30",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新建章节"]}),i.jsxs(ne,{onClick:()=>X(!0),className:"flex-1 min-w-[120px] bg-amber-500/10 hover:bg-amber-500/20 text-amber-400 border border-amber-500/30",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新建篇"]}),i.jsxs(ne,{variant:"outline",onClick:()=>se(!0),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:["批量移动(已选 ",$.length," 节)"]})]}),n?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsx(KB,{parts:xn,expandedParts:s,onTogglePart:ms,onReorder:Ps,onReadSection:ao,onDeleteSection:Is,onAddSectionInPart:Mf,onAddChapterInPart:Rf,onDeleteChapter:oo,onEditPart:Af,onDeletePart:Pr,onEditChapter:vl,selectedSectionIds:$,onToggleSectionSelect:lo,onShowSectionOrders:yl,pinnedSectionIds:on})]}),i.jsx(rn,{value:"search",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"内容搜索"})}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",placeholder:"搜索标题或内容...",value:v,onChange:A=>j(A.target.value),onKeyDown:A=>A.key==="Enter"&&id()}),i.jsx(ne,{onClick:id,disabled:E||!v.trim(),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:E?i.jsx(qe,{className:"w-4 h-4 animate-spin"}):i.jsx(Ui,{className:"w-4 h-4"})})]}),w.length>0&&i.jsxs("div",{className:"space-y-2 mt-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["找到 ",w.length," 个结果"]}),w.map(A=>i.jsxs("div",{className:"p-3 rounded-lg bg-[#162840] hover:bg-[#1a3050] cursor-pointer transition-colors",onClick:()=>ao({id:A.id,title:A.title,price:A.price??1,filePath:""}),children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"text-[#38bdac] font-mono text-xs",children:A.id}),i.jsx("span",{className:"text-white",children:A.title}),on.includes(A.id)&&i.jsx(Uo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})]}),i.jsx(Be,{variant:"outline",className:"text-gray-400 border-gray-600 text-xs",children:A.matchType==="title"?"标题匹配":"内容匹配"})]}),A.snippet&&i.jsx("p",{className:"text-gray-500 text-xs mt-2 line-clamp-2",children:A.snippet}),(A.partTitle||A.chapterTitle)&&i.jsxs("p",{className:"text-gray-600 text-xs mt-1",children:[A.partTitle," · ",A.chapterTitle]})]},A.id))]})]})]})}),i.jsxs(rn,{value:"ranking",className:"space-y-4",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{className:"pb-3",children:i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(uu,{className:"w-4 h-4 text-[#38bdac]"}),"内容显示规则"]})}),i.jsx(Re,{children:i.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(te,{className:"text-gray-400 text-sm whitespace-nowrap",children:"未付费预览比例"}),i.jsx(ce,{type:"number",min:"1",max:"100",className:"bg-[#0a1628] border-gray-700 text-white w-20",value:_n,onChange:A=>Jn(Math.max(1,Math.min(100,Number(A.target.value)||20))),disabled:Yn}),i.jsx("span",{className:"text-gray-500 text-sm",children:"%"})]}),i.jsx(ne,{size:"sm",onClick:Tf,disabled:pe,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:pe?"保存中...":"保存"}),i.jsxs("span",{className:"text-xs text-gray-500",children:["小程序未付费用户默认显示文章前 ",_n,"% 内容"]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(Xe,{className:"pb-3",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(Ob,{className:"w-4 h-4 text-amber-400"}),"内容排行榜",i.jsxs("span",{className:"text-xs text-gray-500 font-normal ml-2",children:["按热度排行 · 共 ",oi.length," 节"]})]}),i.jsxs("div",{className:"flex items-center gap-1 text-sm",children:[i.jsx(ne,{variant:"ghost",size:"sm",disabled:sr<=1,onClick:()=>Er(A=>Math.max(1,A-1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:i.jsx(LT,{className:"w-4 h-4"})}),i.jsxs("span",{className:"text-gray-400 min-w-[60px] text-center",children:[sr," / ",ps]}),i.jsx(ne,{variant:"ghost",size:"sm",disabled:sr>=ps,onClick:()=>Er(A=>Math.min(ps,A+1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:i.jsx(Ho,{className:"w-4 h-4"})})]})]})}),i.jsx(Re,{children:i.jsxs("div",{className:"space-y-0",children:[i.jsxs("div",{className:"grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2 text-xs text-gray-500 border-b border-gray-700/50",children:[i.jsx("span",{children:"排名"}),i.jsx("span",{children:"置顶"}),i.jsx("span",{children:"标题"}),i.jsx("span",{className:"text-right",children:"点击量"}),i.jsx("span",{className:"text-right",children:"付款数"}),i.jsx("span",{className:"text-right",children:"热度"}),i.jsx("span",{className:"text-right",children:"编辑"})]}),Yr.map((A,ee)=>{const Se=(sr-1)*Rr+ee+1,je=on.includes(A.id);return i.jsxs("div",{className:`grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2.5 items-center border-b border-gray-700/30 hover:bg-[#162840] transition-colors ${je?"bg-amber-500/5":""}`,children:[i.jsx("span",{className:`text-sm font-bold ${Se<=3?"text-amber-400":"text-gray-500"}`,children:Se<=3?["🥇","🥈","🥉"][Se-1]:`#${Se}`}),i.jsx(ne,{variant:"ghost",size:"sm",className:`h-6 w-6 p-0 ${je?"text-amber-400":"text-gray-600 hover:text-amber-400"}`,onClick:()=>li(A.id),disabled:gr,title:je?"取消置顶":"强制置顶(精选推荐/首页最新更新)",children:je?i.jsx(Uo,{className:"w-3.5 h-3.5 fill-current"}):i.jsx(lA,{className:"w-3.5 h-3.5"})}),i.jsxs("div",{className:"min-w-0",children:[i.jsx("span",{className:"text-white text-sm truncate block",children:A.title}),i.jsxs("span",{className:"text-gray-600 text-xs",children:[A.partTitle," · ",A.chapterTitle]})]}),i.jsx("span",{className:"text-right text-sm text-blue-400 font-mono",children:A.clickCount??0}),i.jsx("span",{className:"text-right text-sm text-green-400 font-mono",children:A.payCount??0}),i.jsx("span",{className:"text-right text-sm text-amber-400 font-mono",children:(A.hotScore??0).toFixed(1)}),i.jsx("div",{className:"text-right",children:i.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-500 hover:text-[#38bdac] h-6 px-1",onClick:()=>ao({id:A.id,title:A.title,price:A.price,filePath:""}),title:"编辑文章",children:i.jsx(kt,{className:"w-3 h-3"})})})]},A.id)}),Yr.length===0&&i.jsx("div",{className:"py-8 text-center text-gray-500",children:"暂无数据"})]})})]})]}),i.jsxs(rn,{value:"link-ai",className:"space-y-4",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"pb-3",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx("span",{className:"text-[#38bdac] text-lg font-bold",children:"@"}),"AI列表 — 链接人与事(编辑器内输入 @ 可链接)"]}),i.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"在文章中 @人物,小程序端点击可跳转存客宝流量池或详情页"})]}),i.jsxs(Re,{className:"space-y-3",children:[i.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"名称 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 卡若",value:En.name,onChange:A=>qr({...En,name:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"人物ID(可选)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"自动生成",value:En.personId,onChange:A=>qr({...En,personId:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"标签(身份/角色)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"如 超级个体",value:En.label,onChange:A=>qr({...En,label:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"存客宝密钥(留空用默认)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-48",placeholder:"xxxx-xxxx-xxxx-xxxx",value:En.ckbApiKey,onChange:A=>qr({...En,ckbApiKey:A.target.value})})]}),i.jsxs(ne,{size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white h-8",onClick:async()=>{if(!En.name){he.error("名称必填");return}const A={...En};A.personId||(A.personId=En.name.toLowerCase().replace(/\s+/g,"_")+"_"+Date.now().toString(36)),await mt("/api/db/persons",A),qr({personId:"",name:"",label:"",ckbApiKey:""}),ft()},children:[i.jsx(Ft,{className:"w-3 h-3 mr-1"}),"添加"]})]}),i.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[hn.map(A=>i.jsxs("div",{className:"bg-[#0a1628] rounded px-3 py-2 space-y-1.5",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[i.jsxs("span",{className:"text-[#38bdac] font-bold text-base",children:["@",A.name]}),i.jsx("span",{className:"text-gray-600 text-xs font-mono",children:A.id}),A.label&&i.jsx(Be,{variant:"secondary",className:"bg-purple-500/20 text-purple-300 border-purple-500/30 text-[10px]",children:A.label}),A.ckbApiKey?i.jsx(Be,{variant:"secondary",className:"bg-green-500/20 text-green-300 border-green-500/30 text-[10px]",children:"密钥 ✓"}):i.jsx(Be,{variant:"secondary",className:"bg-gray-500/20 text-gray-500 border-gray-500/30 text-[10px]",children:"用默认密钥"})]}),i.jsxs("div",{className:"flex items-center gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-[#38bdac] h-6 px-2",title:"编辑密钥",onClick:()=>{xr(A.id),ai(A.ckbApiKey||"")},children:i.jsx(nA,{className:"w-3 h-3"})}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await ss(`/api/db/persons?personId=${A.id}`),ft()},children:i.jsx(Wn,{className:"w-3 h-3"})})]})]}),ha===A.id&&i.jsxs("div",{className:"flex items-center gap-2 pt-0.5",children:[i.jsx(ce,{className:"bg-[#0d1f35] border-gray-600 text-white h-7 text-xs flex-1",placeholder:"输入存客宝密钥,留空则用默认",value:Gr,onChange:ee=>ai(ee.target.value),onKeyDown:ee=>{ee.key==="Escape"&&xr(null)},autoFocus:!0}),i.jsx(ne,{size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white h-7 px-2",onClick:async()=>{await mt("/api/db/persons",{personId:A.id,name:A.name,label:A.label,ckbApiKey:Gr}),xr(null),ft()},children:i.jsx(Uc,{className:"w-3 h-3"})}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 h-7 px-2",onClick:()=>xr(null),children:i.jsx(Wn,{className:"w-3 h-3"})})]})]},A.id)),hn.length===0&&i.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无AI人物,添加后可在编辑器中 @链接"})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"pb-3",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(xM,{className:"w-4 h-4 text-amber-400"}),"链接标签 — 链接事与物(编辑器内 #标签 可跳转链接/小程序/存客宝)"]}),i.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"小程序端点击 #标签 可直接跳转对应链接,进入流量池"})]}),i.jsxs(Re,{className:"space-y-3",children:[i.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"标签ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",placeholder:"如 team01",value:ut.tagId,onChange:A=>Ar({...ut,tagId:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"显示文字"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 神仙团队",value:ut.label,onChange:A=>Ar({...ut,label:A.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"类型"}),i.jsxs(sc,{value:ut.type,onValueChange:A=>Ar({...ut,type:A}),children:[i.jsx(Bo,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",children:i.jsx(ic,{})}),i.jsxs(Vo,{children:[i.jsx(bs,{value:"url",children:"网页链接"}),i.jsx(bs,{value:"miniprogram",children:"小程序"}),i.jsx(bs,{value:"ckb",children:"存客宝"})]})]})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:ut.type==="url"?"URL地址":ut.type==="ckb"?"存客宝计划URL":"小程序AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-44",placeholder:ut.type==="url"?"https://...":ut.type==="ckb"?"https://ckbapi.quwanzhi.com/...":"wx...",value:ut.type==="url"||ut.type==="ckb"?ut.url:ut.appId,onChange:A=>{ut.type==="url"||ut.type==="ckb"?Ar({...ut,url:A.target.value}):Ar({...ut,appId:A.target.value})}})]}),ut.type==="miniprogram"&&i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"页面路径"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"pages/index/index",value:ut.pagePath,onChange:A=>Ar({...ut,pagePath:A.target.value})})]}),i.jsxs(ne,{size:"sm",className:"bg-amber-500 hover:bg-amber-600 text-white h-8",onClick:async()=>{if(!ut.tagId||!ut.label){he.error("标签ID和显示文字必填");return}const A={...ut};A.type==="miniprogram"&&A.appId&&(A.url=`weixin://dl/business/?appid=${A.appId}&path=${A.pagePath}`),await mt("/api/db/link-tags",A),Ar({tagId:"",label:"",url:"",type:"url",appId:"",pagePath:""}),Qt()},children:[i.jsx(Ft,{className:"w-3 h-3 mr-1"}),"添加"]})]}),i.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[fs.map(A=>i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded px-3 py-2",children:[i.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[i.jsxs("span",{className:"text-amber-400 font-bold text-base",children:["#",A.label]}),i.jsx(Be,{variant:"secondary",className:`text-[10px] ${A.type==="ckb"?"bg-green-500/20 text-green-300 border-green-500/30":"bg-gray-700 text-gray-300"}`,children:A.type==="url"?"网页":A.type==="ckb"?"存客宝":"小程序"}),i.jsxs("a",{href:A.url,target:"_blank",rel:"noreferrer",className:"text-blue-400 text-xs truncate max-w-[250px] hover:underline flex items-center gap-1",children:[A.url," ",i.jsx(ti,{className:"w-3 h-3 shrink-0"})]})]}),i.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await ss(`/api/db/link-tags?tagId=${A.id}`),Qt()},children:i.jsx(Wn,{className:"w-3 h-3"})})]},A.id)),fs.length===0&&i.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无链接标签,添加后可在编辑器中使用 #标签 跳转"})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"pb-3",children:[i.jsxs(Ze,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(uu,{className:"w-4 h-4 text-green-400"}),"存客宝绑定"]}),i.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"配置存客宝 API 后,文章中 @人物 或 #标签 点击可自动进入存客宝流量池"})]}),i.jsxs(Re,{className:"space-y-3",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"存客宝 API 地址"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"https://ckbapi.quwanzhi.com",defaultValue:"https://ckbapi.quwanzhi.com",readOnly:!0})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"绑定计划"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"创业实验-内容引流",defaultValue:"创业实验-内容引流",readOnly:!0})]})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["具体存客宝场景配置与接口测试请前往 ",i.jsx("button",{className:"text-[#38bdac] hover:underline",onClick:()=>window.open("/match","_blank"),children:"找伙伴 → 存客宝工作台"})]})]})]})]})]})]})}const Ys={name:"卡若",avatar:"K",avatarImg:"",title:"Soul派对房主理人 · 私域运营专家",bio:'每天早上6点到9点,在Soul派对房分享真实的创业故事。专注私域运营与项目变现,用"云阿米巴"模式帮助创业者构建可持续的商业体系。',stats:[{label:"商业案例",value:"62"},{label:"连续直播",value:"365天"},{label:"派对分享",value:"1000+"}],highlights:["5年私域运营经验","帮助100+品牌从0到1增长","连续创业者,擅长商业模式设计"]};function cN(t){return Array.isArray(t)?t.map(e=>e&&typeof e=="object"&&"label"in e&&"value"in e?{label:String(e.label),value:String(e.value)}:{label:"",value:""}).filter(e=>e.label||e.value):Ys.stats}function dN(t){return Array.isArray(t)?t.map(e=>typeof e=="string"?e:String(e??"")).filter(Boolean):Ys.highlights}function JB(){const[t,e]=b.useState(Ys),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(!1),u=b.useRef(null);b.useEffect(()=>{Fe("/api/admin/author-settings").then(k=>{const E=k==null?void 0:k.data;E&&typeof E=="object"&&e({name:String(E.name??Ys.name),avatar:String(E.avatar??Ys.avatar),avatarImg:String(E.avatarImg??""),title:String(E.title??Ys.title),bio:String(E.bio??Ys.bio),stats:cN(E.stats).length?cN(E.stats):Ys.stats,highlights:dN(E.highlights).length?dN(E.highlights):Ys.highlights})}).catch(console.error).finally(()=>r(!1))},[]);const h=async()=>{a(!0);try{const k={name:t.name,avatar:t.avatar||"K",avatarImg:t.avatarImg,title:t.title,bio:t.bio,stats:t.stats.filter(T=>T.label||T.value),highlights:t.highlights.filter(Boolean)},E=await mt("/api/admin/author-settings",k);if(!E||E.success===!1){he.error("保存失败: "+(E&&typeof E=="object"&&"error"in E?E.error:""));return}a(!1);const C=document.createElement("div");C.className="fixed top-4 right-4 z-50 px-4 py-2 rounded-lg bg-[#38bdac] text-white text-sm shadow-lg",C.textContent="作者设置已保存",document.body.appendChild(C),setTimeout(()=>C.remove(),2e3)}catch(k){console.error(k),he.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{a(!1)}},f=async k=>{var C;const E=(C=k.target.files)==null?void 0:C[0];if(E){c(!0);try{const T=new FormData;T.append("file",E),T.append("folder","avatars");const O=Mx(),B={};O&&(B.Authorization=`Bearer ${O}`);const P=await(await fetch(Ha("/api/upload"),{method:"POST",body:T,credentials:"include",headers:B})).json();P!=null&&P.success&&(P!=null&&P.url)?e(I=>({...I,avatarImg:P.url})):he.error("上传失败: "+((P==null?void 0:P.error)||"未知错误"))}catch(T){console.error(T),he.error("上传失败")}finally{c(!1),u.current&&(u.current.value="")}}},m=()=>e(k=>({...k,stats:[...k.stats,{label:"",value:""}]})),g=k=>e(E=>({...E,stats:E.stats.filter((C,T)=>T!==k)})),y=(k,E,C)=>e(T=>({...T,stats:T.stats.map((O,B)=>B===k?{...O,[E]:C}:O)})),v=()=>e(k=>({...k,highlights:[...k.highlights,""]})),j=k=>e(E=>({...E,highlights:E.highlights.filter((C,T)=>T!==k)})),w=(k,E)=>e(C=>({...C,highlights:C.highlights.map((T,O)=>O===k?E:T)}));return n?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(qo,{className:"w-5 h-5 text-[#38bdac]"}),"作者详情"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置小程序「关于作者」页展示的作者信息,包括头像、简介、统计数据与亮点标签。"})]}),i.jsxs(ne,{onClick:h,disabled:s||n,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),s?"保存中...":"保存"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"flex items-center gap-2 text-white",children:[i.jsx(qo,{className:"w-4 h-4 text-[#38bdac]"}),"基本信息"]}),i.jsx(zt,{className:"text-gray-400",children:"作者姓名、头像、头衔与个人简介,将展示在「关于作者」页顶部。"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"姓名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.name,onChange:k=>e(E=>({...E,name:k.target.value})),placeholder:"卡若"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首字母占位(无头像时显示)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white w-20",value:t.avatar,onChange:k=>e(E=>({...E,avatar:k.target.value.slice(0,1)||"K"})),placeholder:"K"})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(FN,{className:"w-3 h-3 text-[#38bdac]"}),"头像图片"]}),i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:t.avatarImg,onChange:k=>e(E=>({...E,avatarImg:k.target.value})),placeholder:"上传或粘贴 URL,如 /uploads/avatars/xxx.png"}),i.jsx("input",{ref:u,type:"file",accept:"image/*",className:"hidden",onChange:f}),i.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:o,onClick:()=>{var k;return(k=u.current)==null?void 0:k.click()},children:[i.jsx(Yu,{className:"w-4 h-4 mr-2"}),o?"上传中...":"上传"]})]}),t.avatarImg&&i.jsx("div",{className:"mt-2",children:i.jsx("img",{src:t.avatarImg.startsWith("http")?t.avatarImg:Ha(t.avatarImg),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"头衔"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.title,onChange:k=>e(E=>({...E,title:k.target.value})),placeholder:"Soul派对房主理人 · 私域运营专家"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"个人简介"}),i.jsx(Jc,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[120px]",value:t.bio,onChange:k=>e(E=>({...E,bio:k.target.value})),placeholder:"每天早上6点到9点..."})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsx(Ze,{className:"text-white",children:"统计数据"}),i.jsx(zt,{className:"text-gray-400",children:"展示在作者卡片中的数字指标,如「商业案例 62」「连续直播 365天」。第一个「商业案例」的值可由书籍统计自动更新。"})]}),i.jsxs(Re,{className:"space-y-3",children:[t.stats.map((k,E)=>i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.label,onChange:C=>y(E,"label",C.target.value),placeholder:"标签"}),i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.value,onChange:C=>y(E,"value",C.target.value),placeholder:"数值"}),i.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>g(E),children:i.jsx(Wn,{className:"w-4 h-4"})})]},E)),i.jsxs(ne,{variant:"outline",size:"sm",onClick:m,className:"border-gray-600 text-gray-400",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"添加统计项"]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsx(Ze,{className:"text-white",children:"亮点标签"}),i.jsx(zt,{className:"text-gray-400",children:"作者优势或成就的简短描述,以标签形式展示。"})]}),i.jsxs(Re,{className:"space-y-3",children:[t.highlights.map((k,E)=>i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k,onChange:C=>w(E,C.target.value),placeholder:"5年私域运营经验"}),i.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>j(E),children:i.jsx(Wn,{className:"w-4 h-4"})})]},E)),i.jsxs(ne,{variant:"outline",size:"sm",onClick:v,className:"border-gray-600 text-gray-400",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"添加亮点"]})]})]})]})]})}function YB(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o]=b.useState(10),[c,u]=b.useState(0),[h,f]=b.useState(""),m=Wx(h,300),[g,y]=b.useState(!0),[v,j]=b.useState(null),[w,k]=b.useState(!1),[E,C]=b.useState(null),[T,O]=b.useState(""),[B,R]=b.useState(""),[P,I]=b.useState(""),[L,X]=b.useState("admin"),[Z,Y]=b.useState("active"),[W,D]=b.useState(!1);async function $(){var H;y(!0),j(null);try{const de=new URLSearchParams({page:String(s),pageSize:String(o)});m.trim()&&de.set("search",m.trim());const K=await Fe(`/api/admin/users?${de}`);K!=null&&K.success?(e(K.records||[]),r(K.total??0),u(K.totalPages??0)):j(K.error||"加载失败")}catch(de){const K=de;j(K.status===403?"无权限访问":((H=K==null?void 0:K.data)==null?void 0:H.error)||"加载失败"),e([])}finally{y(!1)}}b.useEffect(()=>{$()},[s,o,m]);const ae=()=>{C(null),O(""),R(""),I(""),X("admin"),Y("active"),k(!0)},_=H=>{C(H),O(H.username),R(""),I(H.name||""),X(H.role==="super_admin"?"super_admin":"admin"),Y(H.status==="disabled"?"disabled":"active"),k(!0)},se=async()=>{var H;if(!T.trim()){j("用户名不能为空");return}if(!E&&!B){j("新建时密码必填,至少 6 位");return}if(B&&B.length<6){j("密码至少 6 位");return}j(null),D(!0);try{if(E){const de=await _t("/api/admin/users",{id:E.id,password:B||void 0,name:P.trim(),role:L,status:Z});de!=null&&de.success?(k(!1),$()):j((de==null?void 0:de.error)||"保存失败")}else{const de=await mt("/api/admin/users",{username:T.trim(),password:B,name:P.trim(),role:L});de!=null&&de.success?(k(!1),$()):j((de==null?void 0:de.error)||"保存失败")}}catch(de){const K=de;j(((H=K==null?void 0:K.data)==null?void 0:H.error)||"保存失败")}finally{D(!1)}},q=async H=>{var de;if(confirm("确定删除该管理员?"))try{const K=await ss(`/api/admin/users?id=${H}`);K!=null&&K.success?$():j((K==null?void 0:K.error)||"删除失败")}catch(K){const fe=K;j(((de=fe==null?void 0:fe.data)==null?void 0:de.error)||"删除失败")}},z=H=>{if(!H)return"-";try{const de=new Date(H);return isNaN(de.getTime())?H:de.toLocaleString("zh-CN")}catch{return H}};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Ex,{className:"w-5 h-5 text-[#38bdac]"}),"管理员用户"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"后台登录账号管理,仅超级管理员可操作"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(ce,{placeholder:"搜索用户名/昵称",value:h,onChange:H=>f(H.target.value),className:"w-48 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500"}),i.jsx(ne,{variant:"outline",size:"sm",onClick:$,disabled:g,className:"border-gray-600 text-gray-300",children:i.jsx(qe,{className:`w-4 h-4 ${g?"animate-spin":""}`})}),i.jsxs(ne,{onClick:ae,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新增管理员"]})]})]}),v&&i.jsxs("div",{className:"mb-4 p-3 rounded-lg bg-red-500/10 border border-red-500/20 text-red-400 text-sm flex justify-between items-center",children:[i.jsx("span",{children:v}),i.jsx("button",{type:"button",onClick:()=>j(null),className:"text-red-400 hover:text-red-300",children:"×"})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:g?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"用户名"}),i.jsx(Te,{className:"text-gray-400",children:"昵称"}),i.jsx(Te,{className:"text-gray-400",children:"角色"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"创建时间"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(H=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:H.id}),i.jsx(we,{className:"text-white font-medium",children:H.username}),i.jsx(we,{className:"text-gray-400",children:H.name||"-"}),i.jsx(we,{children:i.jsx(Be,{variant:"outline",className:H.role==="super_admin"?"border-amber-500/50 text-amber-400":"border-gray-600 text-gray-400",children:H.role==="super_admin"?"超级管理员":"管理员"})}),i.jsx(we,{children:i.jsx(Be,{variant:"outline",className:H.status==="active"?"border-[#38bdac]/50 text-[#38bdac]":"border-gray-500 text-gray-500",children:H.status==="active"?"正常":"已禁用"})}),i.jsx(we,{className:"text-gray-500 text-sm",children:z(H.createdAt)}),i.jsxs(we,{className:"text-right",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>_(H),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>q(H.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(wn,{className:"w-4 h-4"})})]})]},H.id)),t.length===0&&!g&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:v==="无权限访问"?"仅超级管理员可查看":"暂无管理员"})})]})]}),c>1&&i.jsx("div",{className:"p-4 border-t border-gray-700/50",children:i.jsx(ls,{page:s,pageSize:o,total:n,totalPages:c,onPageChange:a})})]})})}),i.jsx(Zt,{open:w,onOpenChange:k,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:E?"编辑管理员":"新增管理员"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"用户名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"登录用户名",value:T,onChange:H=>O(H.target.value),disabled:!!E}),E&&i.jsx("p",{className:"text-xs text-gray-500",children:"用户名不可修改"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:E?"新密码(留空不改)":"密码"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:E?"留空表示不修改":"至少 6 位",value:B,onChange:H=>R(H.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"显示名称",value:P,onChange:H=>I(H.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色"}),i.jsxs("select",{value:L,onChange:H=>X(H.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[i.jsx("option",{value:"admin",children:"管理员"}),i.jsx("option",{value:"super_admin",children:"超级管理员"})]})]}),E&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"状态"}),i.jsxs("select",{value:Z,onChange:H=>Y(H.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[i.jsx("option",{value:"active",children:"正常"}),i.jsx("option",{value:"disabled",children:"禁用"})]})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>k(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:se,disabled:W,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),W?"保存中...":"保存"]})]})]})})]})}const QB={appId:"wxb8bbb2b10dec74aa",withdrawSubscribeTmplId:"u3MbZGPRkrZIk-I7QdpwzFxnO_CeQPaCWF2FkiIablE",mchId:"1318592501",minWithdraw:10},XB={name:"卡若",startDate:"2025年10月15日",bio:"连续创业者,私域运营专家,每天早上6-9点在Soul派对房分享真实商业故事",liveTime:"06:00-09:00",platform:"Soul派对房",description:"连续创业者,私域运营专家"},ZB={sectionPrice:1,baseBookPrice:9.9,distributorShare:90,authorInfo:{...XB}},eV={matchEnabled:!0,referralEnabled:!0,searchEnabled:!0,aboutEnabled:!0},tV=["system","author","admin"];function nV(){const[t,e]=IN(),n=t.get("tab")??"system",r=tV.includes(n)?n:"system",[s,a]=b.useState(ZB),[o,c]=b.useState(eV),[u,h]=b.useState(QB),[f,m]=b.useState(!1),[g,y]=b.useState(!0),[v,j]=b.useState(!1),[w,k]=b.useState(""),[E,C]=b.useState(""),[T,O]=b.useState(!1),[B,R]=b.useState(!1),P=(Y,W,D=!1)=>{k(Y),C(W),O(D),j(!0)};b.useEffect(()=>{(async()=>{try{const W=await Fe("/api/admin/settings");if(!W||W.success===!1)return;if(W.featureConfig&&Object.keys(W.featureConfig).length&&c(D=>({...D,...W.featureConfig})),W.mpConfig&&typeof W.mpConfig=="object"&&h(D=>({...D,...W.mpConfig})),W.siteSettings&&typeof W.siteSettings=="object"){const D=W.siteSettings;a($=>({...$,...typeof D.sectionPrice=="number"&&{sectionPrice:D.sectionPrice},...typeof D.baseBookPrice=="number"&&{baseBookPrice:D.baseBookPrice},...typeof D.distributorShare=="number"&&{distributorShare:D.distributorShare},...D.authorInfo&&typeof D.authorInfo=="object"&&{authorInfo:{...$.authorInfo,...D.authorInfo}}}))}}catch(W){console.error("Load settings error:",W)}finally{y(!1)}})()},[]);const I=async(Y,W)=>{R(!0);try{const D=await mt("/api/admin/settings",{featureConfig:Y});if(!D||D.success===!1){W(),P("保存失败",(D==null?void 0:D.error)??"未知错误",!0);return}P("已保存","功能开关已更新,相关入口将随之显示或隐藏。")}catch(D){console.error("Save feature config error:",D),W(),P("保存失败",D instanceof Error?D.message:String(D),!0)}finally{R(!1)}},L=(Y,W)=>{const D=o,$={...D,[Y]:W};c($),I($,()=>c(D))},X=async()=>{m(!0);try{const Y=await mt("/api/admin/settings",{featureConfig:o,siteSettings:{sectionPrice:s.sectionPrice,baseBookPrice:s.baseBookPrice,distributorShare:s.distributorShare,authorInfo:s.authorInfo},mpConfig:{...u,appId:u.appId||"",withdrawSubscribeTmplId:u.withdrawSubscribeTmplId||"",mchId:u.mchId||"",minWithdraw:typeof u.minWithdraw=="number"?u.minWithdraw:10}});if(!Y||Y.success===!1){P("保存失败",(Y==null?void 0:Y.error)??"未知错误",!0);return}P("已保存","设置已保存成功。")}catch(Y){console.error("Save settings error:",Y),P("保存失败",Y instanceof Error?Y.message:String(Y),!0)}finally{m(!1)}},Z=Y=>{e(Y==="system"?{}:{tab:Y})};return g?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"系统设置"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置全站基础参数与开关"})]}),r==="system"&&i.jsxs(ne,{onClick:X,disabled:f,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),f?"保存中...":"保存设置"]})]}),i.jsxs(Gc,{value:r,onValueChange:Z,className:"w-full",children:[i.jsxs(ul,{className:"mb-6 bg-[#0f2137] border border-gray-700/50 p-1",children:[i.jsxs(nn,{value:"system",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(_a,{className:"w-4 h-4 mr-2"}),"系统设置"]}),i.jsxs(nn,{value:"author",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(gm,{className:"w-4 h-4 mr-2"}),"作者详情"]}),i.jsxs(nn,{value:"admin",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(Ex,{className:"w-4 h-4 mr-2"}),"管理员"]})]}),i.jsx(rn,{value:"system",className:"mt-0",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(gm,{className:"w-5 h-5 text-[#38bdac]"}),"关于作者"]}),i.jsx(zt,{className:"text-gray-400",children:'配置作者信息,将在"关于作者"页面显示'})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"author-name",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(gm,{className:"w-3 h-3"}),"主理人名称"]}),i.jsx(ce,{id:"author-name",className:"bg-[#0a1628] border-gray-700 text-white",value:s.authorInfo.name??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,name:Y.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"start-date",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Gu,{className:"w-3 h-3"}),"开播日期"]}),i.jsx(ce,{id:"start-date",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 2025年10月15日",value:s.authorInfo.startDate??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,startDate:Y.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"live-time",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Gu,{className:"w-3 h-3"}),"直播时间"]}),i.jsx(ce,{id:"live-time",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 06:00-09:00",value:s.authorInfo.liveTime??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,liveTime:Y.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"platform",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(BN,{className:"w-3 h-3"}),"直播平台"]}),i.jsx(ce,{id:"platform",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: Soul派对房",value:s.authorInfo.platform??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,platform:Y.target.value}}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"description",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Hr,{className:"w-3 h-3"}),"简介描述"]}),i.jsx(ce,{id:"description",className:"bg-[#0a1628] border-gray-700 text-white",value:s.authorInfo.description??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,description:Y.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"bio",className:"text-gray-300",children:"详细介绍"}),i.jsx(Jc,{id:"bio",className:"bg-[#0a1628] border-gray-700 text-white min-h-[100px]",placeholder:"输入作者详细介绍...",value:s.authorInfo.bio??"",onChange:Y=>a(W=>({...W,authorInfo:{...W.authorInfo,bio:Y.target.value}}))})]}),i.jsxs("div",{className:"mt-4 p-4 rounded-xl bg-[#0a1628] border border-[#38bdac]/30",children:[i.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"预览效果"}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-[#00CED1] to-[#20B2AA] flex items-center justify-center text-xl font-bold text-white",children:(s.authorInfo.name??"K").charAt(0)}),i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-semibold",children:s.authorInfo.name}),i.jsx("p",{className:"text-gray-400 text-xs",children:s.authorInfo.description}),i.jsxs("p",{className:"text-[#38bdac] text-xs mt-1",children:["每日 ",s.authorInfo.liveTime," · ",s.authorInfo.platform]})]})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ju,{className:"w-5 h-5 text-[#38bdac]"}),"价格设置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置书籍和章节的定价"})]}),i.jsx(Re,{className:"space-y-4",children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单节价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:s.sectionPrice,onChange:Y=>a(W=>({...W,sectionPrice:Number.parseFloat(Y.target.value)||1}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"整本价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:s.baseBookPrice,onChange:Y=>a(W=>({...W,baseBookPrice:Number.parseFloat(Y.target.value)||9.9}))})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Tc,{className:"w-5 h-5 text-[#38bdac]"}),"小程序配置"]}),i.jsx(zt,{className:"text-gray-400",children:"订阅消息模板、支付商户号等,小程序从 /api/miniprogram/config 读取(API 地址由 app.js baseUrl 控制)"})]}),i.jsx(Re,{className:"space-y-4",children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序 AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"wxb8bbb2b10dec74aa",value:u.appId??"",onChange:Y=>h(W=>({...W,appId:Y.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"提现订阅模板 ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"用户申请提现时需授权",value:u.withdrawSubscribeTmplId??"",onChange:Y=>h(W=>({...W,withdrawSubscribeTmplId:Y.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"微信支付商户号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"1318592501",value:u.mchId??"",onChange:Y=>h(W=>({...W,mchId:Y.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最低提现金额 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:u.minWithdraw??10,onChange:Y=>h(W=>({...W,minWithdraw:Number.parseFloat(Y.target.value)||10}))})]})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(_a,{className:"w-5 h-5 text-[#38bdac]"}),"功能开关"]}),i.jsx(zt,{className:"text-gray-400",children:"控制各个功能模块的显示/隐藏"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Ln,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"match-enabled",className:"text-white font-medium cursor-pointer",children:"找伙伴功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制小程序和Web端的找伙伴功能显示"})]}),i.jsx(Nt,{id:"match-enabled",checked:o.matchEnabled,disabled:B,onCheckedChange:Y=>L("matchEnabled",Y)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(oM,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"referral-enabled",className:"text-white font-medium cursor-pointer",children:"推广功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制推广中心的显示(我的页面入口)"})]}),i.jsx(Nt,{id:"referral-enabled",checked:o.referralEnabled,disabled:B,onCheckedChange:Y=>L("referralEnabled",Y)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Hr,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"search-enabled",className:"text-white font-medium cursor-pointer",children:"搜索功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制首页搜索栏的显示"})]}),i.jsx(Nt,{id:"search-enabled",checked:o.searchEnabled,disabled:B,onCheckedChange:Y=>L("searchEnabled",Y)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(_a,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"about-enabled",className:"text-white font-medium cursor-pointer",children:"关于页面"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制关于页面的访问"})]}),i.jsx(Nt,{id:"about-enabled",checked:o.aboutEnabled,disabled:B,onCheckedChange:Y=>L("aboutEnabled",Y)})]})]}),i.jsx("div",{className:"p-3 rounded-lg bg-blue-500/10 border border-blue-500/30",children:i.jsx("p",{className:"text-xs text-blue-300",children:"💡 关闭功能后,相关入口会自动隐藏。建议在功能开发完成后再开启。"})})]})]})]})}),i.jsx(rn,{value:"author",className:"mt-0",children:i.jsx(JB,{})}),i.jsx(rn,{value:"admin",className:"mt-0",children:i.jsx(YB,{})})]}),i.jsx(Zt,{open:v,onOpenChange:j,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white",showCloseButton:!0,children:[i.jsxs(en,{children:[i.jsx(tn,{className:T?"text-red-400":"text-[#38bdac]",children:w}),i.jsx(PP,{className:"text-gray-400 whitespace-pre-wrap pt-2",children:E})]}),i.jsx(Nn,{className:"mt-4",children:i.jsx(ne,{onClick:()=>j(!1),className:T?"bg-gray-600 hover:bg-gray-500":"bg-[#38bdac] hover:bg-[#2da396]",children:"确定"})})]})})]})}const uN={wechat:{enabled:!0,qrCode:"/images/wechat-pay.png",account:"卡若",websiteAppId:"",merchantId:"",groupQrCode:"/images/party-group-qr.png"},alipay:{enabled:!0,qrCode:"/images/alipay.png",account:"卡若",partnerId:"",securityKey:""},usdt:{enabled:!1,network:"TRC20",address:"",exchangeRate:7.2},paypal:{enabled:!1,email:"",exchangeRate:7.2}};function rV(){const[t,e]=b.useState(!1),[n,r]=b.useState(uN),[s,a]=b.useState(""),o=async()=>{e(!0);try{const k=await Fe("/api/config");k!=null&&k.paymentMethods&&r({...uN,...k.paymentMethods})}catch(k){console.error(k)}finally{e(!1)}};b.useEffect(()=>{o()},[]);const c=async()=>{e(!0);try{await mt("/api/db/config",{key:"payment_methods",value:n,description:"支付方式配置"}),he.success("配置已保存!")}catch(k){console.error("保存失败:",k),he.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{e(!1)}},u=(k,E)=>{navigator.clipboard.writeText(k),a(E),setTimeout(()=>a(""),2e3)},h=(k,E)=>{r(C=>({...C,wechat:{...C.wechat,[k]:E}}))},f=(k,E)=>{r(C=>({...C,alipay:{...C.alipay,[k]:E}}))},m=(k,E)=>{r(C=>({...C,usdt:{...C.usdt,[k]:E}}))},g=(k,E)=>{r(C=>({...C,paypal:{...C.paypal,[k]:E}}))},y=n.wechat,v=n.alipay,j=n.usdt,w=n.paypal;return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold mb-2 text-white",children:"支付配置"}),i.jsx("p",{className:"text-gray-400",children:"配置微信、支付宝、USDT、PayPal等支付参数"})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(ne,{variant:"outline",onClick:o,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${t?"animate-spin":""}`}),"同步配置"]}),i.jsxs(ne,{onClick:c,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存配置"]})]})]}),i.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(LN,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),i.jsxs("div",{className:"text-sm",children:[i.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"如何获取微信群跳转链接?"}),i.jsxs("ol",{className:"text-[#07C160]/80 space-y-1 list-decimal list-inside",children:[i.jsx("li",{children:"打开微信,进入目标微信群"}),i.jsx("li",{children:'点击右上角"..." → "群二维码"'}),i.jsx("li",{children:'点击右上角"..." → "发送到电脑"'}),i.jsx("li",{children:"在电脑上保存二维码图片,上传到图床获取URL"}),i.jsx("li",{children:"或使用草料二维码等工具解析二维码获取链接"})]}),i.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"提示:微信群二维码7天后失效,建议使用活码工具"})]})]})}),i.jsxs(Gc,{defaultValue:"wechat",className:"space-y-6",children:[i.jsxs(ul,{className:"bg-[#0f2137] border border-gray-700/50 p-1 grid grid-cols-4 w-full",children:[i.jsxs(nn,{value:"wechat",className:"data-[state=active]:bg-[#07C160]/20 data-[state=active]:text-[#07C160] text-gray-400",children:[i.jsx(Tc,{className:"w-4 h-4 mr-2"}),"微信"]}),i.jsxs(nn,{value:"alipay",className:"data-[state=active]:bg-[#1677FF]/20 data-[state=active]:text-[#1677FF] text-gray-400",children:[i.jsx(Pb,{className:"w-4 h-4 mr-2"}),"支付宝"]}),i.jsxs(nn,{value:"usdt",className:"data-[state=active]:bg-[#26A17B]/20 data-[state=active]:text-[#26A17B] text-gray-400",children:[i.jsx(Ab,{className:"w-4 h-4 mr-2"}),"USDT"]}),i.jsxs(nn,{value:"paypal",className:"data-[state=active]:bg-[#003087]/20 data-[state=active]:text-[#169BD7] text-gray-400",children:[i.jsx(vg,{className:"w-4 h-4 mr-2"}),"PayPal"]})]}),i.jsx(rn,{value:"wechat",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#07C160] flex items-center gap-2",children:[i.jsx(Tc,{className:"w-5 h-5"}),"微信支付配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置微信支付参数和跳转链接"})]}),i.jsx(Nt,{checked:!!y.enabled,onCheckedChange:k=>h("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"网站AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.websiteAppId??""),onChange:k=>h("websiteAppId",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"商户号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.merchantId??""),onChange:k=>h("merchantId",k.target.value)})]})]}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[i.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[i.jsx(ti,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置(核心功能)"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"微信收款码/支付链接"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://收款码图片URL 或 weixin://支付链接",value:String(y.qrCode??""),onChange:k=>h("qrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户点击微信支付后显示的二维码图片URL"})]}),i.jsxs("div",{className:"space-y-2 bg-[#07C160]/5 p-4 rounded-xl border border-[#07C160]/20",children:[i.jsx(te,{className:"text-[#07C160] font-medium",children:"微信群跳转链接(支付成功后跳转)"}),i.jsx(ce,{className:"bg-[#0a1628] border-[#07C160]/30 text-white placeholder:text-gray-500",placeholder:"https://weixin.qq.com/g/... 或微信群二维码图片URL",value:String(y.groupQrCode??""),onChange:k=>h("groupQrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-[#07C160]/70",children:"用户支付成功后将自动跳转到此链接,进入指定微信群"})]})]})]})]})}),i.jsx(rn,{value:"alipay",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#1677FF] flex items-center gap-2",children:[i.jsx(Pb,{className:"w-5 h-5"}),"支付宝配置"]}),i.jsx(zt,{className:"text-gray-400",children:"已加载真实支付宝参数"})]}),i.jsx(Nt,{checked:!!v.enabled,onCheckedChange:k=>f("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"合作者身份 (PID)"}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.partnerId??""),onChange:k=>f("partnerId",k.target.value)}),i.jsx(ne,{size:"icon",variant:"outline",className:"border-gray-700 bg-transparent",onClick:()=>u(String(v.partnerId??""),"pid"),children:s==="pid"?i.jsx(Uc,{className:"w-4 h-4 text-green-500"}):i.jsx(zN,{className:"w-4 h-4 text-gray-400"})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"安全校验码 (Key)"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.securityKey??""),onChange:k=>f("securityKey",k.target.value)})]})]}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[i.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[i.jsx(ti,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"支付宝收款码/跳转链接"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://qr.alipay.com/... 或收款码图片URL",value:String(v.qrCode??""),onChange:k=>f("qrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户点击支付宝支付后显示的二维码"})]})]})]})]})}),i.jsx(rn,{value:"usdt",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#26A17B] flex items-center gap-2",children:[i.jsx(Ab,{className:"w-5 h-5"}),"USDT配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置加密货币收款地址"})]}),i.jsx(Nt,{checked:!!j.enabled,onCheckedChange:k=>m("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"网络类型"}),i.jsxs("select",{className:"w-full bg-[#0a1628] border border-gray-700 text-white rounded-md p-2",value:String(j.network??"TRC20"),onChange:k=>m("network",k.target.value),children:[i.jsx("option",{value:"TRC20",children:"TRC20 (波场)"}),i.jsx("option",{value:"ERC20",children:"ERC20 (以太坊)"}),i.jsx("option",{value:"BEP20",children:"BEP20 (币安链)"})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"收款地址"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",placeholder:"T... (TRC20地址)",value:String(j.address??""),onChange:k=>m("address",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(j.exchangeRate)??7.2,onChange:k=>m("exchangeRate",Number.parseFloat(k.target.value)||7.2)})]})]})]})}),i.jsx(rn,{value:"paypal",className:"space-y-4",children:i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(Ze,{className:"text-[#169BD7] flex items-center gap-2",children:[i.jsx(vg,{className:"w-5 h-5"}),"PayPal配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置PayPal收款账户"})]}),i.jsx(Nt,{checked:!!w.enabled,onCheckedChange:k=>g("enabled",k)})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"PayPal邮箱"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"your@email.com",value:String(w.email??""),onChange:k=>g("email",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(w.exchangeRate)??7.2,onChange:k=>g("exchangeRate",Number(k.target.value)||7.2)})]})]})]})})]})]})}const sV={siteName:"卡若日记",siteTitle:"一场SOUL的创业实验场",siteDescription:"来自Soul派对房的真实商业故事",logo:"/logo.png",favicon:"/favicon.ico",primaryColor:"#00CED1"},iV={home:{enabled:!0,label:"首页"},chapters:{enabled:!0,label:"目录"},match:{enabled:!0,label:"匹配"},my:{enabled:!0,label:"我的"}},aV={homeTitle:"一场SOUL的创业实验场",homeSubtitle:"来自Soul派对房的真实商业故事",chaptersTitle:"我要看",matchTitle:"语音匹配",myTitle:"我的",aboutTitle:"关于作者"};function oV(){const[t,e]=b.useState({siteConfig:{...sV},menuConfig:{...iV},pageConfig:{...aV}}),[n,r]=b.useState(!1),[s,a]=b.useState(!1);b.useEffect(()=>{Fe("/api/config").then(f=>{f!=null&&f.siteConfig&&e(m=>({...m,siteConfig:{...m.siteConfig,...f.siteConfig}})),f!=null&&f.menuConfig&&e(m=>({...m,menuConfig:{...m.menuConfig,...f.menuConfig}})),f!=null&&f.pageConfig&&e(m=>({...m,pageConfig:{...m.pageConfig,...f.pageConfig}}))}).catch(console.error)},[]);const o=async()=>{a(!0);try{await mt("/api/db/config",{key:"site_config",value:t.siteConfig,description:"网站基础配置"}),await mt("/api/db/config",{key:"menu_config",value:t.menuConfig,description:"底部菜单配置"}),await mt("/api/db/config",{key:"page_config",value:t.pageConfig,description:"页面标题配置"}),r(!0),setTimeout(()=>r(!1),2e3),he.success("配置已保存")}catch(f){console.error(f),he.error("保存失败: "+(f instanceof Error?f.message:String(f)))}finally{a(!1)}},c=t.siteConfig,u=t.menuConfig,h=t.pageConfig;return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"网站配置"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置网站名称、图标、菜单和页面标题"})]}),i.jsxs(ne,{onClick:o,disabled:s,className:`${n?"bg-green-500":"bg-[#00CED1]"} hover:bg-[#20B2AA] text-white transition-colors`,children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),s?"保存中...":n?"已保存":"保存设置"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(vg,{className:"w-5 h-5 text-[#00CED1]"}),"网站基础信息"]}),i.jsx(zt,{className:"text-gray-400",children:"配置网站名称、标题和描述"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-name",className:"text-gray-300",children:"网站名称"}),i.jsx(ce,{id:"site-name",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteName??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteName:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-title",className:"text-gray-300",children:"网站标题"}),i.jsx(ce,{id:"site-title",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteTitle??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteTitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-desc",className:"text-gray-300",children:"网站描述"}),i.jsx(ce,{id:"site-desc",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteDescription??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteDescription:f.target.value}}))})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"logo",className:"text-gray-300",children:"Logo地址"}),i.jsx(ce,{id:"logo",className:"bg-[#0a1628] border-gray-700 text-white",value:c.logo??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,logo:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"favicon",className:"text-gray-300",children:"Favicon地址"}),i.jsx(ce,{id:"favicon",className:"bg-[#0a1628] border-gray-700 text-white",value:c.favicon??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,favicon:f.target.value}}))})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(ZM,{className:"w-5 h-5 text-[#00CED1]"}),"主题颜色"]}),i.jsx(zt,{className:"text-gray-400",children:"配置网站主题色"})]}),i.jsx(Re,{children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("div",{className:"space-y-2 flex-1",children:[i.jsx(te,{htmlFor:"primary-color",className:"text-gray-300",children:"主色调"}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(ce,{id:"primary-color",type:"color",className:"w-16 h-10 bg-[#0a1628] border-gray-700 cursor-pointer p-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white flex-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))})]})]}),i.jsx("div",{className:"w-24 h-24 rounded-xl flex items-center justify-center text-white font-bold",style:{backgroundColor:c.primaryColor??"#00CED1"},children:"预览"})]})})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(KM,{className:"w-5 h-5 text-[#00CED1]"}),"底部菜单配置"]}),i.jsx(zt,{className:"text-gray-400",children:"控制底部导航栏菜单的显示和名称"})]}),i.jsx(Re,{className:"space-y-4",children:Object.entries(u).map(([f,m])=>i.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-4 flex-1",children:[i.jsx(Nt,{checked:(m==null?void 0:m.enabled)??!0,onCheckedChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,enabled:g}}}))}),i.jsx("span",{className:"text-gray-300 w-16 capitalize",children:f}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white max-w-[200px]",value:(m==null?void 0:m.label)??"",onChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,label:g.target.value}}}))})]}),i.jsx("span",{className:`text-sm ${m!=null&&m.enabled?"text-green-400":"text-gray-500"}`,children:m!=null&&m.enabled?"显示":"隐藏"})]},f))})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(sM,{className:"w-5 h-5 text-[#00CED1]"}),"页面标题配置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置各个页面的标题和副标题"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首页副标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeSubtitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeSubtitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目录页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.chaptersTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,chaptersTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.matchTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,matchTitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"我的页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.myTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,myTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"关于作者标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.aboutTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,aboutTitle:f.target.value}}))})]})]})]})]})]})]})}function lV(){const[t,e]=b.useState(""),[n,r]=b.useState(""),[s,a]=b.useState(""),[o,c]=b.useState({}),u=async()=>{var y,v,j,w;try{const k=await Fe("/api/config"),E=(v=(y=k==null?void 0:k.liveQRCodes)==null?void 0:y[0])==null?void 0:v.urls;Array.isArray(E)&&e(E.join(` `));const C=(w=(j=k==null?void 0:k.paymentMethods)==null?void 0:j.wechat)==null?void 0:w.groupQrCode;C&&r(C),c({paymentMethods:k==null?void 0:k.paymentMethods,liveQRCodes:k==null?void 0:k.liveQRCodes})}catch(k){console.error(k)}};b.useEffect(()=>{u()},[]);const h=(y,v)=>{navigator.clipboard.writeText(y),a(v),setTimeout(()=>a(""),2e3)},f=async()=>{try{const y=t.split(` `).map(j=>j.trim()).filter(Boolean),v=[...o.liveQRCodes||[]];v[0]?v[0].urls=y:v.push({id:"live-1",name:"微信群活码",urls:y,clickCount:0}),await mt("/api/db/config",{key:"live_qr_codes",value:v,description:"群活码配置"}),he.success("群活码配置已保存!"),await u()}catch(y){console.error(y),he.error("保存失败: "+(y instanceof Error?y.message:String(y)))}},m=async()=>{var y;try{await mt("/api/db/config",{key:"payment_methods",value:{...o.paymentMethods||{},wechat:{...((y=o.paymentMethods)==null?void 0:y.wechat)||{},groupQrCode:n}},description:"支付方式配置"}),he.success("微信群链接已保存!用户支付成功后将自动跳转"),await u()}catch(v){console.error(v),he.error("保存失败: "+(v instanceof Error?v.message:String(v)))}},g=()=>{n?window.open(n,"_blank"):he.error("请先配置微信群链接")};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"mb-8",children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"微信群活码管理"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置微信群跳转链接,用户支付后自动跳转加群"})]}),i.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(LN,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),i.jsxs("div",{className:"text-sm",children:[i.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"微信群活码配置指南"}),i.jsxs("div",{className:"text-[#07C160]/80 space-y-2",children:[i.jsx("p",{className:"font-medium",children:"方法一:使用草料活码(推荐)"}),i.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[i.jsx("li",{children:"访问草料二维码创建活码"}),i.jsx("li",{children:"上传微信群二维码图片,生成永久链接"}),i.jsx("li",{children:"复制生成的短链接填入下方配置"}),i.jsx("li",{children:"群满后可直接在草料后台更换新群码,链接不变"})]}),i.jsx("p",{className:"font-medium mt-3",children:"方法二:直接使用微信群链接"}),i.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[i.jsx("li",{children:'微信打开目标群 → 右上角"..." → 群二维码'}),i.jsx("li",{children:"长按二维码 → 识别二维码 → 复制链接"})]}),i.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"注意:微信原生群二维码7天后失效,建议使用草料活码"})]})]})]})}),i.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-[#07C160] flex items-center gap-2",children:[i.jsx(Ib,{className:"w-5 h-5"}),"支付成功跳转链接(核心配置)"]}),i.jsx(zt,{className:"text-gray-400",children:"用户支付完成后自动跳转到此链接,进入指定微信群"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(bg,{className:"w-4 h-4"}),"微信群链接 / 活码链接"]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{placeholder:"https://cli.im/xxxxx 或 https://weixin.qq.com/g/...",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",value:n,onChange:y=>r(y.target.value)}),i.jsx(ne,{variant:"outline",size:"icon",className:"border-gray-700 bg-transparent hover:bg-gray-700/50",onClick:()=>h(n,"group"),children:s==="group"?i.jsx(Uc,{className:"w-4 h-4 text-green-500"}):i.jsx(zN,{className:"w-4 h-4 text-gray-400"})})]}),i.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"}),"支持格式:草料短链、微信群链接(https://weixin.qq.com/g/...)、企业微信链接等"]})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(ne,{onClick:m,className:"flex-1 bg-[#07C160] hover:bg-[#06AD51] text-white",children:[i.jsx(Yu,{className:"w-4 h-4 mr-2"}),"保存配置"]}),i.jsxs(ne,{onClick:g,variant:"outline",className:"border-[#07C160] text-[#07C160] hover:bg-[#07C160]/10 bg-transparent",children:[i.jsx(ti,{className:"w-4 h-4 mr-2"}),"测试跳转"]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ib,{className:"w-5 h-5 text-[#38bdac]"}),"多群轮换(高级配置)"]}),i.jsx(zt,{className:"text-gray-400",children:"配置多个群链接,系统自动轮换分配,避免单群满员"})]}),i.jsxs(Re,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(bg,{className:"w-4 h-4"}),"多个群链接(每行一个)"]}),i.jsx(Jc,{placeholder:"https://cli.im/group1\\nhttps://cli.im/group2",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 min-h-[120px] font-mono text-sm",value:t,onChange:y=>e(y.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"每行填写一个群链接,系统将按顺序或随机分配"})]}),i.jsxs("div",{className:"flex items-center justify-between p-3 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[i.jsx("span",{className:"text-sm text-gray-400",children:"已配置群数量"}),i.jsxs("span",{className:"font-bold text-[#38bdac]",children:[t.split(` -`).filter(Boolean).length," 个"]})]}),i.jsxs(ne,{onClick:f,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Yu,{className:"w-4 h-4 mr-2"}),"保存多群配置"]})]})]})]}),i.jsxs("div",{className:"mt-6 bg-[#0f2137] rounded-xl p-4 border border-gray-700/50",children:[i.jsx("h4",{className:"text-white font-medium mb-3",children:"常见问题"}),i.jsxs("div",{className:"space-y-3 text-sm",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[#38bdac]",children:"Q: 为什么推荐使用草料活码?"}),i.jsx("p",{className:"text-gray-400",children:"A: 草料活码是永久链接,群满后可直接在后台更换新群码,无需修改网站配置。微信原生群码7天失效。"})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-[#38bdac]",children:"Q: 支付后没有跳转怎么办?"}),i.jsx("p",{className:"text-gray-400",children:"A: 1) 检查链接是否正确填写 2) 部分浏览器可能拦截弹窗,用户需手动允许 3) 建议使用https开头的链接"})]})]})]})]})}const hN={matchTypes:[{id:"partner",label:"创业合伙",matchLabel:"创业伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10}},lV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function cV(){const[t,e]=b.useState(hN),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(!1),[u,h]=b.useState(null),[f,m]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),g=async()=>{r(!0);try{const C=await Fe("/api/db/config/full?key=match_config"),T=(C==null?void 0:C.data)??(C==null?void 0:C.config);T&&e({...hN,...T})}catch(C){console.error("加载匹配配置失败:",C)}finally{r(!1)}};b.useEffect(()=>{g()},[]);const y=async()=>{a(!0);try{const C=await mt("/api/db/config",{key:"match_config",value:t,description:"匹配功能配置"});C&&C.success!==!1?he.success("配置保存成功!"):he.error("保存失败: "+(C&&typeof C=="object"&&"error"in C?C.error:"未知错误"))}catch(C){console.error("保存配置失败:",C),he.error("保存失败")}finally{a(!1)}},v=C=>{h(C),m({id:C.id,label:C.label,matchLabel:C.matchLabel,icon:C.icon,matchFromDB:C.matchFromDB,showJoinAfterMatch:C.showJoinAfterMatch,price:C.price,enabled:C.enabled}),c(!0)},j=()=>{h(null),m({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),c(!0)},w=()=>{if(!f.id||!f.label){he.error("请填写类型ID和名称");return}const C=[...t.matchTypes];if(u){const T=C.findIndex(O=>O.id===u.id);T!==-1&&(C[T]={...f})}else{if(C.some(T=>T.id===f.id)){he.error("类型ID已存在");return}C.push({...f})}e({...t,matchTypes:C}),c(!1)},k=C=>{confirm("确定要删除这个匹配类型吗?")&&e({...t,matchTypes:t.matchTypes.filter(T=>T.id!==C)})},E=C=>{e({...t,matchTypes:t.matchTypes.map(T=>T.id===C?{...T,enabled:!T.enabled}:T)})};return i.jsxs("div",{className:"p-8 w-full space-y-6",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(_a,{className:"w-6 h-6 text-[#38bdac]"}),"匹配功能配置"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"管理找伙伴功能的匹配类型和价格"})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(ne,{variant:"outline",onClick:g,disabled:n,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]}),i.jsxs(ne,{onClick:y,disabled:s,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),s?"保存中...":"保存配置"]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Fi,{className:"w-5 h-5 text-yellow-400"}),"基础设置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),i.jsxs(Re,{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.freeMatchLimit,onChange:C=>e({...t,freeMatchLimit:parseInt(C.target.value,10)||0})}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户每天可免费匹配的次数"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:t.matchPrice,onChange:C=>e({...t,matchPrice:parseFloat(C.target.value)||1})}),i.jsx("p",{className:"text-xs text-gray-500",children:"免费次数用完后的单次匹配价格"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),i.jsx(ce,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.settings.maxMatchesPerDay,onChange:C=>e({...t,settings:{...t.settings,maxMatchesPerDay:parseInt(C.target.value,10)||10}})}),i.jsx("p",{className:"text-xs text-gray-500",children:"包含免费和付费的总次数"})]})]}),i.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:t.settings.enableFreeMatches,onCheckedChange:C=>e({...t,settings:{...t.settings,enableFreeMatches:C}})}),i.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:t.settings.enablePaidMatches,onCheckedChange:C=>e({...t,settings:{...t.settings,enablePaidMatches:C}})}),i.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between",children:[i.jsxs("div",{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"匹配类型管理"]}),i.jsx(zt,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),i.jsxs(ne,{onClick:j,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-1"}),"添加类型"]})]}),i.jsx(Re,{children:i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"图标"}),i.jsx(Te,{className:"text-gray-400",children:"类型ID"}),i.jsx(Te,{className:"text-gray-400",children:"显示名称"}),i.jsx(Te,{className:"text-gray-400",children:"匹配标签"}),i.jsx(Te,{className:"text-gray-400",children:"价格"}),i.jsx(Te,{className:"text-gray-400",children:"数据库匹配"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsx(mr,{children:t.matchTypes.map(C=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsx("span",{className:"text-2xl",children:C.icon})}),i.jsx(we,{className:"font-mono text-gray-300",children:C.id}),i.jsx(we,{className:"text-white font-medium",children:C.label}),i.jsx(we,{className:"text-gray-300",children:C.matchLabel}),i.jsx(we,{children:i.jsxs(Be,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",C.price]})}),i.jsx(we,{children:C.matchFromDB?i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):i.jsx(Be,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),i.jsx(we,{children:i.jsx(Nt,{checked:C.enabled,onCheckedChange:()=>E(C.id)})}),i.jsx(we,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(C),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>k(C.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(wn,{className:"w-4 h-4"})})]})})]},C.id))})]})})]}),i.jsx(Zt,{open:o,onOpenChange:c,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[u?i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Ft,{className:"w-5 h-5 text-[#38bdac]"}),u?"编辑匹配类型":"添加匹配类型"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:f.id,onChange:C=>m({...f,id:C.target.value}),disabled:!!u})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"图标"}),i.jsx("div",{className:"flex gap-1 flex-wrap",children:lV.map(C=>i.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${f.icon===C?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>m({...f,icon:C}),children:C},C))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"显示名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业合伙",value:f.label,onChange:C=>m({...f,label:C.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配标签"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业伙伴",value:f.matchLabel,onChange:C=>m({...f,matchLabel:C.target.value})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:f.price,onChange:C=>m({...f,price:parseFloat(C.target.value)||1})})]}),i.jsxs("div",{className:"flex gap-6 pt-2",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:f.matchFromDB,onCheckedChange:C=>m({...f,matchFromDB:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:f.showJoinAfterMatch,onCheckedChange:C=>m({...f,showJoinAfterMatch:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:f.enabled,onCheckedChange:C=>m({...f,enabled:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>c(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsxs(ne,{onClick:w,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存"]})]})]})})]})}const fN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function dV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null);async function v(){m(!0),y(null);try{const w=new URLSearchParams({page:String(s),pageSize:String(o)});u&&w.set("matchType",u);const k=await Fe(`/api/db/match-records?${w}`);k!=null&&k.success?(e(k.records||[]),r(k.total??0)):y("加载匹配记录失败")}catch(w){console.error("加载匹配记录失败",w),y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{v()},[s,u]);const j=Math.ceil(n/o)||1;return i.jsxs("div",{className:"p-8 w-full",children:[g&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:g}),i.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"匹配记录"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["找伙伴匹配统计,共 ",n," 条记录"]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("select",{value:u,onChange:w=>{h(w.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"",children:"全部类型"}),Object.entries(fN).map(([w,k])=>i.jsx("option",{value:w,children:k},w))]}),i.jsxs("button",{type:"button",onClick:v,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${f?"animate-spin":""}`}),"刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:f?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"匹配时间"})]})}),i.jsxs(mr,{children:[t.map(w=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[w.userAvatar?i.jsx("img",{src:w.userAvatar,alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const E=k.currentTarget.nextElementSibling;E&&E.classList.remove("hidden")}}):null,i.jsx("span",{className:w.userAvatar?"hidden":"",children:(w.userNickname||w.userId||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white",children:w.userNickname||w.userId}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[w.userId.slice(0,16),"..."]})]})]})}),i.jsx(we,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[w.matchedUserAvatar?i.jsx("img",{src:w.matchedUserAvatar,alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const E=k.currentTarget.nextElementSibling;E&&E.classList.remove("hidden")}}):null,i.jsx("span",{className:w.matchedUserAvatar?"hidden":"",children:(w.matchedNickname||w.matchedUserId||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white",children:w.matchedNickname||w.matchedUserId}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[w.matchedUserId.slice(0,16),"..."]})]})]})}),i.jsx(we,{children:i.jsx(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:fN[w.matchType]||w.matchType})}),i.jsxs(we,{className:"text-gray-400 text-sm",children:[w.phone&&i.jsxs("div",{children:["📱 ",w.phone]}),w.wechatId&&i.jsxs("div",{children:["💬 ",w.wechatId]}),!w.phone&&!w.wechatId&&"-"]}),i.jsx(we,{className:"text-gray-400",children:w.createdAt?new Date(w.createdAt).toLocaleString():"-"})]},w.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),i.jsx(ls,{page:s,totalPages:j,total:n,pageSize:o,onPageChange:a,onPageSizeChange:w=>{c(w),a(1)}})]})})})]})}function uV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(null),[u,h]=b.useState(""),[f,m]=b.useState(0),[g,y]=b.useState(!1);async function v(){r(!0);try{const C=await Fe("/api/db/vip-roles");C!=null&&C.success&&C.data&&e(C.data)}catch(C){console.error("Load roles error:",C)}finally{r(!1)}}b.useEffect(()=>{v()},[]);const j=()=>{c(null),h(""),m(t.length>0?Math.max(...t.map(C=>C.sort))+1:0),a(!0)},w=C=>{c(C),h(C.name),m(C.sort),a(!0)},k=async()=>{if(!u.trim()){he.error("角色名称不能为空");return}y(!0);try{if(o){const C=await _t("/api/db/vip-roles",{id:o.id,name:u.trim(),sort:f});C!=null&&C.success?(a(!1),v()):he.error("更新失败: "+(C==null?void 0:C.error))}else{const C=await mt("/api/db/vip-roles",{name:u.trim(),sort:f});C!=null&&C.success?(a(!1),v()):he.error("新增失败: "+(C==null?void 0:C.error))}}catch(C){console.error("Save error:",C),he.error("保存失败")}finally{y(!1)}},E=async C=>{if(confirm("确定删除该角色?已设置该角色的 VIP 用户将保留角色名称。"))try{const T=await ss(`/api/db/vip-roles?id=${C}`);T!=null&&T.success?v():he.error("删除失败: "+(T==null?void 0:T.error))}catch(T){console.error("Delete error:",T),he.error("删除失败")}};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Pa,{className:"w-5 h-5 text-amber-400"}),"VIP 角色管理"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"超级个体固定角色,在「设置 VIP」时可选择或手动填写"})]}),i.jsxs(ne,{onClick:j,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新增角色"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"角色名称"}),i.jsx(Te,{className:"text-gray-400",children:"排序"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(C=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:C.id}),i.jsx(we,{className:"text-white",children:C.name}),i.jsx(we,{className:"text-gray-400",children:C.sort}),i.jsxs(we,{className:"text-right",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>w(C),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>E(C.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(wn,{className:"w-4 h-4"})})]})]},C.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无角色,点击「新增角色」添加"})})]})]})})}),i.jsx(Zt,{open:s,onOpenChange:a,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:o?"编辑角色":"新增角色"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:创始人、投资人",value:u,onChange:C=>h(C.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序(下拉展示顺序,越小越前)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:f,onChange:C=>m(parseInt(C.target.value,10)||0)})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>a(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:k,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),g?"保存中...":"保存"]})]})]})})]})}function SE(t){const[e,n]=b.useState([]),[r,s]=b.useState(!0),[a,o]=b.useState(!1),[c,u]=b.useState(null),[h,f]=b.useState({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:0,enabled:!0}),[m,g]=b.useState(!1),[y,v]=b.useState(!1),j=b.useRef(null),w=async P=>{var L;const I=(L=P.target.files)==null?void 0:L[0];if(I){v(!0);try{const X=new FormData;X.append("file",I),X.append("folder","mentors");const Z=Mx(),Y={};Z&&(Y.Authorization=`Bearer ${Z}`);const D=await(await fetch(Ha("/api/upload"),{method:"POST",body:X,credentials:"include",headers:Y})).json();D!=null&&D.success&&(D!=null&&D.url)?f($=>({...$,avatar:D.url})):he.error("上传失败: "+((D==null?void 0:D.error)||"未知错误"))}catch(X){console.error(X),he.error("上传失败")}finally{v(!1),j.current&&(j.current.value="")}}};async function k(){s(!0);try{const P=await Fe("/api/db/mentors");P!=null&&P.success&&P.data&&n(P.data)}catch(P){console.error("Load mentors error:",P)}finally{s(!1)}}b.useEffect(()=>{k()},[]);const E=()=>{f({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:e.length>0?Math.max(...e.map(P=>P.sort))+1:0,enabled:!0})},C=()=>{u(null),E(),o(!0)},T=P=>{u(P),f({name:P.name,avatar:P.avatar||"",intro:P.intro||"",tags:P.tags||"",priceSingle:P.priceSingle!=null?String(P.priceSingle):"",priceHalfYear:P.priceHalfYear!=null?String(P.priceHalfYear):"",priceYear:P.priceYear!=null?String(P.priceYear):"",quote:P.quote||"",whyFind:P.whyFind||"",offering:P.offering||"",judgmentStyle:P.judgmentStyle||"",sort:P.sort,enabled:P.enabled??!0}),o(!0)},O=async()=>{if(!h.name.trim()){he.error("导师姓名不能为空");return}g(!0);try{const P=L=>L===""?void 0:parseFloat(L),I={name:h.name.trim(),avatar:h.avatar.trim()||void 0,intro:h.intro.trim()||void 0,tags:h.tags.trim()||void 0,priceSingle:P(h.priceSingle),priceHalfYear:P(h.priceHalfYear),priceYear:P(h.priceYear),quote:h.quote.trim()||void 0,whyFind:h.whyFind.trim()||void 0,offering:h.offering.trim()||void 0,judgmentStyle:h.judgmentStyle.trim()||void 0,sort:h.sort,enabled:h.enabled};if(c){const L=await _t("/api/db/mentors",{id:c.id,...I});L!=null&&L.success?(o(!1),k()):he.error("更新失败: "+(L==null?void 0:L.error))}else{const L=await mt("/api/db/mentors",I);L!=null&&L.success?(o(!1),k()):he.error("新增失败: "+(L==null?void 0:L.error))}}catch(P){console.error("Save error:",P),he.error("保存失败")}finally{g(!1)}},B=async P=>{if(confirm("确定删除该导师?"))try{const I=await ss(`/api/db/mentors?id=${P}`);I!=null&&I.success?k():he.error("删除失败: "+(I==null?void 0:I.error))}catch(I){console.error("Delete error:",I),he.error("删除失败")}},R=P=>P!=null?`¥${P}`:"-";return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"导师管理"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师列表,支持每个导师独立配置单次/半年/年度价格"})]}),i.jsxs(ne,{onClick:C,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新增导师"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:r?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"姓名"}),i.jsx(Te,{className:"text-gray-400",children:"简介"}),i.jsx(Te,{className:"text-gray-400",children:"单次"}),i.jsx(Te,{className:"text-gray-400",children:"半年"}),i.jsx(Te,{className:"text-gray-400",children:"年度"}),i.jsx(Te,{className:"text-gray-400",children:"排序"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[e.map(P=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:P.id}),i.jsx(we,{className:"text-white",children:P.name}),i.jsx(we,{className:"text-gray-400 max-w-[200px] truncate",children:P.intro||"-"}),i.jsx(we,{className:"text-gray-400",children:R(P.priceSingle)}),i.jsx(we,{className:"text-gray-400",children:R(P.priceHalfYear)}),i.jsx(we,{className:"text-gray-400",children:R(P.priceYear)}),i.jsx(we,{className:"text-gray-400",children:P.sort}),i.jsxs(we,{className:"text-right",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>T(P),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>B(P.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(wn,{className:"w-4 h-4"})})]})]},P.id)),e.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:8,className:"text-center py-12 text-gray-500",children:"暂无导师,点击「新增导师」添加"})})]})]})})}),i.jsx(Zt,{open:a,onOpenChange:o,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg max-h-[90vh] overflow-y-auto",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:c?"编辑导师":"新增导师"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"姓名 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:卡若",value:h.name,onChange:P=>f(I=>({...I,name:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:h.sort,onChange:P=>f(I=>({...I,sort:parseInt(P.target.value,10)||0}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"头像"}),i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:h.avatar,onChange:P=>f(I=>({...I,avatar:P.target.value})),placeholder:"点击上传或粘贴图片地址"}),i.jsx("input",{ref:j,type:"file",accept:"image/*",className:"hidden",onChange:w}),i.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:y,onClick:()=>{var P;return(P=j.current)==null?void 0:P.click()},children:[i.jsx(Yu,{className:"w-4 h-4 mr-2"}),y?"上传中...":"上传"]})]}),h.avatar&&i.jsx("div",{className:"mt-2",children:i.jsx("img",{src:h.avatar.startsWith("http")?h.avatar:Ha(h.avatar),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"简介"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:结构判断型咨询 · Decision > Execution",value:h.intro,onChange:P=>f(I=>({...I,intro:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"技能标签(逗号分隔)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:项目结构判断、风险止损、人×项目匹配",value:h.tags,onChange:P=>f(I=>({...I,tags:P.target.value}))})]}),i.jsxs("div",{className:"border-t border-gray-700 pt-4",children:[i.jsx(te,{className:"text-gray-300 block mb-2",children:"价格配置(每个导师独立)"}),i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"单次咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"980",value:h.priceSingle,onChange:P=>f(I=>({...I,priceSingle:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"半年咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"19800",value:h.priceHalfYear,onChange:P=>f(I=>({...I,priceHalfYear:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"年度咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"29800",value:h.priceYear,onChange:P=>f(I=>({...I,priceYear:P.target.value}))})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"引言"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:大多数人失败,不是因为不努力...",value:h.quote,onChange:P=>f(I=>({...I,quote:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"为什么找(文本)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.whyFind,onChange:P=>f(I=>({...I,whyFind:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"提供什么(文本)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.offering,onChange:P=>f(I=>({...I,offering:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"判断风格(逗号分隔)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:冷静、克制、偏风险视角",value:h.judgmentStyle,onChange:P=>f(I=>({...I,judgmentStyle:P.target.value}))})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("input",{type:"checkbox",id:"enabled",checked:h.enabled,onChange:P=>f(I=>({...I,enabled:P.target.checked})),className:"rounded border-gray-600 bg-[#0a1628]"}),i.jsx(te,{htmlFor:"enabled",className:"text-gray-300 cursor-pointer",children:"上架(小程序可见)"})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>o(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:O,disabled:m,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),m?"保存中...":"保存"]})]})]})})]})}function hV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState("");async function o(){r(!0);try{const h=s?`/api/db/mentor-consultations?status=${s}`:"/api/db/mentor-consultations",f=await Fe(h);f!=null&&f.success&&f.data&&e(f.data)}catch(h){console.error("Load consultations error:",h)}finally{r(!1)}}b.useEffect(()=>{o()},[s]);const c={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},u={single:"单次",half_year:"半年",year:"年度"};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Gu,{className:"w-5 h-5 text-[#38bdac]"}),"导师预约列表"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师咨询预约记录"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("select",{value:s,onChange:h=>a(h.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[i.jsx("option",{value:"",children:"全部状态"}),Object.entries(c).map(([h,f])=>i.jsx("option",{value:h,children:f},h))]}),i.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"用户ID"}),i.jsx(Te,{className:"text-gray-400",children:"导师ID"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"金额"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"创建时间"})]})}),i.jsxs(mr,{children:[t.map(h=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:h.id}),i.jsx(we,{className:"text-gray-400",children:h.userId}),i.jsx(we,{className:"text-gray-400",children:h.mentorId}),i.jsx(we,{className:"text-gray-400",children:u[h.consultationType]||h.consultationType}),i.jsxs(we,{className:"text-white",children:["¥",h.amount]}),i.jsx(we,{className:"text-gray-400",children:c[h.status]||h.status}),i.jsx(we,{className:"text-gray-500 text-sm",children:h.createdAt})]},h.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}const hc={poolSource:["vip"],requirePhone:!0,requireNickname:!0,requireAvatar:!1,requireBusiness:!1},pN={matchTypes:[{id:"partner",label:"找伙伴",matchLabel:"找伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10},poolSettings:hc},fV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function pV(){const t=sa(),[e,n]=b.useState(pN),[r,s]=b.useState(!0),[a,o]=b.useState(!1),[c,u]=b.useState(!1),[h,f]=b.useState(null),[m,g]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),[y,v]=b.useState(null),[j,w]=b.useState(!1),k=async()=>{w(!0);try{const I=await Fe("/api/db/match-pool-counts");I!=null&&I.success&&I.data&&v(I.data)}catch(I){console.error("加载池子人数失败:",I)}finally{w(!1)}},E=async()=>{s(!0);try{const I=await Fe("/api/db/config/full?key=match_config"),L=(I==null?void 0:I.data)??(I==null?void 0:I.config);if(L){let X=L.poolSettings??hc;X.poolSource&&!Array.isArray(X.poolSource)&&(X={...X,poolSource:[X.poolSource]}),n({...pN,...L,poolSettings:X})}}catch(I){console.error("加载匹配配置失败:",I)}finally{s(!1)}};b.useEffect(()=>{E(),k()},[]);const C=async()=>{o(!0);try{const I=await mt("/api/db/config",{key:"match_config",value:e,description:"匹配功能配置"});he.error((I==null?void 0:I.success)!==!1?"配置保存成功!":"保存失败: "+((I==null?void 0:I.error)||"未知错误"))}catch(I){console.error(I),he.error("保存失败")}finally{o(!1)}},T=I=>{f(I),g({...I}),u(!0)},O=()=>{f(null),g({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),u(!0)},B=()=>{if(!m.id||!m.label){he.error("请填写类型ID和名称");return}const I=[...e.matchTypes];if(h){const L=I.findIndex(X=>X.id===h.id);L!==-1&&(I[L]={...m})}else{if(I.some(L=>L.id===m.id)){he.error("类型ID已存在");return}I.push({...m})}n({...e,matchTypes:I}),u(!1)},R=I=>{confirm("确定要删除这个匹配类型吗?")&&n({...e,matchTypes:e.matchTypes.filter(L=>L.id!==I)})},P=I=>{n({...e,matchTypes:e.matchTypes.map(L=>L.id===I?{...L,enabled:!L.enabled}:L)})};return i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"flex justify-end gap-3",children:[i.jsxs(ne,{variant:"outline",onClick:E,disabled:r,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${r?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:C,disabled:a,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"})," ",a?"保存中...":"保存配置"]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx($N,{className:"w-5 h-5 text-blue-400"})," 匹配池选择"]}),i.jsx(zt,{className:"text-gray-400",children:"选择匹配的用户池和完善程度要求,只有满足条件的用户才可被匹配到"})]}),i.jsxs(Re,{className:"space-y-6",children:[i.jsxs("div",{className:"space-y-3",children:[i.jsx(te,{className:"text-gray-300",children:"匹配来源池"}),i.jsx("p",{className:"text-gray-500 text-xs",children:"可同时勾选多个池子(取并集匹配)"}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:[{value:"vip",label:"超级个体(VIP会员)",desc:"付费 ¥1980 的VIP会员",icon:"👑",countKey:"vip"},{value:"complete",label:"完善资料用户",desc:"符合下方完善度要求的用户",icon:"✅",countKey:"complete"},{value:"all",label:"全部用户",desc:"所有已注册用户",icon:"👥",countKey:"all"}].map(I=>{const L=e.poolSettings??hc,Z=(Array.isArray(L.poolSource)?L.poolSource:[L.poolSource]).includes(I.value),Y=y==null?void 0:y[I.countKey],W=()=>{const D=Array.isArray(L.poolSource)?[...L.poolSource]:[L.poolSource],$=Z?D.filter(ae=>ae!==I.value):[...D,I.value];$.length===0&&$.push(I.value),n({...e,poolSettings:{...L,poolSource:$}})};return i.jsxs("button",{type:"button",onClick:W,className:`p-4 rounded-lg border text-left transition-all ${Z?"border-[#38bdac] bg-[#38bdac]/10":"border-gray-700 bg-[#0a1628] hover:border-gray-600"}`,children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:`w-5 h-5 rounded border-2 flex items-center justify-center text-xs ${Z?"border-[#38bdac] bg-[#38bdac] text-white":"border-gray-600"}`,children:Z&&"✓"}),i.jsx("span",{className:"text-xl",children:I.icon}),i.jsx("span",{className:`text-sm font-medium ${Z?"text-[#38bdac]":"text-gray-300"}`,children:I.label})]}),i.jsxs("span",{className:"text-lg font-bold text-white",children:[j?"...":Y??"-",i.jsx("span",{className:"text-xs text-gray-500 font-normal ml-1",children:"人"})]})]}),i.jsx("p",{className:"text-gray-500 text-xs mt-2",children:I.desc}),i.jsx("span",{role:"link",tabIndex:0,onClick:D=>{D.stopPropagation(),t(`/users?pool=${I.value}`)},onKeyDown:D=>{D.key==="Enter"&&(D.stopPropagation(),t(`/users?pool=${I.value}`))},className:"text-[#38bdac] text-xs mt-2 inline-block hover:underline cursor-pointer",children:"查看用户列表 →"})]},I.value)})})]}),i.jsxs("div",{className:"space-y-3 pt-4 border-t border-gray-700/50",children:[i.jsx(te,{className:"text-gray-300",children:"用户资料完善要求(被匹配用户必须满足以下条件)"}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{key:"requirePhone",label:"有手机号",icon:"📱"},{key:"requireNickname",label:"有昵称",icon:"👤"},{key:"requireAvatar",label:"有头像",icon:"🖼️"},{key:"requireBusiness",label:"有业务需求",icon:"💼"}].map(I=>{const X=(e.poolSettings??hc)[I.key];return i.jsxs("div",{className:"flex items-center gap-3 bg-[#0a1628] rounded-lg p-3",children:[i.jsx(Nt,{checked:X,onCheckedChange:Z=>n({...e,poolSettings:{...e.poolSettings??hc,[I.key]:Z}})}),i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("span",{children:I.icon}),i.jsx(te,{className:"text-gray-300 text-sm",children:I.label})]})]},I.key)})})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Fi,{className:"w-5 h-5 text-yellow-400"})," 基础设置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),i.jsxs(Re,{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.freeMatchLimit,onChange:I=>n({...e,freeMatchLimit:parseInt(I.target.value,10)||0})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:e.matchPrice,onChange:I=>n({...e,matchPrice:parseFloat(I.target.value)||1})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),i.jsx(ce,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.settings.maxMatchesPerDay,onChange:I=>n({...e,settings:{...e.settings,maxMatchesPerDay:parseInt(I.target.value,10)||10}})})]})]}),i.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:e.settings.enableFreeMatches,onCheckedChange:I=>n({...e,settings:{...e.settings,enableFreeMatches:I}})}),i.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:e.settings.enablePaidMatches,onCheckedChange:I=>n({...e,settings:{...e.settings,enablePaidMatches:I}})}),i.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between",children:[i.jsxs("div",{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"})," 匹配类型管理"]}),i.jsx(zt,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),i.jsxs(ne,{onClick:O,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-1"})," 添加类型"]})]}),i.jsx(Re,{children:i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"图标"}),i.jsx(Te,{className:"text-gray-400",children:"类型ID"}),i.jsx(Te,{className:"text-gray-400",children:"显示名称"}),i.jsx(Te,{className:"text-gray-400",children:"匹配标签"}),i.jsx(Te,{className:"text-gray-400",children:"价格"}),i.jsx(Te,{className:"text-gray-400",children:"数据库匹配"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsx(mr,{children:e.matchTypes.map(I=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsx("span",{className:"text-2xl",children:I.icon})}),i.jsx(we,{className:"font-mono text-gray-300",children:I.id}),i.jsx(we,{className:"text-white font-medium",children:I.label}),i.jsx(we,{className:"text-gray-300",children:I.matchLabel}),i.jsx(we,{children:i.jsxs(Be,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",I.price]})}),i.jsx(we,{children:I.matchFromDB?i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):i.jsx(Be,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),i.jsx(we,{children:i.jsx(Nt,{checked:I.enabled,onCheckedChange:()=>P(I.id)})}),i.jsx(we,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>T(I),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>R(I.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(wn,{className:"w-4 h-4"})})]})})]},I.id))})]})})]}),i.jsx(Zt,{open:c,onOpenChange:u,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[h?i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Ft,{className:"w-5 h-5 text-[#38bdac]"}),h?"编辑匹配类型":"添加匹配类型"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:m.id,onChange:I=>g({...m,id:I.target.value}),disabled:!!h})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"图标"}),i.jsx("div",{className:"flex gap-1 flex-wrap",children:fV.map(I=>i.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${m.icon===I?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>g({...m,icon:I}),children:I},I))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"显示名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.label,onChange:I=>g({...m,label:I.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配标签"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.matchLabel,onChange:I=>g({...m,matchLabel:I.target.value})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:m.price,onChange:I=>g({...m,price:parseFloat(I.target.value)||1})})]}),i.jsxs("div",{className:"flex gap-6 pt-2",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:m.matchFromDB,onCheckedChange:I=>g({...m,matchFromDB:I})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:m.showJoinAfterMatch,onCheckedChange:I=>g({...m,showJoinAfterMatch:I})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:m.enabled,onCheckedChange:I=>g({...m,enabled:I})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>u(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsxs(ne,{onClick:B,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"})," 保存"]})]})]})})]})}const mN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function mV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null),[v,j]=b.useState(null);async function w(){m(!0),y(null);try{const C=new URLSearchParams({page:String(s),pageSize:String(o)});u&&C.set("matchType",u);const T=await Fe(`/api/db/match-records?${C}`);T!=null&&T.success?(e(T.records||[]),r(T.total??0)):y("加载匹配记录失败")}catch{y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{w()},[s,u]);const k=Math.ceil(n/o)||1,E=({userId:C,nickname:T,avatar:O})=>i.jsxs("div",{className:"flex items-center gap-3 cursor-pointer group",onClick:()=>j(C),children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[O?i.jsx("img",{src:O,alt:"",className:"w-full h-full object-cover",onError:B=>{B.currentTarget.style.display="none"}}):null,i.jsx("span",{className:O?"hidden":"",children:(T||C||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white group-hover:text-[#38bdac] transition-colors",children:T||C}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[C==null?void 0:C.slice(0,16),(C==null?void 0:C.length)>16?"...":""]})]})]});return i.jsxs("div",{children:[g&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:g}),i.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("p",{className:"text-gray-400",children:["共 ",n," 条匹配记录 · 点击用户名查看详情"]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("select",{value:u,onChange:C=>{h(C.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"",children:"全部类型"}),Object.entries(mN).map(([C,T])=>i.jsx("option",{value:C,children:T},C))]}),i.jsxs("button",{type:"button",onClick:w,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${f?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:f?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"匹配时间"})]})}),i.jsxs(mr,{children:[t.map(C=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsx(E,{userId:C.userId,nickname:C.userNickname,avatar:C.userAvatar})}),i.jsx(we,{children:C.matchedUserId?i.jsx(E,{userId:C.matchedUserId,nickname:C.matchedNickname,avatar:C.matchedUserAvatar}):i.jsx("span",{className:"text-gray-500",children:"—"})}),i.jsx(we,{children:i.jsx(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:mN[C.matchType]||C.matchType})}),i.jsxs(we,{className:"text-sm",children:[C.phone&&i.jsxs("div",{className:"text-green-400",children:["📱 ",C.phone]}),C.wechatId&&i.jsxs("div",{className:"text-blue-400",children:["💬 ",C.wechatId]}),!C.phone&&!C.wechatId&&i.jsx("span",{className:"text-gray-600",children:"-"})]}),i.jsx(we,{className:"text-gray-400",children:C.createdAt?new Date(C.createdAt).toLocaleString():"-"})]},C.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),i.jsx(ls,{page:s,totalPages:k,total:n,pageSize:o,onPageChange:a,onPageSizeChange:C=>{c(C),a(1)}})]})})}),i.jsx(Hx,{open:!!v,onClose:()=>j(null),userId:v,onUserUpdated:w})]})}function gV(){const[t,e]=b.useState("records");return i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("button",{type:"button",onClick:()=>e("records"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="records"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配记录"}),i.jsx("button",{type:"button",onClick:()=>e("pool"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="pool"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配池设置"})]}),t==="records"&&i.jsx(mV,{}),t==="pool"&&i.jsx(pV,{})]})}const gN={investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function xV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0),[f,m]=b.useState("investor"),[g,y]=b.useState(null);async function v(){h(!0);try{const E=new URLSearchParams({page:String(s),pageSize:String(o),matchType:f}),C=await Fe(`/api/db/match-records?${E}`);C!=null&&C.success&&(e(C.records||[]),r(C.total??0))}catch(E){console.error(E)}finally{h(!1)}}b.useEffect(()=>{v()},[s,f]);const j=async E=>{if(!E.phone&&!E.wechatId){he.info("该记录无联系方式,无法推送到存客宝");return}y(E.id);try{const C=await mt("/api/ckb/join",{type:E.matchType||"investor",phone:E.phone||"",wechat:E.wechatId||"",userId:E.userId,name:E.userNickname||""});he.error((C==null?void 0:C.message)||(C!=null&&C.success?"推送成功":"推送失败"))}catch(C){he.error("推送失败: "+(C instanceof Error?C.message:"网络错误"))}finally{y(null)}},w=Math.ceil(n/o)||1,k=E=>!!(E.phone||E.wechatId);return i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400",children:"点击获客:有人填写手机号/微信号的直接显示,可一键推送到存客宝"}),i.jsxs("p",{className:"text-gray-500 text-xs mt-1",children:["共 ",n," 条记录 — 有联系方式的可触发存客宝添加好友"]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("select",{value:f,onChange:E=>{m(E.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:Object.entries(gN).map(([E,C])=>i.jsx("option",{value:E,children:C},E))}),i.jsxs(ne,{onClick:v,disabled:u,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${u?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:u?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"时间"}),i.jsx(Te,{className:"text-gray-400 text-right",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(E=>{var C,T;return i.jsxs(ct,{className:`border-gray-700/50 ${k(E)?"hover:bg-[#0a1628]":"opacity-60"}`,children:[i.jsx(we,{className:"text-white",children:E.userNickname||((C=E.userId)==null?void 0:C.slice(0,12))}),i.jsx(we,{className:"text-white",children:E.matchedNickname||((T=E.matchedUserId)==null?void 0:T.slice(0,12))}),i.jsx(we,{children:i.jsx(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:gN[E.matchType]||E.matchType})}),i.jsxs(we,{className:"text-sm",children:[E.phone&&i.jsxs("div",{className:"text-green-400",children:["📱 ",E.phone]}),E.wechatId&&i.jsxs("div",{className:"text-blue-400",children:["💬 ",E.wechatId]}),!E.phone&&!E.wechatId&&i.jsx("span",{className:"text-gray-600",children:"无联系方式"})]}),i.jsx(we,{className:"text-gray-400 text-sm",children:E.createdAt?new Date(E.createdAt).toLocaleString():"-"}),i.jsx(we,{className:"text-right",children:k(E)?i.jsxs(ne,{size:"sm",onClick:()=>j(E),disabled:g===E.id,className:"bg-[#38bdac] hover:bg-[#2da396] text-white text-xs h-7 px-3",children:[i.jsx(vA,{className:"w-3 h-3 mr-1"}),g===E.id?"推送中...":"推送CKB"]}):i.jsx("span",{className:"text-gray-600 text-xs",children:"—"})})]},E.id)}),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:6,className:"text-center py-12 text-gray-500",children:"暂无记录"})})]})]}),i.jsx(ls,{page:s,totalPages:w,total:n,pageSize:o,onPageChange:a,onPageSizeChange:E=>{c(E),a(1)}})]})})})]})}const xN={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},yV={single:"单次",half_year:"半年",year:"年度"};function vV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState("");async function o(){r(!0);try{const c=s?`/api/db/mentor-consultations?status=${s}`:"/api/db/mentor-consultations",u=await Fe(c);u!=null&&u.success&&u.data&&e(u.data)}catch(c){console.error(c)}finally{r(!1)}}return b.useEffect(()=>{o()},[s]),i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsx("p",{className:"text-gray-400",children:"导师咨询预约记录"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("select",{value:s,onChange:c=>a(c.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[i.jsx("option",{value:"",children:"全部状态"}),Object.entries(xN).map(([c,u])=>i.jsx("option",{value:c,children:u},c))]}),i.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"用户ID"}),i.jsx(Te,{className:"text-gray-400",children:"导师ID"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"金额"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"创建时间"})]})}),i.jsxs(mr,{children:[t.map(c=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:c.id}),i.jsx(we,{className:"text-gray-400",children:c.userId}),i.jsx(we,{className:"text-gray-400",children:c.mentorId}),i.jsx(we,{className:"text-gray-400",children:yV[c.consultationType]||c.consultationType}),i.jsxs(we,{className:"text-white",children:["¥",c.amount]}),i.jsx(we,{className:"text-gray-400",children:xN[c.status]||c.status}),i.jsx(we,{className:"text-gray-500 text-sm",children:c.createdAt?new Date(c.createdAt).toLocaleString():"-"})]},c.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}function bV(){const[t,e]=b.useState("booking");return i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("button",{type:"button",onClick:()=>e("booking"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="booking"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"预约记录"}),i.jsx("button",{type:"button",onClick:()=>e("manage"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="manage"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"导师管理"})]}),t==="booking"&&i.jsx(vV,{}),t==="manage"&&i.jsx("div",{className:"-mx-8",children:i.jsx(SE,{embedded:!0})})]})}function wV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0);async function f(){h(!0);try{const g=new URLSearchParams({page:String(s),pageSize:String(o),matchType:"team"}),y=await Fe(`/api/db/match-records?${g}`);y!=null&&y.success&&(e(y.records||[]),r(y.total??0))}catch(g){console.error(g)}finally{h(!1)}}b.useEffect(()=>{f()},[s]);const m=Math.ceil(n/o)||1;return i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("div",{children:[i.jsxs("p",{className:"text-gray-400",children:["团队招募匹配记录,共 ",n," 条"]}),i.jsx("p",{className:"text-gray-500 text-xs mt-1",children:"用户通过「团队招募」提交联系方式到存客宝"})]}),i.jsxs("button",{type:"button",onClick:f,disabled:u,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${u?"animate-spin":""}`})," 刷新"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:u?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"时间"})]})}),i.jsxs(mr,{children:[t.map(g=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{className:"text-white",children:g.userNickname||g.userId}),i.jsx(we,{className:"text-white",children:g.matchedNickname||g.matchedUserId}),i.jsxs(we,{className:"text-gray-400 text-sm",children:[g.phone&&i.jsxs("div",{children:["📱 ",g.phone]}),g.wechatId&&i.jsxs("div",{children:["💬 ",g.wechatId]}),!g.phone&&!g.wechatId&&"-"]}),i.jsx(we,{className:"text-gray-400",children:g.createdAt?new Date(g.createdAt).toLocaleString():"-"})]},g.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无团队招募记录"})})]})]}),i.jsx(ls,{page:s,totalPages:m,total:n,pageSize:o,onPageChange:a,onPageSizeChange:g=>{c(g),a(1)}})]})})})]})}const yN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"},vN={partner:"⭐",investor:"👥",mentor:"❤️",team:"🎮"};function NV({onSwitchTab:t,onOpenCKB:e}={}){const n=sa(),[r,s]=b.useState(null),[a,o]=b.useState(null),[c,u]=b.useState(!0),h=b.useCallback(async()=>{var m,g;u(!0);try{const[y,v]=await Promise.allSettled([Fe("/api/db/match-records?stats=true"),Fe("/api/db/ckb-plan-stats")]);if(y.status==="fulfilled"&&((m=y.value)!=null&&m.success)&&y.value.data){let j=y.value.data;if(j.totalMatches>0&&(!j.uniqueUsers||j.uniqueUsers===0))try{const w=await Fe("/api/db/match-records?page=1&pageSize=200");if(w!=null&&w.success&&w.records){const k=new Set(w.records.map(E=>E.userId).filter(Boolean));j={...j,uniqueUsers:k.size}}}catch{}s(j)}v.status==="fulfilled"&&((g=v.value)!=null&&g.success)&&v.value.data&&o(v.value.data)}catch(y){console.error("加载统计失败:",y)}finally{u(!1)}},[]);b.useEffect(()=>{h()},[h]);const f=m=>c?"—":String(m??0);return i.jsxs("div",{className:"space-y-8",children:[i.jsxs("div",{children:[i.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"})," 找伙伴数据"]}),i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5",children:[i.jsx(Ae,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-[#38bdac]/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"总匹配次数"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.totalMatches)}),i.jsxs("p",{className:"text-[#38bdac] text-xs mt-3 flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," 查看匹配记录"]})]})}),i.jsx(Ae,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-yellow-500/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"今日匹配"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.todayMatches)}),i.jsxs("p",{className:"text-yellow-400/60 text-xs mt-3 flex items-center gap-1",children:[i.jsx(Fi,{className:"w-3 h-3"})," 今日实时"]})]})}),i.jsx(Ae,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-blue-500/60 transition-all",onClick:()=>n("/users"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"匹配用户数"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.uniqueUsers)}),i.jsxs("p",{className:"text-blue-400/60 text-xs mt-3 flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," 查看用户管理"]})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/40",children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"人均匹配"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":r!=null&&r.uniqueUsers?(r.totalMatches/r.uniqueUsers).toFixed(1):"0"})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/40",children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"付费匹配次数"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:f(r==null?void 0:r.paidMatchCount)})]})})]})]}),(r==null?void 0:r.byType)&&r.byType.length>0&&i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-semibold text-white mb-4",children:"各类型匹配分布"}),i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:r.byType.map(m=>{const g=r.totalMatches>0?m.count/r.totalMatches*100:0;return i.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/40 rounded-xl p-5",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx("span",{className:"text-2xl",children:vN[m.matchType]||"📊"}),i.jsx("span",{className:"text-gray-300 font-medium",children:yN[m.matchType]||m.matchType})]}),i.jsx("p",{className:"text-3xl font-bold text-white mb-2",children:m.count}),i.jsx("div",{className:"w-full h-2 bg-gray-700/50 rounded-full overflow-hidden",children:i.jsx("div",{className:"h-full bg-[#38bdac] rounded-full transition-all",style:{width:`${Math.min(g,100)}%`}})}),i.jsxs("p",{className:"text-gray-500 text-xs mt-1.5",children:[g.toFixed(1),"%"]})]},m.matchType)})})]}),i.jsxs("div",{children:[i.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[i.jsx(Ss,{className:"w-5 h-5 text-orange-400"})," AI 获客数据"]}),i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5 mb-6",children:[i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("submitted"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"已提交线索"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(a==null?void 0:a.ckbTotal)??0}),i.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("contact"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"有联系方式"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(a==null?void 0:a.withContact)??0}),i.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("test"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"AI 添加进度"}),i.jsx("p",{className:"text-xl font-bold text-orange-400",children:"查看详情 →"}),i.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"添加成功率 · 回复率 · API 文档"})]})})]}),(a==null?void 0:a.byType)&&a.byType.length>0&&i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 mb-6",children:a.byType.map(m=>i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-lg p-4 flex items-center gap-3",children:[i.jsx("span",{className:"text-xl",children:vN[m.matchType]||"📋"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-xs",children:yN[m.matchType]||m.matchType}),i.jsx("p",{className:"text-xl font-bold text-white",children:m.total})]})]},m.matchType))})]})]})}const jV=["partner","investor","mentor","team"],dg=[{key:"join_partner",label:"找伙伴场景"},{key:"join_investor",label:"资源对接场景"},{key:"join_mentor",label:"导师顾问场景"},{key:"join_team",label:"团队招募场景"},{key:"match",label:"匹配上报"},{key:"lead",label:"链接卡若"}],bN=`# 场景获客接口摘要 +`).filter(Boolean).length," 个"]})]}),i.jsxs(ne,{onClick:f,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Yu,{className:"w-4 h-4 mr-2"}),"保存多群配置"]})]})]})]}),i.jsxs("div",{className:"mt-6 bg-[#0f2137] rounded-xl p-4 border border-gray-700/50",children:[i.jsx("h4",{className:"text-white font-medium mb-3",children:"常见问题"}),i.jsxs("div",{className:"space-y-3 text-sm",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[#38bdac]",children:"Q: 为什么推荐使用草料活码?"}),i.jsx("p",{className:"text-gray-400",children:"A: 草料活码是永久链接,群满后可直接在后台更换新群码,无需修改网站配置。微信原生群码7天失效。"})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-[#38bdac]",children:"Q: 支付后没有跳转怎么办?"}),i.jsx("p",{className:"text-gray-400",children:"A: 1) 检查链接是否正确填写 2) 部分浏览器可能拦截弹窗,用户需手动允许 3) 建议使用https开头的链接"})]})]})]})]})}const hN={matchTypes:[{id:"partner",label:"创业合伙",matchLabel:"创业伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10}},cV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function dV(){const[t,e]=b.useState(hN),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(!1),[u,h]=b.useState(null),[f,m]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),g=async()=>{r(!0);try{const C=await Fe("/api/db/config/full?key=match_config"),T=(C==null?void 0:C.data)??(C==null?void 0:C.config);T&&e({...hN,...T})}catch(C){console.error("加载匹配配置失败:",C)}finally{r(!1)}};b.useEffect(()=>{g()},[]);const y=async()=>{a(!0);try{const C=await mt("/api/db/config",{key:"match_config",value:t,description:"匹配功能配置"});C&&C.success!==!1?he.success("配置保存成功!"):he.error("保存失败: "+(C&&typeof C=="object"&&"error"in C?C.error:"未知错误"))}catch(C){console.error("保存配置失败:",C),he.error("保存失败")}finally{a(!1)}},v=C=>{h(C),m({id:C.id,label:C.label,matchLabel:C.matchLabel,icon:C.icon,matchFromDB:C.matchFromDB,showJoinAfterMatch:C.showJoinAfterMatch,price:C.price,enabled:C.enabled}),c(!0)},j=()=>{h(null),m({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),c(!0)},w=()=>{if(!f.id||!f.label){he.error("请填写类型ID和名称");return}const C=[...t.matchTypes];if(u){const T=C.findIndex(O=>O.id===u.id);T!==-1&&(C[T]={...f})}else{if(C.some(T=>T.id===f.id)){he.error("类型ID已存在");return}C.push({...f})}e({...t,matchTypes:C}),c(!1)},k=C=>{confirm("确定要删除这个匹配类型吗?")&&e({...t,matchTypes:t.matchTypes.filter(T=>T.id!==C)})},E=C=>{e({...t,matchTypes:t.matchTypes.map(T=>T.id===C?{...T,enabled:!T.enabled}:T)})};return i.jsxs("div",{className:"p-8 w-full space-y-6",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(_a,{className:"w-6 h-6 text-[#38bdac]"}),"匹配功能配置"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"管理找伙伴功能的匹配类型和价格"})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(ne,{variant:"outline",onClick:g,disabled:n,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]}),i.jsxs(ne,{onClick:y,disabled:s,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),s?"保存中...":"保存配置"]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Fi,{className:"w-5 h-5 text-yellow-400"}),"基础设置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),i.jsxs(Re,{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.freeMatchLimit,onChange:C=>e({...t,freeMatchLimit:parseInt(C.target.value,10)||0})}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户每天可免费匹配的次数"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:t.matchPrice,onChange:C=>e({...t,matchPrice:parseFloat(C.target.value)||1})}),i.jsx("p",{className:"text-xs text-gray-500",children:"免费次数用完后的单次匹配价格"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),i.jsx(ce,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.settings.maxMatchesPerDay,onChange:C=>e({...t,settings:{...t.settings,maxMatchesPerDay:parseInt(C.target.value,10)||10}})}),i.jsx("p",{className:"text-xs text-gray-500",children:"包含免费和付费的总次数"})]})]}),i.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:t.settings.enableFreeMatches,onCheckedChange:C=>e({...t,settings:{...t.settings,enableFreeMatches:C}})}),i.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:t.settings.enablePaidMatches,onCheckedChange:C=>e({...t,settings:{...t.settings,enablePaidMatches:C}})}),i.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between",children:[i.jsxs("div",{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"匹配类型管理"]}),i.jsx(zt,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),i.jsxs(ne,{onClick:j,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-1"}),"添加类型"]})]}),i.jsx(Re,{children:i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"图标"}),i.jsx(Te,{className:"text-gray-400",children:"类型ID"}),i.jsx(Te,{className:"text-gray-400",children:"显示名称"}),i.jsx(Te,{className:"text-gray-400",children:"匹配标签"}),i.jsx(Te,{className:"text-gray-400",children:"价格"}),i.jsx(Te,{className:"text-gray-400",children:"数据库匹配"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsx(mr,{children:t.matchTypes.map(C=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsx("span",{className:"text-2xl",children:C.icon})}),i.jsx(we,{className:"font-mono text-gray-300",children:C.id}),i.jsx(we,{className:"text-white font-medium",children:C.label}),i.jsx(we,{className:"text-gray-300",children:C.matchLabel}),i.jsx(we,{children:i.jsxs(Be,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",C.price]})}),i.jsx(we,{children:C.matchFromDB?i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):i.jsx(Be,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),i.jsx(we,{children:i.jsx(Nt,{checked:C.enabled,onCheckedChange:()=>E(C.id)})}),i.jsx(we,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(C),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>k(C.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(wn,{className:"w-4 h-4"})})]})})]},C.id))})]})})]}),i.jsx(Zt,{open:o,onOpenChange:c,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[u?i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Ft,{className:"w-5 h-5 text-[#38bdac]"}),u?"编辑匹配类型":"添加匹配类型"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:f.id,onChange:C=>m({...f,id:C.target.value}),disabled:!!u})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"图标"}),i.jsx("div",{className:"flex gap-1 flex-wrap",children:cV.map(C=>i.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${f.icon===C?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>m({...f,icon:C}),children:C},C))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"显示名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业合伙",value:f.label,onChange:C=>m({...f,label:C.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配标签"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业伙伴",value:f.matchLabel,onChange:C=>m({...f,matchLabel:C.target.value})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:f.price,onChange:C=>m({...f,price:parseFloat(C.target.value)||1})})]}),i.jsxs("div",{className:"flex gap-6 pt-2",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:f.matchFromDB,onCheckedChange:C=>m({...f,matchFromDB:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:f.showJoinAfterMatch,onCheckedChange:C=>m({...f,showJoinAfterMatch:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:f.enabled,onCheckedChange:C=>m({...f,enabled:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>c(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsxs(ne,{onClick:w,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),"保存"]})]})]})})]})}const fN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function uV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null);async function v(){m(!0),y(null);try{const w=new URLSearchParams({page:String(s),pageSize:String(o)});u&&w.set("matchType",u);const k=await Fe(`/api/db/match-records?${w}`);k!=null&&k.success?(e(k.records||[]),r(k.total??0)):y("加载匹配记录失败")}catch(w){console.error("加载匹配记录失败",w),y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{v()},[s,u]);const j=Math.ceil(n/o)||1;return i.jsxs("div",{className:"p-8 w-full",children:[g&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:g}),i.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"匹配记录"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["找伙伴匹配统计,共 ",n," 条记录"]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("select",{value:u,onChange:w=>{h(w.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"",children:"全部类型"}),Object.entries(fN).map(([w,k])=>i.jsx("option",{value:w,children:k},w))]}),i.jsxs("button",{type:"button",onClick:v,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${f?"animate-spin":""}`}),"刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:f?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"匹配时间"})]})}),i.jsxs(mr,{children:[t.map(w=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[w.userAvatar?i.jsx("img",{src:w.userAvatar,alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const E=k.currentTarget.nextElementSibling;E&&E.classList.remove("hidden")}}):null,i.jsx("span",{className:w.userAvatar?"hidden":"",children:(w.userNickname||w.userId||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white",children:w.userNickname||w.userId}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[w.userId.slice(0,16),"..."]})]})]})}),i.jsx(we,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[w.matchedUserAvatar?i.jsx("img",{src:w.matchedUserAvatar,alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const E=k.currentTarget.nextElementSibling;E&&E.classList.remove("hidden")}}):null,i.jsx("span",{className:w.matchedUserAvatar?"hidden":"",children:(w.matchedNickname||w.matchedUserId||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white",children:w.matchedNickname||w.matchedUserId}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[w.matchedUserId.slice(0,16),"..."]})]})]})}),i.jsx(we,{children:i.jsx(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:fN[w.matchType]||w.matchType})}),i.jsxs(we,{className:"text-gray-400 text-sm",children:[w.phone&&i.jsxs("div",{children:["📱 ",w.phone]}),w.wechatId&&i.jsxs("div",{children:["💬 ",w.wechatId]}),!w.phone&&!w.wechatId&&"-"]}),i.jsx(we,{className:"text-gray-400",children:w.createdAt?new Date(w.createdAt).toLocaleString():"-"})]},w.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),i.jsx(ls,{page:s,totalPages:j,total:n,pageSize:o,onPageChange:a,onPageSizeChange:w=>{c(w),a(1)}})]})})})]})}function hV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(null),[u,h]=b.useState(""),[f,m]=b.useState(0),[g,y]=b.useState(!1);async function v(){r(!0);try{const C=await Fe("/api/db/vip-roles");C!=null&&C.success&&C.data&&e(C.data)}catch(C){console.error("Load roles error:",C)}finally{r(!1)}}b.useEffect(()=>{v()},[]);const j=()=>{c(null),h(""),m(t.length>0?Math.max(...t.map(C=>C.sort))+1:0),a(!0)},w=C=>{c(C),h(C.name),m(C.sort),a(!0)},k=async()=>{if(!u.trim()){he.error("角色名称不能为空");return}y(!0);try{if(o){const C=await _t("/api/db/vip-roles",{id:o.id,name:u.trim(),sort:f});C!=null&&C.success?(a(!1),v()):he.error("更新失败: "+(C==null?void 0:C.error))}else{const C=await mt("/api/db/vip-roles",{name:u.trim(),sort:f});C!=null&&C.success?(a(!1),v()):he.error("新增失败: "+(C==null?void 0:C.error))}}catch(C){console.error("Save error:",C),he.error("保存失败")}finally{y(!1)}},E=async C=>{if(confirm("确定删除该角色?已设置该角色的 VIP 用户将保留角色名称。"))try{const T=await ss(`/api/db/vip-roles?id=${C}`);T!=null&&T.success?v():he.error("删除失败: "+(T==null?void 0:T.error))}catch(T){console.error("Delete error:",T),he.error("删除失败")}};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Pa,{className:"w-5 h-5 text-amber-400"}),"VIP 角色管理"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"超级个体固定角色,在「设置 VIP」时可选择或手动填写"})]}),i.jsxs(ne,{onClick:j,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新增角色"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"角色名称"}),i.jsx(Te,{className:"text-gray-400",children:"排序"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(C=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:C.id}),i.jsx(we,{className:"text-white",children:C.name}),i.jsx(we,{className:"text-gray-400",children:C.sort}),i.jsxs(we,{className:"text-right",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>w(C),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>E(C.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(wn,{className:"w-4 h-4"})})]})]},C.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无角色,点击「新增角色」添加"})})]})]})})}),i.jsx(Zt,{open:s,onOpenChange:a,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:o?"编辑角色":"新增角色"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:创始人、投资人",value:u,onChange:C=>h(C.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序(下拉展示顺序,越小越前)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:f,onChange:C=>m(parseInt(C.target.value,10)||0)})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>a(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:k,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),g?"保存中...":"保存"]})]})]})})]})}function SE(t){const[e,n]=b.useState([]),[r,s]=b.useState(!0),[a,o]=b.useState(!1),[c,u]=b.useState(null),[h,f]=b.useState({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:0,enabled:!0}),[m,g]=b.useState(!1),[y,v]=b.useState(!1),j=b.useRef(null),w=async P=>{var L;const I=(L=P.target.files)==null?void 0:L[0];if(I){v(!0);try{const X=new FormData;X.append("file",I),X.append("folder","mentors");const Z=Mx(),Y={};Z&&(Y.Authorization=`Bearer ${Z}`);const D=await(await fetch(Ha("/api/upload"),{method:"POST",body:X,credentials:"include",headers:Y})).json();D!=null&&D.success&&(D!=null&&D.url)?f($=>({...$,avatar:D.url})):he.error("上传失败: "+((D==null?void 0:D.error)||"未知错误"))}catch(X){console.error(X),he.error("上传失败")}finally{v(!1),j.current&&(j.current.value="")}}};async function k(){s(!0);try{const P=await Fe("/api/db/mentors");P!=null&&P.success&&P.data&&n(P.data)}catch(P){console.error("Load mentors error:",P)}finally{s(!1)}}b.useEffect(()=>{k()},[]);const E=()=>{f({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:e.length>0?Math.max(...e.map(P=>P.sort))+1:0,enabled:!0})},C=()=>{u(null),E(),o(!0)},T=P=>{u(P),f({name:P.name,avatar:P.avatar||"",intro:P.intro||"",tags:P.tags||"",priceSingle:P.priceSingle!=null?String(P.priceSingle):"",priceHalfYear:P.priceHalfYear!=null?String(P.priceHalfYear):"",priceYear:P.priceYear!=null?String(P.priceYear):"",quote:P.quote||"",whyFind:P.whyFind||"",offering:P.offering||"",judgmentStyle:P.judgmentStyle||"",sort:P.sort,enabled:P.enabled??!0}),o(!0)},O=async()=>{if(!h.name.trim()){he.error("导师姓名不能为空");return}g(!0);try{const P=L=>L===""?void 0:parseFloat(L),I={name:h.name.trim(),avatar:h.avatar.trim()||void 0,intro:h.intro.trim()||void 0,tags:h.tags.trim()||void 0,priceSingle:P(h.priceSingle),priceHalfYear:P(h.priceHalfYear),priceYear:P(h.priceYear),quote:h.quote.trim()||void 0,whyFind:h.whyFind.trim()||void 0,offering:h.offering.trim()||void 0,judgmentStyle:h.judgmentStyle.trim()||void 0,sort:h.sort,enabled:h.enabled};if(c){const L=await _t("/api/db/mentors",{id:c.id,...I});L!=null&&L.success?(o(!1),k()):he.error("更新失败: "+(L==null?void 0:L.error))}else{const L=await mt("/api/db/mentors",I);L!=null&&L.success?(o(!1),k()):he.error("新增失败: "+(L==null?void 0:L.error))}}catch(P){console.error("Save error:",P),he.error("保存失败")}finally{g(!1)}},B=async P=>{if(confirm("确定删除该导师?"))try{const I=await ss(`/api/db/mentors?id=${P}`);I!=null&&I.success?k():he.error("删除失败: "+(I==null?void 0:I.error))}catch(I){console.error("Delete error:",I),he.error("删除失败")}},R=P=>P!=null?`¥${P}`:"-";return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"}),"导师管理"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师列表,支持每个导师独立配置单次/半年/年度价格"})]}),i.jsxs(ne,{onClick:C,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-2"}),"新增导师"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:r?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"姓名"}),i.jsx(Te,{className:"text-gray-400",children:"简介"}),i.jsx(Te,{className:"text-gray-400",children:"单次"}),i.jsx(Te,{className:"text-gray-400",children:"半年"}),i.jsx(Te,{className:"text-gray-400",children:"年度"}),i.jsx(Te,{className:"text-gray-400",children:"排序"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(mr,{children:[e.map(P=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:P.id}),i.jsx(we,{className:"text-white",children:P.name}),i.jsx(we,{className:"text-gray-400 max-w-[200px] truncate",children:P.intro||"-"}),i.jsx(we,{className:"text-gray-400",children:R(P.priceSingle)}),i.jsx(we,{className:"text-gray-400",children:R(P.priceHalfYear)}),i.jsx(we,{className:"text-gray-400",children:R(P.priceYear)}),i.jsx(we,{className:"text-gray-400",children:P.sort}),i.jsxs(we,{className:"text-right",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>T(P),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>B(P.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(wn,{className:"w-4 h-4"})})]})]},P.id)),e.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:8,className:"text-center py-12 text-gray-500",children:"暂无导师,点击「新增导师」添加"})})]})]})})}),i.jsx(Zt,{open:a,onOpenChange:o,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg max-h-[90vh] overflow-y-auto",children:[i.jsx(en,{children:i.jsx(tn,{className:"text-white",children:c?"编辑导师":"新增导师"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"姓名 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:卡若",value:h.name,onChange:P=>f(I=>({...I,name:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:h.sort,onChange:P=>f(I=>({...I,sort:parseInt(P.target.value,10)||0}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"头像"}),i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:h.avatar,onChange:P=>f(I=>({...I,avatar:P.target.value})),placeholder:"点击上传或粘贴图片地址"}),i.jsx("input",{ref:j,type:"file",accept:"image/*",className:"hidden",onChange:w}),i.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:y,onClick:()=>{var P;return(P=j.current)==null?void 0:P.click()},children:[i.jsx(Yu,{className:"w-4 h-4 mr-2"}),y?"上传中...":"上传"]})]}),h.avatar&&i.jsx("div",{className:"mt-2",children:i.jsx("img",{src:h.avatar.startsWith("http")?h.avatar:Ha(h.avatar),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"简介"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:结构判断型咨询 · Decision > Execution",value:h.intro,onChange:P=>f(I=>({...I,intro:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"技能标签(逗号分隔)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:项目结构判断、风险止损、人×项目匹配",value:h.tags,onChange:P=>f(I=>({...I,tags:P.target.value}))})]}),i.jsxs("div",{className:"border-t border-gray-700 pt-4",children:[i.jsx(te,{className:"text-gray-300 block mb-2",children:"价格配置(每个导师独立)"}),i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"单次咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"980",value:h.priceSingle,onChange:P=>f(I=>({...I,priceSingle:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"半年咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"19800",value:h.priceHalfYear,onChange:P=>f(I=>({...I,priceHalfYear:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"年度咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"29800",value:h.priceYear,onChange:P=>f(I=>({...I,priceYear:P.target.value}))})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"引言"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:大多数人失败,不是因为不努力...",value:h.quote,onChange:P=>f(I=>({...I,quote:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"为什么找(文本)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.whyFind,onChange:P=>f(I=>({...I,whyFind:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"提供什么(文本)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.offering,onChange:P=>f(I=>({...I,offering:P.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"判断风格(逗号分隔)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:冷静、克制、偏风险视角",value:h.judgmentStyle,onChange:P=>f(I=>({...I,judgmentStyle:P.target.value}))})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("input",{type:"checkbox",id:"enabled",checked:h.enabled,onChange:P=>f(I=>({...I,enabled:P.target.checked})),className:"rounded border-gray-600 bg-[#0a1628]"}),i.jsx(te,{htmlFor:"enabled",className:"text-gray-300 cursor-pointer",children:"上架(小程序可见)"})]})]}),i.jsxs(Nn,{children:[i.jsxs(ne,{variant:"outline",onClick:()=>o(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(Wn,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(ne,{onClick:O,disabled:m,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"}),m?"保存中...":"保存"]})]})]})})]})}function fV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState("");async function o(){r(!0);try{const h=s?`/api/db/mentor-consultations?status=${s}`:"/api/db/mentor-consultations",f=await Fe(h);f!=null&&f.success&&f.data&&e(f.data)}catch(h){console.error("Load consultations error:",h)}finally{r(!1)}}b.useEffect(()=>{o()},[s]);const c={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},u={single:"单次",half_year:"半年",year:"年度"};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Gu,{className:"w-5 h-5 text-[#38bdac]"}),"导师预约列表"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师咨询预约记录"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("select",{value:s,onChange:h=>a(h.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[i.jsx("option",{value:"",children:"全部状态"}),Object.entries(c).map(([h,f])=>i.jsx("option",{value:h,children:f},h))]}),i.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"用户ID"}),i.jsx(Te,{className:"text-gray-400",children:"导师ID"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"金额"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"创建时间"})]})}),i.jsxs(mr,{children:[t.map(h=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:h.id}),i.jsx(we,{className:"text-gray-400",children:h.userId}),i.jsx(we,{className:"text-gray-400",children:h.mentorId}),i.jsx(we,{className:"text-gray-400",children:u[h.consultationType]||h.consultationType}),i.jsxs(we,{className:"text-white",children:["¥",h.amount]}),i.jsx(we,{className:"text-gray-400",children:c[h.status]||h.status}),i.jsx(we,{className:"text-gray-500 text-sm",children:h.createdAt})]},h.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}const hc={poolSource:["vip"],requirePhone:!0,requireNickname:!0,requireAvatar:!1,requireBusiness:!1},pN={matchTypes:[{id:"partner",label:"找伙伴",matchLabel:"找伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10},poolSettings:hc},pV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function mV(){const t=sa(),[e,n]=b.useState(pN),[r,s]=b.useState(!0),[a,o]=b.useState(!1),[c,u]=b.useState(!1),[h,f]=b.useState(null),[m,g]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),[y,v]=b.useState(null),[j,w]=b.useState(!1),k=async()=>{w(!0);try{const I=await Fe("/api/db/match-pool-counts");I!=null&&I.success&&I.data&&v(I.data)}catch(I){console.error("加载池子人数失败:",I)}finally{w(!1)}},E=async()=>{s(!0);try{const I=await Fe("/api/db/config/full?key=match_config"),L=(I==null?void 0:I.data)??(I==null?void 0:I.config);if(L){let X=L.poolSettings??hc;X.poolSource&&!Array.isArray(X.poolSource)&&(X={...X,poolSource:[X.poolSource]}),n({...pN,...L,poolSettings:X})}}catch(I){console.error("加载匹配配置失败:",I)}finally{s(!1)}};b.useEffect(()=>{E(),k()},[]);const C=async()=>{o(!0);try{const I=await mt("/api/db/config",{key:"match_config",value:e,description:"匹配功能配置"});he.error((I==null?void 0:I.success)!==!1?"配置保存成功!":"保存失败: "+((I==null?void 0:I.error)||"未知错误"))}catch(I){console.error(I),he.error("保存失败")}finally{o(!1)}},T=I=>{f(I),g({...I}),u(!0)},O=()=>{f(null),g({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),u(!0)},B=()=>{if(!m.id||!m.label){he.error("请填写类型ID和名称");return}const I=[...e.matchTypes];if(h){const L=I.findIndex(X=>X.id===h.id);L!==-1&&(I[L]={...m})}else{if(I.some(L=>L.id===m.id)){he.error("类型ID已存在");return}I.push({...m})}n({...e,matchTypes:I}),u(!1)},R=I=>{confirm("确定要删除这个匹配类型吗?")&&n({...e,matchTypes:e.matchTypes.filter(L=>L.id!==I)})},P=I=>{n({...e,matchTypes:e.matchTypes.map(L=>L.id===I?{...L,enabled:!L.enabled}:L)})};return i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"flex justify-end gap-3",children:[i.jsxs(ne,{variant:"outline",onClick:E,disabled:r,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${r?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:C,disabled:a,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"})," ",a?"保存中...":"保存配置"]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx($N,{className:"w-5 h-5 text-blue-400"})," 匹配池选择"]}),i.jsx(zt,{className:"text-gray-400",children:"选择匹配的用户池和完善程度要求,只有满足条件的用户才可被匹配到"})]}),i.jsxs(Re,{className:"space-y-6",children:[i.jsxs("div",{className:"space-y-3",children:[i.jsx(te,{className:"text-gray-300",children:"匹配来源池"}),i.jsx("p",{className:"text-gray-500 text-xs",children:"可同时勾选多个池子(取并集匹配)"}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:[{value:"vip",label:"超级个体(VIP会员)",desc:"付费 ¥1980 的VIP会员",icon:"👑",countKey:"vip"},{value:"complete",label:"完善资料用户",desc:"符合下方完善度要求的用户",icon:"✅",countKey:"complete"},{value:"all",label:"全部用户",desc:"所有已注册用户",icon:"👥",countKey:"all"}].map(I=>{const L=e.poolSettings??hc,Z=(Array.isArray(L.poolSource)?L.poolSource:[L.poolSource]).includes(I.value),Y=y==null?void 0:y[I.countKey],W=()=>{const D=Array.isArray(L.poolSource)?[...L.poolSource]:[L.poolSource],$=Z?D.filter(ae=>ae!==I.value):[...D,I.value];$.length===0&&$.push(I.value),n({...e,poolSettings:{...L,poolSource:$}})};return i.jsxs("button",{type:"button",onClick:W,className:`p-4 rounded-lg border text-left transition-all ${Z?"border-[#38bdac] bg-[#38bdac]/10":"border-gray-700 bg-[#0a1628] hover:border-gray-600"}`,children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:`w-5 h-5 rounded border-2 flex items-center justify-center text-xs ${Z?"border-[#38bdac] bg-[#38bdac] text-white":"border-gray-600"}`,children:Z&&"✓"}),i.jsx("span",{className:"text-xl",children:I.icon}),i.jsx("span",{className:`text-sm font-medium ${Z?"text-[#38bdac]":"text-gray-300"}`,children:I.label})]}),i.jsxs("span",{className:"text-lg font-bold text-white",children:[j?"...":Y??"-",i.jsx("span",{className:"text-xs text-gray-500 font-normal ml-1",children:"人"})]})]}),i.jsx("p",{className:"text-gray-500 text-xs mt-2",children:I.desc}),i.jsx("span",{role:"link",tabIndex:0,onClick:D=>{D.stopPropagation(),t(`/users?pool=${I.value}`)},onKeyDown:D=>{D.key==="Enter"&&(D.stopPropagation(),t(`/users?pool=${I.value}`))},className:"text-[#38bdac] text-xs mt-2 inline-block hover:underline cursor-pointer",children:"查看用户列表 →"})]},I.value)})})]}),i.jsxs("div",{className:"space-y-3 pt-4 border-t border-gray-700/50",children:[i.jsx(te,{className:"text-gray-300",children:"用户资料完善要求(被匹配用户必须满足以下条件)"}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{key:"requirePhone",label:"有手机号",icon:"📱"},{key:"requireNickname",label:"有昵称",icon:"👤"},{key:"requireAvatar",label:"有头像",icon:"🖼️"},{key:"requireBusiness",label:"有业务需求",icon:"💼"}].map(I=>{const X=(e.poolSettings??hc)[I.key];return i.jsxs("div",{className:"flex items-center gap-3 bg-[#0a1628] rounded-lg p-3",children:[i.jsx(Nt,{checked:X,onCheckedChange:Z=>n({...e,poolSettings:{...e.poolSettings??hc,[I.key]:Z}})}),i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("span",{children:I.icon}),i.jsx(te,{className:"text-gray-300 text-sm",children:I.label})]})]},I.key)})})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Fi,{className:"w-5 h-5 text-yellow-400"})," 基础设置"]}),i.jsx(zt,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),i.jsxs(Re,{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.freeMatchLimit,onChange:I=>n({...e,freeMatchLimit:parseInt(I.target.value,10)||0})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:e.matchPrice,onChange:I=>n({...e,matchPrice:parseFloat(I.target.value)||1})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),i.jsx(ce,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.settings.maxMatchesPerDay,onChange:I=>n({...e,settings:{...e.settings,maxMatchesPerDay:parseInt(I.target.value,10)||10}})})]})]}),i.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:e.settings.enableFreeMatches,onCheckedChange:I=>n({...e,settings:{...e.settings,enableFreeMatches:I}})}),i.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:e.settings.enablePaidMatches,onCheckedChange:I=>n({...e,settings:{...e.settings,enablePaidMatches:I}})}),i.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(Xe,{className:"flex flex-row items-center justify-between",children:[i.jsxs("div",{children:[i.jsxs(Ze,{className:"text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"})," 匹配类型管理"]}),i.jsx(zt,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),i.jsxs(ne,{onClick:O,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Ft,{className:"w-4 h-4 mr-1"})," 添加类型"]})]}),i.jsx(Re,{children:i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"图标"}),i.jsx(Te,{className:"text-gray-400",children:"类型ID"}),i.jsx(Te,{className:"text-gray-400",children:"显示名称"}),i.jsx(Te,{className:"text-gray-400",children:"匹配标签"}),i.jsx(Te,{className:"text-gray-400",children:"价格"}),i.jsx(Te,{className:"text-gray-400",children:"数据库匹配"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsx(mr,{children:e.matchTypes.map(I=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsx("span",{className:"text-2xl",children:I.icon})}),i.jsx(we,{className:"font-mono text-gray-300",children:I.id}),i.jsx(we,{className:"text-white font-medium",children:I.label}),i.jsx(we,{className:"text-gray-300",children:I.matchLabel}),i.jsx(we,{children:i.jsxs(Be,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",I.price]})}),i.jsx(we,{children:I.matchFromDB?i.jsx(Be,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):i.jsx(Be,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),i.jsx(we,{children:i.jsx(Nt,{checked:I.enabled,onCheckedChange:()=>P(I.id)})}),i.jsx(we,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>T(I),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(kt,{className:"w-4 h-4"})}),i.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>R(I.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(wn,{className:"w-4 h-4"})})]})})]},I.id))})]})})]}),i.jsx(Zt,{open:c,onOpenChange:u,children:i.jsxs(qt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[i.jsx(en,{children:i.jsxs(tn,{className:"text-white flex items-center gap-2",children:[h?i.jsx(kt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Ft,{className:"w-5 h-5 text-[#38bdac]"}),h?"编辑匹配类型":"添加匹配类型"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:m.id,onChange:I=>g({...m,id:I.target.value}),disabled:!!h})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"图标"}),i.jsx("div",{className:"flex gap-1 flex-wrap",children:pV.map(I=>i.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${m.icon===I?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>g({...m,icon:I}),children:I},I))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"显示名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.label,onChange:I=>g({...m,label:I.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配标签"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.matchLabel,onChange:I=>g({...m,matchLabel:I.target.value})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:m.price,onChange:I=>g({...m,price:parseFloat(I.target.value)||1})})]}),i.jsxs("div",{className:"flex gap-6 pt-2",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:m.matchFromDB,onCheckedChange:I=>g({...m,matchFromDB:I})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:m.showJoinAfterMatch,onCheckedChange:I=>g({...m,showJoinAfterMatch:I})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Nt,{checked:m.enabled,onCheckedChange:I=>g({...m,enabled:I})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),i.jsxs(Nn,{children:[i.jsx(ne,{variant:"outline",onClick:()=>u(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsxs(ne,{onClick:B,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-4 h-4 mr-2"})," 保存"]})]})]})})]})}const mN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function gV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null),[v,j]=b.useState(null);async function w(){m(!0),y(null);try{const C=new URLSearchParams({page:String(s),pageSize:String(o)});u&&C.set("matchType",u);const T=await Fe(`/api/db/match-records?${C}`);T!=null&&T.success?(e(T.records||[]),r(T.total??0)):y("加载匹配记录失败")}catch{y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{w()},[s,u]);const k=Math.ceil(n/o)||1,E=({userId:C,nickname:T,avatar:O})=>i.jsxs("div",{className:"flex items-center gap-3 cursor-pointer group",onClick:()=>j(C),children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[O?i.jsx("img",{src:O,alt:"",className:"w-full h-full object-cover",onError:B=>{B.currentTarget.style.display="none"}}):null,i.jsx("span",{className:O?"hidden":"",children:(T||C||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white group-hover:text-[#38bdac] transition-colors",children:T||C}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[C==null?void 0:C.slice(0,16),(C==null?void 0:C.length)>16?"...":""]})]})]});return i.jsxs("div",{children:[g&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:g}),i.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("p",{className:"text-gray-400",children:["共 ",n," 条匹配记录 · 点击用户名查看详情"]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("select",{value:u,onChange:C=>{h(C.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"",children:"全部类型"}),Object.entries(mN).map(([C,T])=>i.jsx("option",{value:C,children:T},C))]}),i.jsxs("button",{type:"button",onClick:w,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${f?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:f?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"匹配时间"})]})}),i.jsxs(mr,{children:[t.map(C=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{children:i.jsx(E,{userId:C.userId,nickname:C.userNickname,avatar:C.userAvatar})}),i.jsx(we,{children:C.matchedUserId?i.jsx(E,{userId:C.matchedUserId,nickname:C.matchedNickname,avatar:C.matchedUserAvatar}):i.jsx("span",{className:"text-gray-500",children:"—"})}),i.jsx(we,{children:i.jsx(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:mN[C.matchType]||C.matchType})}),i.jsxs(we,{className:"text-sm",children:[C.phone&&i.jsxs("div",{className:"text-green-400",children:["📱 ",C.phone]}),C.wechatId&&i.jsxs("div",{className:"text-blue-400",children:["💬 ",C.wechatId]}),!C.phone&&!C.wechatId&&i.jsx("span",{className:"text-gray-600",children:"-"})]}),i.jsx(we,{className:"text-gray-400",children:C.createdAt?new Date(C.createdAt).toLocaleString():"-"})]},C.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),i.jsx(ls,{page:s,totalPages:k,total:n,pageSize:o,onPageChange:a,onPageSizeChange:C=>{c(C),a(1)}})]})})}),i.jsx(Hx,{open:!!v,onClose:()=>j(null),userId:v,onUserUpdated:w})]})}function xV(){const[t,e]=b.useState("records");return i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("button",{type:"button",onClick:()=>e("records"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="records"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配记录"}),i.jsx("button",{type:"button",onClick:()=>e("pool"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="pool"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配池设置"})]}),t==="records"&&i.jsx(gV,{}),t==="pool"&&i.jsx(mV,{})]})}const gN={investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function yV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0),[f,m]=b.useState("investor"),[g,y]=b.useState(null);async function v(){h(!0);try{const E=new URLSearchParams({page:String(s),pageSize:String(o),matchType:f}),C=await Fe(`/api/db/match-records?${E}`);C!=null&&C.success&&(e(C.records||[]),r(C.total??0))}catch(E){console.error(E)}finally{h(!1)}}b.useEffect(()=>{v()},[s,f]);const j=async E=>{if(!E.phone&&!E.wechatId){he.info("该记录无联系方式,无法推送到存客宝");return}y(E.id);try{const C=await mt("/api/ckb/join",{type:E.matchType||"investor",phone:E.phone||"",wechat:E.wechatId||"",userId:E.userId,name:E.userNickname||""});he.error((C==null?void 0:C.message)||(C!=null&&C.success?"推送成功":"推送失败"))}catch(C){he.error("推送失败: "+(C instanceof Error?C.message:"网络错误"))}finally{y(null)}},w=Math.ceil(n/o)||1,k=E=>!!(E.phone||E.wechatId);return i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400",children:"点击获客:有人填写手机号/微信号的直接显示,可一键推送到存客宝"}),i.jsxs("p",{className:"text-gray-500 text-xs mt-1",children:["共 ",n," 条记录 — 有联系方式的可触发存客宝添加好友"]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("select",{value:f,onChange:E=>{m(E.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:Object.entries(gN).map(([E,C])=>i.jsx("option",{value:E,children:C},E))}),i.jsxs(ne,{onClick:v,disabled:u,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${u?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:u?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"时间"}),i.jsx(Te,{className:"text-gray-400 text-right",children:"操作"})]})}),i.jsxs(mr,{children:[t.map(E=>{var C,T;return i.jsxs(ct,{className:`border-gray-700/50 ${k(E)?"hover:bg-[#0a1628]":"opacity-60"}`,children:[i.jsx(we,{className:"text-white",children:E.userNickname||((C=E.userId)==null?void 0:C.slice(0,12))}),i.jsx(we,{className:"text-white",children:E.matchedNickname||((T=E.matchedUserId)==null?void 0:T.slice(0,12))}),i.jsx(we,{children:i.jsx(Be,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:gN[E.matchType]||E.matchType})}),i.jsxs(we,{className:"text-sm",children:[E.phone&&i.jsxs("div",{className:"text-green-400",children:["📱 ",E.phone]}),E.wechatId&&i.jsxs("div",{className:"text-blue-400",children:["💬 ",E.wechatId]}),!E.phone&&!E.wechatId&&i.jsx("span",{className:"text-gray-600",children:"无联系方式"})]}),i.jsx(we,{className:"text-gray-400 text-sm",children:E.createdAt?new Date(E.createdAt).toLocaleString():"-"}),i.jsx(we,{className:"text-right",children:k(E)?i.jsxs(ne,{size:"sm",onClick:()=>j(E),disabled:g===E.id,className:"bg-[#38bdac] hover:bg-[#2da396] text-white text-xs h-7 px-3",children:[i.jsx(vA,{className:"w-3 h-3 mr-1"}),g===E.id?"推送中...":"推送CKB"]}):i.jsx("span",{className:"text-gray-600 text-xs",children:"—"})})]},E.id)}),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:6,className:"text-center py-12 text-gray-500",children:"暂无记录"})})]})]}),i.jsx(ls,{page:s,totalPages:w,total:n,pageSize:o,onPageChange:a,onPageSizeChange:E=>{c(E),a(1)}})]})})})]})}const xN={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},vV={single:"单次",half_year:"半年",year:"年度"};function bV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState("");async function o(){r(!0);try{const c=s?`/api/db/mentor-consultations?status=${s}`:"/api/db/mentor-consultations",u=await Fe(c);u!=null&&u.success&&u.data&&e(u.data)}catch(c){console.error(c)}finally{r(!1)}}return b.useEffect(()=>{o()},[s]),i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsx("p",{className:"text-gray-400",children:"导师咨询预约记录"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("select",{value:s,onChange:c=>a(c.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[i.jsx("option",{value:"",children:"全部状态"}),Object.entries(xN).map(([c,u])=>i.jsx("option",{value:c,children:u},c))]}),i.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Re,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"ID"}),i.jsx(Te,{className:"text-gray-400",children:"用户ID"}),i.jsx(Te,{className:"text-gray-400",children:"导师ID"}),i.jsx(Te,{className:"text-gray-400",children:"类型"}),i.jsx(Te,{className:"text-gray-400",children:"金额"}),i.jsx(Te,{className:"text-gray-400",children:"状态"}),i.jsx(Te,{className:"text-gray-400",children:"创建时间"})]})}),i.jsxs(mr,{children:[t.map(c=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(we,{className:"text-gray-300",children:c.id}),i.jsx(we,{className:"text-gray-400",children:c.userId}),i.jsx(we,{className:"text-gray-400",children:c.mentorId}),i.jsx(we,{className:"text-gray-400",children:vV[c.consultationType]||c.consultationType}),i.jsxs(we,{className:"text-white",children:["¥",c.amount]}),i.jsx(we,{className:"text-gray-400",children:xN[c.status]||c.status}),i.jsx(we,{className:"text-gray-500 text-sm",children:c.createdAt?new Date(c.createdAt).toLocaleString():"-"})]},c.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}function wV(){const[t,e]=b.useState("booking");return i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("button",{type:"button",onClick:()=>e("booking"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="booking"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"预约记录"}),i.jsx("button",{type:"button",onClick:()=>e("manage"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="manage"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"导师管理"})]}),t==="booking"&&i.jsx(bV,{}),t==="manage"&&i.jsx("div",{className:"-mx-8",children:i.jsx(SE,{embedded:!0})})]})}function NV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0);async function f(){h(!0);try{const g=new URLSearchParams({page:String(s),pageSize:String(o),matchType:"team"}),y=await Fe(`/api/db/match-records?${g}`);y!=null&&y.success&&(e(y.records||[]),r(y.total??0))}catch(g){console.error(g)}finally{h(!1)}}b.useEffect(()=>{f()},[s]);const m=Math.ceil(n/o)||1;return i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("div",{children:[i.jsxs("p",{className:"text-gray-400",children:["团队招募匹配记录,共 ",n," 条"]}),i.jsx("p",{className:"text-gray-500 text-xs mt-1",children:"用户通过「团队招募」提交联系方式到存客宝"})]}),i.jsxs("button",{type:"button",onClick:f,disabled:u,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${u?"animate-spin":""}`})," 刷新"]})]}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Re,{className:"p-0",children:u?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(fr,{children:[i.jsx(pr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(Te,{className:"text-gray-400",children:"发起人"}),i.jsx(Te,{className:"text-gray-400",children:"匹配到"}),i.jsx(Te,{className:"text-gray-400",children:"联系方式"}),i.jsx(Te,{className:"text-gray-400",children:"时间"})]})}),i.jsxs(mr,{children:[t.map(g=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(we,{className:"text-white",children:g.userNickname||g.userId}),i.jsx(we,{className:"text-white",children:g.matchedNickname||g.matchedUserId}),i.jsxs(we,{className:"text-gray-400 text-sm",children:[g.phone&&i.jsxs("div",{children:["📱 ",g.phone]}),g.wechatId&&i.jsxs("div",{children:["💬 ",g.wechatId]}),!g.phone&&!g.wechatId&&"-"]}),i.jsx(we,{className:"text-gray-400",children:g.createdAt?new Date(g.createdAt).toLocaleString():"-"})]},g.id)),t.length===0&&i.jsx(ct,{children:i.jsx(we,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无团队招募记录"})})]})]}),i.jsx(ls,{page:s,totalPages:m,total:n,pageSize:o,onPageChange:a,onPageSizeChange:g=>{c(g),a(1)}})]})})})]})}const yN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"},vN={partner:"⭐",investor:"👥",mentor:"❤️",team:"🎮"};function jV({onSwitchTab:t,onOpenCKB:e}={}){const n=sa(),[r,s]=b.useState(null),[a,o]=b.useState(null),[c,u]=b.useState(!0),h=b.useCallback(async()=>{var m,g;u(!0);try{const[y,v]=await Promise.allSettled([Fe("/api/db/match-records?stats=true"),Fe("/api/db/ckb-plan-stats")]);if(y.status==="fulfilled"&&((m=y.value)!=null&&m.success)&&y.value.data){let j=y.value.data;if(j.totalMatches>0&&(!j.uniqueUsers||j.uniqueUsers===0))try{const w=await Fe("/api/db/match-records?page=1&pageSize=200");if(w!=null&&w.success&&w.records){const k=new Set(w.records.map(E=>E.userId).filter(Boolean));j={...j,uniqueUsers:k.size}}}catch{}s(j)}v.status==="fulfilled"&&((g=v.value)!=null&&g.success)&&v.value.data&&o(v.value.data)}catch(y){console.error("加载统计失败:",y)}finally{u(!1)}},[]);b.useEffect(()=>{h()},[h]);const f=m=>c?"—":String(m??0);return i.jsxs("div",{className:"space-y-8",children:[i.jsxs("div",{children:[i.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[i.jsx(Ln,{className:"w-5 h-5 text-[#38bdac]"})," 找伙伴数据"]}),i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5",children:[i.jsx(Ae,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-[#38bdac]/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"总匹配次数"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.totalMatches)}),i.jsxs("p",{className:"text-[#38bdac] text-xs mt-3 flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," 查看匹配记录"]})]})}),i.jsx(Ae,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-yellow-500/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"今日匹配"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.todayMatches)}),i.jsxs("p",{className:"text-yellow-400/60 text-xs mt-3 flex items-center gap-1",children:[i.jsx(Fi,{className:"w-3 h-3"})," 今日实时"]})]})}),i.jsx(Ae,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-blue-500/60 transition-all",onClick:()=>n("/users"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"匹配用户数"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.uniqueUsers)}),i.jsxs("p",{className:"text-blue-400/60 text-xs mt-3 flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," 查看用户管理"]})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/40",children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"人均匹配"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":r!=null&&r.uniqueUsers?(r.totalMatches/r.uniqueUsers).toFixed(1):"0"})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-gray-700/40",children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"付费匹配次数"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:f(r==null?void 0:r.paidMatchCount)})]})})]})]}),(r==null?void 0:r.byType)&&r.byType.length>0&&i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-semibold text-white mb-4",children:"各类型匹配分布"}),i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:r.byType.map(m=>{const g=r.totalMatches>0?m.count/r.totalMatches*100:0;return i.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/40 rounded-xl p-5",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx("span",{className:"text-2xl",children:vN[m.matchType]||"📊"}),i.jsx("span",{className:"text-gray-300 font-medium",children:yN[m.matchType]||m.matchType})]}),i.jsx("p",{className:"text-3xl font-bold text-white mb-2",children:m.count}),i.jsx("div",{className:"w-full h-2 bg-gray-700/50 rounded-full overflow-hidden",children:i.jsx("div",{className:"h-full bg-[#38bdac] rounded-full transition-all",style:{width:`${Math.min(g,100)}%`}})}),i.jsxs("p",{className:"text-gray-500 text-xs mt-1.5",children:[g.toFixed(1),"%"]})]},m.matchType)})})]}),i.jsxs("div",{children:[i.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[i.jsx(Ss,{className:"w-5 h-5 text-orange-400"})," AI 获客数据"]}),i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5 mb-6",children:[i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("submitted"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"已提交线索"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(a==null?void 0:a.ckbTotal)??0}),i.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("contact"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"有联系方式"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(a==null?void 0:a.withContact)??0}),i.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("test"),children:i.jsxs(Re,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"AI 添加进度"}),i.jsx("p",{className:"text-xl font-bold text-orange-400",children:"查看详情 →"}),i.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"添加成功率 · 回复率 · API 文档"})]})})]}),(a==null?void 0:a.byType)&&a.byType.length>0&&i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 mb-6",children:a.byType.map(m=>i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-lg p-4 flex items-center gap-3",children:[i.jsx("span",{className:"text-xl",children:vN[m.matchType]||"📋"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-xs",children:yN[m.matchType]||m.matchType}),i.jsx("p",{className:"text-xl font-bold text-white",children:m.total})]})]},m.matchType))})]})]})}const kV=["partner","investor","mentor","team"],dg=[{key:"join_partner",label:"找伙伴场景"},{key:"join_investor",label:"资源对接场景"},{key:"join_mentor",label:"导师顾问场景"},{key:"join_team",label:"团队招募场景"},{key:"match",label:"匹配上报"},{key:"lead",label:"链接卡若"}],bN=`# 场景获客接口摘要 - 地址:POST /v1/api/scenarios - 必填:apiKey、sign、timestamp - 主标识:phone 或 wechatId 至少一项 - 可选:name、source、remark、tags、siteTags、portrait - 签名:排除 sign/apiKey/portrait,键名升序拼接值后双重 MD5 -- 成功:code=200,message=新增成功 或 已存在`;function kV({initialTab:t="overview"}){const[e,n]=b.useState(t),[r,s]=b.useState("13800000000"),[a,o]=b.useState(""),[c,u]=b.useState(""),[h,f]=b.useState(bN),[m,g]=b.useState(!1),[y,v]=b.useState(!1),[j,w]=b.useState([]),[k,E]=b.useState([]),[C,T]=b.useState({}),[O,B]=b.useState([{endpoint:"/api/ckb/join",label:"找伙伴",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"资源对接",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"导师顾问",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"团队招募",method:"POST",status:"idle"},{endpoint:"/api/ckb/match",label:"匹配上报",method:"POST",status:"idle"},{endpoint:"/api/miniprogram/ckb/lead",label:"链接卡若",method:"POST",status:"idle"},{endpoint:"/api/match/config",label:"匹配配置",method:"GET",status:"idle"}]),R=b.useMemo(()=>{const D={};return dg.forEach($=>{D[$.key]=C[$.key]||{apiUrl:"https://ckbapi.quwanzhi.com/v1/api/scenarios",apiKey:"fyngh-ecy9h-qkdae-epwd5-rz6kd",source:"",tags:"",siteTags:"创业实验APP",notes:""}}),D},[C]),P=D=>{const $=r.trim(),ae=a.trim();return D<=3?{type:jV[D],phone:$||void 0,wechat:ae||void 0,userId:"admin_test",name:"后台测试"}:D===4?{matchType:"partner",phone:$||void 0,wechat:ae||void 0,userId:"admin_test",nickname:"后台测试",matchedUser:{id:"test",nickname:"测试",matchScore:88}}:D===5?{phone:$||void 0,wechatId:ae||void 0,userId:"admin_test",name:"后台测试"}:{}};async function I(){v(!0);try{const[D,$,ae]=await Promise.all([Fe("/api/db/config/full?key=ckb_config"),Fe("/api/db/ckb-leads?mode=submitted&page=1&pageSize=50"),Fe("/api/db/ckb-leads?mode=contact&page=1&pageSize=50")]),_=D==null?void 0:D.data;_!=null&&_.routes&&T(_.routes),_!=null&&_.docNotes&&u(_.docNotes),_!=null&&_.docContent&&f(_.docContent),$!=null&&$.success&&w($.records||[]),ae!=null&&ae.success&&E(ae.records||[])}finally{v(!1)}}b.useEffect(()=>{n(t)},[t]),b.useEffect(()=>{I()},[]);async function L(){g(!0);try{const D=await mt("/api/db/config",{key:"ckb_config",value:{routes:R,docNotes:c,docContent:h},description:"存客宝接口配置"});he.error((D==null?void 0:D.success)!==!1?"存客宝配置已保存":`保存失败: ${(D==null?void 0:D.error)||"未知错误"}`)}catch(D){he.error(`保存失败: ${D instanceof Error?D.message:"网络错误"}`)}finally{g(!1)}}const X=(D,$)=>{T(ae=>({...ae,[D]:{...R[D],...$}}))},Z=async D=>{const $=O[D];if($.method==="POST"&&!r.trim()&&!a.trim()){he.error("请填写测试手机号");return}const ae=[...O];ae[D]={...$,status:"testing",message:void 0,responseTime:void 0},B(ae);const _=performance.now();try{const se=$.method==="GET"?await Fe($.endpoint):await mt($.endpoint,P(D)),q=Math.round(performance.now()-_),z=(se==null?void 0:se.message)||"",H=(se==null?void 0:se.success)===!0||z.includes("已存在")||z.includes("已加入")||z.includes("已提交"),de=[...O];de[D]={...$,status:H?"success":"error",message:z||(H?"正常":"异常"),responseTime:q},B(de),await I()}catch(se){const q=Math.round(performance.now()-_),z=[...O];z[D]={...$,status:"error",message:se instanceof Error?se.message:"失败",responseTime:q},B(z)}},Y=async()=>{if(!r.trim()&&!a.trim()){he.error("请填写测试手机号");return}for(let D=0;Di.jsx("div",{className:"overflow-auto rounded-lg border border-gray-700/30",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{className:"bg-[#0a1628] text-gray-400",children:i.jsxs("tr",{children:[i.jsx("th",{className:"text-left px-4 py-3",children:"发起人"}),i.jsx("th",{className:"text-left px-4 py-3",children:"类型"}),i.jsx("th",{className:"text-left px-4 py-3",children:"手机号"}),i.jsx("th",{className:"text-left px-4 py-3",children:"微信号"}),i.jsx("th",{className:"text-left px-4 py-3",children:"时间"})]})}),i.jsx("tbody",{children:D.length===0?i.jsx("tr",{children:i.jsx("td",{colSpan:5,className:"text-center py-10 text-gray-500",children:$})}):D.map(ae=>i.jsxs("tr",{className:"border-t border-gray-700/30",children:[i.jsx("td",{className:"px-4 py-3 text-white",children:ae.userNickname||ae.userId}),i.jsx("td",{className:"px-4 py-3 text-gray-300",children:ae.matchType}),i.jsx("td",{className:"px-4 py-3 text-green-400",children:ae.phone||"—"}),i.jsx("td",{className:"px-4 py-3 text-blue-400",children:ae.wechatId||"—"}),i.jsx("td",{className:"px-4 py-3 text-gray-400",children:ae.createdAt?new Date(ae.createdAt).toLocaleString():"—"})]},ae.id))})]})});return i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/30 mb-6",children:i.jsxs(Re,{className:"p-5",children:[i.jsxs("div",{className:"flex items-center justify-between mb-4",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("h3",{className:"text-white font-semibold",children:"存客宝工作台"}),i.jsx(Be,{className:"bg-orange-500/20 text-orange-400 border-0 text-xs",children:"CKB"}),i.jsxs("button",{type:"button",onClick:()=>n("doc"),className:"text-orange-400/60 text-xs hover:text-orange-400 flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," API 文档"]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(ne,{onClick:()=>I(),variant:"outline",size:"sm",className:"border-gray-700 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-3.5 h-3.5 mr-1 ${y?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:L,disabled:m,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-3.5 h-3.5 mr-1"})," ",m?"保存中...":"保存配置"]})]})]}),i.jsx("div",{className:"flex flex-wrap gap-2 mb-5",children:[["overview","概览"],["submitted","已提交线索"],["contact","有联系方式"],["config","场景配置"],["test","接口测试"],["doc","API 文档"]].map(([D,$])=>i.jsx("button",{type:"button",onClick:()=>n(D),className:`px-4 py-2 rounded-lg text-sm transition-colors ${e===D?"bg-orange-500 text-white":"bg-[#0a1628] text-gray-400 hover:text-white"}`,children:$},D))}),e==="overview"&&i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"已提交线索"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:j.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"有联系方式"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:k.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"场景配置数"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:dg.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"文档备注"}),i.jsx("p",{className:"text-sm text-gray-300 line-clamp-3",children:c||"未填写"})]})]}),e==="submitted"&&W(j,"暂无已提交线索"),e==="contact"&&W(k,"暂无有联系方式线索"),e==="config"&&i.jsx("div",{className:"space-y-4",children:dg.map(D=>i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-4",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("h4",{className:"text-white font-medium",children:D.label}),i.jsx(Be,{className:"bg-orange-500/20 text-orange-300 border-0 text-xs",children:D.key})]}),i.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"API 地址"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].apiUrl,onChange:$=>X(D.key,{apiUrl:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"API Key"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].apiKey,onChange:$=>X(D.key,{apiKey:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"Source"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].source,onChange:$=>X(D.key,{source:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"Tags"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].tags,onChange:$=>X(D.key,{tags:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"SiteTags"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].siteTags,onChange:$=>X(D.key,{siteTags:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"说明备注"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].notes,onChange:$=>X(D.key,{notes:$.target.value})})]})]})]},D.key))}),e==="test"&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex gap-3 mb-4",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i.jsx(Tc,{className:"w-4 h-4 text-gray-500 shrink-0"}),i.jsxs("div",{className:"flex-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"测试手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:r,onChange:D=>s(D.target.value)})]})]}),i.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i.jsx("span",{className:"text-gray-500 text-sm shrink-0",children:"💬"}),i.jsxs("div",{className:"flex-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"微信号(可选)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:a,onChange:D=>o(D.target.value)})]})]}),i.jsx("div",{className:"flex items-end",children:i.jsxs(ne,{onClick:Y,className:"bg-orange-500 hover:bg-orange-600 text-white",children:[i.jsx(Fi,{className:"w-3.5 h-3.5 mr-1"})," 全部测试"]})})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-2",children:O.map((D,$)=>i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg px-3 py-2 border border-gray-700/30",children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[D.status==="idle"&&i.jsx("div",{className:"w-2 h-2 rounded-full bg-gray-600 shrink-0"}),D.status==="testing"&&i.jsx(qe,{className:"w-3 h-3 text-yellow-400 animate-spin shrink-0"}),D.status==="success"&&i.jsx(gg,{className:"w-3 h-3 text-green-400 shrink-0"}),D.status==="error"&&i.jsx(_N,{className:"w-3 h-3 text-red-400 shrink-0"}),i.jsx("span",{className:"text-white text-xs truncate",children:D.label})]}),i.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[D.responseTime!==void 0&&i.jsxs("span",{className:"text-gray-600 text-[10px]",children:[D.responseTime,"ms"]}),i.jsx("button",{type:"button",onClick:()=>Z($),disabled:D.status==="testing",className:"text-orange-400/60 hover:text-orange-400 text-[10px] disabled:opacity-50",children:"测试"})]})]},`${D.endpoint}-${$}`))})]}),e==="doc"&&i.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("h4",{className:"text-white text-sm font-medium",children:"场景获客 API 摘要"}),i.jsxs("a",{href:"https://ckbapi.quwanzhi.com/v1/api/scenarios",target:"_blank",rel:"noreferrer",className:"text-orange-400/70 hover:text-orange-400 text-xs flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," 打开外链"]})]}),i.jsx("pre",{className:"whitespace-pre-wrap text-xs text-gray-400 leading-6",children:h||bN})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[i.jsx("h4",{className:"text-white text-sm font-medium mb-3",children:"说明备注(可编辑)"}),i.jsx("textarea",{className:"w-full min-h-[260px] bg-[#0f2137] border border-gray-700 rounded-md text-sm text-gray-300 p-3 outline-none focus:border-orange-500/50 resize-y",value:c,onChange:D=>u(D.target.value),placeholder:"记录 Token、入口差异、回复率统计规则、对接约定等。"})]})]})]})})}const SV=[{id:"stats",label:"数据统计",icon:PT},{id:"partner",label:"找伙伴",icon:Ln},{id:"resource",label:"资源对接",icon:mM},{id:"mentor",label:"导师预约",icon:hM},{id:"team",label:"团队招募",icon:Ng}];function CV(){const[t,e]=b.useState("stats"),[n,r]=b.useState(!1),[s,a]=b.useState("overview");return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"mb-6 flex items-start justify-between gap-4",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-6 h-6 text-[#38bdac]"}),"找伙伴"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"数据统计、匹配池与记录、资源对接、导师预约、团队招募"})]}),i.jsxs(ne,{type:"button",variant:"outline",onClick:()=>r(o=>!o),className:"border-orange-500/40 text-orange-300 hover:bg-orange-500/10 bg-transparent",children:[i.jsx(Ss,{className:"w-4 h-4 mr-2"}),"存客宝"]})]}),n&&i.jsx(kV,{initialTab:s}),i.jsx("div",{className:"flex flex-wrap gap-1 mb-6 bg-[#0f2137] rounded-lg p-1 border border-gray-700/50",children:SV.map(o=>{const c=t===o.id;return i.jsxs("button",{type:"button",onClick:()=>e(o.id),className:`flex items-center gap-2 px-5 py-2.5 rounded-md text-sm font-medium transition-all ${c?"bg-[#38bdac] text-white shadow-lg":"text-gray-400 hover:text-white hover:bg-gray-700/50"}`,children:[i.jsx(o.icon,{className:"w-4 h-4"}),o.label]},o.id)})}),t==="stats"&&i.jsx(NV,{onSwitchTab:o=>e(o),onOpenCKB:o=>{a(o||"overview"),r(!0)}}),t==="partner"&&i.jsx(gV,{}),t==="resource"&&i.jsx(xV,{}),t==="mentor"&&i.jsx(bV,{}),t==="team"&&i.jsx(wV,{})]})}function EV(){return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-8",children:[i.jsx(Ss,{className:"w-8 h-8 text-[#38bdac]"}),i.jsx("h1",{className:"text-2xl font-bold text-white",children:"API 接口文档"})]}),i.jsx("p",{className:"text-gray-400 mb-6",children:"API 风格:RESTful · 版本 v1.0 · 基础路径 /api · 简单、清晰、易用。"}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"1. 接口总览"})}),i.jsxs(Re,{className:"space-y-4 text-sm",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 mb-2",children:"接口分类"}),i.jsxs("ul",{className:"space-y-1 text-gray-300 font-mono",children:[i.jsx("li",{children:"/api/book — 书籍内容(章节列表、内容获取、同步)"}),i.jsx("li",{children:"/api/payment — 支付系统(订单创建、回调、状态查询)"}),i.jsx("li",{children:"/api/referral — 分销系统(邀请码、收益、提现)"}),i.jsx("li",{children:"/api/user — 用户系统(登录、注册、信息更新)"}),i.jsx("li",{children:"/api/match — 匹配系统(寻找匹配、匹配历史)"}),i.jsx("li",{children:"/api/admin — 管理后台(内容/订单/用户/分销管理)"}),i.jsx("li",{children:"/api/config — 配置系统"})]})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 mb-2",children:"认证方式"}),i.jsx("p",{className:"text-gray-300",children:"用户:Cookie session_id(可选)"}),i.jsx("p",{className:"text-gray-300",children:"管理端:Authorization: Bearer admin-token-secret"})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"2. 书籍内容"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"GET /api/book/all-chapters — 获取所有章节"}),i.jsx("p",{children:"GET /api/book/chapter/:id — 获取单章内容"}),i.jsx("p",{children:"POST /api/book/sync — 同步章节(需管理员认证)"})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"3. 支付"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"POST /api/payment/create-order — 创建订单"}),i.jsx("p",{children:"POST /api/payment/alipay/notify — 支付宝回调"}),i.jsx("p",{children:"POST /api/payment/wechat/notify — 微信回调"})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"4. 分销与用户"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"/api/referral/* — 邀请码、收益查询、提现"}),i.jsx("p",{children:"/api/user/* — 登录、注册、信息更新"}),i.jsx("p",{children:"/api/match/* — 匹配、匹配历史"})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"5. 管理后台"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"GET/POST /api/admin/referral-settings — 推广/分销设置(含 VIP 配置)"}),i.jsx("p",{children:"GET /api/db/users、/api/db/book — 用户与章节数据"}),i.jsx("p",{children:"GET /api/orders — 订单列表"})]})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"完整说明见项目内 开发文档/5、接口/API接口完整文档.md"})]})}function TV(){const t=ra();return i.jsx("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-8",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-red-500/20 text-red-400 mb-6",children:i.jsx(FT,{className:"w-10 h-10"})}),i.jsx("h1",{className:"text-4xl font-bold text-white mb-2",children:"404"}),i.jsx("p",{className:"text-gray-400 mb-1",children:"页面不存在"}),i.jsx("p",{className:"text-sm text-gray-500 font-mono mb-8 break-all",children:t.pathname}),i.jsx(ne,{asChild:!0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:i.jsxs(mg,{to:"/",children:[i.jsx(SM,{className:"w-4 h-4 mr-2"}),"返回首页"]})})]})})}function MV(){return i.jsxs(oT,{children:[i.jsx(Dt,{path:"/login",element:i.jsx(KR,{})}),i.jsxs(Dt,{path:"/",element:i.jsx(JA,{}),children:[i.jsx(Dt,{index:!0,element:i.jsx(mm,{to:"/dashboard",replace:!0})}),i.jsx(Dt,{path:"dashboard",element:i.jsx(rI,{})}),i.jsx(Dt,{path:"orders",element:i.jsx(sI,{})}),i.jsx(Dt,{path:"users",element:i.jsx(iI,{})}),i.jsx(Dt,{path:"distribution",element:i.jsx(EI,{})}),i.jsx(Dt,{path:"withdrawals",element:i.jsx(TI,{})}),i.jsx(Dt,{path:"content",element:i.jsx(qB,{})}),i.jsx(Dt,{path:"referral-settings",element:i.jsx(jk,{})}),i.jsx(Dt,{path:"author-settings",element:i.jsx(mm,{to:"/settings?tab=author",replace:!0})}),i.jsx(Dt,{path:"vip-roles",element:i.jsx(uV,{})}),i.jsx(Dt,{path:"mentors",element:i.jsx(SE,{})}),i.jsx(Dt,{path:"mentor-consultations",element:i.jsx(hV,{})}),i.jsx(Dt,{path:"admin-users",element:i.jsx(mm,{to:"/settings?tab=admin",replace:!0})}),i.jsx(Dt,{path:"settings",element:i.jsx(tV,{})}),i.jsx(Dt,{path:"payment",element:i.jsx(nV,{})}),i.jsx(Dt,{path:"site",element:i.jsx(aV,{})}),i.jsx(Dt,{path:"qrcodes",element:i.jsx(oV,{})}),i.jsx(Dt,{path:"find-partner",element:i.jsx(CV,{})}),i.jsx(Dt,{path:"match",element:i.jsx(cV,{})}),i.jsx(Dt,{path:"match-records",element:i.jsx(dV,{})}),i.jsx(Dt,{path:"api-doc",element:i.jsx(EV,{})})]}),i.jsx(Dt,{path:"*",element:i.jsx(TV,{})})]})}h4.createRoot(document.getElementById("root")).render(i.jsx(b.StrictMode,{children:i.jsx(mT,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:i.jsx(MV,{})})})); +- 成功:code=200,message=新增成功 或 已存在`;function SV({initialTab:t="overview"}){const[e,n]=b.useState(t),[r,s]=b.useState("13800000000"),[a,o]=b.useState(""),[c,u]=b.useState(""),[h,f]=b.useState(bN),[m,g]=b.useState(!1),[y,v]=b.useState(!1),[j,w]=b.useState([]),[k,E]=b.useState([]),[C,T]=b.useState({}),[O,B]=b.useState([{endpoint:"/api/ckb/join",label:"找伙伴",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"资源对接",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"导师顾问",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"团队招募",method:"POST",status:"idle"},{endpoint:"/api/ckb/match",label:"匹配上报",method:"POST",status:"idle"},{endpoint:"/api/miniprogram/ckb/lead",label:"链接卡若",method:"POST",status:"idle"},{endpoint:"/api/match/config",label:"匹配配置",method:"GET",status:"idle"}]),R=b.useMemo(()=>{const D={};return dg.forEach($=>{D[$.key]=C[$.key]||{apiUrl:"https://ckbapi.quwanzhi.com/v1/api/scenarios",apiKey:"fyngh-ecy9h-qkdae-epwd5-rz6kd",source:"",tags:"",siteTags:"创业实验APP",notes:""}}),D},[C]),P=D=>{const $=r.trim(),ae=a.trim();return D<=3?{type:kV[D],phone:$||void 0,wechat:ae||void 0,userId:"admin_test",name:"后台测试"}:D===4?{matchType:"partner",phone:$||void 0,wechat:ae||void 0,userId:"admin_test",nickname:"后台测试",matchedUser:{id:"test",nickname:"测试",matchScore:88}}:D===5?{phone:$||void 0,wechatId:ae||void 0,userId:"admin_test",name:"后台测试"}:{}};async function I(){v(!0);try{const[D,$,ae]=await Promise.all([Fe("/api/db/config/full?key=ckb_config"),Fe("/api/db/ckb-leads?mode=submitted&page=1&pageSize=50"),Fe("/api/db/ckb-leads?mode=contact&page=1&pageSize=50")]),_=D==null?void 0:D.data;_!=null&&_.routes&&T(_.routes),_!=null&&_.docNotes&&u(_.docNotes),_!=null&&_.docContent&&f(_.docContent),$!=null&&$.success&&w($.records||[]),ae!=null&&ae.success&&E(ae.records||[])}finally{v(!1)}}b.useEffect(()=>{n(t)},[t]),b.useEffect(()=>{I()},[]);async function L(){g(!0);try{const D=await mt("/api/db/config",{key:"ckb_config",value:{routes:R,docNotes:c,docContent:h},description:"存客宝接口配置"});he.error((D==null?void 0:D.success)!==!1?"存客宝配置已保存":`保存失败: ${(D==null?void 0:D.error)||"未知错误"}`)}catch(D){he.error(`保存失败: ${D instanceof Error?D.message:"网络错误"}`)}finally{g(!1)}}const X=(D,$)=>{T(ae=>({...ae,[D]:{...R[D],...$}}))},Z=async D=>{const $=O[D];if($.method==="POST"&&!r.trim()&&!a.trim()){he.error("请填写测试手机号");return}const ae=[...O];ae[D]={...$,status:"testing",message:void 0,responseTime:void 0},B(ae);const _=performance.now();try{const se=$.method==="GET"?await Fe($.endpoint):await mt($.endpoint,P(D)),q=Math.round(performance.now()-_),z=(se==null?void 0:se.message)||"",H=(se==null?void 0:se.success)===!0||z.includes("已存在")||z.includes("已加入")||z.includes("已提交"),de=[...O];de[D]={...$,status:H?"success":"error",message:z||(H?"正常":"异常"),responseTime:q},B(de),await I()}catch(se){const q=Math.round(performance.now()-_),z=[...O];z[D]={...$,status:"error",message:se instanceof Error?se.message:"失败",responseTime:q},B(z)}},Y=async()=>{if(!r.trim()&&!a.trim()){he.error("请填写测试手机号");return}for(let D=0;Di.jsx("div",{className:"overflow-auto rounded-lg border border-gray-700/30",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{className:"bg-[#0a1628] text-gray-400",children:i.jsxs("tr",{children:[i.jsx("th",{className:"text-left px-4 py-3",children:"发起人"}),i.jsx("th",{className:"text-left px-4 py-3",children:"类型"}),i.jsx("th",{className:"text-left px-4 py-3",children:"手机号"}),i.jsx("th",{className:"text-left px-4 py-3",children:"微信号"}),i.jsx("th",{className:"text-left px-4 py-3",children:"时间"})]})}),i.jsx("tbody",{children:D.length===0?i.jsx("tr",{children:i.jsx("td",{colSpan:5,className:"text-center py-10 text-gray-500",children:$})}):D.map(ae=>i.jsxs("tr",{className:"border-t border-gray-700/30",children:[i.jsx("td",{className:"px-4 py-3 text-white",children:ae.userNickname||ae.userId}),i.jsx("td",{className:"px-4 py-3 text-gray-300",children:ae.matchType}),i.jsx("td",{className:"px-4 py-3 text-green-400",children:ae.phone||"—"}),i.jsx("td",{className:"px-4 py-3 text-blue-400",children:ae.wechatId||"—"}),i.jsx("td",{className:"px-4 py-3 text-gray-400",children:ae.createdAt?new Date(ae.createdAt).toLocaleString():"—"})]},ae.id))})]})});return i.jsx(Ae,{className:"bg-[#0f2137] border-orange-500/30 mb-6",children:i.jsxs(Re,{className:"p-5",children:[i.jsxs("div",{className:"flex items-center justify-between mb-4",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("h3",{className:"text-white font-semibold",children:"存客宝工作台"}),i.jsx(Be,{className:"bg-orange-500/20 text-orange-400 border-0 text-xs",children:"CKB"}),i.jsxs("button",{type:"button",onClick:()=>n("doc"),className:"text-orange-400/60 text-xs hover:text-orange-400 flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," API 文档"]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(ne,{onClick:()=>I(),variant:"outline",size:"sm",className:"border-gray-700 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-3.5 h-3.5 mr-1 ${y?"animate-spin":""}`})," 刷新"]}),i.jsxs(ne,{onClick:L,disabled:m,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(an,{className:"w-3.5 h-3.5 mr-1"})," ",m?"保存中...":"保存配置"]})]})]}),i.jsx("div",{className:"flex flex-wrap gap-2 mb-5",children:[["overview","概览"],["submitted","已提交线索"],["contact","有联系方式"],["config","场景配置"],["test","接口测试"],["doc","API 文档"]].map(([D,$])=>i.jsx("button",{type:"button",onClick:()=>n(D),className:`px-4 py-2 rounded-lg text-sm transition-colors ${e===D?"bg-orange-500 text-white":"bg-[#0a1628] text-gray-400 hover:text-white"}`,children:$},D))}),e==="overview"&&i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"已提交线索"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:j.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"有联系方式"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:k.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"场景配置数"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:dg.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"文档备注"}),i.jsx("p",{className:"text-sm text-gray-300 line-clamp-3",children:c||"未填写"})]})]}),e==="submitted"&&W(j,"暂无已提交线索"),e==="contact"&&W(k,"暂无有联系方式线索"),e==="config"&&i.jsx("div",{className:"space-y-4",children:dg.map(D=>i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-4",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("h4",{className:"text-white font-medium",children:D.label}),i.jsx(Be,{className:"bg-orange-500/20 text-orange-300 border-0 text-xs",children:D.key})]}),i.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"API 地址"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].apiUrl,onChange:$=>X(D.key,{apiUrl:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"API Key"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].apiKey,onChange:$=>X(D.key,{apiKey:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"Source"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].source,onChange:$=>X(D.key,{source:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"Tags"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].tags,onChange:$=>X(D.key,{tags:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"SiteTags"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].siteTags,onChange:$=>X(D.key,{siteTags:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"说明备注"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[D.key].notes,onChange:$=>X(D.key,{notes:$.target.value})})]})]})]},D.key))}),e==="test"&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex gap-3 mb-4",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i.jsx(Tc,{className:"w-4 h-4 text-gray-500 shrink-0"}),i.jsxs("div",{className:"flex-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"测试手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:r,onChange:D=>s(D.target.value)})]})]}),i.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i.jsx("span",{className:"text-gray-500 text-sm shrink-0",children:"💬"}),i.jsxs("div",{className:"flex-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"微信号(可选)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:a,onChange:D=>o(D.target.value)})]})]}),i.jsx("div",{className:"flex items-end",children:i.jsxs(ne,{onClick:Y,className:"bg-orange-500 hover:bg-orange-600 text-white",children:[i.jsx(Fi,{className:"w-3.5 h-3.5 mr-1"})," 全部测试"]})})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-2",children:O.map((D,$)=>i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg px-3 py-2 border border-gray-700/30",children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[D.status==="idle"&&i.jsx("div",{className:"w-2 h-2 rounded-full bg-gray-600 shrink-0"}),D.status==="testing"&&i.jsx(qe,{className:"w-3 h-3 text-yellow-400 animate-spin shrink-0"}),D.status==="success"&&i.jsx(gg,{className:"w-3 h-3 text-green-400 shrink-0"}),D.status==="error"&&i.jsx(_N,{className:"w-3 h-3 text-red-400 shrink-0"}),i.jsx("span",{className:"text-white text-xs truncate",children:D.label})]}),i.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[D.responseTime!==void 0&&i.jsxs("span",{className:"text-gray-600 text-[10px]",children:[D.responseTime,"ms"]}),i.jsx("button",{type:"button",onClick:()=>Z($),disabled:D.status==="testing",className:"text-orange-400/60 hover:text-orange-400 text-[10px] disabled:opacity-50",children:"测试"})]})]},`${D.endpoint}-${$}`))})]}),e==="doc"&&i.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("h4",{className:"text-white text-sm font-medium",children:"场景获客 API 摘要"}),i.jsxs("a",{href:"https://ckbapi.quwanzhi.com/v1/api/scenarios",target:"_blank",rel:"noreferrer",className:"text-orange-400/70 hover:text-orange-400 text-xs flex items-center gap-1",children:[i.jsx(ti,{className:"w-3 h-3"})," 打开外链"]})]}),i.jsx("pre",{className:"whitespace-pre-wrap text-xs text-gray-400 leading-6",children:h||bN})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[i.jsx("h4",{className:"text-white text-sm font-medium mb-3",children:"说明备注(可编辑)"}),i.jsx("textarea",{className:"w-full min-h-[260px] bg-[#0f2137] border border-gray-700 rounded-md text-sm text-gray-300 p-3 outline-none focus:border-orange-500/50 resize-y",value:c,onChange:D=>u(D.target.value),placeholder:"记录 Token、入口差异、回复率统计规则、对接约定等。"})]})]})]})})}const CV=[{id:"stats",label:"数据统计",icon:PT},{id:"partner",label:"找伙伴",icon:Ln},{id:"resource",label:"资源对接",icon:mM},{id:"mentor",label:"导师预约",icon:hM},{id:"team",label:"团队招募",icon:Ng}];function EV(){const[t,e]=b.useState("stats"),[n,r]=b.useState(!1),[s,a]=b.useState("overview");return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"mb-6 flex items-start justify-between gap-4",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Ln,{className:"w-6 h-6 text-[#38bdac]"}),"找伙伴"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"数据统计、匹配池与记录、资源对接、导师预约、团队招募"})]}),i.jsxs(ne,{type:"button",variant:"outline",onClick:()=>r(o=>!o),className:"border-orange-500/40 text-orange-300 hover:bg-orange-500/10 bg-transparent",children:[i.jsx(Ss,{className:"w-4 h-4 mr-2"}),"存客宝"]})]}),n&&i.jsx(SV,{initialTab:s}),i.jsx("div",{className:"flex flex-wrap gap-1 mb-6 bg-[#0f2137] rounded-lg p-1 border border-gray-700/50",children:CV.map(o=>{const c=t===o.id;return i.jsxs("button",{type:"button",onClick:()=>e(o.id),className:`flex items-center gap-2 px-5 py-2.5 rounded-md text-sm font-medium transition-all ${c?"bg-[#38bdac] text-white shadow-lg":"text-gray-400 hover:text-white hover:bg-gray-700/50"}`,children:[i.jsx(o.icon,{className:"w-4 h-4"}),o.label]},o.id)})}),t==="stats"&&i.jsx(jV,{onSwitchTab:o=>e(o),onOpenCKB:o=>{a(o||"overview"),r(!0)}}),t==="partner"&&i.jsx(xV,{}),t==="resource"&&i.jsx(yV,{}),t==="mentor"&&i.jsx(wV,{}),t==="team"&&i.jsx(NV,{})]})}function TV(){return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-8",children:[i.jsx(Ss,{className:"w-8 h-8 text-[#38bdac]"}),i.jsx("h1",{className:"text-2xl font-bold text-white",children:"API 接口文档"})]}),i.jsx("p",{className:"text-gray-400 mb-6",children:"API 风格:RESTful · 版本 v1.0 · 基础路径 /api · 简单、清晰、易用。"}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"1. 接口总览"})}),i.jsxs(Re,{className:"space-y-4 text-sm",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 mb-2",children:"接口分类"}),i.jsxs("ul",{className:"space-y-1 text-gray-300 font-mono",children:[i.jsx("li",{children:"/api/book — 书籍内容(章节列表、内容获取、同步)"}),i.jsx("li",{children:"/api/payment — 支付系统(订单创建、回调、状态查询)"}),i.jsx("li",{children:"/api/referral — 分销系统(邀请码、收益、提现)"}),i.jsx("li",{children:"/api/user — 用户系统(登录、注册、信息更新)"}),i.jsx("li",{children:"/api/match — 匹配系统(寻找匹配、匹配历史)"}),i.jsx("li",{children:"/api/admin — 管理后台(内容/订单/用户/分销管理)"}),i.jsx("li",{children:"/api/config — 配置系统"})]})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 mb-2",children:"认证方式"}),i.jsx("p",{className:"text-gray-300",children:"用户:Cookie session_id(可选)"}),i.jsx("p",{className:"text-gray-300",children:"管理端:Authorization: Bearer admin-token-secret"})]})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"2. 书籍内容"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"GET /api/book/all-chapters — 获取所有章节"}),i.jsx("p",{children:"GET /api/book/chapter/:id — 获取单章内容"}),i.jsx("p",{children:"POST /api/book/sync — 同步章节(需管理员认证)"})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"3. 支付"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"POST /api/payment/create-order — 创建订单"}),i.jsx("p",{children:"POST /api/payment/alipay/notify — 支付宝回调"}),i.jsx("p",{children:"POST /api/payment/wechat/notify — 微信回调"})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"4. 分销与用户"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"/api/referral/* — 邀请码、收益查询、提现"}),i.jsx("p",{children:"/api/user/* — 登录、注册、信息更新"}),i.jsx("p",{children:"/api/match/* — 匹配、匹配历史"})]})]}),i.jsxs(Ae,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(Xe,{children:i.jsx(Ze,{className:"text-white",children:"5. 管理后台"})}),i.jsxs(Re,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"GET/POST /api/admin/referral-settings — 推广/分销设置(含 VIP 配置)"}),i.jsx("p",{children:"GET /api/db/users、/api/db/book — 用户与章节数据"}),i.jsx("p",{children:"GET /api/admin/orders — 订单列表"})]})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"完整说明见项目内 开发文档/5、接口/API接口完整文档.md"})]})}function MV(){const t=ra();return i.jsx("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-8",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-red-500/20 text-red-400 mb-6",children:i.jsx(FT,{className:"w-10 h-10"})}),i.jsx("h1",{className:"text-4xl font-bold text-white mb-2",children:"404"}),i.jsx("p",{className:"text-gray-400 mb-1",children:"页面不存在"}),i.jsx("p",{className:"text-sm text-gray-500 font-mono mb-8 break-all",children:t.pathname}),i.jsx(ne,{asChild:!0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:i.jsxs(mg,{to:"/",children:[i.jsx(SM,{className:"w-4 h-4 mr-2"}),"返回首页"]})})]})})}function AV(){return i.jsxs(oT,{children:[i.jsx(Dt,{path:"/login",element:i.jsx(qR,{})}),i.jsxs(Dt,{path:"/",element:i.jsx(YA,{}),children:[i.jsx(Dt,{index:!0,element:i.jsx(mm,{to:"/dashboard",replace:!0})}),i.jsx(Dt,{path:"dashboard",element:i.jsx(sI,{})}),i.jsx(Dt,{path:"orders",element:i.jsx(iI,{})}),i.jsx(Dt,{path:"users",element:i.jsx(aI,{})}),i.jsx(Dt,{path:"distribution",element:i.jsx(TI,{})}),i.jsx(Dt,{path:"withdrawals",element:i.jsx(MI,{})}),i.jsx(Dt,{path:"content",element:i.jsx(GB,{})}),i.jsx(Dt,{path:"referral-settings",element:i.jsx(jk,{})}),i.jsx(Dt,{path:"author-settings",element:i.jsx(mm,{to:"/settings?tab=author",replace:!0})}),i.jsx(Dt,{path:"vip-roles",element:i.jsx(hV,{})}),i.jsx(Dt,{path:"mentors",element:i.jsx(SE,{})}),i.jsx(Dt,{path:"mentor-consultations",element:i.jsx(fV,{})}),i.jsx(Dt,{path:"admin-users",element:i.jsx(mm,{to:"/settings?tab=admin",replace:!0})}),i.jsx(Dt,{path:"settings",element:i.jsx(nV,{})}),i.jsx(Dt,{path:"payment",element:i.jsx(rV,{})}),i.jsx(Dt,{path:"site",element:i.jsx(oV,{})}),i.jsx(Dt,{path:"qrcodes",element:i.jsx(lV,{})}),i.jsx(Dt,{path:"find-partner",element:i.jsx(EV,{})}),i.jsx(Dt,{path:"match",element:i.jsx(dV,{})}),i.jsx(Dt,{path:"match-records",element:i.jsx(uV,{})}),i.jsx(Dt,{path:"api-doc",element:i.jsx(TV,{})})]}),i.jsx(Dt,{path:"*",element:i.jsx(MV,{})})]})}h4.createRoot(document.getElementById("root")).render(i.jsx(b.StrictMode,{children:i.jsx(mT,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:i.jsx(AV,{})})})); diff --git a/soul-admin/dist/assets/index-DALKpE2i.js b/soul-admin/dist/assets/index-DALKpE2i.js deleted file mode 100644 index 5a5632da..00000000 --- a/soul-admin/dist/assets/index-DALKpE2i.js +++ /dev/null @@ -1,774 +0,0 @@ -function n3(t,e){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function xN(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var im={exports:{}},Gl={},am={exports:{}},lt={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ob;function r3(){if(ob)return lt;ob=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.iterator;function g(L){return L===null||typeof L!="object"?null:(L=m&&L[m]||L["@@iterator"],typeof L=="function"?L:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,j={};function w(L,H,ue){this.props=L,this.context=H,this.refs=j,this.updater=ue||y}w.prototype.isReactComponent={},w.prototype.setState=function(L,H){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,H,"setState")},w.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function k(){}k.prototype=w.prototype;function E(L,H,ue){this.props=L,this.context=H,this.refs=j,this.updater=ue||y}var C=E.prototype=new k;C.constructor=E,v(C,w.prototype),C.isPureReactComponent=!0;var M=Array.isArray,D=Object.prototype.hasOwnProperty,F={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function I(L,H,ue){var U,he={},Q=null,ee=null;if(H!=null)for(U in H.ref!==void 0&&(ee=H.ref),H.key!==void 0&&(Q=""+H.key),H)D.call(H,U)&&!R.hasOwnProperty(U)&&(he[U]=H[U]);var de=arguments.length-2;if(de===1)he.children=ue;else if(1>>1,H=V[L];if(0>>1;Ls(he,Y))Qs(ee,he)?(V[L]=ee,V[Q]=Y,L=Q):(V[L]=he,V[U]=Y,L=U);else if(Qs(ee,Y))V[L]=ee,V[Q]=Y,L=Q;else break e}}return ae}function s(V,ae){var Y=V.sortIndex-ae.sortIndex;return Y!==0?Y:V.id-ae.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var o=Date,c=o.now();t.unstable_now=function(){return o.now()-c}}var u=[],h=[],f=1,m=null,g=3,y=!1,v=!1,j=!1,w=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(V){for(var ae=n(h);ae!==null;){if(ae.callback===null)r(h);else if(ae.startTime<=V)r(h),ae.sortIndex=ae.expirationTime,e(u,ae);else break;ae=n(h)}}function M(V){if(j=!1,C(V),!v)if(n(u)!==null)v=!0,$(D);else{var ae=n(h);ae!==null&&oe(M,ae.startTime-V)}}function D(V,ae){v=!1,j&&(j=!1,k(I),I=-1),y=!0;var Y=g;try{for(C(ae),m=n(u);m!==null&&(!(m.expirationTime>ae)||V&&!W());){var L=m.callback;if(typeof L=="function"){m.callback=null,g=m.priorityLevel;var H=L(m.expirationTime<=ae);ae=t.unstable_now(),typeof H=="function"?m.callback=H:m===n(u)&&r(u),C(ae)}else r(u);m=n(u)}if(m!==null)var ue=!0;else{var U=n(h);U!==null&&oe(M,U.startTime-ae),ue=!1}return ue}finally{m=null,g=Y,y=!1}}var F=!1,R=null,I=-1,A=5,O=-1;function W(){return!(t.unstable_now()-OV||125L?(V.sortIndex=Y,e(h,V),n(u)===null&&V===n(h)&&(j?(k(I),I=-1):j=!0,oe(M,Y-L))):(V.sortIndex=H,e(u,V),v||y||(v=!0,$(D))),V},t.unstable_shouldYield=W,t.unstable_wrapCallback=function(V){var ae=g;return function(){var Y=g;g=ae;try{return V.apply(this,arguments)}finally{g=Y}}}})(cm)),cm}var hb;function o3(){return hb||(hb=1,lm.exports=a3()),lm.exports}/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var fb;function l3(){if(fb)return cr;fb=1;var t=$c(),e=o3();function n(l){for(var d="https://reactjs.org/docs/error-decoder.html?invariant="+l,p=1;p"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function g(l){return u.call(m,l)?!0:u.call(f,l)?!1:h.test(l)?m[l]=!0:(f[l]=!0,!1)}function y(l,d,p,x){if(p!==null&&p.type===0)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":return x?!1:p!==null?!p.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function v(l,d,p,x){if(d===null||typeof d>"u"||y(l,d,p,x))return!0;if(x)return!1;if(p!==null)switch(p.type){case 3:return!d;case 4:return d===!1;case 5:return isNaN(d);case 6:return isNaN(d)||1>d}return!1}function j(l,d,p,x,N,S,T){this.acceptsBooleans=d===2||d===3||d===4,this.attributeName=x,this.attributeNamespace=N,this.mustUseProperty=p,this.propertyName=l,this.type=d,this.sanitizeURL=S,this.removeEmptyString=T}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){w[l]=new j(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var d=l[0];w[d]=new j(d,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){w[l]=new j(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){w[l]=new j(l,2,!1,l,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(l){w[l]=new j(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){w[l]=new j(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){w[l]=new j(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){w[l]=new j(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){w[l]=new j(l,5,!1,l.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function E(l){return l[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(l){var d=l.replace(k,E);w[d]=new j(d,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var d=l.replace(k,E);w[d]=new j(d,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var d=l.replace(k,E);w[d]=new j(d,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){w[l]=new j(l,1,!1,l.toLowerCase(),null,!1,!1)}),w.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){w[l]=new j(l,1,!1,l.toLowerCase(),null,!0,!0)});function C(l,d,p,x){var N=w.hasOwnProperty(d)?w[d]:null;(N!==null?N.type!==0:x||!(2z||N[T]!==S[z]){var K=` -`+N[T].replace(" at new "," at ");return l.displayName&&K.includes("")&&(K=K.replace("",l.displayName)),K}while(1<=T&&0<=z);break}}}finally{ue=!1,Error.prepareStackTrace=p}return(l=l?l.displayName||l.name:"")?H(l):""}function he(l){switch(l.tag){case 5:return H(l.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return l=U(l.type,!1),l;case 11:return l=U(l.type.render,!1),l;case 1:return l=U(l.type,!0),l;default:return""}}function Q(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case R:return"Fragment";case F:return"Portal";case A:return"Profiler";case I:return"StrictMode";case q:return"Suspense";case Z:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case W:return(l.displayName||"Context")+".Consumer";case O:return(l._context.displayName||"Context")+".Provider";case X:var d=l.render;return l=l.displayName,l||(l=d.displayName||d.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case _:return d=l.displayName||null,d!==null?d:Q(l.type)||"Memo";case $:d=l._payload,l=l._init;try{return Q(l(d))}catch{}}return null}function ee(l){var d=l.type;switch(l.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=d.render,l=l.displayName||l.name||"",d.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Q(d);case 8:return d===I?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d}return null}function de(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Ce(l){var d=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function B(l){var d=Ce(l)?"checked":"value",p=Object.getOwnPropertyDescriptor(l.constructor.prototype,d),x=""+l[d];if(!l.hasOwnProperty(d)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var N=p.get,S=p.set;return Object.defineProperty(l,d,{configurable:!0,get:function(){return N.call(this)},set:function(T){x=""+T,S.call(this,T)}}),Object.defineProperty(l,d,{enumerable:p.enumerable}),{getValue:function(){return x},setValue:function(T){x=""+T},stopTracking:function(){l._valueTracker=null,delete l[d]}}}}function me(l){l._valueTracker||(l._valueTracker=B(l))}function Se(l){if(!l)return!1;var d=l._valueTracker;if(!d)return!0;var p=d.getValue(),x="";return l&&(x=Ce(l)?l.checked?"true":"false":l.value),l=x,l!==p?(d.setValue(l),!0):!1}function rt(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function Ye(l,d){var p=d.checked;return Y({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??l._wrapperState.initialChecked})}function st(l,d){var p=d.defaultValue==null?"":d.defaultValue,x=d.checked!=null?d.checked:d.defaultChecked;p=de(d.value!=null?d.value:p),l._wrapperState={initialChecked:x,initialValue:p,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function Qe(l,d){d=d.checked,d!=null&&C(l,"checked",d,!1)}function Xe(l,d){Qe(l,d);var p=de(d.value),x=d.type;if(p!=null)x==="number"?(p===0&&l.value===""||l.value!=p)&&(l.value=""+p):l.value!==""+p&&(l.value=""+p);else if(x==="submit"||x==="reset"){l.removeAttribute("value");return}d.hasOwnProperty("value")?Pt(l,d.type,p):d.hasOwnProperty("defaultValue")&&Pt(l,d.type,de(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(l.defaultChecked=!!d.defaultChecked)}function ft(l,d,p){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var x=d.type;if(!(x!=="submit"&&x!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+l._wrapperState.initialValue,p||d===l.value||(l.value=d),l.defaultValue=d}p=l.name,p!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,p!==""&&(l.name=p)}function Pt(l,d,p){(d!=="number"||rt(l.ownerDocument)!==l)&&(p==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+p&&(l.defaultValue=""+p))}var Jt=Array.isArray;function Kn(l,d,p,x){if(l=l.options,d){d={};for(var N=0;N"+d.valueOf().toString()+"",d=pn.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;d.firstChild;)l.appendChild(d.firstChild)}});function Br(l,d){if(d){var p=l.firstChild;if(p&&p===l.lastChild&&p.nodeType===3){p.nodeValue=d;return}}l.textContent=d}var Gn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];Object.keys(Gn).forEach(function(l){fe.forEach(function(d){d=d+l.charAt(0).toUpperCase()+l.substring(1),Gn[d]=Gn[l]})});function ge(l,d,p){return d==null||typeof d=="boolean"||d===""?"":p||typeof d!="number"||d===0||Gn.hasOwnProperty(l)&&Gn[l]?(""+d).trim():d+"px"}function Sn(l,d){l=l.style;for(var p in d)if(d.hasOwnProperty(p)){var x=p.indexOf("--")===0,N=ge(p,d[p],x);p==="float"&&(p="cssFloat"),x?l.setProperty(p,N):l[p]=N}}var ri=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Es(l,d){if(d){if(ri[l]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(n(137,l));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(n(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(n(61))}if(d.style!=null&&typeof d.style!="object")throw Error(n(62))}}function ua(l,d){if(l.indexOf("-")===-1)return typeof d.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Jn=null;function as(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var jt=null,Cn=null,Yn=null;function Dn(l){if(l=Pl(l)){if(typeof jt!="function")throw Error(n(280));var d=l.stateNode;d&&(d=yd(d),jt(l.stateNode,l.type,d))}}function ha(l){Cn?Yn?Yn.push(l):Yn=[l]:Cn=l}function si(){if(Cn){var l=Cn,d=Yn;if(Yn=Cn=null,Dn(l),d)for(l=0;l>>=0,l===0?32:31-(P(l)/ie|0)|0}var Re=64,Ot=4194304;function Vt(l){switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function Ln(l,d){var p=l.pendingLanes;if(p===0)return 0;var x=0,N=l.suspendedLanes,S=l.pingedLanes,T=p&268435455;if(T!==0){var z=T&~N;z!==0?x=Vt(z):(S&=T,S!==0&&(x=Vt(S)))}else T=p&~N,T!==0?x=Vt(T):S!==0&&(x=Vt(S));if(x===0)return 0;if(d!==0&&d!==x&&(d&N)===0&&(N=x&-x,S=d&-d,N>=S||N===16&&(S&4194240)!==0))return d;if((x&4)!==0&&(x|=p&16),d=l.entangledLanes,d!==0)for(l=l.entanglements,d&=x;0p;p++)d.push(l);return d}function li(l,d,p){l.pendingLanes|=d,d!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,d=31-rr(d),l[d]=p}function jE(l,d){var p=l.pendingLanes&~d;l.pendingLanes=d,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=d,l.mutableReadLanes&=d,l.entangledLanes&=d,d=l.entanglements;var x=l.eventTimes;for(l=l.expirationTimes;0=kl),ey=" ",ty=!1;function ny(l,d){switch(l){case"keyup":return QE.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ry(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var lo=!1;function ZE(l,d){switch(l){case"compositionend":return ry(d);case"keypress":return d.which!==32?null:(ty=!0,ey);case"textInput":return l=d.data,l===ey&&ty?null:l;default:return null}}function e4(l,d){if(lo)return l==="compositionend"||!$f&&ny(l,d)?(l=G0(),od=Pf=fi=null,lo=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:p,offset:d-l};l=x}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=dy(p)}}function hy(l,d){return l&&d?l===d?!0:l&&l.nodeType===3?!1:d&&d.nodeType===3?hy(l,d.parentNode):"contains"in l?l.contains(d):l.compareDocumentPosition?!!(l.compareDocumentPosition(d)&16):!1:!1}function fy(){for(var l=window,d=rt();d instanceof l.HTMLIFrameElement;){try{var p=typeof d.contentWindow.location.href=="string"}catch{p=!1}if(p)l=d.contentWindow;else break;d=rt(l.document)}return d}function Vf(l){var d=l&&l.nodeName&&l.nodeName.toLowerCase();return d&&(d==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||d==="textarea"||l.contentEditable==="true")}function c4(l){var d=fy(),p=l.focusedElem,x=l.selectionRange;if(d!==p&&p&&p.ownerDocument&&hy(p.ownerDocument.documentElement,p)){if(x!==null&&Vf(p)){if(d=x.start,l=x.end,l===void 0&&(l=d),"selectionStart"in p)p.selectionStart=d,p.selectionEnd=Math.min(l,p.value.length);else if(l=(d=p.ownerDocument||document)&&d.defaultView||window,l.getSelection){l=l.getSelection();var N=p.textContent.length,S=Math.min(x.start,N);x=x.end===void 0?S:Math.min(x.end,N),!l.extend&&S>x&&(N=x,x=S,S=N),N=uy(p,S);var T=uy(p,x);N&&T&&(l.rangeCount!==1||l.anchorNode!==N.node||l.anchorOffset!==N.offset||l.focusNode!==T.node||l.focusOffset!==T.offset)&&(d=d.createRange(),d.setStart(N.node,N.offset),l.removeAllRanges(),S>x?(l.addRange(d),l.extend(T.node,T.offset)):(d.setEnd(T.node,T.offset),l.addRange(d)))}}for(d=[],l=p;l=l.parentNode;)l.nodeType===1&&d.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p=document.documentMode,co=null,Hf=null,Tl=null,Wf=!1;function py(l,d,p){var x=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;Wf||co==null||co!==rt(x)||(x=co,"selectionStart"in x&&Vf(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),Tl&&El(Tl,x)||(Tl=x,x=md(Hf,"onSelect"),0mo||(l.current=np[mo],np[mo]=null,mo--)}function kt(l,d){mo++,np[mo]=l.current,l.current=d}var xi={},_n=gi(xi),sr=gi(!1),ga=xi;function go(l,d){var p=l.type.contextTypes;if(!p)return xi;var x=l.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===d)return x.__reactInternalMemoizedMaskedChildContext;var N={},S;for(S in p)N[S]=d[S];return x&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=d,l.__reactInternalMemoizedMaskedChildContext=N),N}function ir(l){return l=l.childContextTypes,l!=null}function vd(){Tt(sr),Tt(_n)}function My(l,d,p){if(_n.current!==xi)throw Error(n(168));kt(_n,d),kt(sr,p)}function Ay(l,d,p){var x=l.stateNode;if(d=d.childContextTypes,typeof x.getChildContext!="function")return p;x=x.getChildContext();for(var N in x)if(!(N in d))throw Error(n(108,ee(l)||"Unknown",N));return Y({},p,x)}function bd(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||xi,ga=_n.current,kt(_n,l),kt(sr,sr.current),!0}function Ry(l,d,p){var x=l.stateNode;if(!x)throw Error(n(169));p?(l=Ay(l,d,ga),x.__reactInternalMemoizedMergedChildContext=l,Tt(sr),Tt(_n),kt(_n,l)):Tt(sr),kt(sr,p)}var As=null,wd=!1,rp=!1;function Iy(l){As===null?As=[l]:As.push(l)}function w4(l){wd=!0,Iy(l)}function yi(){if(!rp&&As!==null){rp=!0;var l=0,d=xt;try{var p=As;for(xt=1;l>=T,N-=T,Rs=1<<32-rr(d)+N|p<Je?(yn=Ue,Ue=null):yn=Ue.sibling;var ut=xe(ne,Ue,se[Je],Ne);if(ut===null){Ue===null&&(Ue=yn);break}l&&Ue&&ut.alternate===null&&d(ne,Ue),J=S(ut,J,Je),We===null?ze=ut:We.sibling=ut,We=ut,Ue=yn}if(Je===se.length)return p(ne,Ue),Dt&&ya(ne,Je),ze;if(Ue===null){for(;JeJe?(yn=Ue,Ue=null):yn=Ue.sibling;var Ei=xe(ne,Ue,ut.value,Ne);if(Ei===null){Ue===null&&(Ue=yn);break}l&&Ue&&Ei.alternate===null&&d(ne,Ue),J=S(Ei,J,Je),We===null?ze=Ei:We.sibling=Ei,We=Ei,Ue=yn}if(ut.done)return p(ne,Ue),Dt&&ya(ne,Je),ze;if(Ue===null){for(;!ut.done;Je++,ut=se.next())ut=be(ne,ut.value,Ne),ut!==null&&(J=S(ut,J,Je),We===null?ze=ut:We.sibling=ut,We=ut);return Dt&&ya(ne,Je),ze}for(Ue=x(ne,Ue);!ut.done;Je++,ut=se.next())ut=Ie(Ue,ne,Je,ut.value,Ne),ut!==null&&(l&&ut.alternate!==null&&Ue.delete(ut.key===null?Je:ut.key),J=S(ut,J,Je),We===null?ze=ut:We.sibling=ut,We=ut);return l&&Ue.forEach(function(t3){return d(ne,t3)}),Dt&&ya(ne,Je),ze}function Yt(ne,J,se,Ne){if(typeof se=="object"&&se!==null&&se.type===R&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case D:e:{for(var ze=se.key,We=J;We!==null;){if(We.key===ze){if(ze=se.type,ze===R){if(We.tag===7){p(ne,We.sibling),J=N(We,se.props.children),J.return=ne,ne=J;break e}}else if(We.elementType===ze||typeof ze=="object"&&ze!==null&&ze.$$typeof===$&&zy(ze)===We.type){p(ne,We.sibling),J=N(We,se.props),J.ref=Ol(ne,We,se),J.return=ne,ne=J;break e}p(ne,We);break}else d(ne,We);We=We.sibling}se.type===R?(J=Ca(se.props.children,ne.mode,Ne,se.key),J.return=ne,ne=J):(Ne=Jd(se.type,se.key,se.props,null,ne.mode,Ne),Ne.ref=Ol(ne,J,se),Ne.return=ne,ne=Ne)}return T(ne);case F:e:{for(We=se.key;J!==null;){if(J.key===We)if(J.tag===4&&J.stateNode.containerInfo===se.containerInfo&&J.stateNode.implementation===se.implementation){p(ne,J.sibling),J=N(J,se.children||[]),J.return=ne,ne=J;break e}else{p(ne,J);break}else d(ne,J);J=J.sibling}J=em(se,ne.mode,Ne),J.return=ne,ne=J}return T(ne);case $:return We=se._init,Yt(ne,J,We(se._payload),Ne)}if(Jt(se))return Oe(ne,J,se,Ne);if(ae(se))return _e(ne,J,se,Ne);Sd(ne,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,J!==null&&J.tag===6?(p(ne,J.sibling),J=N(J,se),J.return=ne,ne=J):(p(ne,J),J=Zp(se,ne.mode,Ne),J.return=ne,ne=J),T(ne)):p(ne,J)}return Yt}var bo=$y(!0),Fy=$y(!1),Cd=gi(null),Ed=null,wo=null,cp=null;function dp(){cp=wo=Ed=null}function up(l){var d=Cd.current;Tt(Cd),l._currentValue=d}function hp(l,d,p){for(;l!==null;){var x=l.alternate;if((l.childLanes&d)!==d?(l.childLanes|=d,x!==null&&(x.childLanes|=d)):x!==null&&(x.childLanes&d)!==d&&(x.childLanes|=d),l===p)break;l=l.return}}function No(l,d){Ed=l,cp=wo=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&d)!==0&&(ar=!0),l.firstContext=null)}function Ar(l){var d=l._currentValue;if(cp!==l)if(l={context:l,memoizedValue:d,next:null},wo===null){if(Ed===null)throw Error(n(308));wo=l,Ed.dependencies={lanes:0,firstContext:l}}else wo=wo.next=l;return d}var va=null;function fp(l){va===null?va=[l]:va.push(l)}function By(l,d,p,x){var N=d.interleaved;return N===null?(p.next=p,fp(d)):(p.next=N.next,N.next=p),d.interleaved=p,Ps(l,x)}function Ps(l,d){l.lanes|=d;var p=l.alternate;for(p!==null&&(p.lanes|=d),p=l,l=l.return;l!==null;)l.childLanes|=d,p=l.alternate,p!==null&&(p.childLanes|=d),p=l,l=l.return;return p.tag===3?p.stateNode:null}var vi=!1;function pp(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vy(l,d){l=l.updateQueue,d.updateQueue===l&&(d.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function Os(l,d){return{eventTime:l,lane:d,tag:0,payload:null,callback:null,next:null}}function bi(l,d,p){var x=l.updateQueue;if(x===null)return null;if(x=x.shared,(dt&2)!==0){var N=x.pending;return N===null?d.next=d:(d.next=N.next,N.next=d),x.pending=d,Ps(l,p)}return N=x.interleaved,N===null?(d.next=d,fp(x)):(d.next=N.next,N.next=d),x.interleaved=d,Ps(l,p)}function Td(l,d,p){if(d=d.updateQueue,d!==null&&(d=d.shared,(p&4194240)!==0)){var x=d.lanes;x&=l.pendingLanes,p|=x,d.lanes=p,Tf(l,p)}}function Hy(l,d){var p=l.updateQueue,x=l.alternate;if(x!==null&&(x=x.updateQueue,p===x)){var N=null,S=null;if(p=p.firstBaseUpdate,p!==null){do{var T={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};S===null?N=S=T:S=S.next=T,p=p.next}while(p!==null);S===null?N=S=d:S=S.next=d}else N=S=d;p={baseState:x.baseState,firstBaseUpdate:N,lastBaseUpdate:S,shared:x.shared,effects:x.effects},l.updateQueue=p;return}l=p.lastBaseUpdate,l===null?p.firstBaseUpdate=d:l.next=d,p.lastBaseUpdate=d}function Md(l,d,p,x){var N=l.updateQueue;vi=!1;var S=N.firstBaseUpdate,T=N.lastBaseUpdate,z=N.shared.pending;if(z!==null){N.shared.pending=null;var K=z,le=K.next;K.next=null,T===null?S=le:T.next=le,T=K;var ye=l.alternate;ye!==null&&(ye=ye.updateQueue,z=ye.lastBaseUpdate,z!==T&&(z===null?ye.firstBaseUpdate=le:z.next=le,ye.lastBaseUpdate=K))}if(S!==null){var be=N.baseState;T=0,ye=le=K=null,z=S;do{var xe=z.lane,Ie=z.eventTime;if((x&xe)===xe){ye!==null&&(ye=ye.next={eventTime:Ie,lane:0,tag:z.tag,payload:z.payload,callback:z.callback,next:null});e:{var Oe=l,_e=z;switch(xe=d,Ie=p,_e.tag){case 1:if(Oe=_e.payload,typeof Oe=="function"){be=Oe.call(Ie,be,xe);break e}be=Oe;break e;case 3:Oe.flags=Oe.flags&-65537|128;case 0:if(Oe=_e.payload,xe=typeof Oe=="function"?Oe.call(Ie,be,xe):Oe,xe==null)break e;be=Y({},be,xe);break e;case 2:vi=!0}}z.callback!==null&&z.lane!==0&&(l.flags|=64,xe=N.effects,xe===null?N.effects=[z]:xe.push(z))}else Ie={eventTime:Ie,lane:xe,tag:z.tag,payload:z.payload,callback:z.callback,next:null},ye===null?(le=ye=Ie,K=be):ye=ye.next=Ie,T|=xe;if(z=z.next,z===null){if(z=N.shared.pending,z===null)break;xe=z,z=xe.next,xe.next=null,N.lastBaseUpdate=xe,N.shared.pending=null}}while(!0);if(ye===null&&(K=be),N.baseState=K,N.firstBaseUpdate=le,N.lastBaseUpdate=ye,d=N.shared.interleaved,d!==null){N=d;do T|=N.lane,N=N.next;while(N!==d)}else S===null&&(N.shared.lanes=0);Na|=T,l.lanes=T,l.memoizedState=be}}function Wy(l,d,p){if(l=d.effects,d.effects=null,l!==null)for(d=0;dp?p:4,l(!0);var x=vp.transition;vp.transition={};try{l(!1),d()}finally{xt=p,vp.transition=x}}function cv(){return Rr().memoizedState}function S4(l,d,p){var x=ki(l);if(p={lane:x,action:p,hasEagerState:!1,eagerState:null,next:null},dv(l))uv(d,p);else if(p=By(l,d,p,x),p!==null){var N=Xn();Gr(p,l,x,N),hv(p,d,x)}}function C4(l,d,p){var x=ki(l),N={lane:x,action:p,hasEagerState:!1,eagerState:null,next:null};if(dv(l))uv(d,N);else{var S=l.alternate;if(l.lanes===0&&(S===null||S.lanes===0)&&(S=d.lastRenderedReducer,S!==null))try{var T=d.lastRenderedState,z=S(T,p);if(N.hasEagerState=!0,N.eagerState=z,Hr(z,T)){var K=d.interleaved;K===null?(N.next=N,fp(d)):(N.next=K.next,K.next=N),d.interleaved=N;return}}catch{}finally{}p=By(l,d,N,x),p!==null&&(N=Xn(),Gr(p,l,x,N),hv(p,d,x))}}function dv(l){var d=l.alternate;return l===Bt||d!==null&&d===Bt}function uv(l,d){zl=Id=!0;var p=l.pending;p===null?d.next=d:(d.next=p.next,p.next=d),l.pending=d}function hv(l,d,p){if((p&4194240)!==0){var x=d.lanes;x&=l.pendingLanes,p|=x,d.lanes=p,Tf(l,p)}}var Dd={readContext:Ar,useCallback:zn,useContext:zn,useEffect:zn,useImperativeHandle:zn,useInsertionEffect:zn,useLayoutEffect:zn,useMemo:zn,useReducer:zn,useRef:zn,useState:zn,useDebugValue:zn,useDeferredValue:zn,useTransition:zn,useMutableSource:zn,useSyncExternalStore:zn,useId:zn,unstable_isNewReconciler:!1},E4={readContext:Ar,useCallback:function(l,d){return ms().memoizedState=[l,d===void 0?null:d],l},useContext:Ar,useEffect:tv,useImperativeHandle:function(l,d,p){return p=p!=null?p.concat([l]):null,Pd(4194308,4,sv.bind(null,d,l),p)},useLayoutEffect:function(l,d){return Pd(4194308,4,l,d)},useInsertionEffect:function(l,d){return Pd(4,2,l,d)},useMemo:function(l,d){var p=ms();return d=d===void 0?null:d,l=l(),p.memoizedState=[l,d],l},useReducer:function(l,d,p){var x=ms();return d=p!==void 0?p(d):d,x.memoizedState=x.baseState=d,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:d},x.queue=l,l=l.dispatch=S4.bind(null,Bt,l),[x.memoizedState,l]},useRef:function(l){var d=ms();return l={current:l},d.memoizedState=l},useState:Zy,useDebugValue:Cp,useDeferredValue:function(l){return ms().memoizedState=l},useTransition:function(){var l=Zy(!1),d=l[0];return l=k4.bind(null,l[1]),ms().memoizedState=l,[d,l]},useMutableSource:function(){},useSyncExternalStore:function(l,d,p){var x=Bt,N=ms();if(Dt){if(p===void 0)throw Error(n(407));p=p()}else{if(p=d(),xn===null)throw Error(n(349));(wa&30)!==0||Gy(x,d,p)}N.memoizedState=p;var S={value:p,getSnapshot:d};return N.queue=S,tv(Yy.bind(null,x,S,l),[l]),x.flags|=2048,Bl(9,Jy.bind(null,x,S,p,d),void 0,null),p},useId:function(){var l=ms(),d=xn.identifierPrefix;if(Dt){var p=Is,x=Rs;p=(x&~(1<<32-rr(x)-1)).toString(32)+p,d=":"+d+"R"+p,p=$l++,0<\/script>",l=l.removeChild(l.firstChild)):typeof x.is=="string"?l=T.createElement(p,{is:x.is}):(l=T.createElement(p),p==="select"&&(T=l,x.multiple?T.multiple=!0:x.size&&(T.size=x.size))):l=T.createElementNS(l,p),l[fs]=d,l[Il]=x,Iv(l,d,!1,!1),d.stateNode=l;e:{switch(T=ua(p,x),p){case"dialog":Et("cancel",l),Et("close",l),N=x;break;case"iframe":case"object":case"embed":Et("load",l),N=x;break;case"video":case"audio":for(N=0;NEo&&(d.flags|=128,x=!0,Vl(S,!1),d.lanes=4194304)}else{if(!x)if(l=Ad(T),l!==null){if(d.flags|=128,x=!0,p=l.updateQueue,p!==null&&(d.updateQueue=p,d.flags|=4),Vl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!T.alternate&&!Dt)return $n(d),null}else 2*$t()-S.renderingStartTime>Eo&&p!==1073741824&&(d.flags|=128,x=!0,Vl(S,!1),d.lanes=4194304);S.isBackwards?(T.sibling=d.child,d.child=T):(p=S.last,p!==null?p.sibling=T:d.child=T,S.last=T)}return S.tail!==null?(d=S.tail,S.rendering=d,S.tail=d.sibling,S.renderingStartTime=$t(),d.sibling=null,p=Ft.current,kt(Ft,x?p&1|2:p&1),d):($n(d),null);case 22:case 23:return Yp(),x=d.memoizedState!==null,l!==null&&l.memoizedState!==null!==x&&(d.flags|=8192),x&&(d.mode&1)!==0?(br&1073741824)!==0&&($n(d),d.subtreeFlags&6&&(d.flags|=8192)):$n(d),null;case 24:return null;case 25:return null}throw Error(n(156,d.tag))}function D4(l,d){switch(ip(d),d.tag){case 1:return ir(d.type)&&vd(),l=d.flags,l&65536?(d.flags=l&-65537|128,d):null;case 3:return jo(),Tt(sr),Tt(_n),yp(),l=d.flags,(l&65536)!==0&&(l&128)===0?(d.flags=l&-65537|128,d):null;case 5:return gp(d),null;case 13:if(Tt(Ft),l=d.memoizedState,l!==null&&l.dehydrated!==null){if(d.alternate===null)throw Error(n(340));vo()}return l=d.flags,l&65536?(d.flags=l&-65537|128,d):null;case 19:return Tt(Ft),null;case 4:return jo(),null;case 10:return up(d.type._context),null;case 22:case 23:return Yp(),null;case 24:return null;default:return null}}var $d=!1,Fn=!1,L4=typeof WeakSet=="function"?WeakSet:Set,Pe=null;function So(l,d){var p=l.ref;if(p!==null)if(typeof p=="function")try{p(null)}catch(x){Ht(l,d,x)}else p.current=null}function zp(l,d,p){try{p()}catch(x){Ht(l,d,x)}}var Dv=!1;function _4(l,d){if(Yf=id,l=fy(),Vf(l)){if("selectionStart"in l)var p={start:l.selectionStart,end:l.selectionEnd};else e:{p=(p=l.ownerDocument)&&p.defaultView||window;var x=p.getSelection&&p.getSelection();if(x&&x.rangeCount!==0){p=x.anchorNode;var N=x.anchorOffset,S=x.focusNode;x=x.focusOffset;try{p.nodeType,S.nodeType}catch{p=null;break e}var T=0,z=-1,K=-1,le=0,ye=0,be=l,xe=null;t:for(;;){for(var Ie;be!==p||N!==0&&be.nodeType!==3||(z=T+N),be!==S||x!==0&&be.nodeType!==3||(K=T+x),be.nodeType===3&&(T+=be.nodeValue.length),(Ie=be.firstChild)!==null;)xe=be,be=Ie;for(;;){if(be===l)break t;if(xe===p&&++le===N&&(z=T),xe===S&&++ye===x&&(K=T),(Ie=be.nextSibling)!==null)break;be=xe,xe=be.parentNode}be=Ie}p=z===-1||K===-1?null:{start:z,end:K}}else p=null}p=p||{start:0,end:0}}else p=null;for(Qf={focusedElem:l,selectionRange:p},id=!1,Pe=d;Pe!==null;)if(d=Pe,l=d.child,(d.subtreeFlags&1028)!==0&&l!==null)l.return=d,Pe=l;else for(;Pe!==null;){d=Pe;try{var Oe=d.alternate;if((d.flags&1024)!==0)switch(d.tag){case 0:case 11:case 15:break;case 1:if(Oe!==null){var _e=Oe.memoizedProps,Yt=Oe.memoizedState,ne=d.stateNode,J=ne.getSnapshotBeforeUpdate(d.elementType===d.type?_e:Ur(d.type,_e),Yt);ne.__reactInternalSnapshotBeforeUpdate=J}break;case 3:var se=d.stateNode.containerInfo;se.nodeType===1?se.textContent="":se.nodeType===9&&se.documentElement&&se.removeChild(se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ne){Ht(d,d.return,Ne)}if(l=d.sibling,l!==null){l.return=d.return,Pe=l;break}Pe=d.return}return Oe=Dv,Dv=!1,Oe}function Hl(l,d,p){var x=d.updateQueue;if(x=x!==null?x.lastEffect:null,x!==null){var N=x=x.next;do{if((N.tag&l)===l){var S=N.destroy;N.destroy=void 0,S!==void 0&&zp(d,p,S)}N=N.next}while(N!==x)}}function Fd(l,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var p=d=d.next;do{if((p.tag&l)===l){var x=p.create;p.destroy=x()}p=p.next}while(p!==d)}}function $p(l){var d=l.ref;if(d!==null){var p=l.stateNode;switch(l.tag){case 5:l=p;break;default:l=p}typeof d=="function"?d(l):d.current=l}}function Lv(l){var d=l.alternate;d!==null&&(l.alternate=null,Lv(d)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(d=l.stateNode,d!==null&&(delete d[fs],delete d[Il],delete d[tp],delete d[v4],delete d[b4])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function _v(l){return l.tag===5||l.tag===3||l.tag===4}function zv(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||_v(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Fp(l,d,p){var x=l.tag;if(x===5||x===6)l=l.stateNode,d?p.nodeType===8?p.parentNode.insertBefore(l,d):p.insertBefore(l,d):(p.nodeType===8?(d=p.parentNode,d.insertBefore(l,p)):(d=p,d.appendChild(l)),p=p._reactRootContainer,p!=null||d.onclick!==null||(d.onclick=xd));else if(x!==4&&(l=l.child,l!==null))for(Fp(l,d,p),l=l.sibling;l!==null;)Fp(l,d,p),l=l.sibling}function Bp(l,d,p){var x=l.tag;if(x===5||x===6)l=l.stateNode,d?p.insertBefore(l,d):p.appendChild(l);else if(x!==4&&(l=l.child,l!==null))for(Bp(l,d,p),l=l.sibling;l!==null;)Bp(l,d,p),l=l.sibling}var Tn=null,Kr=!1;function wi(l,d,p){for(p=p.child;p!==null;)$v(l,d,p),p=p.sibling}function $v(l,d,p){if(gr&&typeof gr.onCommitFiberUnmount=="function")try{gr.onCommitFiberUnmount(pa,p)}catch{}switch(p.tag){case 5:Fn||So(p,d);case 6:var x=Tn,N=Kr;Tn=null,wi(l,d,p),Tn=x,Kr=N,Tn!==null&&(Kr?(l=Tn,p=p.stateNode,l.nodeType===8?l.parentNode.removeChild(p):l.removeChild(p)):Tn.removeChild(p.stateNode));break;case 18:Tn!==null&&(Kr?(l=Tn,p=p.stateNode,l.nodeType===8?ep(l.parentNode,p):l.nodeType===1&&ep(l,p),wl(l)):ep(Tn,p.stateNode));break;case 4:x=Tn,N=Kr,Tn=p.stateNode.containerInfo,Kr=!0,wi(l,d,p),Tn=x,Kr=N;break;case 0:case 11:case 14:case 15:if(!Fn&&(x=p.updateQueue,x!==null&&(x=x.lastEffect,x!==null))){N=x=x.next;do{var S=N,T=S.destroy;S=S.tag,T!==void 0&&((S&2)!==0||(S&4)!==0)&&zp(p,d,T),N=N.next}while(N!==x)}wi(l,d,p);break;case 1:if(!Fn&&(So(p,d),x=p.stateNode,typeof x.componentWillUnmount=="function"))try{x.props=p.memoizedProps,x.state=p.memoizedState,x.componentWillUnmount()}catch(z){Ht(p,d,z)}wi(l,d,p);break;case 21:wi(l,d,p);break;case 22:p.mode&1?(Fn=(x=Fn)||p.memoizedState!==null,wi(l,d,p),Fn=x):wi(l,d,p);break;default:wi(l,d,p)}}function Fv(l){var d=l.updateQueue;if(d!==null){l.updateQueue=null;var p=l.stateNode;p===null&&(p=l.stateNode=new L4),d.forEach(function(x){var N=K4.bind(null,l,x);p.has(x)||(p.add(x),x.then(N,N))})}}function qr(l,d){var p=d.deletions;if(p!==null)for(var x=0;xN&&(N=T),x&=~S}if(x=N,x=$t()-x,x=(120>x?120:480>x?480:1080>x?1080:1920>x?1920:3e3>x?3e3:4320>x?4320:1960*$4(x/1960))-x,10l?16:l,ji===null)var x=!1;else{if(l=ji,ji=null,Ud=0,(dt&6)!==0)throw Error(n(331));var N=dt;for(dt|=4,Pe=l.current;Pe!==null;){var S=Pe,T=S.child;if((Pe.flags&16)!==0){var z=S.deletions;if(z!==null){for(var K=0;K$t()-Wp?ka(l,0):Hp|=p),lr(l,d)}function Zv(l,d){d===0&&((l.mode&1)===0?d=1:(d=Ot,Ot<<=1,(Ot&130023424)===0&&(Ot=4194304)));var p=Xn();l=Ps(l,d),l!==null&&(li(l,d,p),lr(l,p))}function U4(l){var d=l.memoizedState,p=0;d!==null&&(p=d.retryLane),Zv(l,p)}function K4(l,d){var p=0;switch(l.tag){case 13:var x=l.stateNode,N=l.memoizedState;N!==null&&(p=N.retryLane);break;case 19:x=l.stateNode;break;default:throw Error(n(314))}x!==null&&x.delete(d),Zv(l,p)}var eb;eb=function(l,d,p){if(l!==null)if(l.memoizedProps!==d.pendingProps||sr.current)ar=!0;else{if((l.lanes&p)===0&&(d.flags&128)===0)return ar=!1,P4(l,d,p);ar=(l.flags&131072)!==0}else ar=!1,Dt&&(d.flags&1048576)!==0&&Py(d,jd,d.index);switch(d.lanes=0,d.tag){case 2:var x=d.type;zd(l,d),l=d.pendingProps;var N=go(d,_n.current);No(d,p),N=wp(null,d,x,l,N,p);var S=Np();return d.flags|=1,typeof N=="object"&&N!==null&&typeof N.render=="function"&&N.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,ir(x)?(S=!0,bd(d)):S=!1,d.memoizedState=N.state!==null&&N.state!==void 0?N.state:null,pp(d),N.updater=Ld,d.stateNode=N,N._reactInternals=d,Tp(d,x,l,p),d=Ip(null,d,x,!0,S,p)):(d.tag=0,Dt&&S&&sp(d),Qn(null,d,N,p),d=d.child),d;case 16:x=d.elementType;e:{switch(zd(l,d),l=d.pendingProps,N=x._init,x=N(x._payload),d.type=x,N=d.tag=G4(x),l=Ur(x,l),N){case 0:d=Rp(null,d,x,l,p);break e;case 1:d=Cv(null,d,x,l,p);break e;case 11:d=wv(null,d,x,l,p);break e;case 14:d=Nv(null,d,x,Ur(x.type,l),p);break e}throw Error(n(306,x,""))}return d;case 0:return x=d.type,N=d.pendingProps,N=d.elementType===x?N:Ur(x,N),Rp(l,d,x,N,p);case 1:return x=d.type,N=d.pendingProps,N=d.elementType===x?N:Ur(x,N),Cv(l,d,x,N,p);case 3:e:{if(Ev(d),l===null)throw Error(n(387));x=d.pendingProps,S=d.memoizedState,N=S.element,Vy(l,d),Md(d,x,null,p);var T=d.memoizedState;if(x=T.element,S.isDehydrated)if(S={element:x,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},d.updateQueue.baseState=S,d.memoizedState=S,d.flags&256){N=ko(Error(n(423)),d),d=Tv(l,d,x,p,N);break e}else if(x!==N){N=ko(Error(n(424)),d),d=Tv(l,d,x,p,N);break e}else for(vr=mi(d.stateNode.containerInfo.firstChild),yr=d,Dt=!0,Wr=null,p=Fy(d,null,x,p),d.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(vo(),x===N){d=Ds(l,d,p);break e}Qn(l,d,x,p)}d=d.child}return d;case 5:return Uy(d),l===null&&op(d),x=d.type,N=d.pendingProps,S=l!==null?l.memoizedProps:null,T=N.children,Xf(x,N)?T=null:S!==null&&Xf(x,S)&&(d.flags|=32),Sv(l,d),Qn(l,d,T,p),d.child;case 6:return l===null&&op(d),null;case 13:return Mv(l,d,p);case 4:return mp(d,d.stateNode.containerInfo),x=d.pendingProps,l===null?d.child=bo(d,null,x,p):Qn(l,d,x,p),d.child;case 11:return x=d.type,N=d.pendingProps,N=d.elementType===x?N:Ur(x,N),wv(l,d,x,N,p);case 7:return Qn(l,d,d.pendingProps,p),d.child;case 8:return Qn(l,d,d.pendingProps.children,p),d.child;case 12:return Qn(l,d,d.pendingProps.children,p),d.child;case 10:e:{if(x=d.type._context,N=d.pendingProps,S=d.memoizedProps,T=N.value,kt(Cd,x._currentValue),x._currentValue=T,S!==null)if(Hr(S.value,T)){if(S.children===N.children&&!sr.current){d=Ds(l,d,p);break e}}else for(S=d.child,S!==null&&(S.return=d);S!==null;){var z=S.dependencies;if(z!==null){T=S.child;for(var K=z.firstContext;K!==null;){if(K.context===x){if(S.tag===1){K=Os(-1,p&-p),K.tag=2;var le=S.updateQueue;if(le!==null){le=le.shared;var ye=le.pending;ye===null?K.next=K:(K.next=ye.next,ye.next=K),le.pending=K}}S.lanes|=p,K=S.alternate,K!==null&&(K.lanes|=p),hp(S.return,p,d),z.lanes|=p;break}K=K.next}}else if(S.tag===10)T=S.type===d.type?null:S.child;else if(S.tag===18){if(T=S.return,T===null)throw Error(n(341));T.lanes|=p,z=T.alternate,z!==null&&(z.lanes|=p),hp(T,p,d),T=S.sibling}else T=S.child;if(T!==null)T.return=S;else for(T=S;T!==null;){if(T===d){T=null;break}if(S=T.sibling,S!==null){S.return=T.return,T=S;break}T=T.return}S=T}Qn(l,d,N.children,p),d=d.child}return d;case 9:return N=d.type,x=d.pendingProps.children,No(d,p),N=Ar(N),x=x(N),d.flags|=1,Qn(l,d,x,p),d.child;case 14:return x=d.type,N=Ur(x,d.pendingProps),N=Ur(x.type,N),Nv(l,d,x,N,p);case 15:return jv(l,d,d.type,d.pendingProps,p);case 17:return x=d.type,N=d.pendingProps,N=d.elementType===x?N:Ur(x,N),zd(l,d),d.tag=1,ir(x)?(l=!0,bd(d)):l=!1,No(d,p),pv(d,x,N),Tp(d,x,N,p),Ip(null,d,x,!0,l,p);case 19:return Rv(l,d,p);case 22:return kv(l,d,p)}throw Error(n(156,d.tag))};function tb(l,d){return Xc(l,d)}function q4(l,d,p,x){this.tag=l,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pr(l,d,p,x){return new q4(l,d,p,x)}function Xp(l){return l=l.prototype,!(!l||!l.isReactComponent)}function G4(l){if(typeof l=="function")return Xp(l)?1:0;if(l!=null){if(l=l.$$typeof,l===X)return 11;if(l===_)return 14}return 2}function Ci(l,d){var p=l.alternate;return p===null?(p=Pr(l.tag,d,l.key,l.mode),p.elementType=l.elementType,p.type=l.type,p.stateNode=l.stateNode,p.alternate=l,l.alternate=p):(p.pendingProps=d,p.type=l.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=l.flags&14680064,p.childLanes=l.childLanes,p.lanes=l.lanes,p.child=l.child,p.memoizedProps=l.memoizedProps,p.memoizedState=l.memoizedState,p.updateQueue=l.updateQueue,d=l.dependencies,p.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},p.sibling=l.sibling,p.index=l.index,p.ref=l.ref,p}function Jd(l,d,p,x,N,S){var T=2;if(x=l,typeof l=="function")Xp(l)&&(T=1);else if(typeof l=="string")T=5;else e:switch(l){case R:return Ca(p.children,N,S,d);case I:T=8,N|=8;break;case A:return l=Pr(12,p,d,N|2),l.elementType=A,l.lanes=S,l;case q:return l=Pr(13,p,d,N),l.elementType=q,l.lanes=S,l;case Z:return l=Pr(19,p,d,N),l.elementType=Z,l.lanes=S,l;case oe:return Yd(p,N,S,d);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case O:T=10;break e;case W:T=9;break e;case X:T=11;break e;case _:T=14;break e;case $:T=16,x=null;break e}throw Error(n(130,l==null?l:typeof l,""))}return d=Pr(T,p,d,N),d.elementType=l,d.type=x,d.lanes=S,d}function Ca(l,d,p,x){return l=Pr(7,l,x,d),l.lanes=p,l}function Yd(l,d,p,x){return l=Pr(22,l,x,d),l.elementType=oe,l.lanes=p,l.stateNode={isHidden:!1},l}function Zp(l,d,p){return l=Pr(6,l,null,d),l.lanes=p,l}function em(l,d,p){return d=Pr(4,l.children!==null?l.children:[],l.key,d),d.lanes=p,d.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},d}function J4(l,d,p,x,N){this.tag=d,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=sn(0),this.expirationTimes=sn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sn(0),this.identifierPrefix=x,this.onRecoverableError=N,this.mutableSourceEagerHydrationData=null}function tm(l,d,p,x,N,S,T,z,K){return l=new J4(l,d,p,z,K),d===1?(d=1,S===!0&&(d|=8)):d=0,S=Pr(3,null,null,d),l.current=S,S.stateNode=l,S.memoizedState={element:x,isDehydrated:p,cache:null,transitions:null,pendingSuspenseBoundaries:null},pp(S),l}function Y4(l,d,p){var x=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),om.exports=l3(),om.exports}var mb;function c3(){if(mb)return ru;mb=1;var t=yN();return ru.createRoot=t.createRoot,ru.hydrateRoot=t.hydrateRoot,ru}var d3=c3(),Fc=yN();const vN=xN(Fc);/** - * @remix-run/router v1.23.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function wc(){return wc=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u")throw new Error(e)}function xx(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function h3(){return Math.random().toString(36).substr(2,8)}function xb(t,e){return{usr:t.state,key:t.key,idx:e}}function og(t,e,n,r){return n===void 0&&(n=null),wc({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?il(e):e,{state:n,key:e&&e.key||r||h3()})}function Fu(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function il(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function f3(t,e,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:a=!1}=r,o=s.history,c=$i.Pop,u=null,h=f();h==null&&(h=0,o.replaceState(wc({},o.state,{idx:h}),""));function f(){return(o.state||{idx:null}).idx}function m(){c=$i.Pop;let w=f(),k=w==null?null:w-h;h=w,u&&u({action:c,location:j.location,delta:k})}function g(w,k){c=$i.Push;let E=og(j.location,w,k);h=f()+1;let C=xb(E,h),M=j.createHref(E);try{o.pushState(C,"",M)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(M)}a&&u&&u({action:c,location:j.location,delta:1})}function y(w,k){c=$i.Replace;let E=og(j.location,w,k);h=f();let C=xb(E,h),M=j.createHref(E);o.replaceState(C,"",M),a&&u&&u({action:c,location:j.location,delta:0})}function v(w){let k=s.location.origin!=="null"?s.location.origin:s.location.href,E=typeof w=="string"?w:Fu(w);return E=E.replace(/ $/,"%20"),nn(k,"No window.location.(origin|href) available to create URL for href: "+E),new URL(E,k)}let j={get action(){return c},get location(){return t(s,o)},listen(w){if(u)throw new Error("A history only accepts one active listener");return s.addEventListener(gb,m),u=w,()=>{s.removeEventListener(gb,m),u=null}},createHref(w){return e(s,w)},createURL:v,encodeLocation(w){let k=v(w);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:g,replace:y,go(w){return o.go(w)}};return j}var yb;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(yb||(yb={}));function p3(t,e,n){return n===void 0&&(n="/"),m3(t,e,n)}function m3(t,e,n,r){let s=typeof e=="string"?il(e):e,a=yx(s.pathname||"/",n);if(a==null)return null;let o=bN(t);g3(o);let c=null;for(let u=0;c==null&&u{let u={relativePath:c===void 0?a.path||"":c,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};u.relativePath.startsWith("/")&&(nn(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let h=Wi([r,u.relativePath]),f=n.concat(u);a.children&&a.children.length>0&&(nn(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),bN(a.children,e,f,h)),!(a.path==null&&!a.index)&&e.push({path:h,score:j3(h,a.index),routesMeta:f})};return t.forEach((a,o)=>{var c;if(a.path===""||!((c=a.path)!=null&&c.includes("?")))s(a,o);else for(let u of wN(a.path))s(a,o,u)}),e}function wN(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let o=wN(r.join("/")),c=[];return c.push(...o.map(u=>u===""?a:[a,u].join("/"))),s&&c.push(...o),c.map(u=>t.startsWith("/")&&u===""?"/":u)}function g3(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:k3(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const x3=/^:[\w-]+$/,y3=3,v3=2,b3=1,w3=10,N3=-2,vb=t=>t==="*";function j3(t,e){let n=t.split("/"),r=n.length;return n.some(vb)&&(r+=N3),e&&(r+=v3),n.filter(s=>!vb(s)).reduce((s,a)=>s+(x3.test(a)?y3:a===""?b3:w3),r)}function k3(t,e){return t.length===e.length&&t.slice(0,-1).every((r,s)=>r===e[s])?t[t.length-1]-e[e.length-1]:0}function S3(t,e,n){let{routesMeta:r}=t,s={},a="/",o=[];for(let c=0;c{let{paramName:g,isOptional:y}=f;if(g==="*"){let j=c[m]||"";o=a.slice(0,a.length-j.length).replace(/(.)\/+$/,"$1")}const v=c[m];return y&&!v?h[g]=void 0:h[g]=(v||"").replace(/%2F/g,"/"),h},{}),pathname:a,pathnameBase:o,pattern:t}}function E3(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),xx(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,c,u)=>(r.push({paramName:c,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),r]}function T3(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return xx(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function yx(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const M3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,A3=t=>M3.test(t);function R3(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:s=""}=typeof t=="string"?il(t):t,a;if(n)if(A3(n))a=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),xx(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?a=bb(n.substring(1),"/"):a=bb(n,e)}else a=e;return{pathname:a,search:O3(r),hash:D3(s)}}function bb(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function dm(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function I3(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function vx(t,e){let n=I3(t);return e?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function bx(t,e,n,r){r===void 0&&(r=!1);let s;typeof t=="string"?s=il(t):(s=wc({},t),nn(!s.pathname||!s.pathname.includes("?"),dm("?","pathname","search",s)),nn(!s.pathname||!s.pathname.includes("#"),dm("#","pathname","hash",s)),nn(!s.search||!s.search.includes("#"),dm("#","search","hash",s)));let a=t===""||s.pathname==="",o=a?"/":s.pathname,c;if(o==null)c=n;else{let m=e.length-1;if(!r&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),m-=1;s.pathname=g.join("/")}c=m>=0?e[m]:"/"}let u=R3(s,c),h=o&&o!=="/"&&o.endsWith("/"),f=(a||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(h||f)&&(u.pathname+="/"),u}const Wi=t=>t.join("/").replace(/\/\/+/g,"/"),P3=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),O3=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,D3=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function L3(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const NN=["post","put","patch","delete"];new Set(NN);const _3=["get",...NN];new Set(_3);/** - * React Router v6.30.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Nc(){return Nc=Object.assign?Object.assign.bind():function(t){for(var e=1;e{c.current=!0}),b.useCallback(function(h,f){if(f===void 0&&(f={}),!c.current)return;if(typeof h=="number"){r.go(h);return}let m=bx(h,JSON.parse(o),a,f.relative==="path");t==null&&e!=="/"&&(m.pathname=m.pathname==="/"?e:Wi([e,m.pathname])),(f.replace?r.replace:r.push)(m,f.state,f)},[e,r,o,a,t])}const B3=b.createContext(null);function V3(t){let e=b.useContext(ti).outlet;return e&&b.createElement(B3.Provider,{value:t},e)}function SN(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=b.useContext(na),{matches:s}=b.useContext(ti),{pathname:a}=ra(),o=JSON.stringify(vx(s,r.v7_relativeSplatPath));return b.useMemo(()=>bx(t,JSON.parse(o),a,n==="path"),[t,o,a,n])}function H3(t,e){return W3(t,e)}function W3(t,e,n,r){al()||nn(!1);let{navigator:s}=b.useContext(na),{matches:a}=b.useContext(ti),o=a[a.length-1],c=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let h=ra(),f;if(e){var m;let w=typeof e=="string"?il(e):e;u==="/"||(m=w.pathname)!=null&&m.startsWith(u)||nn(!1),f=w}else f=h;let g=f.pathname||"/",y=g;if(u!=="/"){let w=u.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=p3(t,{pathname:y}),j=J3(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},c,w.params),pathname:Wi([u,s.encodeLocation?s.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:Wi([u,s.encodeLocation?s.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),a,n,r);return e&&j?b.createElement(Hh.Provider,{value:{location:Nc({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:$i.Pop}},j):j}function U3(){let t=Z3(),e=L3(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},e),n?b.createElement("pre",{style:s},n):null,null)}const K3=b.createElement(U3,null);class q3 extends b.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?b.createElement(ti.Provider,{value:this.props.routeContext},b.createElement(jN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function G3(t){let{routeContext:e,match:n,children:r}=t,s=b.useContext(wx);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ti.Provider,{value:e},r)}function J3(t,e,n,r){var s;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var a;if(!n)return null;if(n.errors)t=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let o=t,c=(s=n)==null?void 0:s.errors;if(c!=null){let f=o.findIndex(m=>m.route.id&&(c==null?void 0:c[m.route.id])!==void 0);f>=0||nn(!1),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,h=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?o=o.slice(0,h+1):o=[o[0]];break}}}return o.reduceRight((f,m,g)=>{let y,v=!1,j=null,w=null;n&&(y=c&&m.route.id?c[m.route.id]:void 0,j=m.route.errorElement||K3,u&&(h<0&&g===0?(tT("route-fallback"),v=!0,w=null):h===g&&(v=!0,w=m.route.hydrateFallbackElement||null)));let k=e.concat(o.slice(0,g+1)),E=()=>{let C;return y?C=j:v?C=w:m.route.Component?C=b.createElement(m.route.Component,null):m.route.element?C=m.route.element:C=f,b.createElement(G3,{match:m,routeContext:{outlet:f,matches:k,isDataRoute:n!=null},children:C})};return n&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?b.createElement(q3,{location:n.location,revalidation:n.revalidation,component:j,error:y,children:E(),routeContext:{outlet:null,matches:k,isDataRoute:!0}}):E()},null)}var CN=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(CN||{}),EN=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(EN||{});function Y3(t){let e=b.useContext(wx);return e||nn(!1),e}function Q3(t){let e=b.useContext(z3);return e||nn(!1),e}function X3(t){let e=b.useContext(ti);return e||nn(!1),e}function TN(t){let e=X3(),n=e.matches[e.matches.length-1];return n.route.id||nn(!1),n.route.id}function Z3(){var t;let e=b.useContext(jN),n=Q3(),r=TN();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function eT(){let{router:t}=Y3(CN.UseNavigateStable),e=TN(EN.UseNavigateStable),n=b.useRef(!1);return kN(()=>{n.current=!0}),b.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?t.navigate(s):t.navigate(s,Nc({fromRouteId:e},a)))},[t,e])}const wb={};function tT(t,e,n){wb[t]||(wb[t]=!0)}function nT(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function um(t){let{to:e,replace:n,state:r,relative:s}=t;al()||nn(!1);let{future:a,static:o}=b.useContext(na),{matches:c}=b.useContext(ti),{pathname:u}=ra(),h=sa(),f=bx(e,vx(c,a.v7_relativeSplatPath),u,s==="path"),m=JSON.stringify(f);return b.useEffect(()=>h(JSON.parse(m),{replace:n,state:r,relative:s}),[h,m,s,n,r]),null}function rT(t){return V3(t.context)}function Mt(t){nn(!1)}function sT(t){let{basename:e="/",children:n=null,location:r,navigationType:s=$i.Pop,navigator:a,static:o=!1,future:c}=t;al()&&nn(!1);let u=e.replace(/^\/*/,"/"),h=b.useMemo(()=>({basename:u,navigator:a,static:o,future:Nc({v7_relativeSplatPath:!1},c)}),[u,c,a,o]);typeof r=="string"&&(r=il(r));let{pathname:f="/",search:m="",hash:g="",state:y=null,key:v="default"}=r,j=b.useMemo(()=>{let w=yx(f,u);return w==null?null:{location:{pathname:w,search:m,hash:g,state:y,key:v},navigationType:s}},[u,f,m,g,y,v,s]);return j==null?null:b.createElement(na.Provider,{value:h},b.createElement(Hh.Provider,{children:n,value:j}))}function iT(t){let{children:e,location:n}=t;return H3(lg(e),n)}new Promise(()=>{});function lg(t,e){e===void 0&&(e=[]);let n=[];return b.Children.forEach(t,(r,s)=>{if(!b.isValidElement(r))return;let a=[...e,s];if(r.type===b.Fragment){n.push.apply(n,lg(r.props.children,a));return}r.type!==Mt&&nn(!1),!r.props.index||!r.props.children||nn(!1);let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=lg(r.props.children,a)),n.push(o)}),n}/** - * React Router DOM v6.30.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function cg(){return cg=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[s]=t[s]);return n}function oT(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function lT(t,e){return t.button===0&&(!e||e==="_self")&&!oT(t)}function dg(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function cT(t,e){let n=dg(t);return e&&e.forEach((r,s)=>{n.has(s)||e.getAll(s).forEach(a=>{n.append(s,a)})}),n}const dT=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],uT="6";try{window.__reactRouterVersion=uT}catch{}const hT="startTransition",Nb=Vh[hT];function fT(t){let{basename:e,children:n,future:r,window:s}=t,a=b.useRef();a.current==null&&(a.current=u3({window:s,v5Compat:!0}));let o=a.current,[c,u]=b.useState({action:o.action,location:o.location}),{v7_startTransition:h}=r||{},f=b.useCallback(m=>{h&&Nb?Nb(()=>u(m)):u(m)},[u,h]);return b.useLayoutEffect(()=>o.listen(f),[o,f]),b.useEffect(()=>nT(r),[r]),b.createElement(sT,{basename:e,children:n,location:c.location,navigationType:c.action,navigator:o,future:r})}const pT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",mT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ug=b.forwardRef(function(e,n){let{onClick:r,relative:s,reloadDocument:a,replace:o,state:c,target:u,to:h,preventScrollReset:f,viewTransition:m}=e,g=aT(e,dT),{basename:y}=b.useContext(na),v,j=!1;if(typeof h=="string"&&mT.test(h)&&(v=h,pT))try{let C=new URL(window.location.href),M=h.startsWith("//")?new URL(C.protocol+h):new URL(h),D=yx(M.pathname,y);M.origin===C.origin&&D!=null?h=D+M.search+M.hash:j=!0}catch{}let w=$3(h,{relative:s}),k=gT(h,{replace:o,state:c,target:u,preventScrollReset:f,relative:s,viewTransition:m});function E(C){r&&r(C),C.defaultPrevented||k(C)}return b.createElement("a",cg({},g,{href:v||w,onClick:j||a?r:E,ref:n,target:u}))});var jb;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(jb||(jb={}));var kb;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(kb||(kb={}));function gT(t,e){let{target:n,replace:r,state:s,preventScrollReset:a,relative:o,viewTransition:c}=e===void 0?{}:e,u=sa(),h=ra(),f=SN(t,{relative:o});return b.useCallback(m=>{if(lT(m,n)){m.preventDefault();let g=r!==void 0?r:Fu(h)===Fu(f);u(t,{replace:g,state:s,preventScrollReset:a,relative:o,viewTransition:c})}},[h,u,f,r,s,n,t,a,o,c])}function MN(t){let e=b.useRef(dg(t)),n=b.useRef(!1),r=ra(),s=b.useMemo(()=>cT(r.search,n.current?null:e.current),[r.search]),a=sa(),o=b.useCallback((c,u)=>{const h=dg(typeof c=="function"?c(s):c);n.current=!0,a("?"+h,u)},[a,s]);return[s,o]}/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const xT=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),yT=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),Sb=t=>{const e=yT(t);return e.charAt(0).toUpperCase()+e.slice(1)},AN=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim(),vT=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var bT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const wT=b.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:a,iconNode:o,...c},u)=>b.createElement("svg",{ref:u,...bT,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:AN("lucide",s),...!a&&!vT(c)&&{"aria-hidden":"true"},...c},[...o.map(([h,f])=>b.createElement(h,f)),...Array.isArray(a)?a:[a]]));/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const je=(t,e)=>{const n=b.forwardRef(({className:r,...s},a)=>b.createElement(wT,{ref:a,iconNode:e,className:AN(`lucide-${xT(Sb(t))}`,`lucide-${t}`,r),...s}));return n.displayName=Sb(t),n};/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const NT=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],jT=je("arrow-up-down",NT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const kT=[["path",{d:"M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727",key:"yr8idg"}]],Cb=je("bitcoin",kT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ST=[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]],CT=je("bold",ST);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ET=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],zr=je("book-open",ET);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const TT=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Bu=je("calendar",TT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const MT=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],AT=je("chart-column",MT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const RT=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Wh=je("check",RT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const IT=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],jc=je("chevron-down",IT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const PT=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],OT=je("chevron-left",PT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const DT=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Fo=je("chevron-right",DT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const LT=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],RN=je("chevron-up",LT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const _T=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],zT=je("circle-alert",_T);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const $T=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Eb=je("circle-check-big",$T);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const FT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],hg=je("circle-check",FT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const BT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],IN=je("circle-question-mark",BT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const VT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],hm=je("circle-user",VT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const HT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],PN=je("circle-x",HT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const WT=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],fg=je("clock",WT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const UT=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],KT=je("code",UT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qT=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],ON=je("copy",qT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const GT=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Tb=je("credit-card",GT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const JT=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],Aa=je("crown",JT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const YT=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],Vu=je("dollar-sign",YT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const QT=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],XT=je("download",QT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ZT=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Xs=je("external-link",ZT);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const eM=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],pg=je("eye",eM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const tM=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],nM=je("file-text",tM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const rM=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],DN=je("funnel",rM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const sM=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],iM=je("gift",sM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const aM=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],oM=je("git-merge",aM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const lM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],mg=je("globe",lM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const cM=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],dM=je("graduation-cap",cM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const uM=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],_s=je("grip-vertical",uM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const hM=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],fM=je("handshake",hM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const pM=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],mM=je("hash",pM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const gM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]],xM=je("heading-1",gM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const yM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]],vM=je("heading-2",yM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const bM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]],wM=je("heading-3",bM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const NM=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],jM=je("house",NM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const kM=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],LN=je("image",kM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const SM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],su=je("info",SM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const CM=[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]],EM=je("italic",CM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const TM=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],MM=je("key",TM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const AM=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],RM=je("layout-dashboard",AM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const IM=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Gs=je("link-2",IM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const PM=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],gg=je("link",PM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const OM=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],DM=je("list-ordered",OM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const LM=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],_M=je("list",LM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const zM=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],$M=je("lock",zM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const FM=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],BM=je("log-out",FM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const VM=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],_N=je("map-pin",VM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const HM=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],WM=je("menu",HM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const UM=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],KM=je("message-circle",UM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qM=[["path",{d:"M5 12h14",key:"1ays0h"}]],GM=je("minus",qM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const JM=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],Bo=je("navigation",JM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const YM=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],QM=je("palette",YM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const XM=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],bt=je("pen-line",XM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ZM=[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]],eA=je("percent",ZM);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const tA=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],nA=je("phone",tA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const rA=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]],sA=je("pin",rA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const iA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Lt=je("plus",iA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const aA=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],Mb=je("qr-code",aA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const oA=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],lA=je("quote",oA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const cA=[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],dA=je("redo",cA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const uA=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],qe=je("refresh-cw",uA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const hA=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],rn=je("save",hA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const fA=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ui=je("search",fA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const pA=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],mA=je("send",pA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const gA=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Da=je("settings",gA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const xA=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],fm=je("settings-2",xA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const yA=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Nx=je("shield-check",yA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const vA=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],xg=je("shopping-bag",vA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const bA=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],kc=je("smartphone",bA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const wA=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Vo=je("star",wA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const NA=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],jA=je("strikethrough",NA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const kA=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],SA=je("table",kA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const CA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],pm=je("tag",CA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const EA=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],vn=je("trash-2",EA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const TA=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],cc=je("trending-up",TA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const MA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],Ab=je("trophy",MA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const AA=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],zN=je("undo-2",AA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const RA=[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]],IA=je("undo",RA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const PA=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Hu=je("upload",PA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const OA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],yg=je("user-plus",OA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const DA=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Wo=je("user",DA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const LA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Nn=je("users",LA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const _A=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Jo=je("wallet",_A);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const zA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],er=je("x",zA);/** - * @license lucide-react v0.562.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const $A=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Fi=je("zap",$A),jx="admin_token";function kx(){try{return localStorage.getItem(jx)}catch{return null}}function FA(t){try{localStorage.setItem(jx,t)}catch{}}function BA(){try{localStorage.removeItem(jx)}catch{}}const VA="https://soulapi.quwanzhi.com",HA=15e3,WA=()=>{const t="https://soulapi.quwanzhi.com";return t.length>0?t.replace(/\/$/,""):VA};function Yo(t){const e=WA(),n=t.startsWith("/")?t:`/${t}`;return e?`${e}${n}`:n}async function Uh(t,e={}){const{data:n,...r}=e,s=Yo(t),a=new Headers(r.headers),o=kx();o&&a.set("Authorization",`Bearer ${o}`),n!=null&&!a.has("Content-Type")&&a.set("Content-Type","application/json");const c=n!=null?JSON.stringify(n):r.body,u=new AbortController,h=setTimeout(()=>u.abort(),HA),f=await fetch(s,{...r,headers:a,body:c,credentials:"include",signal:u.signal}).finally(()=>clearTimeout(h)),g=(f.headers.get("Content-Type")||"").includes("application/json")?await f.json():f;if(!f.ok){const y=new Error((g==null?void 0:g.error)||`HTTP ${f.status}`);throw y.status=f.status,y.data=g,y}return g}function Be(t,e){return Uh(t,{...e,method:"GET"})}function ht(t,e,n){return Uh(t,{...n,method:"POST",data:e})}function Rt(t,e,n){return Uh(t,{...n,method:"PUT",data:e})}function Yr(t,e){return Uh(t,{...e,method:"DELETE"})}const UA=[{icon:RM,label:"数据概览",href:"/dashboard"},{icon:zr,label:"内容管理",href:"/content"},{icon:Nn,label:"用户管理",href:"/users"},{icon:oM,label:"找伙伴",href:"/find-partner"},{icon:Jo,label:"推广中心",href:"/distribution"}];function KA(){const t=ra(),e=sa(),[n,r]=b.useState(!1),[s,a]=b.useState(!1);b.useEffect(()=>{r(!0)},[]),b.useEffect(()=>{if(!n)return;a(!1);let c=!1;return Be("/api/admin").then(u=>{c||(u&&u.success!==!1?a(!0):e("/login",{replace:!0}))}).catch(()=>{c||e("/login",{replace:!0})}),()=>{c=!0}},[n,e]);const o=async()=>{BA();try{await ht("/api/admin/logout",{})}catch{}e("/login",{replace:!0})};return!n||!s?i.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[i.jsx("div",{className:"w-64 bg-[#0f2137] border-r border-gray-700/50"}),i.jsx("div",{className:"flex-1 flex items-center justify-center",children:i.jsx("div",{className:"text-[#38bdac]",children:"加载中..."})})]}):i.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[i.jsxs("div",{className:"w-64 bg-[#0f2137] flex flex-col border-r border-gray-700/50 shadow-xl",children:[i.jsxs("div",{className:"p-6 border-b border-gray-700/50",children:[i.jsx("h1",{className:"text-xl font-bold text-[#38bdac]",children:"管理后台"}),i.jsx("p",{className:"text-xs text-gray-400 mt-1",children:"Soul创业派对"})]}),i.jsxs("nav",{className:"flex-1 p-4 space-y-1 overflow-y-auto",children:[UA.map(c=>{const u=t.pathname===c.href;return i.jsxs(ug,{to:c.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${u?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[i.jsx(c.icon,{className:"w-5 h-5 shrink-0"}),i.jsx("span",{className:"text-sm",children:c.label})]},c.href)}),i.jsx("div",{className:"pt-4 mt-4 border-t border-gray-700/50",children:i.jsxs(ug,{to:"/settings",className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${t.pathname==="/settings"?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[i.jsx(Da,{className:"w-5 h-5 shrink-0"}),i.jsx("span",{className:"text-sm",children:"系统设置"})]})})]}),i.jsx("div",{className:"p-4 border-t border-gray-700/50 space-y-1",children:i.jsxs("button",{type:"button",onClick:o,className:"w-full flex items-center gap-3 px-4 py-3 text-gray-400 hover:text-white rounded-lg hover:bg-gray-700/50 transition-colors",children:[i.jsx(BM,{className:"w-5 h-5"}),i.jsx("span",{className:"text-sm",children:"退出登录"})]})})]}),i.jsx("div",{className:"flex-1 overflow-auto bg-[#0a1628] min-w-0",children:i.jsx("div",{className:"w-full min-w-[1024px] min-h-full",children:i.jsx(rT,{})})})]})}function Rb(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Sx(...t){return e=>{let n=!1;const r=t.map(s=>{const a=Rb(s,e);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let s=0;s{let{children:a,...o}=r;$N(a)&&typeof Wu=="function"&&(a=Wu(a._payload));const c=b.Children.toArray(a),u=c.find(QA);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return i.jsx(e,{...o,ref:s,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return i.jsx(e,{...o,ref:s,children:a})});return n.displayName=`${t}.Slot`,n}var BN=FN("Slot");function JA(t){const e=b.forwardRef((n,r)=>{let{children:s,...a}=n;if($N(s)&&typeof Wu=="function"&&(s=Wu(s._payload)),b.isValidElement(s)){const o=ZA(s),c=XA(a,s.props);return s.type!==b.Fragment&&(c.ref=r?Sx(r,o):o),b.cloneElement(s,c)}return b.Children.count(s)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var YA=Symbol("radix.slottable");function QA(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===YA}function XA(t,e){const n={...e};for(const r in e){const s=t[r],a=e[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...c)=>{const u=a(...c);return s(...c),u}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...t,...n}}function ZA(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function VN(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(e=0;etypeof t=="boolean"?`${t}`:t===0?"0":t,Pb=HN,WN=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return Pb(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:a}=e,o=Object.keys(s).map(h=>{const f=n==null?void 0:n[h],m=a==null?void 0:a[h];if(f===null)return null;const g=Ib(f)||Ib(m);return s[h][g]}),c=n&&Object.entries(n).reduce((h,f)=>{let[m,g]=f;return g===void 0||(h[m]=g),h},{}),u=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((h,f)=>{let{class:m,className:g,...y}=f;return Object.entries(y).every(v=>{let[j,w]=v;return Array.isArray(w)?w.includes({...a,...c}[j]):{...a,...c}[j]===w})?[...h,m,g]:h},[]);return Pb(t,o,u,n==null?void 0:n.class,n==null?void 0:n.className)},eR=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r({classGroupId:t,validator:e}),UN=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),Uu="-",Ob=[],nR="arbitrary..",rR=t=>{const e=iR(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return sR(o);const c=o.split(Uu),u=c[0]===""&&c.length>1?1:0;return KN(c,u,e)},getConflictingClassGroupIds:(o,c)=>{if(c){const u=r[o],h=n[o];return u?h?eR(h,u):u:h||Ob}return n[o]||Ob}}},KN=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const s=t[e],a=n.nextPart.get(s);if(a){const h=KN(t,e+1,a);if(h)return h}const o=n.validators;if(o===null)return;const c=e===0?t.join(Uu):t.slice(e).join(Uu),u=o.length;for(let h=0;ht.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?nR+r:void 0})(),iR=t=>{const{theme:e,classGroups:n}=t;return aR(n,e)},aR=(t,e)=>{const n=UN();for(const r in t){const s=t[r];Cx(s,n,r,e)}return n},Cx=(t,e,n,r)=>{const s=t.length;for(let a=0;a{if(typeof t=="string"){lR(t,e,n);return}if(typeof t=="function"){cR(t,e,n,r);return}dR(t,e,n,r)},lR=(t,e,n)=>{const r=t===""?e:qN(e,t);r.classGroupId=n},cR=(t,e,n,r)=>{if(uR(t)){Cx(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(tR(n,t))},dR=(t,e,n,r)=>{const s=Object.entries(t),a=s.length;for(let o=0;o{let n=t;const r=e.split(Uu),s=r.length;for(let a=0;a"isThemeGetter"in t&&t.isThemeGetter===!0,hR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const s=(a,o)=>{n[a]=o,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(a){let o=n[a];if(o!==void 0)return o;if((o=r[a])!==void 0)return s(a,o),o},set(a,o){a in n?n[a]=o:s(a,o)}}},vg="!",Db=":",fR=[],Lb=(t,e,n,r,s)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),pR=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=s=>{const a=[];let o=0,c=0,u=0,h;const f=s.length;for(let j=0;ju?h-u:void 0;return Lb(a,y,g,v)};if(e){const s=e+Db,a=r;r=o=>o.startsWith(s)?a(o.slice(s.length)):Lb(fR,!1,o,void 0,!0)}if(n){const s=r;r=a=>n({className:a,parseClassName:s})}return r},mR=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let a=0;a0&&(s.sort(),r.push(...s),s=[]),r.push(o)):s.push(o)}return s.length>0&&(s.sort(),r.push(...s)),r}},gR=t=>({cache:hR(t.cacheSize),parseClassName:pR(t),sortModifiers:mR(t),...rR(t)}),xR=/\s+/,yR=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:a}=e,o=[],c=t.trim().split(xR);let u="";for(let h=c.length-1;h>=0;h-=1){const f=c[h],{isExternal:m,modifiers:g,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:j}=n(f);if(m){u=f+(u.length>0?" "+u:u);continue}let w=!!j,k=r(w?v.substring(0,j):v);if(!k){if(!w){u=f+(u.length>0?" "+u:u);continue}if(k=r(v),!k){u=f+(u.length>0?" "+u:u);continue}w=!1}const E=g.length===0?"":g.length===1?g[0]:a(g).join(":"),C=y?E+vg:E,M=C+k;if(o.indexOf(M)>-1)continue;o.push(M);const D=s(k,w);for(let F=0;F0?" "+u:u)}return u},vR=(...t)=>{let e=0,n,r,s="";for(;e{if(typeof t=="string")return t;let e,n="";for(let r=0;r{let n,r,s,a;const o=u=>{const h=e.reduce((f,m)=>m(f),t());return n=gR(h),r=n.cache.get,s=n.cache.set,a=c,c(u)},c=u=>{const h=r(u);if(h)return h;const f=yR(u,n);return s(u,f),f};return a=o,(...u)=>a(vR(...u))},wR=[],un=t=>{const e=n=>n[t]||wR;return e.isThemeGetter=!0,e},JN=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,YN=/^\((?:(\w[\w-]*):)?(.+)\)$/i,NR=/^\d+\/\d+$/,jR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,SR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,CR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ER=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mo=t=>NR.test(t),at=t=>!!t&&!Number.isNaN(Number(t)),Ti=t=>!!t&&Number.isInteger(Number(t)),mm=t=>t.endsWith("%")&&at(t.slice(0,-1)),zs=t=>jR.test(t),TR=()=>!0,MR=t=>kR.test(t)&&!SR.test(t),QN=()=>!1,AR=t=>CR.test(t),RR=t=>ER.test(t),IR=t=>!De(t)&&!Le(t),PR=t=>ol(t,ej,QN),De=t=>JN.test(t),Ea=t=>ol(t,tj,MR),gm=t=>ol(t,zR,at),_b=t=>ol(t,XN,QN),OR=t=>ol(t,ZN,RR),iu=t=>ol(t,nj,AR),Le=t=>YN.test(t),Jl=t=>ll(t,tj),DR=t=>ll(t,$R),zb=t=>ll(t,XN),LR=t=>ll(t,ej),_R=t=>ll(t,ZN),au=t=>ll(t,nj,!0),ol=(t,e,n)=>{const r=JN.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},ll=(t,e,n=!1)=>{const r=YN.exec(t);return r?r[1]?e(r[1]):n:!1},XN=t=>t==="position"||t==="percentage",ZN=t=>t==="image"||t==="url",ej=t=>t==="length"||t==="size"||t==="bg-size",tj=t=>t==="length",zR=t=>t==="number",$R=t=>t==="family-name",nj=t=>t==="shadow",FR=()=>{const t=un("color"),e=un("font"),n=un("text"),r=un("font-weight"),s=un("tracking"),a=un("leading"),o=un("breakpoint"),c=un("container"),u=un("spacing"),h=un("radius"),f=un("shadow"),m=un("inset-shadow"),g=un("text-shadow"),y=un("drop-shadow"),v=un("blur"),j=un("perspective"),w=un("aspect"),k=un("ease"),E=un("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...M(),Le,De],F=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],I=()=>[Le,De,u],A=()=>[Mo,"full","auto",...I()],O=()=>[Ti,"none","subgrid",Le,De],W=()=>["auto",{span:["full",Ti,Le,De]},Ti,Le,De],X=()=>[Ti,"auto",Le,De],q=()=>["auto","min","max","fr",Le,De],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],_=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...I()],oe=()=>[Mo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],V=()=>[t,Le,De],ae=()=>[...M(),zb,_b,{position:[Le,De]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],L=()=>["auto","cover","contain",LR,PR,{size:[Le,De]}],H=()=>[mm,Jl,Ea],ue=()=>["","none","full",h,Le,De],U=()=>["",at,Jl,Ea],he=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ee=()=>[at,mm,zb,_b],de=()=>["","none",v,Le,De],Ce=()=>["none",at,Le,De],B=()=>["none",at,Le,De],me=()=>[at,Le,De],Se=()=>[Mo,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[zs],breakpoint:[zs],color:[TR],container:[zs],"drop-shadow":[zs],ease:["in","out","in-out"],font:[IR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[zs],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[zs],shadow:[zs],spacing:["px",at],text:[zs],"text-shadow":[zs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Mo,De,Le,w]}],container:["container"],columns:[{columns:[at,De,Le,c]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{start:A()}],end:[{end:A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[Ti,"auto",Le,De]}],basis:[{basis:[Mo,"full","auto",c,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[at,Mo,"auto","initial","none",De]}],grow:[{grow:["",at,Le,De]}],shrink:[{shrink:["",at,Le,De]}],order:[{order:[Ti,"first","last","none",Le,De]}],"grid-cols":[{"grid-cols":O()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":O()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":q()}],"auto-rows":[{"auto-rows":q()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[..._(),"normal"]}],"justify-self":[{"justify-self":["auto",..._()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[..._(),{baseline:["","last"]}]}],"align-self":[{self:["auto",..._(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[..._(),"baseline"]}],"place-self":[{"place-self":["auto",..._()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:oe()}],w:[{w:[c,"screen",...oe()]}],"min-w":[{"min-w":[c,"screen","none",...oe()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...oe()]}],h:[{h:["screen","lh",...oe()]}],"min-h":[{"min-h":["screen","lh","none",...oe()]}],"max-h":[{"max-h":["screen","lh",...oe()]}],"font-size":[{text:["base",n,Jl,Ea]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Le,gm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mm,De]}],"font-family":[{font:[DR,De,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,Le,De]}],"line-clamp":[{"line-clamp":[at,"none",Le,gm]}],leading:[{leading:[a,...I()]}],"list-image":[{"list-image":["none",Le,De]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Le,De]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:[at,"from-font","auto",Le,Ea]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[at,"auto",Le,De]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Le,De]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Le,De]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:L()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ti,Le,De],radial:["",Le,De],conic:[Ti,Le,De]},_R,OR]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:H()}],"gradient-via-pos":[{via:H()}],"gradient-to-pos":[{to:H()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:ue()}],"rounded-s":[{"rounded-s":ue()}],"rounded-e":[{"rounded-e":ue()}],"rounded-t":[{"rounded-t":ue()}],"rounded-r":[{"rounded-r":ue()}],"rounded-b":[{"rounded-b":ue()}],"rounded-l":[{"rounded-l":ue()}],"rounded-ss":[{"rounded-ss":ue()}],"rounded-se":[{"rounded-se":ue()}],"rounded-ee":[{"rounded-ee":ue()}],"rounded-es":[{"rounded-es":ue()}],"rounded-tl":[{"rounded-tl":ue()}],"rounded-tr":[{"rounded-tr":ue()}],"rounded-br":[{"rounded-br":ue()}],"rounded-bl":[{"rounded-bl":ue()}],"border-w":[{border:U()}],"border-w-x":[{"border-x":U()}],"border-w-y":[{"border-y":U()}],"border-w-s":[{"border-s":U()}],"border-w-e":[{"border-e":U()}],"border-w-t":[{"border-t":U()}],"border-w-r":[{"border-r":U()}],"border-w-b":[{"border-b":U()}],"border-w-l":[{"border-l":U()}],"divide-x":[{"divide-x":U()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":U()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...he(),"hidden","none"]}],"divide-style":[{divide:[...he(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...he(),"none","hidden"]}],"outline-offset":[{"outline-offset":[at,Le,De]}],"outline-w":[{outline:["",at,Jl,Ea]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",f,au,iu]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",m,au,iu]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[at,Ea]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":U()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",g,au,iu]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[at,Le,De]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[at]}],"mask-image-linear-from-pos":[{"mask-linear-from":ee()}],"mask-image-linear-to-pos":[{"mask-linear-to":ee()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":ee()}],"mask-image-t-to-pos":[{"mask-t-to":ee()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":ee()}],"mask-image-r-to-pos":[{"mask-r-to":ee()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":ee()}],"mask-image-b-to-pos":[{"mask-b-to":ee()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":ee()}],"mask-image-l-to-pos":[{"mask-l-to":ee()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":ee()}],"mask-image-x-to-pos":[{"mask-x-to":ee()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":ee()}],"mask-image-y-to-pos":[{"mask-y-to":ee()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[Le,De]}],"mask-image-radial-from-pos":[{"mask-radial-from":ee()}],"mask-image-radial-to-pos":[{"mask-radial-to":ee()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[at]}],"mask-image-conic-from-pos":[{"mask-conic-from":ee()}],"mask-image-conic-to-pos":[{"mask-conic-to":ee()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:L()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Le,De]}],filter:[{filter:["","none",Le,De]}],blur:[{blur:de()}],brightness:[{brightness:[at,Le,De]}],contrast:[{contrast:[at,Le,De]}],"drop-shadow":[{"drop-shadow":["","none",y,au,iu]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",at,Le,De]}],"hue-rotate":[{"hue-rotate":[at,Le,De]}],invert:[{invert:["",at,Le,De]}],saturate:[{saturate:[at,Le,De]}],sepia:[{sepia:["",at,Le,De]}],"backdrop-filter":[{"backdrop-filter":["","none",Le,De]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[at,Le,De]}],"backdrop-contrast":[{"backdrop-contrast":[at,Le,De]}],"backdrop-grayscale":[{"backdrop-grayscale":["",at,Le,De]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[at,Le,De]}],"backdrop-invert":[{"backdrop-invert":["",at,Le,De]}],"backdrop-opacity":[{"backdrop-opacity":[at,Le,De]}],"backdrop-saturate":[{"backdrop-saturate":[at,Le,De]}],"backdrop-sepia":[{"backdrop-sepia":["",at,Le,De]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Le,De]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[at,"initial",Le,De]}],ease:[{ease:["linear","initial",k,Le,De]}],delay:[{delay:[at,Le,De]}],animate:[{animate:["none",E,Le,De]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,Le,De]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:Ce()}],"rotate-x":[{"rotate-x":Ce()}],"rotate-y":[{"rotate-y":Ce()}],"rotate-z":[{"rotate-z":Ce()}],scale:[{scale:B()}],"scale-x":[{"scale-x":B()}],"scale-y":[{"scale-y":B()}],"scale-z":[{"scale-z":B()}],"scale-3d":["scale-3d"],skew:[{skew:me()}],"skew-x":[{"skew-x":me()}],"skew-y":[{"skew-y":me()}],transform:[{transform:[Le,De,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Se()}],"translate-x":[{"translate-x":Se()}],"translate-y":[{"translate-y":Se()}],"translate-z":[{"translate-z":Se()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Le,De]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Le,De]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[at,Jl,Ea,gm]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},BR=bR(FR);function gt(...t){return BR(HN(t))}const VR=WN("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function re({className:t,variant:e,size:n,asChild:r=!1,...s}){const a=r?BN:"button";return i.jsx(a,{"data-slot":"button",className:gt(VR({variant:e,size:n,className:t})),...s})}function ce({className:t,type:e,...n}){return i.jsx("input",{type:e,"data-slot":"input",className:gt("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 md:text-sm focus-visible:ring-2 focus-visible:ring-ring",t),...n})}function HR(){const t=sa(),[e,n]=b.useState(""),[r,s]=b.useState(""),[a,o]=b.useState(""),[c,u]=b.useState(!1),h=async()=>{o(""),u(!0);try{const f=await ht("/api/admin",{username:e.trim(),password:r});if((f==null?void 0:f.success)!==!1&&(f!=null&&f.token)){FA(f.token),t("/dashboard",{replace:!0});return}o(f.error||"用户名或密码错误")}catch(f){const m=f;o(m.status===401?"用户名或密码错误":(m==null?void 0:m.message)||"网络错误,请重试")}finally{u(!1)}};return i.jsxs("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-4",children:[i.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[i.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-[#38bdac]/5 rounded-full blur-3xl"}),i.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-blue-500/5 rounded-full blur-3xl"})]}),i.jsxs("div",{className:"w-full max-w-md relative z-10",children:[i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("div",{className:"w-16 h-16 bg-[#38bdac]/20 rounded-2xl flex items-center justify-center mx-auto mb-4 border border-[#38bdac]/30",children:i.jsx(Nx,{className:"w-8 h-8 text-[#38bdac]"})}),i.jsx("h1",{className:"text-2xl font-bold text-white mb-2",children:"管理后台"}),i.jsx("p",{className:"text-gray-400",children:"一场SOUL的创业实验场"})]}),i.jsxs("div",{className:"bg-[#0f2137] rounded-2xl p-8 shadow-xl border border-gray-700/50 backdrop-blur-xl",children:[i.jsx("h2",{className:"text-xl font-semibold text-white mb-6 text-center",children:"管理员登录"}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"用户名"}),i.jsxs("div",{className:"relative",children:[i.jsx(Wo,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),i.jsx(ce,{type:"text",value:e,onChange:f=>n(f.target.value),placeholder:"请输入用户名",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]"})]})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"密码"}),i.jsxs("div",{className:"relative",children:[i.jsx($M,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),i.jsx(ce,{type:"password",value:r,onChange:f=>s(f.target.value),placeholder:"请输入密码",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]",onKeyDown:f=>f.key==="Enter"&&h()})]})]}),a&&i.jsx("div",{className:"bg-red-500/10 text-red-400 text-sm p-3 rounded-lg border border-red-500/20",children:a}),i.jsx(re,{onClick:h,disabled:c,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white py-5 disabled:opacity-50",children:c?"登录中...":"登录"})]})]}),i.jsx("p",{className:"text-center text-gray-500 text-xs mt-6",children:"Soul创业实验场 · 后台管理系统"})]})]})}const Ee=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:gt("rounded-xl border bg-card text-card-foreground shadow",t),...e}));Ee.displayName="Card";const et=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:gt("flex flex-col space-y-1.5 p-6",t),...e}));et.displayName="CardHeader";const tt=b.forwardRef(({className:t,...e},n)=>i.jsx("h3",{ref:n,className:gt("font-semibold leading-none tracking-tight",t),...e}));tt.displayName="CardTitle";const It=b.forwardRef(({className:t,...e},n)=>i.jsx("p",{ref:n,className:gt("text-sm text-muted-foreground",t),...e}));It.displayName="CardDescription";const Te=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:gt("p-6 pt-0",t),...e}));Te.displayName="CardContent";const WR=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{ref:n,className:gt("flex items-center p-6 pt-0",t),...e}));WR.displayName="CardFooter";function nt(t,e,{checkForDefaultPrevented:n=!0}={}){return function(s){if(t==null||t(s),n===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function UR(t,e){const n=b.createContext(e),r=a=>{const{children:o,...c}=a,u=b.useMemo(()=>c,Object.values(c));return i.jsx(n.Provider,{value:u,children:o})};r.displayName=t+"Provider";function s(a){const o=b.useContext(n);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${t}\``)}return[r,s]}function ia(t,e=[]){let n=[];function r(a,o){const c=b.createContext(o),u=n.length;n=[...n,o];const h=m=>{var k;const{scope:g,children:y,...v}=m,j=((k=g==null?void 0:g[t])==null?void 0:k[u])||c,w=b.useMemo(()=>v,Object.values(v));return i.jsx(j.Provider,{value:w,children:y})};h.displayName=a+"Provider";function f(m,g){var j;const y=((j=g==null?void 0:g[t])==null?void 0:j[u])||c,v=b.useContext(y);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${a}\``)}return[h,f]}const s=()=>{const a=n.map(o=>b.createContext(o));return function(c){const u=(c==null?void 0:c[t])||a;return b.useMemo(()=>({[`__scope${t}`]:{...c,[t]:u}}),[c,u])}};return s.scopeName=t,[r,KR(s,...e)]}function KR(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const o=r.reduce((c,{useScope:u,scopeName:h})=>{const m=u(a)[`__scope${h}`];return{...c,...m}},{});return b.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return n.scopeName=e.scopeName,n}var Vn=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},qR=Vh[" useId ".trim().toString()]||(()=>{}),GR=0;function Ki(t){const[e,n]=b.useState(qR());return Vn(()=>{n(r=>r??String(GR++))},[t]),e?`radix-${e}`:""}var JR=Vh[" useInsertionEffect ".trim().toString()]||Vn;function Ba({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[s,a,o]=YR({defaultProp:e,onChange:n}),c=t!==void 0,u=c?t:s;{const f=b.useRef(t!==void 0);b.useEffect(()=>{const m=f.current;m!==c&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=c},[c,r])}const h=b.useCallback(f=>{var m;if(c){const g=QR(f)?f(t):f;g!==t&&((m=o.current)==null||m.call(o,g))}else a(f)},[c,t,a,o]);return[u,h]}function YR({defaultProp:t,onChange:e}){const[n,r]=b.useState(t),s=b.useRef(n),a=b.useRef(e);return JR(()=>{a.current=e},[e]),b.useEffect(()=>{var o;s.current!==n&&((o=a.current)==null||o.call(a,n),s.current=n)},[n,s]),[n,r,a]}function QR(t){return typeof t=="function"}function Sc(t){const e=XR(t),n=b.forwardRef((r,s)=>{const{children:a,...o}=r,c=b.Children.toArray(a),u=c.find(e5);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return i.jsx(e,{...o,ref:s,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return i.jsx(e,{...o,ref:s,children:a})});return n.displayName=`${t}.Slot`,n}function XR(t){const e=b.forwardRef((n,r)=>{const{children:s,...a}=n;if(b.isValidElement(s)){const o=n5(s),c=t5(a,s.props);return s.type!==b.Fragment&&(c.ref=r?Sx(r,o):o),b.cloneElement(s,c)}return b.Children.count(s)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var ZR=Symbol("radix.slottable");function e5(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===ZR}function t5(t,e){const n={...e};for(const r in e){const s=t[r],a=e[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...c)=>{const u=a(...c);return s(...c),u}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...t,...n}}function n5(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var r5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ot=r5.reduce((t,e)=>{const n=Sc(`Primitive.${e}`),r=b.forwardRef((s,a)=>{const{asChild:o,...c}=s,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function s5(t,e){t&&Fc.flushSync(()=>t.dispatchEvent(e))}function Qi(t){const e=b.useRef(t);return b.useEffect(()=>{e.current=t}),b.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function i5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t);b.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var a5="DismissableLayer",bg="dismissableLayer.update",o5="dismissableLayer.pointerDownOutside",l5="dismissableLayer.focusOutside",$b,rj=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ex=b.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:o,onDismiss:c,...u}=t,h=b.useContext(rj),[f,m]=b.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=b.useState({}),v=mt(e,R=>m(R)),j=Array.from(h.layers),[w]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=j.indexOf(w),E=f?j.indexOf(f):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,M=E>=k,D=u5(R=>{const I=R.target,A=[...h.branches].some(O=>O.contains(I));!M||A||(s==null||s(R),o==null||o(R),R.defaultPrevented||c==null||c())},g),F=h5(R=>{const I=R.target;[...h.branches].some(O=>O.contains(I))||(a==null||a(R),o==null||o(R),R.defaultPrevented||c==null||c())},g);return i5(R=>{E===h.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&c&&(R.preventDefault(),c()))},g),b.useEffect(()=>{if(f)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&($b=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),Fb(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=$b)}},[f,g,n,h]),b.useEffect(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),Fb())},[f,h]),b.useEffect(()=>{const R=()=>y({});return document.addEventListener(bg,R),()=>document.removeEventListener(bg,R)},[]),i.jsx(ot.div,{...u,ref:v,style:{pointerEvents:C?M?"auto":"none":void 0,...t.style},onFocusCapture:nt(t.onFocusCapture,F.onFocusCapture),onBlurCapture:nt(t.onBlurCapture,F.onBlurCapture),onPointerDownCapture:nt(t.onPointerDownCapture,D.onPointerDownCapture)})});Ex.displayName=a5;var c5="DismissableLayerBranch",d5=b.forwardRef((t,e)=>{const n=b.useContext(rj),r=b.useRef(null),s=mt(e,r);return b.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),i.jsx(ot.div,{...t,ref:s})});d5.displayName=c5;function u5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t),r=b.useRef(!1),s=b.useRef(()=>{});return b.useEffect(()=>{const a=c=>{if(c.target&&!r.current){let u=function(){sj(o5,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=u,e.addEventListener("click",s.current,{once:!0})):u()}else e.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",a),e.removeEventListener("click",s.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function h5(t,e=globalThis==null?void 0:globalThis.document){const n=Qi(t),r=b.useRef(!1);return b.useEffect(()=>{const s=a=>{a.target&&!r.current&&sj(l5,n,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Fb(){const t=new CustomEvent(bg);document.dispatchEvent(t)}function sj(t,e,n,{discrete:r}){const s=n.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&s.addEventListener(t,e,{once:!0}),r?s5(s,a):s.dispatchEvent(a)}var xm="focusScope.autoFocusOnMount",ym="focusScope.autoFocusOnUnmount",Bb={bubbles:!1,cancelable:!0},f5="FocusScope",Tx=b.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:a,...o}=t,[c,u]=b.useState(null),h=Qi(s),f=Qi(a),m=b.useRef(null),g=mt(e,j=>u(j)),y=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let j=function(C){if(y.paused||!c)return;const M=C.target;c.contains(M)?m.current=M:Ri(m.current,{select:!0})},w=function(C){if(y.paused||!c)return;const M=C.relatedTarget;M!==null&&(c.contains(M)||Ri(m.current,{select:!0}))},k=function(C){if(document.activeElement===document.body)for(const D of C)D.removedNodes.length>0&&Ri(c)};document.addEventListener("focusin",j),document.addEventListener("focusout",w);const E=new MutationObserver(k);return c&&E.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",j),document.removeEventListener("focusout",w),E.disconnect()}}},[r,c,y.paused]),b.useEffect(()=>{if(c){Hb.add(y);const j=document.activeElement;if(!c.contains(j)){const k=new CustomEvent(xm,Bb);c.addEventListener(xm,h),c.dispatchEvent(k),k.defaultPrevented||(p5(v5(ij(c)),{select:!0}),document.activeElement===j&&Ri(c))}return()=>{c.removeEventListener(xm,h),setTimeout(()=>{const k=new CustomEvent(ym,Bb);c.addEventListener(ym,f),c.dispatchEvent(k),k.defaultPrevented||Ri(j??document.body,{select:!0}),c.removeEventListener(ym,f),Hb.remove(y)},0)}}},[c,h,f,y]);const v=b.useCallback(j=>{if(!n&&!r||y.paused)return;const w=j.key==="Tab"&&!j.altKey&&!j.ctrlKey&&!j.metaKey,k=document.activeElement;if(w&&k){const E=j.currentTarget,[C,M]=m5(E);C&&M?!j.shiftKey&&k===M?(j.preventDefault(),n&&Ri(C,{select:!0})):j.shiftKey&&k===C&&(j.preventDefault(),n&&Ri(M,{select:!0})):k===E&&j.preventDefault()}},[n,r,y.paused]);return i.jsx(ot.div,{tabIndex:-1,...o,ref:g,onKeyDown:v})});Tx.displayName=f5;function p5(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(Ri(r,{select:e}),document.activeElement!==n)return}function m5(t){const e=ij(t),n=Vb(e,t),r=Vb(e.reverse(),t);return[n,r]}function ij(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function Vb(t,e){for(const n of t)if(!g5(n,{upTo:e}))return n}function g5(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function x5(t){return t instanceof HTMLInputElement&&"select"in t}function Ri(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&x5(t)&&e&&t.select()}}var Hb=y5();function y5(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=Wb(t,e),t.unshift(e)},remove(e){var n;t=Wb(t,e),(n=t[0])==null||n.resume()}}}function Wb(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function v5(t){return t.filter(e=>e.tagName!=="A")}var b5="Portal",Mx=b.forwardRef((t,e)=>{var c;const{container:n,...r}=t,[s,a]=b.useState(!1);Vn(()=>a(!0),[]);const o=n||s&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?vN.createPortal(i.jsx(ot.div,{...r,ref:e}),o):null});Mx.displayName=b5;function w5(t,e){return b.useReducer((n,r)=>e[n][r]??n,t)}var Bc=t=>{const{present:e,children:n}=t,r=N5(e),s=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),a=mt(r.ref,j5(s));return typeof n=="function"||r.isPresent?b.cloneElement(s,{ref:a}):null};Bc.displayName="Presence";function N5(t){const[e,n]=b.useState(),r=b.useRef(null),s=b.useRef(t),a=b.useRef("none"),o=t?"mounted":"unmounted",[c,u]=w5(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const h=ou(r.current);a.current=c==="mounted"?h:"none"},[c]),Vn(()=>{const h=r.current,f=s.current;if(f!==t){const g=a.current,y=ou(h);t?u("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?u("UNMOUNT"):u(f&&g!==y?"ANIMATION_OUT":"UNMOUNT"),s.current=t}},[t,u]),Vn(()=>{if(e){let h;const f=e.ownerDocument.defaultView??window,m=y=>{const j=ou(r.current).includes(CSS.escape(y.animationName));if(y.target===e&&j&&(u("ANIMATION_END"),!s.current)){const w=e.style.animationFillMode;e.style.animationFillMode="forwards",h=f.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=w)})}},g=y=>{y.target===e&&(a.current=ou(r.current))};return e.addEventListener("animationstart",g),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{f.clearTimeout(h),e.removeEventListener("animationstart",g),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:b.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function ou(t){return(t==null?void 0:t.animationName)||"none"}function j5(t){var r,s;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(s=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:s.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var vm=0;function aj(){b.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??Ub()),document.body.insertAdjacentElement("beforeend",t[1]??Ub()),vm++,()=>{vm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),vm--}},[])}function Ub(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var vs=function(){return vs=Object.assign||function(e){for(var n,r=1,s=arguments.length;r"u")return F5;var e=B5(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},H5=dj(),Uo="data-scroll-locked",W5=function(t,e,n,r){var s=t.left,a=t.top,o=t.right,c=t.gap;return n===void 0&&(n="margin"),` - .`.concat(S5,` { - overflow: hidden `).concat(r,`; - padding-right: `).concat(c,"px ").concat(r,`; - } - body[`).concat(Uo,`] { - overflow: hidden `).concat(r,`; - overscroll-behavior: contain; - `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&` - padding-left: `.concat(s,`px; - padding-top: `).concat(a,`px; - padding-right: `).concat(o,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(c,"px ").concat(r,`; - `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),` - } - - .`).concat(Au,` { - right: `).concat(c,"px ").concat(r,`; - } - - .`).concat(Ru,` { - margin-right: `).concat(c,"px ").concat(r,`; - } - - .`).concat(Au," .").concat(Au,` { - right: 0 `).concat(r,`; - } - - .`).concat(Ru," .").concat(Ru,` { - margin-right: 0 `).concat(r,`; - } - - body[`).concat(Uo,`] { - `).concat(C5,": ").concat(c,`px; - } -`)},qb=function(){var t=parseInt(document.body.getAttribute(Uo)||"0",10);return isFinite(t)?t:0},U5=function(){b.useEffect(function(){return document.body.setAttribute(Uo,(qb()+1).toString()),function(){var t=qb()-1;t<=0?document.body.removeAttribute(Uo):document.body.setAttribute(Uo,t.toString())}},[])},K5=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,s=r===void 0?"margin":r;U5();var a=b.useMemo(function(){return V5(s)},[s]);return b.createElement(H5,{styles:W5(a,!e,s,n?"":"!important")})},wg=!1;if(typeof window<"u")try{var lu=Object.defineProperty({},"passive",{get:function(){return wg=!0,!0}});window.addEventListener("test",lu,lu),window.removeEventListener("test",lu,lu)}catch{wg=!1}var Ao=wg?{passive:!1}:!1,q5=function(t){return t.tagName==="TEXTAREA"},uj=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!q5(t)&&n[e]==="visible")},G5=function(t){return uj(t,"overflowY")},J5=function(t){return uj(t,"overflowX")},Gb=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=hj(t,r);if(s){var a=fj(t,r),o=a[1],c=a[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Y5=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},Q5=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},hj=function(t,e){return t==="v"?G5(e):J5(e)},fj=function(t,e){return t==="v"?Y5(e):Q5(e)},X5=function(t,e){return t==="h"&&e==="rtl"?-1:1},Z5=function(t,e,n,r,s){var a=X5(t,window.getComputedStyle(e).direction),o=a*r,c=n.target,u=e.contains(c),h=!1,f=o>0,m=0,g=0;do{if(!c)break;var y=fj(t,c),v=y[0],j=y[1],w=y[2],k=j-w-a*v;(v||k)&&hj(t,c)&&(m+=k,g+=v);var E=c.parentNode;c=E&&E.nodeType===Node.DOCUMENT_FRAGMENT_NODE?E.host:E}while(!u&&c!==document.body||u&&(e.contains(c)||e===c));return(f&&Math.abs(m)<1||!f&&Math.abs(g)<1)&&(h=!0),h},cu=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Jb=function(t){return[t.deltaX,t.deltaY]},Yb=function(t){return t&&"current"in t?t.current:t},eI=function(t,e){return t[0]===e[0]&&t[1]===e[1]},tI=function(t){return` - .block-interactivity-`.concat(t,` {pointer-events: none;} - .allow-interactivity-`).concat(t,` {pointer-events: all;} -`)},nI=0,Ro=[];function rI(t){var e=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),s=b.useState(nI++)[0],a=b.useState(dj)[0],o=b.useRef(t);b.useEffect(function(){o.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(s));var j=k5([t.lockRef.current],(t.shards||[]).map(Yb),!0).filter(Boolean);return j.forEach(function(w){return w.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),j.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(s))})}}},[t.inert,t.lockRef.current,t.shards]);var c=b.useCallback(function(j,w){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!o.current.allowPinchZoom;var k=cu(j),E=n.current,C="deltaX"in j?j.deltaX:E[0]-k[0],M="deltaY"in j?j.deltaY:E[1]-k[1],D,F=j.target,R=Math.abs(C)>Math.abs(M)?"h":"v";if("touches"in j&&R==="h"&&F.type==="range")return!1;var I=window.getSelection(),A=I&&I.anchorNode,O=A?A===F||A.contains(F):!1;if(O)return!1;var W=Gb(R,F);if(!W)return!0;if(W?D=R:(D=R==="v"?"h":"v",W=Gb(R,F)),!W)return!1;if(!r.current&&"changedTouches"in j&&(C||M)&&(r.current=D),!D)return!0;var X=r.current||D;return Z5(X,w,j,X==="h"?C:M)},[]),u=b.useCallback(function(j){var w=j;if(!(!Ro.length||Ro[Ro.length-1]!==a)){var k="deltaY"in w?Jb(w):cu(w),E=e.current.filter(function(D){return D.name===w.type&&(D.target===w.target||w.target===D.shadowParent)&&eI(D.delta,k)})[0];if(E&&E.should){w.cancelable&&w.preventDefault();return}if(!E){var C=(o.current.shards||[]).map(Yb).filter(Boolean).filter(function(D){return D.contains(w.target)}),M=C.length>0?c(w,C[0]):!o.current.noIsolation;M&&w.cancelable&&w.preventDefault()}}},[]),h=b.useCallback(function(j,w,k,E){var C={name:j,delta:w,target:k,should:E,shadowParent:sI(k)};e.current.push(C),setTimeout(function(){e.current=e.current.filter(function(M){return M!==C})},1)},[]),f=b.useCallback(function(j){n.current=cu(j),r.current=void 0},[]),m=b.useCallback(function(j){h(j.type,Jb(j),j.target,c(j,t.lockRef.current))},[]),g=b.useCallback(function(j){h(j.type,cu(j),j.target,c(j,t.lockRef.current))},[]);b.useEffect(function(){return Ro.push(a),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,Ao),document.addEventListener("touchmove",u,Ao),document.addEventListener("touchstart",f,Ao),function(){Ro=Ro.filter(function(j){return j!==a}),document.removeEventListener("wheel",u,Ao),document.removeEventListener("touchmove",u,Ao),document.removeEventListener("touchstart",f,Ao)}},[]);var y=t.removeScrollBar,v=t.inert;return b.createElement(b.Fragment,null,v?b.createElement(a,{styles:tI(s)}):null,y?b.createElement(K5,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function sI(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const iI=P5(cj,rI);var Ax=b.forwardRef(function(t,e){return b.createElement(Kh,vs({},t,{ref:e,sideCar:iI}))});Ax.classNames=Kh.classNames;var aI=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Io=new WeakMap,du=new WeakMap,uu={},jm=0,pj=function(t){return t&&(t.host||pj(t.parentNode))},oI=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=pj(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},lI=function(t,e,n,r){var s=oI(e,Array.isArray(t)?t:[t]);uu[n]||(uu[n]=new WeakMap);var a=uu[n],o=[],c=new Set,u=new Set(s),h=function(m){!m||c.has(m)||(c.add(m),h(m.parentNode))};s.forEach(h);var f=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(g){if(c.has(g))f(g);else try{var y=g.getAttribute(r),v=y!==null&&y!=="false",j=(Io.get(g)||0)+1,w=(a.get(g)||0)+1;Io.set(g,j),a.set(g,w),o.push(g),j===1&&v&&du.set(g,!0),w===1&&g.setAttribute(n,"true"),v||g.setAttribute(r,"true")}catch(k){console.error("aria-hidden: cannot operate on ",g,k)}})};return f(e),c.clear(),jm++,function(){o.forEach(function(m){var g=Io.get(m)-1,y=a.get(m)-1;Io.set(m,g),a.set(m,y),g||(du.has(m)||m.removeAttribute(r),du.delete(m)),y||m.removeAttribute(n)}),jm--,jm||(Io=new WeakMap,Io=new WeakMap,du=new WeakMap,uu={})}},mj=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),s=aI(t);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),lI(r,s,n,"aria-hidden")):function(){return null}},qh="Dialog",[gj]=ia(qh),[cI,ns]=gj(qh),xj=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:s,onOpenChange:a,modal:o=!0}=t,c=b.useRef(null),u=b.useRef(null),[h,f]=Ba({prop:r,defaultProp:s??!1,onChange:a,caller:qh});return i.jsx(cI,{scope:e,triggerRef:c,contentRef:u,contentId:Ki(),titleId:Ki(),descriptionId:Ki(),open:h,onOpenChange:f,onOpenToggle:b.useCallback(()=>f(m=>!m),[f]),modal:o,children:n})};xj.displayName=qh;var yj="DialogTrigger",dI=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=ns(yj,n),a=mt(e,s.triggerRef);return i.jsx(ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Px(s.open),...r,ref:a,onClick:nt(t.onClick,s.onOpenToggle)})});dI.displayName=yj;var Rx="DialogPortal",[uI,vj]=gj(Rx,{forceMount:void 0}),bj=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:s}=t,a=ns(Rx,e);return i.jsx(uI,{scope:e,forceMount:n,children:b.Children.map(r,o=>i.jsx(Bc,{present:n||a.open,children:i.jsx(Mx,{asChild:!0,container:s,children:o})}))})};bj.displayName=Rx;var Ku="DialogOverlay",wj=b.forwardRef((t,e)=>{const n=vj(Ku,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,a=ns(Ku,t.__scopeDialog);return a.modal?i.jsx(Bc,{present:r||a.open,children:i.jsx(fI,{...s,ref:e})}):null});wj.displayName=Ku;var hI=Sc("DialogOverlay.RemoveScroll"),fI=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=ns(Ku,n);return i.jsx(Ax,{as:hI,allowPinchZoom:!0,shards:[s.contentRef],children:i.jsx(ot.div,{"data-state":Px(s.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),Va="DialogContent",Nj=b.forwardRef((t,e)=>{const n=vj(Va,t.__scopeDialog),{forceMount:r=n.forceMount,...s}=t,a=ns(Va,t.__scopeDialog);return i.jsx(Bc,{present:r||a.open,children:a.modal?i.jsx(pI,{...s,ref:e}):i.jsx(mI,{...s,ref:e})})});Nj.displayName=Va;var pI=b.forwardRef((t,e)=>{const n=ns(Va,t.__scopeDialog),r=b.useRef(null),s=mt(e,n.contentRef,r);return b.useEffect(()=>{const a=r.current;if(a)return mj(a)},[]),i.jsx(jj,{...t,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:nt(t.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:nt(t.onPointerDownOutside,a=>{const o=a.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&a.preventDefault()}),onFocusOutside:nt(t.onFocusOutside,a=>a.preventDefault())})}),mI=b.forwardRef((t,e)=>{const n=ns(Va,t.__scopeDialog),r=b.useRef(!1),s=b.useRef(!1);return i.jsx(jj,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,c;(o=t.onCloseAutoFocus)==null||o.call(t,a),a.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),a.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:a=>{var u,h;(u=t.onInteractOutside)==null||u.call(t,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=a.target;((h=n.triggerRef.current)==null?void 0:h.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}})}),jj=b.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:a,...o}=t,c=ns(Va,n),u=b.useRef(null),h=mt(e,u);return aj(),i.jsxs(i.Fragment,{children:[i.jsx(Tx,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:a,children:i.jsx(Ex,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Px(c.open),...o,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),i.jsxs(i.Fragment,{children:[i.jsx(gI,{titleId:c.titleId}),i.jsx(yI,{contentRef:u,descriptionId:c.descriptionId})]})]})}),Ix="DialogTitle",kj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=ns(Ix,n);return i.jsx(ot.h2,{id:s.titleId,...r,ref:e})});kj.displayName=Ix;var Sj="DialogDescription",Cj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=ns(Sj,n);return i.jsx(ot.p,{id:s.descriptionId,...r,ref:e})});Cj.displayName=Sj;var Ej="DialogClose",Tj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,s=ns(Ej,n);return i.jsx(ot.button,{type:"button",...r,ref:e,onClick:nt(t.onClick,()=>s.onOpenChange(!1))})});Tj.displayName=Ej;function Px(t){return t?"open":"closed"}var Mj="DialogTitleWarning",[SV,Aj]=UR(Mj,{contentName:Va,titleName:Ix,docsSlug:"dialog"}),gI=({titleId:t})=>{const e=Aj(Mj),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. - -If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. - -For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},xI="DialogDescriptionWarning",yI=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Aj(xI).contentName}}.`;return b.useEffect(()=>{var a;const s=(a=t.current)==null?void 0:a.getAttribute("aria-describedby");e&&s&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},vI=xj,bI=bj,wI=wj,NI=Nj,jI=kj,kI=Cj,SI=Tj;function Qt(t){return i.jsx(vI,{"data-slot":"dialog",...t})}function CI(t){return i.jsx(bI,{...t})}const Rj=b.forwardRef(({className:t,...e},n)=>i.jsx(wI,{ref:n,className:gt("fixed inset-0 z-50 bg-black/50",t),...e}));Rj.displayName="DialogOverlay";const Ut=b.forwardRef(({className:t,children:e,showCloseButton:n=!0,...r},s)=>i.jsxs(CI,{children:[i.jsx(Rj,{}),i.jsxs(NI,{ref:s,"aria-describedby":void 0,className:gt("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-background p-6 shadow-lg sm:max-w-lg",t),...r,children:[e,n&&i.jsxs(SI,{className:"absolute right-4 top-4 rounded-sm opacity-70 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[i.jsx(er,{className:"h-4 w-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ut.displayName="DialogContent";function Xt({className:t,...e}){return i.jsx("div",{className:gt("flex flex-col gap-2 text-center sm:text-left",t),...e})}function bn({className:t,...e}){return i.jsx("div",{className:gt("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function Zt(t){return i.jsx(jI,{className:"text-lg font-semibold leading-none",...t})}function EI(t){return i.jsx(kI,{className:"text-sm text-muted-foreground",...t})}const TI=WN("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 transition-colors",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-white",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Fe({className:t,variant:e,asChild:n=!1,...r}){const s=n?BN:"span";return i.jsx(s,{className:gt(TI({variant:e}),t),...r})}var MI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],AI=MI.reduce((t,e)=>{const n=FN(`Primitive.${e}`),r=b.forwardRef((s,a)=>{const{asChild:o,...c}=s,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(u,{...c,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),RI="Label",Ij=b.forwardRef((t,e)=>i.jsx(AI.label,{...t,ref:e,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=t.onMouseDown)==null||s.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Ij.displayName=RI;var Pj=Ij;const te=b.forwardRef(({className:t,...e},n)=>i.jsx(Pj,{ref:n,className:gt("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...e}));te.displayName=Pj.displayName;function Ox(t){const e=t+"CollectionProvider",[n,r]=ia(e),[s,a]=n(e,{collectionRef:{current:null},itemMap:new Map}),o=j=>{const{scope:w,children:k}=j,E=Zn.useRef(null),C=Zn.useRef(new Map).current;return i.jsx(s,{scope:w,itemMap:C,collectionRef:E,children:k})};o.displayName=e;const c=t+"CollectionSlot",u=Sc(c),h=Zn.forwardRef((j,w)=>{const{scope:k,children:E}=j,C=a(c,k),M=mt(w,C.collectionRef);return i.jsx(u,{ref:M,children:E})});h.displayName=c;const f=t+"CollectionItemSlot",m="data-radix-collection-item",g=Sc(f),y=Zn.forwardRef((j,w)=>{const{scope:k,children:E,...C}=j,M=Zn.useRef(null),D=mt(w,M),F=a(f,k);return Zn.useEffect(()=>(F.itemMap.set(M,{ref:M,...C}),()=>void F.itemMap.delete(M))),i.jsx(g,{[m]:"",ref:D,children:E})});y.displayName=f;function v(j){const w=a(t+"CollectionConsumer",j);return Zn.useCallback(()=>{const E=w.collectionRef.current;if(!E)return[];const C=Array.from(E.querySelectorAll(`[${m}]`));return Array.from(w.itemMap.values()).sort((F,R)=>C.indexOf(F.ref.current)-C.indexOf(R.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:h,ItemSlot:y},v,r]}var II=b.createContext(void 0);function Gh(t){const e=b.useContext(II);return t||e||"ltr"}var km="rovingFocusGroup.onEntryFocus",PI={bubbles:!1,cancelable:!0},Vc="RovingFocusGroup",[Ng,Oj,OI]=Ox(Vc),[DI,Dj]=ia(Vc,[OI]),[LI,_I]=DI(Vc),Lj=b.forwardRef((t,e)=>i.jsx(Ng.Provider,{scope:t.__scopeRovingFocusGroup,children:i.jsx(Ng.Slot,{scope:t.__scopeRovingFocusGroup,children:i.jsx(zI,{...t,ref:e})})}));Lj.displayName=Vc;var zI=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:h,preventScrollOnEntryFocus:f=!1,...m}=t,g=b.useRef(null),y=mt(e,g),v=Gh(a),[j,w]=Ba({prop:o,defaultProp:c??null,onChange:u,caller:Vc}),[k,E]=b.useState(!1),C=Qi(h),M=Oj(n),D=b.useRef(!1),[F,R]=b.useState(0);return b.useEffect(()=>{const I=g.current;if(I)return I.addEventListener(km,C),()=>I.removeEventListener(km,C)},[C]),i.jsx(LI,{scope:n,orientation:r,dir:v,loop:s,currentTabStopId:j,onItemFocus:b.useCallback(I=>w(I),[w]),onItemShiftTab:b.useCallback(()=>E(!0),[]),onFocusableItemAdd:b.useCallback(()=>R(I=>I+1),[]),onFocusableItemRemove:b.useCallback(()=>R(I=>I-1),[]),children:i.jsx(ot.div,{tabIndex:k||F===0?-1:0,"data-orientation":r,...m,ref:y,style:{outline:"none",...t.style},onMouseDown:nt(t.onMouseDown,()=>{D.current=!0}),onFocus:nt(t.onFocus,I=>{const A=!D.current;if(I.target===I.currentTarget&&A&&!k){const O=new CustomEvent(km,PI);if(I.currentTarget.dispatchEvent(O),!O.defaultPrevented){const W=M().filter($=>$.focusable),X=W.find($=>$.active),q=W.find($=>$.id===j),_=[X,q,...W].filter(Boolean).map($=>$.ref.current);$j(_,f)}}D.current=!1}),onBlur:nt(t.onBlur,()=>E(!1))})})}),_j="RovingFocusGroupItem",zj=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:a,children:o,...c}=t,u=Ki(),h=a||u,f=_I(_j,n),m=f.currentTabStopId===h,g=Oj(n),{onFocusableItemAdd:y,onFocusableItemRemove:v,currentTabStopId:j}=f;return b.useEffect(()=>{if(r)return y(),()=>v()},[r,y,v]),i.jsx(Ng.ItemSlot,{scope:n,id:h,focusable:r,active:s,children:i.jsx(ot.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...c,ref:e,onMouseDown:nt(t.onMouseDown,w=>{r?f.onItemFocus(h):w.preventDefault()}),onFocus:nt(t.onFocus,()=>f.onItemFocus(h)),onKeyDown:nt(t.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){f.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const k=BI(w,f.orientation,f.dir);if(k!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let C=g().filter(M=>M.focusable).map(M=>M.ref.current);if(k==="last")C.reverse();else if(k==="prev"||k==="next"){k==="prev"&&C.reverse();const M=C.indexOf(w.currentTarget);C=f.loop?VI(C,M+1):C.slice(M+1)}setTimeout(()=>$j(C))}}),children:typeof o=="function"?o({isCurrentTabStop:m,hasTabStop:j!=null}):o})})});zj.displayName=_j;var $I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function FI(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function BI(t,e,n){const r=FI(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return $I[r]}function $j(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function VI(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var HI=Lj,WI=zj,Jh="Tabs",[UI]=ia(Jh,[Dj]),Fj=Dj(),[KI,Dx]=UI(Jh),Bj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:s,defaultValue:a,orientation:o="horizontal",dir:c,activationMode:u="automatic",...h}=t,f=Gh(c),[m,g]=Ba({prop:r,onChange:s,defaultProp:a??"",caller:Jh});return i.jsx(KI,{scope:n,baseId:Ki(),value:m,onValueChange:g,orientation:o,dir:f,activationMode:u,children:i.jsx(ot.div,{dir:f,"data-orientation":o,...h,ref:e})})});Bj.displayName=Jh;var Vj="TabsList",Hj=b.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...s}=t,a=Dx(Vj,n),o=Fj(n);return i.jsx(HI,{asChild:!0,...o,orientation:a.orientation,dir:a.dir,loop:r,children:i.jsx(ot.div,{role:"tablist","aria-orientation":a.orientation,...s,ref:e})})});Hj.displayName=Vj;var Wj="TabsTrigger",Uj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:s=!1,...a}=t,o=Dx(Wj,n),c=Fj(n),u=Gj(o.baseId,r),h=Jj(o.baseId,r),f=r===o.value;return i.jsx(WI,{asChild:!0,...c,focusable:!s,active:f,children:i.jsx(ot.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":h,"data-state":f?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:u,...a,ref:e,onMouseDown:nt(t.onMouseDown,m=>{!s&&m.button===0&&m.ctrlKey===!1?o.onValueChange(r):m.preventDefault()}),onKeyDown:nt(t.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&o.onValueChange(r)}),onFocus:nt(t.onFocus,()=>{const m=o.activationMode!=="manual";!f&&!s&&m&&o.onValueChange(r)})})})});Uj.displayName=Wj;var Kj="TabsContent",qj=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:s,children:a,...o}=t,c=Dx(Kj,n),u=Gj(c.baseId,r),h=Jj(c.baseId,r),f=r===c.value,m=b.useRef(f);return b.useEffect(()=>{const g=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(g)},[]),i.jsx(Bc,{present:s||f,children:({present:g})=>i.jsx(ot.div,{"data-state":f?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!g,id:h,tabIndex:0,...o,ref:e,style:{...t.style,animationDuration:m.current?"0s":void 0},children:g&&a})})});qj.displayName=Kj;function Gj(t,e){return`${t}-trigger-${e}`}function Jj(t,e){return`${t}-content-${e}`}var qI=Bj,Yj=Hj,Qj=Uj,Xj=qj;const Hc=qI,cl=b.forwardRef(({className:t,...e},n)=>i.jsx(Yj,{ref:n,className:gt("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));cl.displayName=Yj.displayName;const en=b.forwardRef(({className:t,...e},n)=>i.jsx(Qj,{ref:n,className:gt("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));en.displayName=Qj.displayName;const tn=b.forwardRef(({className:t,...e},n)=>i.jsx(Xj,{ref:n,className:gt("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));tn.displayName=Xj.displayName;function Lx(t){const e=b.useRef({value:t,previous:t});return b.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function _x(t){const[e,n]=b.useState(void 0);return Vn(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let o,c;if("borderBoxSize"in a){const u=a.borderBoxSize,h=Array.isArray(u)?u[0]:u;o=h.inlineSize,c=h.blockSize}else o=t.offsetWidth,c=t.offsetHeight;n({width:o,height:c})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var Yh="Switch",[GI]=ia(Yh),[JI,YI]=GI(Yh),Zj=b.forwardRef((t,e)=>{const{__scopeSwitch:n,name:r,checked:s,defaultChecked:a,required:o,disabled:c,value:u="on",onCheckedChange:h,form:f,...m}=t,[g,y]=b.useState(null),v=mt(e,C=>y(C)),j=b.useRef(!1),w=g?f||!!g.closest("form"):!0,[k,E]=Ba({prop:s,defaultProp:a??!1,onChange:h,caller:Yh});return i.jsxs(JI,{scope:n,checked:k,disabled:c,children:[i.jsx(ot.button,{type:"button",role:"switch","aria-checked":k,"aria-required":o,"data-state":rk(k),"data-disabled":c?"":void 0,disabled:c,value:u,...m,ref:v,onClick:nt(t.onClick,C=>{E(M=>!M),w&&(j.current=C.isPropagationStopped(),j.current||C.stopPropagation())})}),w&&i.jsx(nk,{control:g,bubbles:!j.current,name:r,value:u,checked:k,required:o,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});Zj.displayName=Yh;var ek="SwitchThumb",tk=b.forwardRef((t,e)=>{const{__scopeSwitch:n,...r}=t,s=YI(ek,n);return i.jsx(ot.span,{"data-state":rk(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:e})});tk.displayName=ek;var QI="SwitchBubbleInput",nk=b.forwardRef(({__scopeSwitch:t,control:e,checked:n,bubbles:r=!0,...s},a)=>{const o=b.useRef(null),c=mt(o,a),u=Lx(n),h=_x(e);return b.useEffect(()=>{const f=o.current;if(!f)return;const m=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(m,"checked").set;if(u!==n&&y){const v=new Event("click",{bubbles:r});y.call(f,n),f.dispatchEvent(v)}},[u,n,r]),i.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:c,style:{...s.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});nk.displayName=QI;function rk(t){return t?"checked":"unchecked"}var sk=Zj,XI=tk;const yt=b.forwardRef(({className:t,...e},n)=>i.jsx(sk,{className:gt("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 focus-visible:ring-offset-[#0a1628] disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-gray-600 data-[state=checked]:bg-[#38bdac]",t),...e,ref:n,children:i.jsx(XI,{className:gt("pointer-events-none block h-4 w-4 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));yt.displayName=sk.displayName;function zx({open:t,onClose:e,userId:n,onUserUpdated:r}){var Gn;const[s,a]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,j]=b.useState(!1),[w,k]=b.useState("info"),[E,C]=b.useState(""),[M,D]=b.useState(""),[F,R]=b.useState([]),[I,A]=b.useState(""),[O,W]=b.useState(""),[X,q]=b.useState(""),[Z,_]=b.useState(!1),[$,oe]=b.useState({isVip:!1,vipExpireDate:"",vipRole:"",vipName:"",vipProject:"",vipContact:"",vipBio:""}),[V,ae]=b.useState([]),[Y,L]=b.useState(!1),[H,ue]=b.useState(!1),[U,he]=b.useState(null),[Q,ee]=b.useState(null),[de,Ce]=b.useState(""),[B,me]=b.useState(""),[Se,rt]=b.useState(""),[Ye,st]=b.useState(!1),[Qe,Xe]=b.useState(null),[ft,Pt]=b.useState("");b.useEffect(()=>{t&&n&&(k("info"),he(null),ee(null),Xe(null),Pt(""),W(""),q(""),Jt(),Be("/api/db/vip-roles").then(fe=>{fe!=null&&fe.success&&fe.data&&ae(fe.data)}).catch(()=>{}))},[t,n]);async function Jt(){if(n){m(!0);try{const fe=await Be(`/api/db/users?id=${encodeURIComponent(n)}`);if(fe!=null&&fe.success&&fe.user){const ge=fe.user;a(ge),C(ge.phone||""),D(ge.nickname||""),Ce(ge.phone||""),me(ge.wechatId||""),rt(ge.openId||"");try{R(typeof ge.tags=="string"?JSON.parse(ge.tags||"[]"):[])}catch{R([])}oe({isVip:!!(ge.isVip??!1),vipExpireDate:ge.vipExpireDate?String(ge.vipExpireDate).slice(0,10):"",vipRole:String(ge.vipRole??""),vipName:String(ge.vipName??""),vipProject:String(ge.vipProject??""),vipContact:String(ge.vipContact??""),vipBio:String(ge.vipBio??"")})}try{const ge=await Be(`/api/user/track?userId=${encodeURIComponent(n)}&limit=50`);ge!=null&&ge.success&&ge.tracks&&c(ge.tracks)}catch{c([])}try{const ge=await Be(`/api/db/users/referrals?userId=${encodeURIComponent(n)}`);ge!=null&&ge.success&&ge.referrals&&h(ge.referrals)}catch{h([])}}catch(fe){console.error("Load user detail error:",fe)}finally{m(!1)}}}async function Kn(){if(!(s!=null&&s.phone)){alert("用户未绑定手机号,无法同步");return}y(!0);try{const fe=await ht("/api/ckb/sync",{action:"full_sync",phone:s.phone,userId:s.id});fe!=null&&fe.success?(alert("同步成功"),Jt()):alert("同步失败: "+(fe==null?void 0:fe.error))}catch(fe){console.error("Sync CKB error:",fe),alert("同步失败")}finally{y(!1)}}async function qn(){if(s){j(!0);try{const fe={id:s.id,phone:E||void 0,nickname:M||void 0,tags:JSON.stringify(F)},ge=await Rt("/api/db/users",fe);ge!=null&&ge.success?(alert("保存成功"),Jt(),r==null||r()):alert("保存失败: "+(ge==null?void 0:ge.error))}catch(fe){console.error("Save user error:",fe),alert("保存失败")}finally{j(!1)}}}const ss=()=>{I&&!F.includes(I)&&(R([...F,I]),A(""))},zt=fe=>R(F.filter(ge=>ge!==fe));async function Cr(){if(s){if(!O){alert("请输入新密码");return}if(O!==X){alert("两次密码不一致");return}if(O.length<6){alert("密码至少 6 位");return}_(!0);try{const fe=await Rt("/api/db/users",{id:s.id,password:O});fe!=null&&fe.success?(alert("修改成功"),W(""),q("")):alert("修改失败: "+((fe==null?void 0:fe.error)||""))}catch{alert("修改失败")}finally{_(!1)}}}async function is(){if(s){if($.isVip&&!$.vipExpireDate.trim()){alert("开启 VIP 请填写有效到期日");return}L(!0);try{const fe={id:s.id,isVip:$.isVip,vipExpireDate:$.isVip?$.vipExpireDate:void 0,vipRole:$.vipRole||void 0,vipName:$.vipName||void 0,vipProject:$.vipProject||void 0,vipContact:$.vipContact||void 0,vipBio:$.vipBio||void 0},ge=await Rt("/api/db/users",fe);ge!=null&&ge.success?(alert("VIP 设置已保存"),Jt(),r==null||r()):alert("保存失败: "+((ge==null?void 0:ge.error)||""))}catch{alert("保存失败")}finally{L(!1)}}}async function On(){if(!de&&!Se&&!B){ee("请至少输入手机号、微信号或 OpenID 中的一项");return}ue(!0),ee(null),he(null);try{const fe=new URLSearchParams;de&&fe.set("phone",de),Se&&fe.set("openId",Se),B&&fe.set("wechatId",B);const ge=await Be(`/api/admin/shensheshou/query?${fe}`);ge!=null&&ge.success&&ge.data?(he(ge.data),s&&await pn(ge.data)):ee((ge==null?void 0:ge.error)||"未查询到数据,该用户可能未在神射手收录")}catch(fe){console.error("SSS query error:",fe),ee("请求失败,请检查神射手接口配置")}finally{ue(!1)}}async function pn(fe){if(s)try{await ht("/api/admin/shensheshou/enrich",{userId:s.id,phone:de||s.phone||"",openId:Se||s.openId||"",wechatId:B||s.wechatId||""}),Jt()}catch(ge){console.error("SSS enrich error:",ge)}}async function mr(){if(s){st(!0),Xe(null);try{const fe={users:[{phone:s.phone||"",name:s.nickname||"",openId:s.openId||"",tags:F}]},ge=await ht("/api/admin/shensheshou/ingest",fe);ge!=null&&ge.success&&ge.data?Xe(ge.data):Xe({error:(ge==null?void 0:ge.error)||"推送失败"})}catch(fe){console.error("SSS ingest error:",fe),Xe({error:"请求失败"})}finally{st(!1)}}}const Br=fe=>{const Sn={view_chapter:zr,purchase:xg,match:Nn,login:Wo,register:Wo,share:Gs,bind_phone:nA,bind_wechat:KM,fill_profile:pm,visit_page:Bo}[fe]||fg;return i.jsx(Sn,{className:"w-4 h-4"})};return t?i.jsx(Qt,{open:t,onOpenChange:()=>e(),children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] overflow-hidden",children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(Wo,{className:"w-5 h-5 text-[#38bdac]"}),"用户详情",(s==null?void 0:s.phone)&&i.jsx(Fe,{className:"bg-green-500/20 text-green-400 border-0 ml-2",children:"已绑定手机"}),(s==null?void 0:s.isVip)&&i.jsx(Fe,{className:"bg-amber-500/20 text-amber-400 border-0",children:"VIP"})]})}),f?i.jsxs("div",{className:"flex items-center justify-center py-20",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s?i.jsxs("div",{className:"flex flex-col h-[75vh]",children:[i.jsxs("div",{className:"flex items-center gap-4 p-4 bg-[#0a1628] rounded-lg mb-3",children:[i.jsx("div",{className:"w-16 h-16 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-2xl text-[#38bdac] shrink-0",children:s.avatar?i.jsx("img",{src:s.avatar,className:"w-full h-full rounded-full object-cover",alt:""}):((Gn=s.nickname)==null?void 0:Gn.charAt(0))||"?"}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[i.jsx("h3",{className:"text-lg font-bold text-white",children:s.nickname}),s.isAdmin&&i.jsx(Fe,{className:"bg-purple-500/20 text-purple-400 border-0",children:"管理员"}),s.hasFullBook&&i.jsx(Fe,{className:"bg-green-500/20 text-green-400 border-0",children:"全书已购"}),s.vipRole&&i.jsx(Fe,{className:"bg-amber-500/20 text-amber-400 border-0",children:s.vipRole})]}),i.jsxs("p",{className:"text-gray-400 text-sm mt-1",children:[s.phone?`📱 ${s.phone}`:"未绑定手机",s.wechatId&&` · 💬 ${s.wechatId}`,s.mbti&&` · ${s.mbti}`]}),i.jsxs("div",{className:"flex items-center gap-4 mt-1",children:[i.jsxs("p",{className:"text-gray-600 text-xs",children:["ID: ",s.id.slice(0,16),"…"]}),s.referralCode&&i.jsxs("p",{className:"text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"推广码:"}),i.jsx("code",{className:"text-[#38bdac] bg-[#38bdac]/10 px-1.5 py-0.5 rounded",children:s.referralCode})]})]})]}),i.jsxs("div",{className:"text-right shrink-0",children:[i.jsxs("p",{className:"text-[#38bdac] font-bold text-lg",children:["¥",(s.earnings||0).toFixed(2)]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"累计收益"})]})]}),i.jsxs(Hc,{value:w,onValueChange:k,className:"flex-1 flex flex-col overflow-hidden",children:[i.jsxs(cl,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-3 flex-wrap h-auto gap-1",children:[i.jsx(en,{value:"info",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"基础信息"}),i.jsx(en,{value:"tags",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"标签体系"}),i.jsxs(en,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[i.jsx(Bo,{className:"w-3 h-3 mr-1"}),"用户旅程"]}),i.jsx(en,{value:"relations",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"关系链路"}),i.jsxs(en,{value:"shensheshou",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[i.jsx(Fi,{className:"w-3 h-3 mr-1"}),"用户资料完善"]})]}),i.jsxs(tn,{value:"info",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入手机号",value:E,onChange:fe=>C(fe.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入昵称",value:M,onChange:fe=>D(fe.target.value)})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[s.openId&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"微信 OpenID"}),i.jsx("p",{className:"text-gray-300 font-mono text-xs break-all",children:s.openId})]}),s.region&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[i.jsx(_N,{className:"w-4 h-4 text-gray-500"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-500 text-xs",children:"地区"}),i.jsx("p",{className:"text-white",children:s.region})]})]}),s.industry&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"行业"}),i.jsx("p",{className:"text-white",children:s.industry})]}),s.position&&i.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"职位"}),i.jsx("p",{className:"text-white",children:s.position})]})]}),i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"推荐人数"}),i.jsx("p",{className:"text-2xl font-bold text-white",children:s.referralCount??0})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"待提现"}),i.jsxs("p",{className:"text-2xl font-bold text-yellow-400",children:["¥",(s.pendingEarnings??0).toFixed(2)]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"创建时间"}),i.jsx("p",{className:"text-sm text-white",children:s.createdAt?new Date(s.createdAt).toLocaleDateString():"-"})]})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(MM,{className:"w-4 h-4 text-yellow-400"}),i.jsx("span",{className:"text-white font-medium",children:"修改密码"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(ce,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"新密码(至少6位)",value:O,onChange:fe=>W(fe.target.value)}),i.jsx(ce,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"确认密码",value:X,onChange:fe=>q(fe.target.value)}),i.jsx(re,{size:"sm",onClick:Cr,disabled:Z||!O||!X,className:"bg-yellow-500/20 hover:bg-yellow-500/30 text-yellow-400 border border-yellow-500/40",children:Z?"保存中...":"确认修改"})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Aa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:"设成超级个体"})]}),i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-400 text-sm",children:"VIP 会员"}),i.jsx(yt,{checked:$.isVip,onCheckedChange:fe=>oe(ge=>({...ge,isVip:fe}))})]}),$.isVip&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"到期日"}),i.jsx(ce,{type:"date",className:"bg-[#162840] border-gray-700 text-white text-sm",value:$.vipExpireDate,onChange:fe=>oe(ge=>({...ge,vipExpireDate:fe.target.value}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"角色"}),i.jsxs("select",{className:"w-full bg-[#162840] border border-gray-700 text-white rounded px-2 py-1.5 text-sm",value:$.vipRole,onChange:fe=>oe(ge=>({...ge,vipRole:fe.target.value})),children:[i.jsx("option",{value:"",children:"请选择"}),V.map(fe=>i.jsx("option",{value:fe.name,children:fe.name},fe.id))]})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"展示名"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white text-sm",placeholder:"创业老板排行展示名",value:$.vipName,onChange:fe=>oe(ge=>({...ge,vipName:fe.target.value}))})]}),i.jsx(re,{size:"sm",onClick:is,disabled:Y,className:"bg-amber-500/20 hover:bg-amber-500/30 text-amber-400 border border-amber-500/40",children:Y?"保存中...":"保存 VIP"})]})]})]}),s.isVip&&i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Aa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:"VIP 信息"}),i.jsx(Fe,{className:"bg-amber-500/20 text-amber-400 border-0 text-xs",children:s.vipRole||"VIP"})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[s.vipName&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"展示名:"}),i.jsx("span",{className:"text-white",children:s.vipName})]}),s.vipProject&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"项目:"}),i.jsx("span",{className:"text-white",children:s.vipProject})]}),s.vipContact&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"联系方式:"}),i.jsx("span",{className:"text-white",children:s.vipContact})]}),s.vipExpireDate&&i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"到期时间:"}),i.jsx("span",{className:"text-white",children:new Date(s.vipExpireDate).toLocaleDateString()})]})]}),s.vipBio&&i.jsx("p",{className:"text-gray-400 text-sm mt-2",children:s.vipBio})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-purple-500/20",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(kc,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"微信归属"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"该用户归属在哪个微信号下"})]}),i.jsxs("div",{className:"flex gap-2 items-center",children:[i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"输入归属微信号(如 wxid_xxxx)",value:ft,onChange:fe=>Pt(fe.target.value)}),i.jsxs(re,{size:"sm",onClick:async()=>{if(!(!ft||!s))try{await Rt("/api/db/users",{id:s.id,wechatId:ft}),alert("已保存微信归属"),Jt()}catch{alert("保存失败")}},className:"bg-purple-500/20 hover:bg-purple-500/30 text-purple-400 border border-purple-500/30 shrink-0",children:[i.jsx(rn,{className:"w-4 h-4 mr-1"})," 保存"]})]}),s.wechatId&&i.jsxs("p",{className:"text-gray-500 text-xs mt-2",children:["当前归属:",i.jsx("span",{className:"text-purple-400",children:s.wechatId})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Gs,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"存客宝同步"})]}),i.jsx(re,{size:"sm",onClick:Kn,disabled:g||!s.phone,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 同步中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1"})," 同步数据"]})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"同步状态:"}),s.ckbSyncedAt?i.jsx(Fe,{className:"bg-green-500/20 text-green-400 border-0 ml-1",children:"已同步"}):i.jsx(Fe,{className:"bg-gray-500/20 text-gray-400 border-0 ml-1",children:"未同步"})]}),i.jsxs("div",{children:[i.jsx("span",{className:"text-gray-500",children:"最后同步:"}),i.jsx("span",{className:"text-gray-300 ml-1",children:s.ckbSyncedAt?new Date(s.ckbSyncedAt).toLocaleString():"-"})]})]})]})]}),i.jsxs(tn,{value:"tags",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(pm,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"用户标签"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"基于《一场 Soul 的创业实验》维度打标"})]}),i.jsxs("div",{className:"mb-3 p-2.5 bg-[#38bdac]/5 border border-[#38bdac]/20 rounded-lg flex items-center gap-2 text-xs text-gray-400",children:[i.jsx(hg,{className:"w-3.5 h-3.5 text-[#38bdac] shrink-0"}),"命中的标签自动高亮 · 系统根据行为轨迹和填写资料自动打标 · 手动点击补充或取消"]}),i.jsx("div",{className:"mb-4 space-y-3",children:[{category:"身份类型",tags:["创业者","打工人","自由职业","学生","投资人","合伙人"]},{category:"行业背景",tags:["电商","内容","传统行业","科技/AI","金融","教育","餐饮"]},{category:"痛点标签",tags:["找资源","找方向","找合伙人","想赚钱","想学习","找情感出口"]},{category:"付费意愿",tags:["高意向","已付费","观望中","薅羊毛"]},{category:"MBTI",tags:["ENTJ","INTJ","ENFP","INFP","ENTP","INTP","ESTJ","ISFJ"]}].map(fe=>i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1.5",children:fe.category}),i.jsx("div",{className:"flex flex-wrap gap-1.5",children:fe.tags.map(ge=>i.jsxs("button",{type:"button",onClick:()=>{F.includes(ge)?zt(ge):R([...F,ge])},className:`px-2 py-0.5 rounded text-xs border transition-all ${F.includes(ge)?"bg-[#38bdac]/20 border-[#38bdac]/50 text-[#38bdac]":"bg-transparent border-gray-700 text-gray-500 hover:border-gray-500 hover:text-gray-300"}`,children:[F.includes(ge)?"✓ ":"",ge]},ge))})]},fe.category))}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-3",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"已选标签"}),i.jsxs("div",{className:"flex flex-wrap gap-2 mb-3 min-h-[32px]",children:[F.map((fe,ge)=>i.jsxs(Fe,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0 pr-1",children:[fe,i.jsx("button",{type:"button",onClick:()=>zt(fe),className:"ml-1 hover:text-red-400",children:i.jsx(er,{className:"w-3 h-3"})})]},ge)),F.length===0&&i.jsx("span",{className:"text-gray-600 text-sm",children:"暂未选择标签"})]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"自定义标签(回车添加)",value:I,onChange:fe=>A(fe.target.value),onKeyDown:fe=>fe.key==="Enter"&&ss()}),i.jsx(re,{onClick:ss,className:"bg-[#38bdac] hover:bg-[#2da396]",children:"添加"})]})]})]}),s.ckbTags&&i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[i.jsx(pm,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"存客宝标签"})]}),i.jsx("div",{className:"flex flex-wrap gap-2",children:(typeof s.ckbTags=="string"?s.ckbTags.split(","):[]).map((fe,ge)=>i.jsx(Fe,{className:"bg-purple-500/20 text-purple-400 border-0",children:fe.trim()},ge))})]})]}),i.jsxs(tn,{value:"journey",className:"flex-1 overflow-auto",children:[i.jsxs("div",{className:"mb-3 p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[i.jsx(Bo,{className:"w-4 h-4 text-[#38bdac]"}),i.jsxs("span",{className:"text-gray-400 text-sm",children:["记录用户从注册到付费的完整行动路径,共 ",o.length," 条记录"]})]}),i.jsx("div",{className:"space-y-2",children:o.length>0?o.map((fe,ge)=>i.jsxs("div",{className:"flex items-start gap-3 p-3 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex flex-col items-center",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-[#38bdac]",children:Br(fe.action)}),ge0?u.map((fe,ge)=>{var ri;const Sn=fe;return i.jsxs("div",{className:"flex items-center justify-between p-2 bg-[#162840] rounded",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:"w-6 h-6 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-xs text-[#38bdac]",children:((ri=Sn.nickname)==null?void 0:ri.charAt(0))||"?"}),i.jsx("span",{className:"text-white text-sm",children:Sn.nickname})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[Sn.status==="vip"&&i.jsx(Fe,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"已购"}),i.jsx("span",{className:"text-gray-500 text-xs",children:Sn.createdAt?new Date(Sn.createdAt).toLocaleDateString():""})]})]},Sn.id||ge)}):i.jsx("p",{className:"text-gray-500 text-sm text-center py-4",children:"暂无推荐用户"})})]})}),i.jsxs(tn,{value:"shensheshou",className:"flex-1 overflow-auto space-y-4",children:[i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(Fi,{className:"w-5 h-5 text-[#38bdac]"}),i.jsx("span",{className:"text-white font-medium",children:"用户资料完善"}),i.jsx("span",{className:"text-gray-500 text-xs",children:"通过多维度查询神射手数据,自动回填用户基础信息"})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-2 mb-3",children:[i.jsxs("div",{children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"手机号"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"11位手机号",value:de,onChange:fe=>Ce(fe.target.value)})]}),i.jsxs("div",{children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信号"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"微信 ID",value:B,onChange:fe=>me(fe.target.value)})]}),i.jsxs("div",{className:"col-span-2",children:[i.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信 OpenID"}),i.jsx(ce,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"openid_xxxx(自动填入)",value:Se,onChange:fe=>rt(fe.target.value)})]})]}),i.jsx(re,{onClick:On,disabled:H,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:H?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 查询并自动回填中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Ui,{className:"w-4 h-4 mr-1"})," 查询并自动完善用户资料"]})}),i.jsx("p",{className:"text-gray-600 text-xs mt-2",children:"查询成功后,神射手返回的标签将自动同步到该用户"}),Q&&i.jsx("div",{className:"mt-3 p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-red-400 text-sm",children:Q}),U&&i.jsxs("div",{className:"mt-3 space-y-3",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"神射手 RFM 分"}),i.jsx("p",{className:"text-2xl font-bold text-[#38bdac]",children:U.rfm_score??"-"})]}),i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"用户等级"}),i.jsx("p",{className:"text-2xl font-bold text-white",children:U.user_level??"-"})]})]}),U.tags&&U.tags.length>0&&i.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[i.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"神射手标签"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:U.tags.map((fe,ge)=>i.jsx(Fe,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/20",children:fe},ge))})]}),U.last_active&&i.jsxs("div",{className:"text-sm text-gray-500",children:["最近活跃:",U.last_active]})]})]}),i.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx(Fi,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"推送用户数据到神射手"})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"将本用户信息(手机号、昵称、标签等)同步至神射手,自动完善用户画像"})]}),i.jsx(re,{onClick:mr,disabled:Ye||!s.phone,variant:"outline",className:"border-purple-500/40 text-purple-400 hover:bg-purple-500/10 bg-transparent shrink-0 ml-4",children:Ye?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-1 animate-spin"})," 推送中"]}):i.jsxs(i.Fragment,{children:[i.jsx(Fi,{className:"w-4 h-4 mr-1"})," 推送"]})})]}),!s.phone&&i.jsx("p",{className:"text-yellow-500/70 text-xs",children:"⚠ 用户未绑定手机号,无法推送"}),Qe&&i.jsx("div",{className:"mt-3 p-3 bg-[#162840] rounded-lg text-sm",children:Qe.error?i.jsx("p",{className:"text-red-400",children:String(Qe.error)}):i.jsxs("div",{className:"space-y-1",children:[i.jsxs("p",{className:"text-green-400 flex items-center gap-1",children:[i.jsx(hg,{className:"w-4 h-4"})," 推送成功"]}),Qe.enriched!==void 0&&i.jsxs("p",{className:"text-gray-400",children:["自动补全标签数:",String(Qe.new_tags_added??0)]})]})})]})]})]}),i.jsxs("div",{className:"flex justify-end gap-2 pt-3 border-t border-gray-700 mt-3",children:[i.jsxs(re,{variant:"outline",onClick:e,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"关闭"]}),i.jsxs(re,{onClick:qn,disabled:v,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),v?"保存中...":"保存修改"]})]})]}):i.jsx("div",{className:"text-center py-12 text-gray-500",children:"用户不存在"})]})}):null}function ZI(){const t=sa(),[e,n]=b.useState(!0),[r,s]=b.useState([]),[a,o]=b.useState([]),[c,u]=b.useState(0),[h,f]=b.useState(0),[m,g]=b.useState(0),[y,v]=b.useState(0),[j,w]=b.useState(null),[k,E]=b.useState(null),[C,M]=b.useState(!1);async function D(){var A;n(!0),w(null);try{try{const ae=await Be("/api/admin/dashboard/overview");if(ae!=null&&ae.success){u(ae.totalUsers??0),f(ae.paidOrderCount??0),g(ae.totalRevenue??0),v(ae.conversionRate??0),o(ae.recentOrders??[]),s(ae.newUsers??[]);return}}catch(ae){console.error("数据概览接口失败,尝试降级拉取",ae)}const[O,W]=await Promise.all([Be("/api/db/users?page=1&pageSize=10"),Be("/api/orders?page=1&pageSize=20&status=paid")]),X=typeof(O==null?void 0:O.total)=="number"?O.total:((A=O==null?void 0:O.users)==null?void 0:A.length)??0,q=(W==null?void 0:W.orders)??[],Z=typeof(W==null?void 0:W.total)=="number"?W.total:q.length,_=q.filter(ae=>ae.status==="paid"||ae.status==="completed"||ae.status==="success"),$=_.reduce((ae,Y)=>ae+Number(Y.amount||0),0),oe=new Set(_.map(ae=>ae.userId).filter(Boolean)),V=X>0&&oe.size>0?oe.size/X*100:0;u(X),f(Z),g($),v(V),o(q.slice(0,5)),s((O==null?void 0:O.users)??[])}catch(O){console.error("降级拉取失败",O);const W=O;(W==null?void 0:W.status)===401?w("登录已过期,请重新登录"):(W==null?void 0:W.name)==="AbortError"?w("请求超时,请检查网络后点击重试"):w("加载失败,请检查网络或联系管理员")}finally{n(!1)}}if(b.useEffect(()=>{D();const A=setInterval(D,3e4);return()=>clearInterval(A)},[]),e)return i.jsxs("div",{className:"p-8 w-full",children:[i.jsx("h1",{className:"text-2xl font-bold mb-8 text-white",children:"数据概览"}),i.jsxs("div",{className:"flex flex-col items-center justify-center py-24",children:[i.jsx(qe,{className:"w-12 h-12 text-[#38bdac] animate-spin mb-4"}),i.jsx("span",{className:"text-gray-400",children:"加载中..."})]})]});const F=c,R=A=>{const O=A.productType||"",W=A.description||"";if(W){if(O==="section"&&W.includes("章节")){if(W.includes("-")){const X=W.split("-");if(X.length>=3)return{title:`第${X[1]}章 第${X[2]}节`,subtitle:"《一场Soul的创业实验》"}}return{title:W,subtitle:"章节购买"}}return O==="fullbook"||W.includes("全书")?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:O==="match"||W.includes("伙伴")?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:W,subtitle:O==="section"?"单章":O==="fullbook"?"全书":"其他"}}return O==="section"?{title:`章节 ${A.productId||""}`,subtitle:"单章购买"}:O==="fullbook"?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:O==="match"?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:"未知商品",subtitle:O||"其他"}},I=[{title:"总用户数",value:F,icon:Nn,color:"text-blue-400",bg:"bg-blue-500/20",link:"/users"},{title:"总收入",value:`¥${(m??0).toFixed(2)}`,icon:cc,color:"text-[#38bdac]",bg:"bg-[#38bdac]/20",link:"/orders"},{title:"订单数",value:h,icon:xg,color:"text-purple-400",bg:"bg-purple-500/20",link:"/orders"},{title:"转化率",value:`${typeof y=="number"?y.toFixed(1):0}%`,icon:zr,color:"text-orange-400",bg:"bg-orange-500/20",link:"/distribution"}];return i.jsxs("div",{className:"p-8 w-full",children:[i.jsx("h1",{className:"text-2xl font-bold mb-8 text-white",children:"数据概览"}),j&&i.jsxs("div",{className:"mb-6 px-4 py-3 rounded-lg bg-amber-500/20 border border-amber-500/50 text-amber-200 text-sm flex items-center justify-between",children:[i.jsx("span",{children:j}),i.jsx("button",{type:"button",onClick:()=>D(),className:"text-amber-400 hover:text-amber-300 underline",children:"重试"})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8",children:I.map((A,O)=>i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl cursor-pointer hover:border-[#38bdac]/50 transition-colors group",onClick:()=>A.link&&t(A.link),children:[i.jsxs(et,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsx(tt,{className:"text-sm font-medium text-gray-400",children:A.title}),i.jsx("div",{className:`p-2 rounded-lg ${A.bg}`,children:i.jsx(A.icon,{className:`w-4 h-4 ${A.color}`})})]}),i.jsx(Te,{children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{className:"text-2xl font-bold text-white",children:A.value}),i.jsx(Fo,{className:"w-5 h-5 text-gray-600 group-hover:text-[#38bdac] transition-colors"})]})})]},O))}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{className:"flex flex-row items-center justify-between",children:[i.jsx(tt,{className:"text-white",children:"最近订单"}),i.jsxs("button",{type:"button",onClick:()=>D(),className:"text-xs text-gray-400 hover:text-[#38bdac] flex items-center gap-1",title:"刷新",children:[i.jsx(qe,{className:"w-3.5 h-3.5"}),"刷新(每 30 秒自动更新)"]})]}),i.jsx(Te,{children:i.jsxs("div",{className:"space-y-3",children:[a.slice(0,5).map(A=>{var Z;const O=A.referrerId?r.find(_=>_.id===A.referrerId):void 0,W=A.referralCode||(O==null?void 0:O.referralCode)||(O==null?void 0:O.nickname)||(A.referrerId?String(A.referrerId).slice(0,8):""),X=R(A),q=A.userNickname||((Z=r.find(_=>_.id===A.userId))==null?void 0:Z.nickname)||"匿名用户";return i.jsxs("div",{className:"flex items-start justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30 hover:border-[#38bdac]/30 transition-colors",children:[i.jsxs("div",{className:"flex items-start gap-3 flex-1",children:[A.userAvatar?i.jsx("img",{src:A.userAvatar,alt:q,className:"w-9 h-9 rounded-full object-cover flex-shrink-0 mt-0.5",onError:_=>{_.currentTarget.style.display="none";const $=_.currentTarget.nextElementSibling;$&&$.classList.remove("hidden")}}):null,i.jsx("div",{className:`w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 mt-0.5 ${A.userAvatar?"hidden":""}`,children:q.charAt(0)}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx("button",{type:"button",onClick:()=>{A.userId&&(E(A.userId),M(!0))},className:"text-sm text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:q}),i.jsx("span",{className:"text-gray-600",children:"·"}),i.jsx("span",{className:"text-sm font-medium text-white truncate",children:X.title})]}),i.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[X.subtitle&&X.subtitle!=="章节购买"&&i.jsx("span",{className:"px-1.5 py-0.5 bg-gray-700/50 rounded",children:X.subtitle}),i.jsx("span",{children:new Date(A.createdAt||0).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})]}),W&&i.jsxs("p",{className:"text-xs text-gray-600 mt-1",children:["推荐: ",W]})]})]}),i.jsxs("div",{className:"text-right ml-4 flex-shrink-0",children:[i.jsxs("p",{className:"text-sm font-bold text-[#38bdac]",children:["+¥",Number(A.amount).toFixed(2)]}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:A.paymentMethod||"微信"})]})]},A.id)}),a.length===0&&i.jsxs("div",{className:"text-center py-12",children:[i.jsx(xg,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),i.jsx("p",{className:"text-gray-500",children:"暂无订单数据"})]})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(et,{children:i.jsx(tt,{className:"text-white",children:"新注册用户"})}),i.jsx(Te,{children:i.jsxs("div",{className:"space-y-3",children:[r.slice(0,5).map(A=>{var O;return i.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:((O=A.nickname)==null?void 0:O.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsx("button",{type:"button",onClick:()=>{E(A.id),M(!0)},className:"text-sm font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:A.nickname||"匿名用户"}),i.jsx("p",{className:"text-xs text-gray-500",children:A.phone||"-"})]})]}),i.jsx("p",{className:"text-xs text-gray-400",children:A.createdAt?new Date(A.createdAt).toLocaleDateString():"-"})]},A.id)}),r.length===0&&i.jsx("p",{className:"text-gray-500 text-center py-8",children:"暂无用户数据"})]})})]})]}),i.jsx(zx,{open:C,onClose:()=>{M(!1),E(null)},userId:k,onUserUpdated:D})]})}const hr=b.forwardRef(({className:t,...e},n)=>i.jsx("div",{className:"relative w-full overflow-auto",children:i.jsx("table",{ref:n,className:gt("w-full caption-bottom text-sm",t),...e})}));hr.displayName="Table";const fr=b.forwardRef(({className:t,...e},n)=>i.jsx("thead",{ref:n,className:gt("[&_tr]:border-b",t),...e}));fr.displayName="TableHeader";const pr=b.forwardRef(({className:t,...e},n)=>i.jsx("tbody",{ref:n,className:gt("[&_tr:last-child]:border-0",t),...e}));pr.displayName="TableBody";const ct=b.forwardRef(({className:t,...e},n)=>i.jsx("tr",{ref:n,className:gt("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));ct.displayName="TableRow";const ke=b.forwardRef(({className:t,...e},n)=>i.jsx("th",{ref:n,className:gt("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...e}));ke.displayName="TableHead";const ve=b.forwardRef(({className:t,...e},n)=>i.jsx("td",{ref:n,className:gt("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...e}));ve.displayName="TableCell";function $x(t,e){const[n,r]=b.useState(t);return b.useEffect(()=>{const s=setTimeout(()=>r(t),e);return()=>clearTimeout(s)},[t,e]),n}function Zr({page:t,totalPages:e,total:n,pageSize:r,onPageChange:s,onPageSizeChange:a,pageSizeOptions:o=[10,20,50,100]}){return e<=1&&!a?null:i.jsxs("div",{className:"flex items-center justify-between gap-4 py-4 px-5 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-400",children:[i.jsxs("span",{children:["共 ",n," 条"]}),a&&i.jsx("select",{value:r,onChange:c=>a(Number(c.target.value)),className:"bg-[#0f2137] border border-gray-600 rounded px-2 py-1 text-gray-300 text-sm",children:o.map(c=>i.jsxs("option",{value:c,children:[c," 条/页"]},c))})]}),e>1&&i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("button",{type:"button",onClick:()=>s(1),disabled:t<=1,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"首页"}),i.jsx("button",{type:"button",onClick:()=>s(t-1),disabled:t<=1,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"上一页"}),i.jsxs("span",{className:"px-3 py-1 text-gray-400 text-sm",children:[t," / ",e]}),i.jsx("button",{type:"button",onClick:()=>s(t+1),disabled:t>=e,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"下一页"}),i.jsx("button",{type:"button",onClick:()=>s(e),disabled:t>=e,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"末页"})]})]})}function eP(){const[t,e]=b.useState([]),[n,r]=b.useState([]),[s,a]=b.useState(0),[o,c]=b.useState(0),[u,h]=b.useState(0),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,j]=b.useState(""),w=$x(v,300),[k,E]=b.useState("all"),[C,M]=b.useState(!0),[D,F]=b.useState(null),[R,I]=b.useState(null),[A,O]=b.useState(""),[W,X]=b.useState(!1);async function q(){M(!0),F(null);try{const Y=k==="all"?"":k==="completed"?"completed":k,L=new URLSearchParams({page:String(f),pageSize:String(g),...Y&&{status:Y},...w&&{search:w}}),[H,ue]=await Promise.all([Be(`/api/orders?${L}`),Be("/api/db/users?page=1&pageSize=500")]);H!=null&&H.success&&(e(H.orders||[]),a(H.total??0),c(H.totalRevenue??0),h(H.todayRevenue??0)),ue!=null&&ue.success&&ue.users&&r(ue.users)}catch(Y){console.error("加载订单失败",Y),F("加载订单失败,请检查网络后重试")}finally{M(!1)}}b.useEffect(()=>{m(1)},[w,k]),b.useEffect(()=>{q()},[f,g,w,k]);const Z=Y=>{var L;return Y.userNickname||((L=n.find(H=>H.id===Y.userId))==null?void 0:L.nickname)||"匿名用户"},_=Y=>{var L;return((L=n.find(H=>H.id===Y))==null?void 0:L.phone)||"-"},$=Y=>{const L=Y.productType||Y.type||"",H=Y.description||"";if(H){if(L==="section"&&H.includes("章节")){if(H.includes("-")){const ue=H.split("-");if(ue.length>=3)return{name:`第${ue[1]}章 第${ue[2]}节`,type:"《一场Soul的创业实验》"}}return{name:H,type:"章节购买"}}return L==="fullbook"||H.includes("全书")?{name:"《一场Soul的创业实验》",type:"全书购买"}:L==="vip"||H.includes("VIP")?{name:"VIP年度会员",type:"VIP"}:L==="match"||H.includes("伙伴")?{name:"找伙伴匹配",type:"功能服务"}:{name:H,type:"其他"}}return L==="section"?{name:`章节 ${Y.productId||Y.sectionId||""}`,type:"单章"}:L==="fullbook"?{name:"《一场Soul的创业实验》",type:"全书"}:L==="vip"?{name:"VIP年度会员",type:"VIP"}:L==="match"?{name:"找伙伴匹配",type:"功能"}:{name:"未知商品",type:L||"其他"}},oe=Math.ceil(s/g)||1;async function V(){var Y;if(!(!(R!=null&&R.orderSn)&&!(R!=null&&R.id))){X(!0),F(null);try{const L=await Rt("/api/admin/orders/refund",{orderSn:R.orderSn||R.id,reason:A||void 0});L!=null&&L.success?(I(null),O(""),q()):F((L==null?void 0:L.error)||"退款失败")}catch(L){const H=L;F(((Y=H==null?void 0:H.data)==null?void 0:Y.error)||"退款失败,请检查网络后重试")}finally{X(!1)}}}function ae(){if(t.length===0){alert("暂无数据可导出");return}const Y=["订单号","用户","手机号","商品","金额","支付方式","状态","退款原因","分销佣金","下单时间"],L=t.map(Q=>{const ee=$(Q);return[Q.orderSn||Q.id||"",Z(Q),_(Q.userId),ee.name,Number(Q.amount||0).toFixed(2),Q.paymentMethod==="wechat"?"微信支付":Q.paymentMethod==="alipay"?"支付宝":Q.paymentMethod||"微信支付",Q.status==="refunded"?"已退款":Q.status==="paid"||Q.status==="completed"?"已完成":Q.status==="pending"||Q.status==="created"?"待支付":"已失败",Q.status==="refunded"&&Q.refundReason?Q.refundReason:"-",Q.referrerEarnings?Number(Q.referrerEarnings).toFixed(2):"-",Q.createdAt?new Date(Q.createdAt).toLocaleString("zh-CN"):""].join(",")}),H="\uFEFF"+[Y.join(","),...L].join(` -`),ue=new Blob([H],{type:"text/csv;charset=utf-8"}),U=URL.createObjectURL(ue),he=document.createElement("a");he.href=U,he.download=`订单列表_${new Date().toISOString().slice(0,10)}.csv`,he.click(),URL.revokeObjectURL(U)}return i.jsxs("div",{className:"p-8 w-full",children:[D&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:D}),i.jsx("button",{type:"button",onClick:()=>F(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"订单管理"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",t.length," 笔订单"]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs(re,{variant:"outline",onClick:q,disabled:C,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${C?"animate-spin":""}`}),"刷新"]}),i.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[i.jsx("span",{className:"text-gray-400",children:"总收入:"}),i.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",o.toFixed(2)]}),i.jsx("span",{className:"text-gray-600",children:"|"}),i.jsx("span",{className:"text-gray-400",children:"今日:"}),i.jsxs("span",{className:"text-[#FFD700] font-bold",children:["¥",u.toFixed(2)]})]})]})]}),i.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[i.jsxs("div",{className:"relative flex-1 max-w-md",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),i.jsx(ce,{type:"text",placeholder:"搜索订单号/用户/章节...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500",value:v,onChange:Y=>j(Y.target.value)})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(DN,{className:"w-4 h-4 text-gray-400"}),i.jsxs("select",{value:k,onChange:Y=>E(Y.target.value),className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"pending",children:"待支付"}),i.jsx("option",{value:"created",children:"已创建"}),i.jsx("option",{value:"failed",children:"已失败"}),i.jsx("option",{value:"refunded",children:"已退款"})]})]}),i.jsxs(re,{variant:"outline",onClick:ae,disabled:t.length===0,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(XT,{className:"w-4 h-4 mr-2"}),"导出 CSV"]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Te,{className:"p-0",children:C?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs("div",{children:[i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"订单号"}),i.jsx(ke,{className:"text-gray-400",children:"用户"}),i.jsx(ke,{className:"text-gray-400",children:"商品"}),i.jsx(ke,{className:"text-gray-400",children:"金额"}),i.jsx(ke,{className:"text-gray-400",children:"支付方式"}),i.jsx(ke,{className:"text-gray-400",children:"状态"}),i.jsx(ke,{className:"text-gray-400",children:"退款原因"}),i.jsx(ke,{className:"text-gray-400",children:"分销佣金"}),i.jsx(ke,{className:"text-gray-400",children:"下单时间"}),i.jsx(ke,{className:"text-gray-400",children:"操作"})]})}),i.jsxs(pr,{children:[t.map(Y=>{const L=$(Y);return i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsxs(ve,{className:"font-mono text-xs text-gray-400",children:[(Y.orderSn||Y.id||"").slice(0,12),"..."]}),i.jsx(ve,{children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:Z(Y)}),i.jsx("p",{className:"text-gray-500 text-xs",children:_(Y.userId)})]})}),i.jsx(ve,{children:i.jsxs("div",{children:[i.jsxs("p",{className:"text-white text-sm flex items-center gap-2",children:[L.name,(Y.productType||Y.type)==="vip"&&i.jsx(Fe,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0 text-xs",children:"VIP"})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:L.type})]})}),i.jsxs(ve,{className:"text-[#38bdac] font-bold",children:["¥",Number(Y.amount||0).toFixed(2)]}),i.jsx(ve,{className:"text-gray-300",children:Y.paymentMethod==="wechat"?"微信支付":Y.paymentMethod==="alipay"?"支付宝":Y.paymentMethod||"微信支付"}),i.jsx(ve,{children:Y.status==="refunded"?i.jsx(Fe,{className:"bg-gray-500/20 text-gray-400 hover:bg-gray-500/20 border-0",children:"已退款"}):Y.status==="paid"||Y.status==="completed"?i.jsx(Fe,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"}):Y.status==="pending"||Y.status==="created"?i.jsx(Fe,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:"待支付"}):i.jsx(Fe,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已失败"})}),i.jsx(ve,{className:"text-gray-400 text-sm max-w-[120px] truncate",title:Y.refundReason,children:Y.status==="refunded"&&Y.refundReason?Y.refundReason:"-"}),i.jsx(ve,{className:"text-[#FFD700]",children:Y.referrerEarnings?`¥${Number(Y.referrerEarnings).toFixed(2)}`:"-"}),i.jsx(ve,{className:"text-gray-400 text-sm",children:new Date(Y.createdAt).toLocaleString("zh-CN")}),i.jsx(ve,{children:(Y.status==="paid"||Y.status==="completed")&&i.jsxs(re,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{I(Y),O("")},children:[i.jsx(zN,{className:"w-3 h-3 mr-1"}),"退款"]})})]},Y.id)}),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:10,className:"text-center py-12 text-gray-500",children:"暂无订单数据"})})]})]}),i.jsx(Zr,{page:f,totalPages:oe,total:s,pageSize:g,onPageChange:m,onPageSizeChange:Y=>{y(Y),m(1)}})]})})}),i.jsx(Qt,{open:!!R,onOpenChange:Y=>!Y&&I(null),children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(Xt,{children:i.jsx(Zt,{className:"text-white",children:"订单退款"})}),R&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",R.orderSn||R.id]}),i.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",Number(R.amount||0).toFixed(2)]}),i.jsxs("div",{children:[i.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),i.jsx("div",{className:"form-input",children:i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:A,onChange:Y=>O(Y.target.value)})})]}),i.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>I(null),disabled:W,children:"取消"}),i.jsx(re,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:V,disabled:W,children:W?"退款中...":"确认退款"})]})]})})]})}const dl=b.forwardRef(({className:t,...e},n)=>i.jsx("textarea",{className:gt("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...e}));dl.displayName="Textarea";const hu=[{id:"register",label:"注册/登录",icon:"👤",color:"bg-blue-500/20 border-blue-500/40 text-blue-400",desc:"微信授权登录或手机号注册"},{id:"browse",label:"浏览章节",icon:"📖",color:"bg-purple-500/20 border-purple-500/40 text-purple-400",desc:"点击免费/付费章节预览"},{id:"bind_phone",label:"绑定手机",icon:"📱",color:"bg-cyan-500/20 border-cyan-500/40 text-cyan-400",desc:"触发付费章节后绑定手机"},{id:"first_pay",label:"首次付款",icon:"💳",color:"bg-green-500/20 border-green-500/40 text-green-400",desc:"购买单章或全书"},{id:"fill_profile",label:"完善资料",icon:"✍️",color:"bg-yellow-500/20 border-yellow-500/40 text-yellow-400",desc:"填写头像、MBTI、行业等"},{id:"match",label:"派对房匹配",icon:"🤝",color:"bg-orange-500/20 border-orange-500/40 text-orange-400",desc:"参与 Soul 派对房"},{id:"vip",label:"升级 VIP",icon:"👑",color:"bg-amber-500/20 border-amber-500/40 text-amber-400",desc:"付款 ¥1980 购买全书"},{id:"distribution",label:"开启分销",icon:"🔗",color:"bg-[#38bdac]/20 border-[#38bdac]/40 text-[#38bdac]",desc:"生成推广码并推荐好友"}];function tP(){var ls,oi,cs,fa,ds;const[t,e]=MN(),n=t.get("pool"),[r,s]=b.useState([]),[a,o]=b.useState(0),[c,u]=b.useState(1),[h,f]=b.useState(10),[m,g]=b.useState(""),y=$x(m,300),v=n==="vip"?"vip":n==="complete"?"complete":"all",[j,w]=b.useState(v),[k,E]=b.useState(!0),[C,M]=b.useState(null),[D,F]=b.useState(!1),[R,I]=b.useState("desc");b.useEffect(()=>{n==="vip"?w("vip"):n==="complete"?w("complete"):n==="all"&&w("all")},[n]);const[A,O]=b.useState(!1),[W,X]=b.useState(null),[q,Z]=b.useState(!1),[_,$]=b.useState(!1),[oe,V]=b.useState({referrals:[],stats:{}}),[ae,Y]=b.useState(!1),[L,H]=b.useState(null),[ue,U]=b.useState(!1),[he,Q]=b.useState(null),[ee,de]=b.useState({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),[Ce,B]=b.useState([]),[me,Se]=b.useState(!1),[rt,Ye]=b.useState(!1),[st,Qe]=b.useState(null),[Xe,ft]=b.useState({title:"",description:"",trigger:"",sort:0,enabled:!0}),[Pt,Jt]=b.useState([]),[Kn,qn]=b.useState(!1),[ss,zt]=b.useState(!1),[Cr,is]=b.useState(null),[On,pn]=b.useState({name:"",sort:0}),[mr,Br]=b.useState({}),[Gn,fe]=b.useState(!1);async function ge(){var G;E(!0),M(null);try{if(D){const Ke=new URLSearchParams({search:y,limit:String(h*5)}),Ze=await Be(`/api/db/users/rfm?${Ke}`);if(Ze!=null&&Ze.success){let En=Ze.users||[];R==="asc"&&(En=[...En].reverse());const Vr=(c-1)*h;s(En.slice(Vr,Vr+h)),o(((G=Ze.users)==null?void 0:G.length)??0),En.length===0&&(F(!1),M("暂无订单数据,RFM 排序需要用户有购买记录后才能生效"))}else F(!1),M((Ze==null?void 0:Ze.error)||"RFM 加载失败,已切回普通模式")}else{const Ke=new URLSearchParams({page:String(c),pageSize:String(h),search:y,...j==="vip"&&{vip:"true"},...j==="complete"&&{pool:"complete"}}),Ze=await Be(`/api/db/users?${Ke}`);Ze!=null&&Ze.success?(s(Ze.users||[]),o(Ze.total??0)):M((Ze==null?void 0:Ze.error)||"加载失败")}}catch(Ke){console.error("Load users error:",Ke),M("网络错误")}finally{E(!1)}}b.useEffect(()=>{u(1)},[y,j,D]),b.useEffect(()=>{ge()},[c,h,y,j,D,R]);const Sn=Math.ceil(a/h)||1,ri=()=>{D?R==="desc"?I("asc"):(F(!1),I("desc")):(F(!0),I("desc"))},Es=G=>({S:"bg-amber-500/20 text-amber-400",A:"bg-green-500/20 text-green-400",B:"bg-blue-500/20 text-blue-400",C:"bg-gray-500/20 text-gray-400",D:"bg-red-500/20 text-red-400"})[G||""]||"bg-gray-500/20 text-gray-400";async function ua(G){if(confirm("确定要删除这个用户吗?"))try{const Ke=await Yr(`/api/db/users?id=${encodeURIComponent(G)}`);Ke!=null&&Ke.success?ge():alert("删除失败: "+((Ke==null?void 0:Ke.error)||""))}catch{alert("删除失败")}}const Jn=G=>{X(G),de({phone:G.phone||"",nickname:G.nickname||"",password:"",isAdmin:!!(G.isAdmin??!1),hasFullBook:!!(G.hasFullBook??!1)}),O(!0)},as=()=>{X(null),de({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),O(!0)};async function jt(){if(!ee.phone||!ee.nickname){alert("请填写手机号和昵称");return}Z(!0);try{if(W){const G=await Rt("/api/db/users",{id:W.id,nickname:ee.nickname,isAdmin:ee.isAdmin,hasFullBook:ee.hasFullBook,...ee.password&&{password:ee.password}});if(!(G!=null&&G.success)){alert("更新失败: "+((G==null?void 0:G.error)||""));return}}else{const G=await ht("/api/db/users",{phone:ee.phone,nickname:ee.nickname,password:ee.password,isAdmin:ee.isAdmin});if(!(G!=null&&G.success)){alert("创建失败: "+((G==null?void 0:G.error)||""));return}}O(!1),ge()}catch{alert("保存失败")}finally{Z(!1)}}async function Cn(G){H(G),$(!0),Y(!0);try{const Ke=await Be(`/api/db/users/referrals?userId=${encodeURIComponent(G.id)}`);Ke!=null&&Ke.success?V({referrals:Ke.referrals||[],stats:Ke.stats||{}}):V({referrals:[],stats:{}})}catch{V({referrals:[],stats:{}})}finally{Y(!1)}}const Yn=b.useCallback(async()=>{Se(!0);try{const G=await Be("/api/db/user-rules");G!=null&&G.success&&B(G.rules||[])}catch{}finally{Se(!1)}},[]);async function Dn(){if(!Xe.title){alert("请填写规则标题");return}Z(!0);try{if(st){const G=await Rt("/api/db/user-rules",{id:st.id,...Xe});if(!(G!=null&&G.success)){alert("更新失败: "+((G==null?void 0:G.error)||""));return}}else{const G=await ht("/api/db/user-rules",Xe);if(!(G!=null&&G.success)){alert("创建失败: "+((G==null?void 0:G.error)||""));return}}Ye(!1),Yn()}catch{alert("保存失败")}finally{Z(!1)}}async function ha(G){if(confirm("确定删除?"))try{const Ke=await Yr(`/api/db/user-rules?id=${G}`);Ke!=null&&Ke.success&&Yn()}catch{}}async function si(G){try{await Rt("/api/db/user-rules",{id:G.id,enabled:!G.enabled}),Yn()}catch{}}const Er=b.useCallback(async()=>{qn(!0);try{const G=await Be("/api/db/vip-roles");G!=null&&G.success&&Jt(G.roles||[])}catch{}finally{qn(!1)}},[]);async function ii(){if(!On.name){alert("请填写角色名称");return}Z(!0);try{if(Cr){const G=await Rt("/api/db/vip-roles",{id:Cr.id,...On});if(!(G!=null&&G.success)){alert("更新失败");return}}else{const G=await ht("/api/db/vip-roles",On);if(!(G!=null&&G.success)){alert("创建失败");return}}zt(!1),Er()}catch{alert("保存失败")}finally{Z(!1)}}async function ai(G){if(confirm("确定删除?"))try{const Ke=await Yr(`/api/db/vip-roles?id=${G}`);Ke!=null&&Ke.success&&Er()}catch{}}const mn=b.useCallback(async()=>{fe(!0);try{const G=await Be("/api/db/users/journey-stats");G!=null&&G.success&&G.stats&&Br(G.stats)}catch{}finally{fe(!1)}},[]);return i.jsxs("div",{className:"p-8 w-full",children:[C&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:C}),i.jsx("button",{type:"button",onClick:()=>M(null),children:"×"})]}),i.jsx("div",{className:"flex justify-between items-center mb-6",children:i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"用户管理"}),i.jsxs("p",{className:"text-gray-400 mt-1 text-sm",children:["共 ",a," 位注册用户",D&&" · RFM 排序中"]})]})}),i.jsxs(Hc,{defaultValue:"users",className:"w-full",children:[i.jsxs(cl,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-6 flex-wrap h-auto gap-1",children:[i.jsxs(en,{value:"users",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",children:[i.jsx(Nn,{className:"w-4 h-4"})," 用户列表"]}),i.jsxs(en,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:mn,children:[i.jsx(Bo,{className:"w-4 h-4"})," 用户旅程总览"]}),i.jsxs(en,{value:"rules",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Yn,children:[i.jsx(Da,{className:"w-4 h-4"})," 规则配置"]}),i.jsxs(en,{value:"vip-roles",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Er,children:[i.jsx(Aa,{className:"w-4 h-4"})," VIP 角色"]})]}),i.jsxs(tn,{value:"users",children:[i.jsxs("div",{className:"flex items-center gap-3 mb-4 justify-end flex-wrap",children:[i.jsxs(re,{variant:"outline",onClick:ge,disabled:k,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${k?"animate-spin":""}`})," 刷新"]}),i.jsxs("select",{value:j,onChange:G=>{const Ke=G.target.value;w(Ke),u(1),n&&(t.delete("pool"),e(t))},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",disabled:D,children:[i.jsx("option",{value:"all",children:"全部用户"}),i.jsx("option",{value:"vip",children:"VIP会员(超级个体)"}),i.jsx("option",{value:"complete",children:"完善资料用户"})]}),i.jsxs("div",{className:"relative",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),i.jsx(ce,{type:"text",placeholder:"搜索用户...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500 w-56",value:m,onChange:G=>g(G.target.value)})]}),i.jsxs(re,{onClick:as,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(yg,{className:"w-4 h-4 mr-2"})," 添加用户"]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Te,{className:"p-0",children:k?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs("div",{children:[i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"用户信息"}),i.jsx(ke,{className:"text-gray-400",children:"绑定信息"}),i.jsx(ke,{className:"text-gray-400",children:"购买状态"}),i.jsx(ke,{className:"text-gray-400",children:"分销收益"}),i.jsxs(ke,{className:"text-gray-400 cursor-pointer select-none",onClick:ri,children:[i.jsxs("div",{className:"flex items-center gap-1 group",children:[i.jsx(cc,{className:"w-3.5 h-3.5"}),i.jsx("span",{children:"RFM分值"}),D?R==="desc"?i.jsx(jc,{className:"w-3.5 h-3.5 text-[#38bdac]"}):i.jsx(RN,{className:"w-3.5 h-3.5 text-[#38bdac]"}):i.jsx(jT,{className:"w-3.5 h-3.5 text-gray-600 group-hover:text-gray-400"})]}),D&&i.jsx("div",{className:"text-[10px] text-[#38bdac] font-normal mt-0.5",children:"点击切换方向/关闭"})]}),i.jsx(ke,{className:"text-gray-400",children:"注册时间"}),i.jsx(ke,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(pr,{children:[r.map(G=>{var Ke,Ze,En;return i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(ve,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:G.avatar?i.jsx("img",{src:G.avatar,className:"w-full h-full rounded-full object-cover",alt:""}):((Ke=G.nickname)==null?void 0:Ke.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("button",{type:"button",onClick:()=>{Q(G.id),U(!0)},className:"font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:G.nickname}),G.isAdmin&&i.jsx(Fe,{className:"bg-purple-500/20 text-purple-400 hover:bg-purple-500/20 border-0 text-xs",children:"管理员"}),G.openId&&!((Ze=G.id)!=null&&Ze.startsWith("user_"))&&i.jsx(Fe,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0 text-xs",children:"微信"})]}),i.jsx("p",{className:"text-xs text-gray-500 font-mono",children:G.openId?G.openId.slice(0,12)+"...":(En=G.id)==null?void 0:En.slice(0,12)})]})]})}),i.jsx(ve,{children:i.jsxs("div",{className:"space-y-1",children:[G.phone&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"📱"}),i.jsx("span",{className:"text-gray-300",children:G.phone})]}),G.wechatId&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"💬"}),i.jsx("span",{className:"text-gray-300",children:G.wechatId})]}),G.openId&&i.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[i.jsx("span",{className:"text-gray-500",children:"🔗"}),i.jsxs("span",{className:"text-gray-500 truncate max-w-[100px]",title:G.openId,children:[G.openId.slice(0,12),"..."]})]}),!G.phone&&!G.wechatId&&!G.openId&&i.jsx("span",{className:"text-gray-600 text-xs",children:"未绑定"})]})}),i.jsx(ve,{children:G.hasFullBook?i.jsx(Fe,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0",children:"VIP"}):i.jsx(Fe,{variant:"outline",className:"text-gray-500 border-gray-600",children:"未购买"})}),i.jsx(ve,{children:i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"text-white font-medium",children:["¥",parseFloat(String(G.earnings||0)).toFixed(2)]}),parseFloat(String(G.pendingEarnings||0))>0&&i.jsxs("div",{className:"text-xs text-yellow-400",children:["待提现: ¥",parseFloat(String(G.pendingEarnings||0)).toFixed(2)]}),i.jsxs("div",{className:"text-xs text-[#38bdac] cursor-pointer hover:underline flex items-center gap-1",onClick:()=>Cn(G),role:"button",tabIndex:0,onKeyDown:Vr=>Vr.key==="Enter"&&Cn(G),children:[i.jsx(Nn,{className:"w-3 h-3"})," 绑定",G.referralCount||0,"人"]})]})}),i.jsx(ve,{children:G.rfmScore!==void 0?i.jsx("div",{className:"flex flex-col gap-1",children:i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("span",{className:"text-white font-bold text-base",children:G.rfmScore}),i.jsx(Fe,{className:`border-0 text-xs ${Es(G.rfmLevel)}`,children:G.rfmLevel})]})}):i.jsxs("span",{className:"text-gray-600 text-sm",children:["— ",i.jsx("span",{className:"text-xs text-gray-700",children:"点列头排序"})]})}),i.jsx(ve,{className:"text-gray-400",children:G.createdAt?new Date(G.createdAt).toLocaleDateString():"-"}),i.jsx(ve,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>{Q(G.id),U(!0)},className:"text-gray-400 hover:text-blue-400 hover:bg-blue-400/10",title:"用户详情",children:i.jsx(pg,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>Jn(G),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",title:"编辑用户",children:i.jsx(bt,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",onClick:()=>ua(G.id),title:"删除",children:i.jsx(vn,{className:"w-4 h-4"})})]})})]},G.id)}),r.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无用户数据"})})]})]}),i.jsx(Zr,{page:c,totalPages:Sn,total:a,pageSize:h,onPageChange:u,onPageSizeChange:G=>{f(G),u(1)}})]})})})]}),i.jsxs(tn,{value:"journey",children:[i.jsxs("div",{className:"flex items-center justify-between mb-5",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"用户从注册到 VIP 的完整行动路径,点击各阶段查看用户动态"}),i.jsxs(re,{variant:"outline",onClick:mn,disabled:Gn,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${Gn?"animate-spin":""}`})," 刷新数据"]})]}),i.jsxs("div",{className:"relative mb-8",children:[i.jsx("div",{className:"absolute top-16 left-0 right-0 h-0.5 bg-gradient-to-r from-blue-500/20 via-[#38bdac]/30 to-amber-500/20 mx-20"}),i.jsx("div",{className:"grid grid-cols-4 gap-4 lg:grid-cols-8",children:hu.map((G,Ke)=>i.jsxs("div",{className:"relative flex flex-col items-center",children:[i.jsxs("div",{className:`relative w-full p-3 rounded-xl border ${G.color} text-center cursor-default`,children:[i.jsx("div",{className:"text-2xl mb-1",children:G.icon}),i.jsx("div",{className:`text-xs font-medium ${G.color.split(" ").find(Ze=>Ze.startsWith("text-"))}`,children:G.label}),mr[G.id]!==void 0&&i.jsxs("div",{className:"mt-1.5 text-xs text-gray-400",children:[i.jsx("span",{className:"font-bold text-white",children:mr[G.id]})," 人"]}),i.jsx("div",{className:"absolute -top-2.5 -left-2.5 w-5 h-5 rounded-full bg-[#0a1628] border border-gray-700 flex items-center justify-center text-[10px] text-gray-500",children:Ke+1})]}),Kei.jsxs("div",{className:"flex items-start gap-3 p-2 bg-[#0a1628] rounded",children:[i.jsx("span",{className:"text-[#38bdac] font-mono text-xs shrink-0 mt-0.5",children:G.step}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-300",children:G.action}),i.jsxs("p",{className:"text-gray-600 text-xs",children:["→ ",G.next]})]})]},G.step))})]}),i.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/50 rounded-lg p-4",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx(zr,{className:"w-4 h-4 text-purple-400"}),i.jsx("span",{className:"text-white font-medium",children:"行为锚点统计"}),i.jsx("span",{className:"text-gray-500 text-xs ml-auto",children:"实时更新"})]}),Gn?i.jsx("div",{className:"flex items-center justify-center py-8",children:i.jsx(qe,{className:"w-5 h-5 text-[#38bdac] animate-spin"})}):Object.keys(mr).length>0?i.jsx("div",{className:"space-y-2",children:hu.map(G=>{const Ke=mr[G.id]||0,Ze=Math.max(...hu.map(Vr=>mr[Vr.id]||0),1),En=Math.round(Ke/Ze*100);return i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("span",{className:"text-gray-500 text-xs w-20 shrink-0",children:[G.icon," ",G.label]}),i.jsx("div",{className:"flex-1 h-2 bg-[#0a1628] rounded-full overflow-hidden",children:i.jsx("div",{className:"h-full bg-[#38bdac]/60 rounded-full transition-all",style:{width:`${En}%`}})}),i.jsx("span",{className:"text-gray-400 text-xs w-10 text-right",children:Ke})]},G.id)})}):i.jsx("div",{className:"text-center py-8",children:i.jsx("p",{className:"text-gray-500 text-sm",children:"点击「刷新数据」加载统计"})})]})]})]}),i.jsxs(tn,{value:"rules",children:[i.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"用户旅程引导规则,定义各行为节点的触发条件与引导内容"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(re,{variant:"outline",onClick:Yn,disabled:me,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${me?"animate-spin":""}`})," 刷新"]}),i.jsxs(re,{onClick:()=>{Qe(null),ft({title:"",description:"",trigger:"",sort:0,enabled:!0}),Ye(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"})," 添加规则"]})]})]}),me?i.jsx("div",{className:"flex items-center justify-center py-12",children:i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):Ce.length===0?i.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[i.jsx(zr,{className:"w-12 h-12 text-[#38bdac]/30 mx-auto mb-4"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"暂无规则(重启服务将自动写入10条默认规则)"}),i.jsxs(re,{onClick:Yn,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(qe,{className:"w-4 h-4 mr-2"})," 重新加载"]})]}):i.jsx("div",{className:"space-y-2",children:Ce.map(G=>i.jsx("div",{className:`p-4 rounded-lg border transition-all ${G.enabled?"bg-[#0f2137] border-gray-700/50":"bg-[#0a1628]/50 border-gray-700/30 opacity-55"}`,children:i.jsxs("div",{className:"flex items-start justify-between",children:[i.jsxs("div",{className:"flex-1",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-wrap mb-1",children:[i.jsx(bt,{className:"w-4 h-4 text-[#38bdac] shrink-0"}),i.jsx("span",{className:"text-white font-medium",children:G.title}),G.trigger&&i.jsxs(Fe,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/30 text-xs",children:["触发:",G.trigger]}),i.jsx(Fe,{className:`text-xs border-0 ${G.enabled?"bg-green-500/20 text-green-400":"bg-gray-500/20 text-gray-400"}`,children:G.enabled?"启用":"禁用"})]}),G.description&&i.jsx("p",{className:"text-gray-400 text-sm ml-6",children:G.description})]}),i.jsxs("div",{className:"flex items-center gap-2 ml-4 shrink-0",children:[i.jsx(yt,{checked:G.enabled,onCheckedChange:()=>si(G)}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>{Qe(G),ft({title:G.title,description:G.description,trigger:G.trigger,sort:G.sort,enabled:G.enabled}),Ye(!0)},className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(bt,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>ha(G.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(vn,{className:"w-4 h-4"})})]})]})},G.id))})]}),i.jsxs(tn,{value:"vip-roles",children:[i.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"管理用户 VIP 角色分类,这些角色将在用户详情和会员展示中使用"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(re,{variant:"outline",onClick:Er,disabled:Kn,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${Kn?"animate-spin":""}`})," 刷新"]}),i.jsxs(re,{onClick:()=>{is(null),pn({name:"",sort:0}),zt(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"})," 添加角色"]})]})]}),Kn?i.jsx("div",{className:"flex items-center justify-center py-12",children:i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):Pt.length===0?i.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[i.jsx(Aa,{className:"w-12 h-12 text-amber-400/30 mx-auto mb-4"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"暂无 VIP 角色"}),i.jsxs(re,{onClick:()=>{is(null),pn({name:"",sort:0}),zt(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"})," 添加第一个角色"]})]}):i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3",children:Pt.map(G=>i.jsxs("div",{className:"p-4 bg-[#0f2137] border border-amber-500/20 rounded-xl hover:border-amber-500/40 transition-all group",children:[i.jsxs("div",{className:"flex items-start justify-between mb-2",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Aa,{className:"w-4 h-4 text-amber-400"}),i.jsx("span",{className:"text-white font-medium",children:G.name})]}),i.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx("button",{type:"button",onClick:()=>{is(G),pn({name:G.name,sort:G.sort}),zt(!0)},className:"text-gray-500 hover:text-[#38bdac]",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),i.jsx("button",{type:"button",onClick:()=>ai(G.id),className:"text-gray-500 hover:text-red-400",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]}),i.jsxs("p",{className:"text-gray-600 text-xs",children:["排序: ",G.sort]})]},G.id))})]})]}),i.jsx(Qt,{open:A,onOpenChange:O,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[W?i.jsx(bt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(yg,{className:"w-5 h-5 text-[#38bdac]"}),W?"编辑用户":"添加用户"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入手机号",value:ee.phone,onChange:G=>de({...ee,phone:G.target.value}),disabled:!!W})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入昵称",value:ee.nickname,onChange:G=>de({...ee,nickname:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:W?"新密码 (留空则不修改)":"密码"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:W?"留空则不修改":"请输入密码",value:ee.password,onChange:G=>de({...ee,password:G.target.value})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-300",children:"管理员权限"}),i.jsx(yt,{checked:ee.isAdmin,onCheckedChange:G=>de({...ee,isAdmin:G})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(te,{className:"text-gray-300",children:"已购全书"}),i.jsx(yt,{checked:ee.hasFullBook,onCheckedChange:G=>de({...ee,hasFullBook:G})})]})]}),i.jsxs(bn,{children:[i.jsxs(re,{variant:"outline",onClick:()=>O(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(re,{onClick:jt,disabled:q,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),q?"保存中...":"保存"]})]})]})}),i.jsx(Qt,{open:rt,onOpenChange:Ye,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(bt,{className:"w-5 h-5 text-[#38bdac]"}),st?"编辑规则":"添加规则"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"规则标题 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:匹配后填写头像、付款1980需填写信息",value:Xe.title,onChange:G=>ft({...Xe,title:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"规则描述"}),i.jsx(dl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[80px] resize-none",placeholder:"详细说明规则内容...",value:Xe.description,onChange:G=>ft({...Xe,description:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"触发条件"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:完成匹配、付款后、注册时",value:Xe.trigger,onChange:G=>ft({...Xe,trigger:G.target.value})})]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{children:i.jsx(te,{className:"text-gray-300",children:"启用状态"})}),i.jsx(yt,{checked:Xe.enabled,onCheckedChange:G=>ft({...Xe,enabled:G})})]})]}),i.jsxs(bn,{children:[i.jsxs(re,{variant:"outline",onClick:()=>Ye(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(re,{onClick:Dn,disabled:q,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),q?"保存中...":"保存"]})]})]})}),i.jsx(Qt,{open:ss,onOpenChange:zt,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(Aa,{className:"w-5 h-5 text-amber-400"}),Cr?"编辑 VIP 角色":"添加 VIP 角色"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色名称 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:创业者、资源整合者、技术咖",value:On.name,onChange:G=>pn({...On,name:G.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序(越小越前)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:On.sort,onChange:G=>pn({...On,sort:parseInt(G.target.value)||0})})]})]}),i.jsxs(bn,{children:[i.jsxs(re,{variant:"outline",onClick:()=>zt(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(re,{onClick:ii,disabled:q,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),q?"保存中...":"保存"]})]})]})}),i.jsx(Qt,{open:_,onOpenChange:$,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-2xl max-h-[80vh] overflow-auto",children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(Nn,{className:"w-5 h-5 text-[#38bdac]"}),"绑定关系 - ",L==null?void 0:L.nickname]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-4 gap-3",children:[i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-[#38bdac]",children:((ls=oe.stats)==null?void 0:ls.total)||0}),i.jsx("div",{className:"text-xs text-gray-400",children:"绑定总数"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsx("div",{className:"text-2xl font-bold text-green-400",children:((oi=oe.stats)==null?void 0:oi.purchased)||0}),i.jsx("div",{className:"text-xs text-gray-400",children:"已付费"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsxs("div",{className:"text-2xl font-bold text-yellow-400",children:["¥",(((cs=oe.stats)==null?void 0:cs.earnings)||0).toFixed(2)]}),i.jsx("div",{className:"text-xs text-gray-400",children:"累计收益"})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[i.jsxs("div",{className:"text-2xl font-bold text-orange-400",children:["¥",(((fa=oe.stats)==null?void 0:fa.pendingEarnings)||0).toFixed(2)]}),i.jsx("div",{className:"text-xs text-gray-400",children:"待提现"})]})]}),ae?i.jsxs("div",{className:"flex items-center justify-center py-8",children:[i.jsx(qe,{className:"w-5 h-5 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):(((ds=oe.referrals)==null?void 0:ds.length)??0)>0?i.jsx("div",{className:"space-y-2 max-h-[300px] overflow-y-auto",children:(oe.referrals??[]).map((G,Ke)=>{var En;const Ze=G;return i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg p-3",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:((En=Ze.nickname)==null?void 0:En.charAt(0))||"?"}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white text-sm",children:Ze.nickname}),i.jsx("div",{className:"text-xs text-gray-500",children:Ze.phone||(Ze.hasOpenId?"微信用户":"未绑定")})]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[Ze.status==="vip"&&i.jsx(Fe,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"全书已购"}),Ze.status==="paid"&&i.jsxs(Fe,{className:"bg-blue-500/20 text-blue-400 border-0 text-xs",children:["已付费",Ze.purchasedSections,"章"]}),Ze.status==="free"&&i.jsx(Fe,{className:"bg-gray-500/20 text-gray-400 border-0 text-xs",children:"未付费"}),i.jsx("span",{className:"text-xs text-gray-500",children:Ze.createdAt?new Date(Ze.createdAt).toLocaleDateString():""})]})]},Ze.id||Ke)})}):i.jsx("div",{className:"text-center py-8 text-gray-500",children:"暂无绑定用户"})]}),i.jsx(bn,{children:i.jsx(re,{variant:"outline",onClick:()=>$(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"关闭"})})]})}),i.jsx(zx,{open:ue,onClose:()=>U(!1),userId:he,onUserUpdated:ge})]})}function qu(t,[e,n]){return Math.min(n,Math.max(e,t))}var ik=["PageUp","PageDown"],ak=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],ok={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},ul="Slider",[jg,nP,rP]=Ox(ul),[lk]=ia(ul,[rP]),[sP,Qh]=lk(ul),ck=b.forwardRef((t,e)=>{const{name:n,min:r=0,max:s=100,step:a=1,orientation:o="horizontal",disabled:c=!1,minStepsBetweenThumbs:u=0,defaultValue:h=[r],value:f,onValueChange:m=()=>{},onValueCommit:g=()=>{},inverted:y=!1,form:v,...j}=t,w=b.useRef(new Set),k=b.useRef(0),C=o==="horizontal"?iP:aP,[M=[],D]=Ba({prop:f,defaultProp:h,onChange:W=>{var q;(q=[...w.current][k.current])==null||q.focus(),m(W)}}),F=b.useRef(M);function R(W){const X=uP(M,W);O(W,X)}function I(W){O(W,k.current)}function A(){const W=F.current[k.current];M[k.current]!==W&&g(M)}function O(W,X,{commit:q}={commit:!1}){const Z=mP(a),_=gP(Math.round((W-r)/a)*a+r,Z),$=qu(_,[r,s]);D((oe=[])=>{const V=cP(oe,$,X);if(pP(V,u*a)){k.current=V.indexOf($);const ae=String(V)!==String(oe);return ae&&q&&g(V),ae?V:oe}else return oe})}return i.jsx(sP,{scope:t.__scopeSlider,name:n,disabled:c,min:r,max:s,valueIndexToChangeRef:k,thumbs:w.current,values:M,orientation:o,form:v,children:i.jsx(jg.Provider,{scope:t.__scopeSlider,children:i.jsx(jg.Slot,{scope:t.__scopeSlider,children:i.jsx(C,{"aria-disabled":c,"data-disabled":c?"":void 0,...j,ref:e,onPointerDown:nt(j.onPointerDown,()=>{c||(F.current=M)}),min:r,max:s,inverted:y,onSlideStart:c?void 0:R,onSlideMove:c?void 0:I,onSlideEnd:c?void 0:A,onHomeKeyDown:()=>!c&&O(r,0,{commit:!0}),onEndKeyDown:()=>!c&&O(s,M.length-1,{commit:!0}),onStepKeyDown:({event:W,direction:X})=>{if(!c){const _=ik.includes(W.key)||W.shiftKey&&ak.includes(W.key)?10:1,$=k.current,oe=M[$],V=a*_*X;O(oe+V,$,{commit:!0})}}})})})})});ck.displayName=ul;var[dk,uk]=lk(ul,{startEdge:"left",endEdge:"right",size:"width",direction:1}),iP=b.forwardRef((t,e)=>{const{min:n,max:r,dir:s,inverted:a,onSlideStart:o,onSlideMove:c,onSlideEnd:u,onStepKeyDown:h,...f}=t,[m,g]=b.useState(null),y=mt(e,C=>g(C)),v=b.useRef(void 0),j=Gh(s),w=j==="ltr",k=w&&!a||!w&&a;function E(C){const M=v.current||m.getBoundingClientRect(),D=[0,M.width],R=Fx(D,k?[n,r]:[r,n]);return v.current=M,R(C-M.left)}return i.jsx(dk,{scope:t.__scopeSlider,startEdge:k?"left":"right",endEdge:k?"right":"left",direction:k?1:-1,size:"width",children:i.jsx(hk,{dir:j,"data-orientation":"horizontal",...f,ref:y,style:{...f.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:C=>{const M=E(C.clientX);o==null||o(M)},onSlideMove:C=>{const M=E(C.clientX);c==null||c(M)},onSlideEnd:()=>{v.current=void 0,u==null||u()},onStepKeyDown:C=>{const D=ok[k?"from-left":"from-right"].includes(C.key);h==null||h({event:C,direction:D?-1:1})}})})}),aP=b.forwardRef((t,e)=>{const{min:n,max:r,inverted:s,onSlideStart:a,onSlideMove:o,onSlideEnd:c,onStepKeyDown:u,...h}=t,f=b.useRef(null),m=mt(e,f),g=b.useRef(void 0),y=!s;function v(j){const w=g.current||f.current.getBoundingClientRect(),k=[0,w.height],C=Fx(k,y?[r,n]:[n,r]);return g.current=w,C(j-w.top)}return i.jsx(dk,{scope:t.__scopeSlider,startEdge:y?"bottom":"top",endEdge:y?"top":"bottom",size:"height",direction:y?1:-1,children:i.jsx(hk,{"data-orientation":"vertical",...h,ref:m,style:{...h.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:j=>{const w=v(j.clientY);a==null||a(w)},onSlideMove:j=>{const w=v(j.clientY);o==null||o(w)},onSlideEnd:()=>{g.current=void 0,c==null||c()},onStepKeyDown:j=>{const k=ok[y?"from-bottom":"from-top"].includes(j.key);u==null||u({event:j,direction:k?-1:1})}})})}),hk=b.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:s,onSlideEnd:a,onHomeKeyDown:o,onEndKeyDown:c,onStepKeyDown:u,...h}=t,f=Qh(ul,n);return i.jsx(ot.span,{...h,ref:e,onKeyDown:nt(t.onKeyDown,m=>{m.key==="Home"?(o(m),m.preventDefault()):m.key==="End"?(c(m),m.preventDefault()):ik.concat(ak).includes(m.key)&&(u(m),m.preventDefault())}),onPointerDown:nt(t.onPointerDown,m=>{const g=m.target;g.setPointerCapture(m.pointerId),m.preventDefault(),f.thumbs.has(g)?g.focus():r(m)}),onPointerMove:nt(t.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&s(m)}),onPointerUp:nt(t.onPointerUp,m=>{const g=m.target;g.hasPointerCapture(m.pointerId)&&(g.releasePointerCapture(m.pointerId),a(m))})})}),fk="SliderTrack",pk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,s=Qh(fk,n);return i.jsx(ot.span,{"data-disabled":s.disabled?"":void 0,"data-orientation":s.orientation,...r,ref:e})});pk.displayName=fk;var kg="SliderRange",mk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,s=Qh(kg,n),a=uk(kg,n),o=b.useRef(null),c=mt(e,o),u=s.values.length,h=s.values.map(g=>yk(g,s.min,s.max)),f=u>1?Math.min(...h):0,m=100-Math.max(...h);return i.jsx(ot.span,{"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,...r,ref:c,style:{...t.style,[a.startEdge]:f+"%",[a.endEdge]:m+"%"}})});mk.displayName=kg;var Sg="SliderThumb",gk=b.forwardRef((t,e)=>{const n=nP(t.__scopeSlider),[r,s]=b.useState(null),a=mt(e,c=>s(c)),o=b.useMemo(()=>r?n().findIndex(c=>c.ref.current===r):-1,[n,r]);return i.jsx(oP,{...t,ref:a,index:o})}),oP=b.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:s,...a}=t,o=Qh(Sg,n),c=uk(Sg,n),[u,h]=b.useState(null),f=mt(e,E=>h(E)),m=u?o.form||!!u.closest("form"):!0,g=_x(u),y=o.values[r],v=y===void 0?0:yk(y,o.min,o.max),j=dP(r,o.values.length),w=g==null?void 0:g[c.size],k=w?hP(w,v,c.direction):0;return b.useEffect(()=>{if(u)return o.thumbs.add(u),()=>{o.thumbs.delete(u)}},[u,o.thumbs]),i.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:`calc(${v}% + ${k}px)`},children:[i.jsx(jg.ItemSlot,{scope:t.__scopeSlider,children:i.jsx(ot.span,{role:"slider","aria-label":t["aria-label"]||j,"aria-valuemin":o.min,"aria-valuenow":y,"aria-valuemax":o.max,"aria-orientation":o.orientation,"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,tabIndex:o.disabled?void 0:0,...a,ref:f,style:y===void 0?{display:"none"}:t.style,onFocus:nt(t.onFocus,()=>{o.valueIndexToChangeRef.current=r})})}),m&&i.jsx(xk,{name:s??(o.name?o.name+(o.values.length>1?"[]":""):void 0),form:o.form,value:y},r)]})});gk.displayName=Sg;var lP="RadioBubbleInput",xk=b.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const s=b.useRef(null),a=mt(s,r),o=Lx(e);return b.useEffect(()=>{const c=s.current;if(!c)return;const u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("input",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),i.jsx(ot.input,{style:{display:"none"},...n,ref:a,defaultValue:e})});xk.displayName=lP;function cP(t=[],e,n){const r=[...t];return r[n]=e,r.sort((s,a)=>s-a)}function yk(t,e,n){const a=100/(n-e)*(t-e);return qu(a,[0,100])}function dP(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function uP(t,e){if(t.length===1)return 0;const n=t.map(s=>Math.abs(s-e)),r=Math.min(...n);return n.indexOf(r)}function hP(t,e,n){const r=t/2,a=Fx([0,50],[0,r]);return(r-a(e)*n)*n}function fP(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function pP(t,e){if(e>0){const n=fP(t);return Math.min(...n)>=e}return!0}function Fx(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function mP(t){return(String(t).split(".")[1]||"").length}function gP(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var xP=ck,yP=pk,vP=mk,bP=gk;function wP({className:t,defaultValue:e,value:n,min:r=0,max:s=100,...a}){const o=b.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,s],[n,e,r,s]);return i.jsxs(xP,{defaultValue:e,value:n,min:r,max:s,className:gt("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50",t),...a,children:[i.jsx(yP,{className:"bg-gray-600 relative grow overflow-hidden rounded-full h-1.5 w-full",children:i.jsx(vP,{className:"bg-[#38bdac] absolute h-full rounded-full"})}),Array.from({length:o.length},(c,u)=>i.jsx(bP,{className:"block size-4 shrink-0 rounded-full border-2 border-[#38bdac] bg-white shadow-sm focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"},u))]})}const NP={distributorShare:90,minWithdrawAmount:10,bindingDays:30,userDiscount:5,enableAutoWithdraw:!1,vipOrderShareVip:20,vipOrderShareNonVip:10};function vk({embedded:t=!1}){const[e,n]=b.useState(NP),[r,s]=b.useState(!0),[a,o]=b.useState(!1);b.useEffect(()=>{Be("/api/admin/referral-settings").then(h=>{const f=h==null?void 0:h.data;f&&typeof f=="object"&&n({distributorShare:f.distributorShare??90,minWithdrawAmount:f.minWithdrawAmount??10,bindingDays:f.bindingDays??30,userDiscount:f.userDiscount??5,enableAutoWithdraw:f.enableAutoWithdraw??!1,vipOrderShareVip:f.vipOrderShareVip??20,vipOrderShareNonVip:f.vipOrderShareNonVip??10})}).catch(console.error).finally(()=>s(!1))},[]);const c=async()=>{o(!0);try{const h={distributorShare:Number(e.distributorShare)||0,minWithdrawAmount:Number(e.minWithdrawAmount)||0,bindingDays:Number(e.bindingDays)||0,userDiscount:Number(e.userDiscount)||0,enableAutoWithdraw:!!e.enableAutoWithdraw,vipOrderShareVip:Number(e.vipOrderShareVip)||20,vipOrderShareNonVip:Number(e.vipOrderShareNonVip)||10},f=await ht("/api/admin/referral-settings",h);if(!f||f.success===!1){alert("保存失败: "+(f&&typeof f=="object"&&"error"in f?f.error:""));return}alert(`✅ 分销配置已保存成功! - -• 小程序与网站的推广规则会一起生效 -• 绑定关系会使用新的天数配置 -• 佣金比例会立即应用到新订单 - -如有缓存,请刷新前台/小程序页面。`)}catch(h){console.error(h),alert("保存失败: "+(h instanceof Error?h.message:String(h)))}finally{o(!1)}},u=h=>f=>{const m=parseFloat(f.target.value||"0");n(g=>({...g,[h]:isNaN(m)?0:m}))};return r?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Jo,{className:"w-5 h-5 text-[#38bdac]"}),"推广 / 分销设置"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理「好友优惠」「你得 90% 收益」「绑定期 30 天」「提现门槛」等规则,小程序和 Web 共用这套配置。"})]}),i.jsxs(re,{onClick:c,disabled:a||r,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),a?"保存中...":"保存配置"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"flex items-center gap-2 text-white",children:[i.jsx(eA,{className:"w-4 h-4 text-[#38bdac]"}),"推广规则"]}),i.jsx(It,{className:"text-gray-400",children:"这三项会直接体现在小程序「推广规则」卡片上,同时影响实收佣金计算。"})]}),i.jsx(Te,{className:"space-y-6",children:i.jsxs("div",{className:"grid grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(su,{className:"w-3 h-3 text-[#38bdac]"}),"好友优惠(%)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.userDiscount,onChange:u("userDiscount")}),i.jsx("p",{className:"text-xs text-gray-500",children:"例如 5 表示好友立减 5%(在价格配置基础上生效)。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(Nn,{className:"w-3 h-3 text-[#38bdac]"}),"推广者分成(%)"]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx(wP,{className:"flex-1",min:10,max:100,step:1,value:[e.distributorShare],onValueChange:([h])=>n(f=>({...f,distributorShare:h}))}),i.jsx(ce,{type:"number",min:0,max:100,className:"w-20 bg-[#0a1628] border-gray-700 text-white text-center",value:e.distributorShare,onChange:u("distributorShare")})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["内容订单佣金 = 订单金额 ×"," ",i.jsxs("span",{className:"text-[#38bdac] font-mono",children:[e.distributorShare,"%"]}),";会员订单见下方。"]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(su,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者是会员 %)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareVip,onChange:u("vipOrderShareVip")}),i.jsx("p",{className:"text-xs text-gray-500",children:"推广者已是会员时,会员订单佣金比例,默认 20%。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(su,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者非会员 %)"]}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareNonVip,onChange:u("vipOrderShareNonVip")}),i.jsx("p",{className:"text-xs text-gray-500",children:"推广者非会员时,会员订单佣金比例,默认 10%。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(Nn,{className:"w-3 h-3 text-[#38bdac]"}),"绑定有效期(天)"]}),i.jsx(ce,{type:"number",min:1,max:365,className:"bg-[#0a1628] border-gray-700 text-white",value:e.bindingDays,onChange:u("bindingDays")}),i.jsx("p",{className:"text-xs text-gray-500",children:"好友通过你的链接进来并登录后,绑定在你名下的天数。"})]})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"flex items-center gap-2 text-white",children:[i.jsx(Jo,{className:"w-4 h-4 text-[#38bdac]"}),"提现规则"]}),i.jsx(It,{className:"text-gray-400",children:"与「提现中心」「自动提现」相关的参数,影响推广者看到的可提现金额和最低门槛。"})]}),i.jsx(Te,{className:"space-y-6",children:i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最低提现金额(元)"}),i.jsx(ce,{type:"number",min:0,step:1,className:"bg-[#0a1628] border-gray-700 text-white",value:e.minWithdrawAmount,onChange:u("minWithdrawAmount")}),i.jsx("p",{className:"text-xs text-gray-500",children:"小程序「满 X 元可提现」展示的门槛,同时用于后端接口校验。"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:["自动提现开关",i.jsx(Fe,{variant:"outline",className:"border-[#38bdac]/40 text-[#38bdac] text-[10px]",children:"预留"})]}),i.jsxs("div",{className:"flex items-center gap-3 mt-1",children:[i.jsx(yt,{checked:e.enableAutoWithdraw,onCheckedChange:h=>n(f=>({...f,enableAutoWithdraw:h}))}),i.jsx("span",{className:"text-sm text-gray-400",children:"开启后,可结合定时任务实现「收益自动打款到微信零钱」。"})]})]})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(et,{children:i.jsxs(tt,{className:"flex items-center gap-2 text-gray-200 text-sm",children:[i.jsx(su,{className:"w-4 h-4 text-[#38bdac]"}),"使用说明"]})}),i.jsxs(Te,{className:"space-y-2 text-xs text-gray-400 leading-relaxed",children:[i.jsxs("p",{children:["1. 以上配置会写入"," ",i.jsx("code",{className:"font-mono text-[11px] text-[#38bdac]",children:"system_config.referral_config"}),",小程序「推广中心」、Web 推广页以及支付回调都会读取同一份配置。"]}),i.jsx("p",{children:"2. 修改后新订单立即生效;旧订单的历史佣金不会自动重算,只影响之后产生的订单。"}),i.jsx("p",{children:"3. 如遇前端展示与实际结算不一致,优先以此处配置为准,再排查缓存和小程序版本。"})]})]})]})]})}function jP(){var Ce;const[t,e]=b.useState("overview"),[n,r]=b.useState([]),[s,a]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState([]),[g,y]=b.useState(!0),[v,j]=b.useState(null),[w,k]=b.useState(""),[E,C]=b.useState("all"),[M,D]=b.useState(1),[F,R]=b.useState(10),[I,A]=b.useState(0),[O,W]=b.useState(new Set),[X,q]=b.useState(null),[Z,_]=b.useState(""),[$,oe]=b.useState(!1);b.useEffect(()=>{V()},[]),b.useEffect(()=>{D(1)},[t,E]),b.useEffect(()=>{ae(t)},[t]),b.useEffect(()=>{["orders","bindings","withdrawals"].includes(t)&&ae(t,!0)},[M,F,E,w]);async function V(){j(null);try{const B=await Be("/api/admin/distribution/overview");B!=null&&B.success&&B.overview&&a(B.overview)}catch(B){console.error("[Admin] 概览接口异常:",B),j("加载概览失败")}try{const B=await Be("/api/db/users");m((B==null?void 0:B.users)||[])}catch(B){console.error("[Admin] 用户数据加载失败:",B)}}async function ae(B,me=!1){var Se;if(!(!me&&O.has(B))){y(!0);try{const rt=f;switch(B){case"overview":break;case"orders":{try{const Ye=new URLSearchParams({page:String(M),pageSize:String(F),...E!=="all"&&{status:E},...w&&{search:w}}),st=await Be(`/api/orders?${Ye}`);if(st!=null&&st.success&&st.orders){const Qe=st.orders.map(Xe=>{const ft=rt.find(Jt=>Jt.id===Xe.userId),Pt=Xe.referrerId?rt.find(Jt=>Jt.id===Xe.referrerId):null;return{...Xe,amount:parseFloat(String(Xe.amount))||0,userNickname:(ft==null?void 0:ft.nickname)||Xe.userNickname||"未知用户",userPhone:(ft==null?void 0:ft.phone)||Xe.userPhone||"-",referrerNickname:(Pt==null?void 0:Pt.nickname)||null,referrerCode:(Pt==null?void 0:Pt.referralCode)??null,type:Xe.productType||Xe.type}});r(Qe),A(st.total??Qe.length)}else r([]),A(0)}catch(Ye){console.error(Ye),j("加载订单失败"),r([])}break}case"bindings":{try{const Ye=new URLSearchParams({page:String(M),pageSize:String(F),...E!=="all"&&{status:E}}),st=await Be(`/api/db/distribution?${Ye}`);c((st==null?void 0:st.bindings)||[]),A((st==null?void 0:st.total)??((Se=st==null?void 0:st.bindings)==null?void 0:Se.length)??0)}catch(Ye){console.error(Ye),j("加载绑定数据失败"),c([])}break}case"withdrawals":{try{const Ye=E==="completed"?"success":E==="rejected"?"failed":E,st=new URLSearchParams({...Ye&&Ye!=="all"&&{status:Ye},page:String(M),pageSize:String(F)}),Qe=await Be(`/api/admin/withdrawals?${st}`);if(Qe!=null&&Qe.success&&Qe.withdrawals){const Xe=Qe.withdrawals.map(ft=>({...ft,account:ft.account??"未绑定微信号",status:ft.status==="success"?"completed":ft.status==="failed"?"rejected":ft.status}));h(Xe),A((Qe==null?void 0:Qe.total)??Xe.length)}else Qe!=null&&Qe.success||j(`获取提现记录失败: ${(Qe==null?void 0:Qe.error)||"未知错误"}`),h([])}catch(Ye){console.error(Ye),j("加载提现数据失败"),h([])}break}}W(Ye=>new Set(Ye).add(B))}catch(rt){console.error(rt)}finally{y(!1)}}}async function Y(){j(null),W(B=>{const me=new Set(B);return me.delete(t),me}),t==="overview"&&V(),await ae(t,!0)}async function L(B){if(confirm("确认审核通过并打款?"))try{const me=await Rt("/api/admin/withdrawals",{id:B,action:"approve"});if(!(me!=null&&me.success)){const Se=(me==null?void 0:me.message)||(me==null?void 0:me.error)||"操作失败";alert(Se);return}await Y()}catch(me){console.error(me),alert("操作失败")}}async function H(B){const me=prompt("请输入拒绝原因:");if(me)try{const Se=await Rt("/api/admin/withdrawals",{id:B,action:"reject",errorMessage:me});if(!(Se!=null&&Se.success)){alert((Se==null?void 0:Se.error)||"操作失败");return}await Y()}catch(Se){console.error(Se),alert("操作失败")}}async function ue(){var B;if(!(!(X!=null&&X.orderSn)&&!(X!=null&&X.id))){oe(!0),j(null);try{const me=await Rt("/api/admin/orders/refund",{orderSn:X.orderSn||X.id,reason:Z||void 0});me!=null&&me.success?(q(null),_(""),await ae("orders",!0)):j((me==null?void 0:me.error)||"退款失败")}catch(me){const Se=me;j(((B=Se==null?void 0:Se.data)==null?void 0:B.error)||"退款失败,请检查网络后重试")}finally{oe(!1)}}}function U(B){const me={active:"bg-green-500/20 text-green-400",converted:"bg-blue-500/20 text-blue-400",expired:"bg-gray-500/20 text-gray-400",cancelled:"bg-red-500/20 text-red-400",pending:"bg-orange-500/20 text-orange-400",pending_confirm:"bg-orange-500/20 text-orange-400",processing:"bg-blue-500/20 text-blue-400",completed:"bg-green-500/20 text-green-400",rejected:"bg-red-500/20 text-red-400"},Se={active:"有效",converted:"已转化",expired:"已过期",cancelled:"已取消",pending:"待审核",pending_confirm:"待用户确认",processing:"处理中",completed:"已完成",rejected:"已拒绝"};return i.jsx(Fe,{className:`${me[B]||"bg-gray-500/20 text-gray-400"} border-0`,children:Se[B]||B})}const he=Math.ceil(I/F)||1,Q=n,ee=o.filter(B=>{var Se,rt,Ye,st;if(!w)return!0;const me=w.toLowerCase();return((Se=B.refereeNickname)==null?void 0:Se.toLowerCase().includes(me))||((rt=B.refereePhone)==null?void 0:rt.includes(me))||((Ye=B.referrerName)==null?void 0:Ye.toLowerCase().includes(me))||((st=B.referrerCode)==null?void 0:st.toLowerCase().includes(me))}),de=u.filter(B=>{var Se;if(!w)return!0;const me=w.toLowerCase();return((Se=B.userName)==null?void 0:Se.toLowerCase().includes(me))||B.account&&B.account.toLowerCase().includes(me)});return i.jsxs("div",{className:"p-8 w-full",children:[v&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:v}),i.jsx("button",{type:"button",onClick:()=>j(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex items-center justify-between mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold text-white",children:"推广中心"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理:订单、分销绑定、提现审核"})]}),i.jsxs(re,{onClick:Y,disabled:g,variant:"outline",className:"border-gray-700 text-gray-300 hover:bg-gray-800",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${g?"animate-spin":""}`}),"刷新数据"]})]}),i.jsx("div",{className:"flex gap-2 mb-6 border-b border-gray-700 pb-4 flex-wrap",children:[{key:"overview",label:"数据概览",icon:cc},{key:"orders",label:"订单管理",icon:Vu},{key:"bindings",label:"绑定管理",icon:Gs},{key:"withdrawals",label:"提现审核",icon:Jo},{key:"settings",label:"推广设置",icon:Da}].map(B=>i.jsxs("button",{type:"button",onClick:()=>{e(B.key),C("all"),k("")},className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-colors ${t===B.key?"bg-[#38bdac] text-white":"text-gray-400 hover:text-white hover:bg-gray-800"}`,children:[i.jsx(B.icon,{className:"w-4 h-4"}),B.label]},B.key))}),g?i.jsxs("div",{className:"flex items-center justify-center py-20",children:[i.jsx(qe,{className:"w-8 h-8 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[t==="overview"&&s&&i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日点击"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayClicks}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"总点击次数(实时)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:i.jsx(pg,{className:"w-6 h-6 text-blue-400"})})]})})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日独立用户"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayUniqueVisitors??0}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"去重访客数(实时)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-cyan-500/20 flex items-center justify-center",children:i.jsx(Nn,{className:"w-6 h-6 text-cyan-400"})})]})})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日总文章点击率"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:(s.todayClickRate??0).toFixed(2)}),i.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"人均点击(总点击/独立用户)"})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/20 flex items-center justify-center",children:i.jsx(cc,{className:"w-6 h-6 text-amber-400"})})]})})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日绑定"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayBindings})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-green-500/20 flex items-center justify-center",children:i.jsx(Gs,{className:"w-6 h-6 text-green-400"})})]})})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日转化"}),i.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:s.todayConversions})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-purple-500/20 flex items-center justify-center",children:i.jsx(Eb,{className:"w-6 h-6 text-purple-400"})})]})})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"今日佣金"}),i.jsxs("p",{className:"text-2xl font-bold text-[#38bdac] mt-1",children:["¥",s.todayEarnings.toFixed(2)]})]}),i.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac]/20 flex items-center justify-center",children:i.jsx(Vu,{className:"w-6 h-6 text-[#38bdac]"})})]})})})]}),(((Ce=s.todayClicksByPage)==null?void 0:Ce.length)??0)>0&&i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(pg,{className:"w-5 h-5 text-[#38bdac]"}),"每篇文章今日点击(按来源页/文章统计)"]}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"实际用户与实际文章的点击均计入;今日总点击与上表一致"})]}),i.jsx(Te,{children:i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[i.jsx("th",{className:"pb-3 pr-4",children:"来源页/文章"}),i.jsx("th",{className:"pb-3 pr-4 text-right",children:"今日点击"}),i.jsx("th",{className:"pb-3 text-right",children:"占比"})]})}),i.jsx("tbody",{children:[...s.todayClicksByPage??[]].sort((B,me)=>me.clicks-B.clicks).map((B,me)=>i.jsxs("tr",{className:"border-b border-gray-700/50",children:[i.jsx("td",{className:"py-2 pr-4 text-white font-mono",children:B.page||"(未区分)"}),i.jsx("td",{className:"py-2 pr-4 text-right text-white",children:B.clicks}),i.jsxs("td",{className:"py-2 text-right text-gray-400",children:[s.todayClicks>0?(B.clicks/s.todayClicks*100).toFixed(1):0,"%"]})]},me))})]})})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsx(Ee,{className:"bg-orange-500/10 border-orange-500/30",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-orange-500/20 flex items-center justify-center",children:i.jsx(fg,{className:"w-6 h-6 text-orange-400"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("p",{className:"text-orange-300 font-medium",children:"即将过期绑定"}),i.jsxs("p",{className:"text-2xl font-bold text-white",children:[s.expiringBindings," 个"]}),i.jsx("p",{className:"text-orange-300/60 text-sm",children:"7天内到期,需关注转化"})]})]})})}),i.jsx(Ee,{className:"bg-blue-500/10 border-blue-500/30",children:i.jsx(Te,{className:"p-6",children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:i.jsx(Jo,{className:"w-6 h-6 text-blue-400"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("p",{className:"text-blue-300 font-medium",children:"待审核提现"}),i.jsxs("p",{className:"text-2xl font-bold text-white",children:[s.pendingWithdrawals," 笔"]}),i.jsxs("p",{className:"text-blue-300/60 text-sm",children:["共 ¥",s.pendingWithdrawAmount.toFixed(2)]})]}),i.jsx(re,{onClick:()=>e("withdrawals"),variant:"outline",className:"border-blue-500/50 text-blue-400 hover:bg-blue-500/20",children:"去审核"})]})})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(et,{children:i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Bu,{className:"w-5 h-5 text-[#38bdac]"}),"本月统计"]})}),i.jsx(Te,{children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"点击量"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthClicks})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"绑定数"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthBindings})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"转化数"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.monthConversions})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"佣金"}),i.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",s.monthEarnings.toFixed(2)]})]})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(et,{children:i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(cc,{className:"w-5 h-5 text-[#38bdac]"}),"累计统计"]})}),i.jsxs(Te,{children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总点击"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalClicks.toLocaleString()})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总绑定"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalBindings.toLocaleString()})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总转化"}),i.jsx("p",{className:"text-xl font-bold text-white",children:s.totalConversions})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"总佣金"}),i.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",s.totalEarnings.toFixed(2)]})]})]}),i.jsxs("div",{className:"mt-4 p-4 bg-[#38bdac]/10 rounded-lg flex items-center justify-between",children:[i.jsx("span",{className:"text-gray-300",children:"点击转化率"}),i.jsxs("span",{className:"text-[#38bdac] font-bold text-xl",children:[s.conversionRate,"%"]})]})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsx(et,{children:i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Nn,{className:"w-5 h-5 text-[#38bdac]"}),"推广统计"]})}),i.jsx(Te,{children:i.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-white",children:s.totalDistributors}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"推广用户数"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-green-400",children:s.activeDistributors}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"有收益用户"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-[#38bdac]",children:"90%"}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"佣金比例"})]}),i.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[i.jsx("p",{className:"text-3xl font-bold text-orange-400",children:"30天"}),i.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"绑定有效期"})]})]})})]})]}),t==="orders"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:B=>k(B.target.value),placeholder:"搜索订单号、用户名、手机号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:B=>C(B.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"pending",children:"待支付"}),i.jsx("option",{value:"failed",children:"已失败"}),i.jsx("option",{value:"refunded",children:"已退款"})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Te,{className:"p-0",children:[n.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无订单数据"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"订单号"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"商品"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"支付方式"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"退款原因"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"推荐人/邀请码"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"分销佣金"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"下单时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:Q.map(B=>{var me,Se;return i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsxs("td",{className:"p-4 font-mono text-xs text-gray-400",children:[(me=B.id)==null?void 0:me.slice(0,12),"..."]}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:B.userNickname}),i.jsx("p",{className:"text-gray-500 text-xs",children:B.userPhone})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white text-sm",children:(()=>{const rt=B.productType||B.type;return rt==="fullbook"?`${B.bookName||"《底层逻辑》"} - 全本`:rt==="match"?"匹配次数购买":`${B.bookName||"《底层逻辑》"} - ${B.sectionTitle||B.chapterTitle||`章节${B.productId||B.sectionId||""}`}`})()}),i.jsx("p",{className:"text-gray-500 text-xs",children:(()=>{const rt=B.productType||B.type;return rt==="fullbook"?"全书解锁":rt==="match"?"功能权益":B.chapterTitle||"单章购买"})()})]})}),i.jsxs("td",{className:"p-4 text-[#38bdac] font-bold",children:["¥",typeof B.amount=="number"?B.amount.toFixed(2):parseFloat(String(B.amount||"0")).toFixed(2)]}),i.jsx("td",{className:"p-4 text-gray-300",children:B.paymentMethod==="wechat"?"微信支付":B.paymentMethod==="alipay"?"支付宝":B.paymentMethod||"微信支付"}),i.jsx("td",{className:"p-4",children:B.status==="refunded"?i.jsx(Fe,{className:"bg-gray-500/20 text-gray-400 border-0",children:"已退款"}):B.status==="completed"||B.status==="paid"?i.jsx(Fe,{className:"bg-green-500/20 text-green-400 border-0",children:"已完成"}):B.status==="pending"||B.status==="created"?i.jsx(Fe,{className:"bg-yellow-500/20 text-yellow-400 border-0",children:"待支付"}):i.jsx(Fe,{className:"bg-red-500/20 text-red-400 border-0",children:"已失败"})}),i.jsx("td",{className:"p-4 text-gray-400 text-sm max-w-[120px]",title:B.refundReason,children:B.status==="refunded"&&B.refundReason?B.refundReason:"-"}),i.jsx("td",{className:"p-4 text-gray-300 text-sm",children:B.referrerId||B.referralCode?i.jsxs("span",{title:B.referralCode||B.referrerCode||B.referrerId||"",children:[B.referrerNickname||B.referralCode||B.referrerCode||((Se=B.referrerId)==null?void 0:Se.slice(0,8)),(B.referralCode||B.referrerCode)&&` (${B.referralCode||B.referrerCode})`]}):"-"}),i.jsx("td",{className:"p-4 text-[#FFD700]",children:B.referrerEarnings?`¥${(typeof B.referrerEarnings=="number"?B.referrerEarnings:parseFloat(String(B.referrerEarnings))).toFixed(2)}`:"-"}),i.jsx("td",{className:"p-4 text-gray-400 text-sm",children:B.createdAt?new Date(B.createdAt).toLocaleString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:(B.status==="paid"||B.status==="completed")&&i.jsxs(re,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{q(B),_("")},children:[i.jsx(zN,{className:"w-3 h-3 mr-1"}),"退款"]})})]},B.id)})})]})}),t==="orders"&&i.jsx(Zr,{page:M,totalPages:he,total:I,pageSize:F,onPageChange:D,onPageSizeChange:B=>{R(B),D(1)}})]})})]}),t==="bindings"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:B=>k(B.target.value),placeholder:"搜索用户昵称、手机号、推广码...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:B=>C(B.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"active",children:"有效"}),i.jsx("option",{value:"converted",children:"已转化"}),i.jsx("option",{value:"expired",children:"已过期"})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Te,{className:"p-0",children:[ee.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无绑定数据"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"访客"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"分销商"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"绑定时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"到期时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"佣金"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:ee.map(B=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-medium",children:B.refereeNickname||"匿名用户"}),i.jsx("p",{className:"text-gray-500 text-xs",children:B.refereePhone})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white",children:B.referrerName||"-"}),i.jsx("p",{className:"text-gray-500 text-xs font-mono",children:B.referrerCode})]})}),i.jsx("td",{className:"p-4 text-gray-400",children:B.boundAt?new Date(B.boundAt).toLocaleDateString("zh-CN"):"-"}),i.jsx("td",{className:"p-4 text-gray-400",children:B.expiresAt?new Date(B.expiresAt).toLocaleDateString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:U(B.status)}),i.jsx("td",{className:"p-4",children:B.commission?i.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",B.commission.toFixed(2)]}):i.jsx("span",{className:"text-gray-500",children:"-"})})]},B.id))})]})}),t==="bindings"&&i.jsx(Zr,{page:M,totalPages:he,total:I,pageSize:F,onPageChange:D,onPageSizeChange:B=>{R(B),D(1)}})]})})]}),t==="withdrawals"&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Ui,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),i.jsx(ce,{value:w,onChange:B=>k(B.target.value),placeholder:"搜索用户名称、账号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),i.jsxs("select",{value:E,onChange:B=>C(B.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[i.jsx("option",{value:"all",children:"全部状态"}),i.jsx("option",{value:"pending",children:"待审核"}),i.jsx("option",{value:"completed",children:"已完成"}),i.jsx("option",{value:"rejected",children:"已拒绝"})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Te,{className:"p-0",children:[de.length===0?i.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无提现记录"}):i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"申请人"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"收款方式"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"收款账号"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:de.map(B=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4",children:i.jsxs("div",{className:"flex items-center gap-2",children:[B.userAvatar?i.jsx("img",{src:B.userAvatar,alt:"",className:"w-8 h-8 rounded-full object-cover"}):i.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-600 flex items-center justify-center text-white text-sm font-medium",children:(B.userName||B.name||"?").slice(0,1)}),i.jsx("p",{className:"text-white font-medium",children:B.userName||B.name})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",B.amount.toFixed(2)]})}),i.jsx("td",{className:"p-4",children:i.jsx(Fe,{className:B.method==="wechat"?"bg-green-500/20 text-green-400 border-0":"bg-blue-500/20 text-blue-400 border-0",children:B.method==="wechat"?"微信":"支付宝"})}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-mono text-xs",children:B.account}),i.jsx("p",{className:"text-gray-500 text-xs",children:B.name})]})}),i.jsx("td",{className:"p-4 text-gray-400",children:B.createdAt?new Date(B.createdAt).toLocaleString("zh-CN"):"-"}),i.jsx("td",{className:"p-4",children:U(B.status)}),i.jsx("td",{className:"p-4 text-right",children:B.status==="pending"&&i.jsxs("div",{className:"flex gap-2 justify-end",children:[i.jsxs(re,{size:"sm",onClick:()=>L(B.id),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Eb,{className:"w-4 h-4 mr-1"}),"通过"]}),i.jsxs(re,{size:"sm",variant:"outline",onClick:()=>H(B.id),className:"border-red-500/50 text-red-400 hover:bg-red-500/20",children:[i.jsx(PN,{className:"w-4 h-4 mr-1"}),"拒绝"]})]})})]},B.id))})]})}),t==="withdrawals"&&i.jsx(Zr,{page:M,totalPages:he,total:I,pageSize:F,onPageChange:D,onPageSizeChange:B=>{R(B),D(1)}})]})})]})]}),i.jsx(Qt,{open:!!X,onOpenChange:B=>!B&&q(null),children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[i.jsx(Xt,{children:i.jsx(Zt,{className:"text-white",children:"订单退款"})}),X&&i.jsxs("div",{className:"space-y-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",X.orderSn||X.id]}),i.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",typeof X.amount=="number"?X.amount.toFixed(2):parseFloat(String(X.amount||"0")).toFixed(2)]}),i.jsxs("div",{children:[i.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),i.jsx("div",{className:"form-input",children:i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:Z,onChange:B=>_(B.target.value)})})]}),i.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>q(null),disabled:$,children:"取消"}),i.jsx(re,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:ue,disabled:$,children:$?"退款中...":"确认退款"})]})]})}),t==="settings"&&i.jsx("div",{className:"-mx-8 -mt-6",children:i.jsx(vk,{embedded:!0})})]})}function kP(){const[t,e]=b.useState([]),[n,r]=b.useState({total:0,pendingCount:0,pendingAmount:0,successCount:0,successAmount:0,failedCount:0}),[s,a]=b.useState(!0),[o,c]=b.useState(null),[u,h]=b.useState("all"),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,j]=b.useState(0),[w,k]=b.useState(null);async function E(){var R,I,A,O,W,X,q;a(!0),c(null);try{const Z=new URLSearchParams({status:u,page:String(f),pageSize:String(g)}),_=await Be(`/api/admin/withdrawals?${Z}`);if(_!=null&&_.success){const $=_.withdrawals||[];e($),j(_.total??((R=_.stats)==null?void 0:R.total)??$.length),r({total:((I=_.stats)==null?void 0:I.total)??_.total??$.length,pendingCount:((A=_.stats)==null?void 0:A.pendingCount)??0,pendingAmount:((O=_.stats)==null?void 0:O.pendingAmount)??0,successCount:((W=_.stats)==null?void 0:W.successCount)??0,successAmount:((X=_.stats)==null?void 0:X.successAmount)??0,failedCount:((q=_.stats)==null?void 0:q.failedCount)??0})}else c("加载提现记录失败")}catch(Z){console.error("Load withdrawals error:",Z),c("加载失败,请检查网络后重试")}finally{a(!1)}}b.useEffect(()=>{m(1)},[u]),b.useEffect(()=>{E()},[u,f,g]);const C=Math.ceil(v/g)||1;async function M(R){const I=t.find(A=>A.id===R);if(I!=null&&I.userCommissionInfo&&I.userCommissionInfo.availableAfterThis<0){if(!confirm(`⚠️ 风险警告:该用户审核后余额为负数(¥${I.userCommissionInfo.availableAfterThis.toFixed(2)}),可能存在超额提现。 - -确认已核实用户账户并完成打款?`))return}else if(!confirm("确认已完成打款?批准后将更新用户提现记录。"))return;k(R);try{const A=await Rt("/api/admin/withdrawals",{id:R,action:"approve"});A!=null&&A.success?E():alert("操作失败: "+((A==null?void 0:A.error)??""))}catch{alert("操作失败")}finally{k(null)}}async function D(R){const I=prompt("请输入拒绝原因(将返还用户余额):");if(I){k(R);try{const A=await Rt("/api/admin/withdrawals",{id:R,action:"reject",errorMessage:I});A!=null&&A.success?E():alert("操作失败: "+((A==null?void 0:A.error)??""))}catch{alert("操作失败")}finally{k(null)}}}function F(R){switch(R){case"pending":return i.jsx(Fe,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待处理"});case"pending_confirm":return i.jsx(Fe,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待用户确认"});case"processing":return i.jsx(Fe,{className:"bg-blue-500/20 text-blue-400 hover:bg-blue-500/20 border-0",children:"已审批等待打款"});case"success":case"completed":return i.jsx(Fe,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"});case"failed":case"rejected":return i.jsx(Fe,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已拒绝"});default:return i.jsx(Fe,{className:"bg-gray-500/20 text-gray-400 border-0",children:R})}}return i.jsxs("div",{className:"p-8 w-full",children:[o&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:o}),i.jsx("button",{type:"button",onClick:()=>c(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-start mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold text-white",children:"分账提现管理"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"管理用户分销收益的提现申请"})]}),i.jsxs(re,{variant:"outline",onClick:E,disabled:s,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${s?"animate-spin":""}`}),"刷新"]})]}),i.jsx(Ee,{className:"bg-gradient-to-r from-[#38bdac]/10 to-[#0f2137] border-[#38bdac]/30 mb-6",children:i.jsx(Te,{className:"p-4",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(Vu,{className:"w-5 h-5 text-[#38bdac] mt-0.5"}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-white font-medium mb-2",children:"自动分账规则"}),i.jsxs("div",{className:"text-sm text-gray-400 space-y-1",children:[i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"分销比例"}),":推广者获得订单金额的"," ",i.jsx("span",{className:"text-white font-medium",children:"90%"})]}),i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"结算方式"}),":用户付款后,分销收益自动计入推广者账户"]}),i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"提现方式"}),":用户在小程序端点击提现,系统自动转账到微信零钱"]}),i.jsxs("p",{children:["• ",i.jsx("span",{className:"text-[#38bdac]",children:"审批流程"}),":待处理的提现需管理员手动确认打款后批准"]})]})]})]})})}),i.jsxs("div",{className:"grid grid-cols-4 gap-4 mb-6",children:[i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Te,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-[#38bdac]",children:n.total}),i.jsx("div",{className:"text-sm text-gray-400",children:"总申请"})]})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Te,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-orange-400",children:n.pendingCount}),i.jsx("div",{className:"text-sm text-gray-400",children:"待处理"}),i.jsxs("div",{className:"text-xs text-orange-400 mt-1",children:["¥",n.pendingAmount.toFixed(2)]})]})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Te,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-green-400",children:n.successCount}),i.jsx("div",{className:"text-sm text-gray-400",children:"已完成"}),i.jsxs("div",{className:"text-xs text-green-400 mt-1",children:["¥",n.successAmount.toFixed(2)]})]})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsxs(Te,{className:"p-4 text-center",children:[i.jsx("div",{className:"text-3xl font-bold text-red-400",children:n.failedCount}),i.jsx("div",{className:"text-sm text-gray-400",children:"已拒绝"})]})})]}),i.jsx("div",{className:"flex gap-2 mb-4",children:["all","pending","success","failed"].map(R=>i.jsx(re,{variant:u===R?"default":"outline",size:"sm",onClick:()=>h(R),className:u===R?"bg-[#38bdac] hover:bg-[#2da396] text-white":"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:R==="all"?"全部":R==="pending"?"待处理":R==="success"?"已完成":"已拒绝"},R))}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Te,{className:"p-0",children:s?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):t.length===0?i.jsxs("div",{className:"text-center py-12",children:[i.jsx(Jo,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),i.jsx("p",{className:"text-gray-500",children:"暂无提现记录"})]}):i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[i.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"提现金额"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"用户佣金信息"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"处理时间"}),i.jsx("th",{className:"p-4 text-left font-medium",children:"确认收款"}),i.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-700/50",children:t.map(R=>i.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[i.jsx("td",{className:"p-4 text-gray-400",children:new Date(R.createdAt??"").toLocaleString()}),i.jsx("td",{className:"p-4",children:i.jsxs("div",{className:"flex items-center gap-2",children:[R.userAvatar?i.jsx("img",{src:R.userAvatar,alt:R.userName??"",className:"w-8 h-8 rounded-full object-cover"}):i.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:(R.userName??"?").charAt(0)}),i.jsxs("div",{children:[i.jsx("p",{className:"font-medium text-white",children:R.userName??"未知"}),i.jsx("p",{className:"text-xs text-gray-500",children:R.userPhone??R.referralCode??(R.userId??"").slice(0,10)})]})]})}),i.jsx("td",{className:"p-4",children:i.jsxs("span",{className:"font-bold text-orange-400",children:["¥",Number(R.amount).toFixed(2)]})}),i.jsx("td",{className:"p-4",children:R.userCommissionInfo?i.jsxs("div",{className:"text-xs space-y-1",children:[i.jsxs("div",{className:"flex justify-between gap-4",children:[i.jsx("span",{className:"text-gray-500",children:"累计佣金:"}),i.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",R.userCommissionInfo.totalCommission.toFixed(2)]})]}),i.jsxs("div",{className:"flex justify-between gap-4",children:[i.jsx("span",{className:"text-gray-500",children:"已提现:"}),i.jsxs("span",{className:"text-gray-400",children:["¥",R.userCommissionInfo.withdrawnEarnings.toFixed(2)]})]}),i.jsxs("div",{className:"flex justify-between gap-4",children:[i.jsx("span",{className:"text-gray-500",children:"待审核:"}),i.jsxs("span",{className:"text-orange-400",children:["¥",R.userCommissionInfo.pendingWithdrawals.toFixed(2)]})]}),i.jsxs("div",{className:"flex justify-between gap-4 pt-1 border-t border-gray-700/30",children:[i.jsx("span",{className:"text-gray-500",children:"审核后余额:"}),i.jsxs("span",{className:R.userCommissionInfo.availableAfterThis>=0?"text-green-400 font-medium":"text-red-400 font-medium",children:["¥",R.userCommissionInfo.availableAfterThis.toFixed(2)]})]})]}):i.jsx("span",{className:"text-gray-500 text-xs",children:"暂无数据"})}),i.jsxs("td",{className:"p-4",children:[F(R.status),R.errorMessage&&i.jsx("p",{className:"text-xs text-red-400 mt-1",children:R.errorMessage})]}),i.jsx("td",{className:"p-4 text-gray-400",children:R.processedAt?new Date(R.processedAt).toLocaleString():"-"}),i.jsx("td",{className:"p-4 text-gray-400",children:R.userConfirmedAt?i.jsxs("span",{className:"text-green-400",title:R.userConfirmedAt,children:["已确认 ",new Date(R.userConfirmedAt).toLocaleString()]}):"-"}),i.jsxs("td",{className:"p-4 text-right",children:[(R.status==="pending"||R.status==="pending_confirm")&&i.jsxs("div",{className:"flex items-center justify-end gap-2",children:[i.jsxs(re,{size:"sm",onClick:()=>M(R.id),disabled:w===R.id,className:"bg-green-600 hover:bg-green-700 text-white",children:[i.jsx(Wh,{className:"w-4 h-4 mr-1"}),"批准"]}),i.jsxs(re,{size:"sm",variant:"outline",onClick:()=>D(R.id),disabled:w===R.id,className:"border-red-500/50 text-red-400 hover:bg-red-500/10 bg-transparent",children:[i.jsx(er,{className:"w-4 h-4 mr-1"}),"拒绝"]})]}),(R.status==="success"||R.status==="completed")&&R.transactionId&&i.jsx("span",{className:"text-xs text-gray-500 font-mono",children:R.transactionId})]})]},R.id))})]})}),i.jsx(Zr,{page:f,totalPages:C,total:v,pageSize:g,onPageChange:m,onPageSizeChange:R=>{y(R),m(1)}})]})})})]})}var Sm={exports:{}},Cm={};/** - * @license React - * use-sync-external-store-shim.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Qb;function SP(){if(Qb)return Cm;Qb=1;var t=$c();function e(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,s=t.useEffect,a=t.useLayoutEffect,o=t.useDebugValue;function c(m,g){var y=g(),v=r({inst:{value:y,getSnapshot:g}}),j=v[0].inst,w=v[1];return a(function(){j.value=y,j.getSnapshot=g,u(j)&&w({inst:j})},[m,y,g]),s(function(){return u(j)&&w({inst:j}),m(function(){u(j)&&w({inst:j})})},[m]),o(y),y}function u(m){var g=m.getSnapshot;m=m.value;try{var y=g();return!n(m,y)}catch{return!0}}function h(m,g){return g()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:c;return Cm.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,Cm}var Xb;function bk(){return Xb||(Xb=1,Sm.exports=SP()),Sm.exports}var wk=bk();function An(t){this.content=t}An.prototype={constructor:An,find:function(t){for(var e=0;e>1}};An.from=function(t){if(t instanceof An)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new An(e)};function Nk(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let s=t.child(r),a=e.child(r);if(s==a){n+=s.nodeSize;continue}if(!s.sameMarkup(a))return n;if(s.isText&&s.text!=a.text){for(let o=0;s.text[o]==a.text[o];o++)n++;return n}if(s.content.size||a.content.size){let o=Nk(s.content,a.content,n+1);if(o!=null)return o}n+=s.nodeSize}}function jk(t,e,n,r){for(let s=t.childCount,a=e.childCount;;){if(s==0||a==0)return s==a?null:{a:n,b:r};let o=t.child(--s),c=e.child(--a),u=o.nodeSize;if(o==c){n-=u,r-=u;continue}if(!o.sameMarkup(c))return{a:n,b:r};if(o.isText&&o.text!=c.text){let h=0,f=Math.min(o.text.length,c.text.length);for(;he&&r(u,s+c,a||null,o)!==!1&&u.content.size){let f=c+1;u.nodesBetween(Math.max(0,e-f),Math.min(u.content.size,n-f),r,s+f)}c=h}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,s){let a="",o=!0;return this.nodesBetween(e,n,(c,u)=>{let h=c.isText?c.text.slice(Math.max(e,u)-u,n-u):c.isLeaf?s?typeof s=="function"?s(c):s:c.type.spec.leafText?c.type.spec.leafText(c):"":"";c.isBlock&&(c.isLeaf&&h||c.isTextblock)&&r&&(o?o=!1:a+=r),a+=h},0),a}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,s=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(r)&&(s[s.length-1]=n.withText(n.text+r.text),a=1);ae)for(let a=0,o=0;oe&&((on)&&(c.isText?c=c.cut(Math.max(0,e-o),Math.min(c.text.length,n-o)):c=c.cut(Math.max(0,e-o-1),Math.min(c.content.size,n-o-1))),r.push(c),s+=c.nodeSize),o=u}return new pe(r,s)}cutByIndex(e,n){return e==n?pe.empty:e==0&&n==this.content.length?this:new pe(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let s=this.content.slice(),a=this.size+n.nodeSize-r.nodeSize;return s[e]=n,new pe(s,a)}addToStart(e){return new pe([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new pe(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let s=this.child(n),a=r+s.nodeSize;if(a>=e)return a==e?fu(n+1,a):fu(n,r);r=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return pe.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new pe(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return pe.empty;let n,r=0;for(let s=0;sthis.type.rank&&(n||(n=e.slice(0,s)),n.push(this),r=!0),n&&n.push(a)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-s.type.rank),n}};Nt.none=[];class Ju extends Error{}class Me{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=Sk(this.content,e+this.openStart,n);return r&&new Me(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Me(kk(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Me.empty;let r=n.openStart||0,s=n.openEnd||0;if(typeof r!="number"||typeof s!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Me(pe.fromJSON(e,n.content),r,s)}static maxOpen(e,n=!0){let r=0,s=0;for(let a=e.firstChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.firstChild)r++;for(let a=e.lastChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.lastChild)s++;return new Me(e,r,s)}}Me.empty=new Me(pe.empty,0,0);function kk(t,e,n){let{index:r,offset:s}=t.findIndex(e),a=t.maybeChild(r),{index:o,offset:c}=t.findIndex(n);if(s==e||a.isText){if(c!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(r,a.copy(kk(a.content,e-s-1,n-s-1)))}function Sk(t,e,n,r){let{index:s,offset:a}=t.findIndex(e),o=t.maybeChild(s);if(a==e||o.isText)return r&&!r.canReplace(s,s,n)?null:t.cut(0,e).append(n).append(t.cut(e));let c=Sk(o.content,e-a-1,n,o);return c&&t.replaceChild(s,o.copy(c))}function CP(t,e,n){if(n.openStart>t.depth)throw new Ju("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Ju("Inconsistent open depths");return Ck(t,e,n,0)}function Ck(t,e,n,r){let s=t.index(r),a=t.node(r);if(s==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function dc(t,e,n,r){let s=(e||t).node(n),a=0,o=e?e.index(n):s.childCount;t&&(a=t.index(n),t.depth>n?a++:t.textOffset&&(La(t.nodeAfter,r),a++));for(let c=a;cs&&Eg(t,e,s+1),o=r.depth>s&&Eg(n,r,s+1),c=[];return dc(null,t,s,c),a&&o&&e.index(s)==n.index(s)?(Ek(a,o),La(_a(a,Tk(t,e,n,r,s+1)),c)):(a&&La(_a(a,Yu(t,e,s+1)),c),dc(e,n,s,c),o&&La(_a(o,Yu(n,r,s+1)),c)),dc(r,null,s,c),new pe(c)}function Yu(t,e,n){let r=[];if(dc(null,t,n,r),t.depth>n){let s=Eg(t,e,n+1);La(_a(s,Yu(t,e,n+1)),r)}return dc(e,null,n,r),new pe(r)}function EP(t,e){let n=e.depth-t.openStart,s=e.node(n).copy(t.content);for(let a=n-1;a>=0;a--)s=e.node(a).copy(pe.from(s));return{start:s.resolveNoCache(t.openStart+n),end:s.resolveNoCache(s.content.size-t.openEnd-n)}}class Cc{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],s=e.child(n);return r?e.child(n).cut(r):s}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],s=n==0?0:this.path[n*3-1]+1;for(let a=0;a0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new Qu(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],s=0,a=n;for(let o=e;;){let{index:c,offset:u}=o.content.findIndex(a),h=a-u;if(r.push(o,c,s+u),!h||(o=o.child(c),o.isText))break;a=h-1,s+=u+1}return new Cc(n,r,a)}static resolveCached(e,n){let r=Zb.get(e);if(r)for(let a=0;ae&&this.nodesBetween(e,n,a=>(r.isInSet(a.marks)&&(s=!0),!s)),s}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Mk(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=pe.empty,s=0,a=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,s,a),c=o&&o.matchFragment(this.content,n);if(!c||!c.validEnd)return!1;for(let u=s;un.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let s=pe.fromJSON(e,n.content),a=e.nodeType(n.type).create(n.attrs,s,r);return a.type.checkAttrs(a.attrs),a}};Js.prototype.text=void 0;class Xu extends Js{constructor(e,n,r,s){if(super(e,n,null,s),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Mk(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Xu(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Xu(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Mk(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class Ha{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new RP(e,n);if(r.next==null)return Ha.empty;let s=Ak(r);r.next&&r.err("Unexpected trailing text");let a=zP(_P(s));return $P(a,r),a}matchType(e){for(let n=0;nh.createAndFill()));for(let h=0;h=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let s=0;s{let a=s+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return a}).join(` -`)}}Ha.empty=new Ha(!0);class RP{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Ak(t){let e=[];do e.push(IP(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function IP(t){let e=[];do e.push(PP(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function PP(t){let e=LP(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=OP(t,e);else break;return e}function e1(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function OP(t,e){let n=e1(t),r=n;return t.eat(",")&&(t.next!="}"?r=e1(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function DP(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let s=[];for(let a in n){let o=n[a];o.isInGroup(e)&&s.push(o)}return s.length==0&&t.err("No node type or group '"+e+"' found"),s}function LP(t){if(t.eat("(")){let e=Ak(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=DP(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function _P(t){let e=[[]];return s(a(t,0),n()),e;function n(){return e.push([])-1}function r(o,c,u){let h={term:u,to:c};return e[o].push(h),h}function s(o,c){o.forEach(u=>u.to=c)}function a(o,c){if(o.type=="choice")return o.exprs.reduce((u,h)=>u.concat(a(h,c)),[]);if(o.type=="seq")for(let u=0;;u++){let h=a(o.exprs[u],c);if(u==o.exprs.length-1)return h;s(h,c=n())}else if(o.type=="star"){let u=n();return r(c,u),s(a(o.expr,u),u),[r(u)]}else if(o.type=="plus"){let u=n();return s(a(o.expr,c),u),s(a(o.expr,u),u),[r(u)]}else{if(o.type=="opt")return[r(c)].concat(a(o.expr,c));if(o.type=="range"){let u=c;for(let h=0;h{t[o].forEach(({term:c,to:u})=>{if(!c)return;let h;for(let f=0;f{h||s.push([c,h=[]]),h.indexOf(f)==-1&&h.push(f)})})});let a=e[r.join(",")]=new Ha(r.indexOf(t.length-1)>-1);for(let o=0;o-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Pk(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Js(this,this.computeAttrs(e),pe.from(n),Nt.setFrom(r))}createChecked(e=null,n,r){return n=pe.from(n),this.checkContent(n),new Js(this,this.computeAttrs(e),n,Nt.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=pe.from(n),n.size){let o=this.contentMatch.fillBefore(n);if(!o)return null;n=o.append(n)}let s=this.contentMatch.matchFragment(n),a=s&&s.fillBefore(pe.empty,!0);return a?new Js(this,e,n.append(a),Nt.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[a]=new Lk(a,n,o));let s=n.spec.topNode||"doc";if(!r[s])throw new RangeError("Schema is missing its top node type ('"+s+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let a in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function FP(t,e,n){let r=n.split("|");return s=>{let a=s===null?"null":typeof s;if(r.indexOf(a)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${a}`)}}class BP{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?FP(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Xh{constructor(e,n,r,s){this.name=e,this.rank=n,this.schema=r,this.spec=s,this.attrs=Dk(e,s.attrs),this.excluded=null;let a=Ik(this.attrs);this.instance=a?new Nt(this,a):null}create(e=null){return!e&&this.instance?this.instance:new Nt(this,Pk(this.attrs,e))}static compile(e,n){let r=Object.create(null),s=0;return e.forEach((a,o)=>r[a]=new Xh(a,s++,n,o)),r}removeFromSet(e){for(var n=0;n-1}}class _k{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let s in e)n[s]=e[s];n.nodes=An.from(e.nodes),n.marks=An.from(e.marks||{}),this.nodes=n1.compile(this.spec.nodes,this),this.marks=Xh.compile(this.spec.marks,this);let r=Object.create(null);for(let s in this.nodes){if(s in this.marks)throw new RangeError(s+" can not be both a node and a mark");let a=this.nodes[s],o=a.spec.content||"",c=a.spec.marks;if(a.contentMatch=r[o]||(r[o]=Ha.parse(o,this.nodes)),a.inlineContent=a.contentMatch.inlineContent,a.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!a.isInline||!a.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=a}a.markSet=c=="_"?null:c?r1(this,c.split(" ")):c==""||!a.inlineContent?[]:null}for(let s in this.marks){let a=this.marks[s],o=a.spec.excludes;a.excluded=o==null?[a]:o==""?[]:r1(this,o.split(" "))}this.nodeFromJSON=s=>Js.fromJSON(this,s),this.markFromJSON=s=>Nt.fromJSON(this,s),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,s){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof n1){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,s)}text(e,n){let r=this.nodes.text;return new Xu(r,r.defaultAttrs,e,Nt.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function r1(t,e){let n=[];for(let r=0;r-1)&&n.push(o=u)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function VP(t){return t.tag!=null}function HP(t){return t.style!=null}class qi{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(s=>{if(VP(s))this.tags.push(s);else if(HP(s)){let a=/[^=]*/.exec(s.style)[0];r.indexOf(a)<0&&r.push(a),this.styles.push(s)}}),this.normalizeLists=!this.tags.some(s=>{if(!/^(ul|ol)\b/.test(s.tag)||!s.node)return!1;let a=e.nodes[s.node];return a.contentMatch.matchType(a)})}parse(e,n={}){let r=new i1(this,n,!1);return r.addAll(e,Nt.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new i1(this,n,!0);return r.addAll(e,Nt.none,n.from,n.to),Me.maxOpen(r.finish())}matchTag(e,n,r){for(let s=r?this.tags.indexOf(r)+1:0;se.length&&(c.charCodeAt(e.length)!=61||c.slice(e.length+1)!=n))){if(o.getAttrs){let u=o.getAttrs(n);if(u===!1)continue;o.attrs=u||void 0}return o}}}static schemaRules(e){let n=[];function r(s){let a=s.priority==null?50:s.priority,o=0;for(;o{r(o=a1(o)),o.mark||o.ignore||o.clearMark||(o.mark=s)})}for(let s in e.nodes){let a=e.nodes[s].spec.parseDOM;a&&a.forEach(o=>{r(o=a1(o)),o.node||o.ignore||o.mark||(o.node=s)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new qi(e,qi.schemaRules(e)))}}const zk={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},WP={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},$k={ol:!0,ul:!0},Ec=1,Mg=2,uc=4;function s1(t,e,n){return e!=null?(e?Ec:0)|(e==="full"?Mg:0):t&&t.whitespace=="pre"?Ec|Mg:n&~uc}class pu{constructor(e,n,r,s,a,o){this.type=e,this.attrs=n,this.marks=r,this.solid=s,this.options=o,this.content=[],this.activeMarks=Nt.none,this.match=a||(o&uc?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(pe.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,s;return(s=r.findWrapping(e.type))?(this.match=r,s):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Ec)){let r=this.content[this.content.length-1],s;if(r&&r.isText&&(s=/[ \t\r\n\u000c]+$/.exec(r.text))){let a=r;r.text.length==s[0].length?this.content.pop():this.content[this.content.length-1]=a.withText(a.text.slice(0,a.text.length-s[0].length))}}let n=pe.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(pe.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!zk.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class i1{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let s=n.topNode,a,o=s1(null,n.preserveWhitespace,0)|(r?uc:0);s?a=new pu(s.type,s.attrs,Nt.none,!0,n.topMatch||s.type.contentMatch,o):r?a=new pu(null,null,Nt.none,!0,null,o):a=new pu(e.schema.topNodeType,null,Nt.none,!0,null,o),this.nodes=[a],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,s=this.top,a=s.options&Mg?"full":this.localPreserveWS||(s.options&Ec)>0,{schema:o}=this.parser;if(a==="full"||s.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(a)if(a==="full")r=r.replace(/\r\n?/g,` -`);else if(o.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(o.linebreakReplacement.create())){let c=r.split(/\r?\n|\r/);for(let u=0;u!u.clearMark(h)):n=n.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)c=u;else break}}return n}addElementByRule(e,n,r,s){let a,o;if(n.node)if(o=this.parser.schema.nodes[n.node],o.isLeaf)this.insertNode(o.create(n.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let u=this.enter(o,n.attrs||null,r,n.preserveWhitespace);u&&(a=!0,r=u)}else{let u=this.parser.schema.marks[n.mark];r=r.concat(u.create(n.attrs))}let c=this.top;if(o&&o.isLeaf)this.findInside(e);else if(s)this.addElement(e,r,s);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(u=>this.insertNode(u,r,!1));else{let u=e;typeof n.contentElement=="string"?u=e.querySelector(n.contentElement):typeof n.contentElement=="function"?u=n.contentElement(e):n.contentElement&&(u=n.contentElement),this.findAround(e,u,!0),this.addAll(u,r),this.findAround(e,u,!1)}a&&this.sync(c)&&this.open--}addAll(e,n,r,s){let a=r||0;for(let o=r?e.childNodes[r]:e.firstChild,c=s==null?null:e.childNodes[s];o!=c;o=o.nextSibling,++a)this.findAtPoint(e,a),this.addDOM(o,n);this.findAtPoint(e,a)}findPlace(e,n,r){let s,a;for(let o=this.open,c=0;o>=0;o--){let u=this.nodes[o],h=u.findWrapping(e);if(h&&(!s||s.length>h.length+c)&&(s=h,a=u,!h.length))break;if(u.solid){if(r)break;c+=2}}if(!s)return null;this.sync(a);for(let o=0;o(o.type?o.type.allowsMarkType(h.type):o1(h.type,e))?(u=h.addToSet(u),!1):!0),this.nodes.push(new pu(e,n,u,s,null,c)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=Ec)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let s=r.length-1;s>=0;s--)e+=r[s].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,s=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),a=-(r?r.depth+1:0)+(s?0:1),o=(c,u)=>{for(;c>=0;c--){let h=n[c];if(h==""){if(c==n.length-1||c==0)continue;for(;u>=a;u--)if(o(c-1,u))return!0;return!1}else{let f=u>0||u==0&&s?this.nodes[u].type:r&&u>=a?r.node(u-a).type:null;if(!f||f.name!=h&&!f.isInGroup(h))return!1;u--}}return!0};return o(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function UP(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&$k.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function KP(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function a1(t){let e={};for(let n in t)e[n]=t[n];return e}function o1(t,e){let n=e.schema.nodes;for(let r in n){let s=n[r];if(!s.allowsMarkType(t))continue;let a=[],o=c=>{a.push(c);for(let u=0;u{if(a.length||o.marks.length){let c=0,u=0;for(;c=0;s--){let a=this.serializeMark(e.marks[s],e.isInline,n);a&&((a.contentDOM||a.dom).appendChild(r),r=a.dom)}return r}serializeMark(e,n,r={}){let s=this.marks[e.type.name];return s&&Iu(Tm(r),s(e,n),null,e.attrs)}static renderSpec(e,n,r=null,s){return Iu(e,n,r,s)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Za(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=l1(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return l1(e.marks)}}function l1(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Tm(t){return t.document||window.document}const c1=new WeakMap;function qP(t){let e=c1.get(t);return e===void 0&&c1.set(t,e=GP(t)),e}function GP(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let s=0;s-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=s.indexOf(" ");o>0&&(n=s.slice(0,o),s=s.slice(o+1));let c,u=n?t.createElementNS(n,s):t.createElement(s),h=e[1],f=1;if(h&&typeof h=="object"&&h.nodeType==null&&!Array.isArray(h)){f=2;for(let m in h)if(h[m]!=null){let g=m.indexOf(" ");g>0?u.setAttributeNS(m.slice(0,g),m.slice(g+1),h[m]):m=="style"&&u.style?u.style.cssText=h[m]:u.setAttribute(m,h[m])}}for(let m=f;mf)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:y,contentDOM:v}=Iu(t,g,n,r);if(u.appendChild(y),v){if(c)throw new RangeError("Multiple content holes");c=v}}}return{dom:u,contentDOM:c}}const Fk=65535,Bk=Math.pow(2,16);function JP(t,e){return t+e*Bk}function d1(t){return t&Fk}function YP(t){return(t-(t&Fk))/Bk}const Vk=1,Hk=2,Pu=4,Wk=8;class Ag{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&Wk)>0}get deletedBefore(){return(this.delInfo&(Vk|Pu))>0}get deletedAfter(){return(this.delInfo&(Hk|Pu))>0}get deletedAcross(){return(this.delInfo&Pu)>0}}class Nr{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Nr.empty)return Nr.empty}recover(e){let n=0,r=d1(e);if(!this.inverted)for(let s=0;se)break;let h=this.ranges[c+a],f=this.ranges[c+o],m=u+h;if(e<=m){let g=h?e==u?-1:e==m?1:n:n,y=u+s+(g<0?0:f);if(r)return y;let v=e==(n<0?u:m)?null:JP(c/3,e-u),j=e==u?Hk:e==m?Vk:Pu;return(n<0?e!=u:e!=m)&&(j|=Wk),new Ag(y,j,v)}s+=f-h}return r?e+s:new Ag(e+s,0,null)}touches(e,n){let r=0,s=d1(n),a=this.inverted?2:1,o=this.inverted?1:2;for(let c=0;ce)break;let h=this.ranges[c+a],f=u+h;if(e<=f&&c==s*3)return!0;r+=this.ranges[c+o]-h}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let s=0,a=0;s=0;n--){let s=e.getMirror(n);this.appendMap(e._maps[n].invert(),s!=null&&s>n?r-s-1:void 0)}}invert(){let e=new Tc;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ra&&u!o.isAtom||!c.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),s),n.openStart,n.openEnd);return on.fromReplace(e,this.from,this.to,a)}invert(){return new Xr(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Bi(n.pos,r.pos,this.mark)}merge(e){return e instanceof Bi&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Bi(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Bi(n.from,n.to,e.markFromJSON(n.mark))}}Un.jsonID("addMark",Bi);class Xr extends Un{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Me(Bx(n.content,s=>s.mark(this.mark.removeFromSet(s.marks)),e),n.openStart,n.openEnd);return on.fromReplace(e,this.from,this.to,r)}invert(){return new Bi(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Xr(n.pos,r.pos,this.mark)}merge(e){return e instanceof Xr&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Xr(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Xr(n.from,n.to,e.markFromJSON(n.mark))}}Un.jsonID("removeMark",Xr);class Vi extends Un{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return on.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return on.fromReplace(e,this.pos,this.pos+1,new Me(pe.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let s=0;sr.pos?null:new jn(n.pos,r.pos,s,a,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new jn(n.from,n.to,n.gapFrom,n.gapTo,Me.fromJSON(e,n.slice),n.insert,!!n.structure)}}Un.jsonID("replaceAround",jn);function Rg(t,e,n){let r=t.resolve(e),s=n-e,a=r.depth;for(;s>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,s--;if(s>0){let o=r.node(a).maybeChild(r.indexAfter(a));for(;s>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,s--}}return!1}function QP(t,e,n,r){let s=[],a=[],o,c;t.doc.nodesBetween(e,n,(u,h,f)=>{if(!u.isInline)return;let m=u.marks;if(!r.isInSet(m)&&f.type.allowsMarkType(r.type)){let g=Math.max(h,e),y=Math.min(h+u.nodeSize,n),v=r.addToSet(m);for(let j=0;jt.step(u)),a.forEach(u=>t.step(u))}function XP(t,e,n,r){let s=[],a=0;t.doc.nodesBetween(e,n,(o,c)=>{if(!o.isInline)return;a++;let u=null;if(r instanceof Xh){let h=o.marks,f;for(;f=r.isInSet(h);)(u||(u=[])).push(f),h=f.removeFromSet(h)}else r?r.isInSet(o.marks)&&(u=[r]):u=o.marks;if(u&&u.length){let h=Math.min(c+o.nodeSize,n);for(let f=0;ft.step(new Xr(o.from,o.to,o.style)))}function Vx(t,e,n,r=n.contentMatch,s=!0){let a=t.doc.nodeAt(e),o=[],c=e+1;for(let u=0;u=0;u--)t.step(o[u])}function ZP(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function hl(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth,s=0,a=0;;--r){let o=t.$from.node(r),c=t.$from.index(r)+s,u=t.$to.indexAfter(r)-a;if(rn;v--)j||r.index(v)>0?(j=!0,f=pe.from(r.node(v).copy(f)),m++):u--;let g=pe.empty,y=0;for(let v=a,j=!1;v>n;v--)j||s.after(v+1)=0;o--){if(r.size){let c=n[o].type.contentMatch.matchFragment(r);if(!c||!c.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=pe.from(n[o].type.create(n[o].attrs,r))}let s=e.start,a=e.end;t.step(new jn(s,a,s,a,new Me(r,0,0),n.length,!0))}function sO(t,e,n,r,s){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let a=t.steps.length;t.doc.nodesBetween(e,n,(o,c)=>{let u=typeof s=="function"?s(o):s;if(o.isTextblock&&!o.hasMarkup(r,u)&&iO(t.doc,t.mapping.slice(a).map(c),r)){let h=null;if(r.schema.linebreakReplacement){let y=r.whitespace=="pre",v=!!r.contentMatch.matchType(r.schema.linebreakReplacement);y&&!v?h=!1:!y&&v&&(h=!0)}h===!1&&Kk(t,o,c,a),Vx(t,t.mapping.slice(a).map(c,1),r,void 0,h===null);let f=t.mapping.slice(a),m=f.map(c,1),g=f.map(c+o.nodeSize,1);return t.step(new jn(m,g,m+1,g-1,new Me(pe.from(r.create(u,null,o.marks)),0,0),1,!0)),h===!0&&Uk(t,o,c,a),!1}})}function Uk(t,e,n,r){e.forEach((s,a)=>{if(s.isText){let o,c=/\r?\n|\r/g;for(;o=c.exec(s.text);){let u=t.mapping.slice(r).map(n+1+a+o.index);t.replaceWith(u,u+1,e.type.schema.linebreakReplacement.create())}}})}function Kk(t,e,n,r){e.forEach((s,a)=>{if(s.type==s.type.schema.linebreakReplacement){let o=t.mapping.slice(r).map(n+1+a);t.replaceWith(o,o+1,e.type.schema.text(` -`))}})}function iO(t,e,n){let r=t.resolve(e),s=r.index();return r.parent.canReplaceWith(s,s+1,n)}function aO(t,e,n,r,s){let a=t.doc.nodeAt(e);if(!a)throw new RangeError("No node at given position");n||(n=a.type);let o=n.create(r,null,s||a.marks);if(a.isLeaf)return t.replaceWith(e,e+a.nodeSize,o);if(!n.validContent(a.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new jn(e,e+a.nodeSize,e+1,e+a.nodeSize-1,new Me(pe.from(o),0,0),1,!0))}function Ys(t,e,n=1,r){let s=t.resolve(e),a=s.depth-n,o=r&&r[r.length-1]||s.parent;if(a<0||s.parent.type.spec.isolating||!s.parent.canReplace(s.index(),s.parent.childCount)||!o.type.validContent(s.parent.content.cutByIndex(s.index(),s.parent.childCount)))return!1;for(let h=s.depth-1,f=n-2;h>a;h--,f--){let m=s.node(h),g=s.index(h);if(m.type.spec.isolating)return!1;let y=m.content.cutByIndex(g,m.childCount),v=r&&r[f+1];v&&(y=y.replaceChild(0,v.type.create(v.attrs)));let j=r&&r[f]||m;if(!m.canReplace(g+1,m.childCount)||!j.type.validContent(y))return!1}let c=s.indexAfter(a),u=r&&r[0];return s.node(a).canReplaceWith(c,c,u?u.type:s.node(a+1).type)}function oO(t,e,n=1,r){let s=t.doc.resolve(e),a=pe.empty,o=pe.empty;for(let c=s.depth,u=s.depth-n,h=n-1;c>u;c--,h--){a=pe.from(s.node(c).copy(a));let f=r&&r[h];o=pe.from(f?f.type.create(f.attrs,o):s.node(c).copy(o))}t.step(new wn(e,e,new Me(a.append(o),n,n),!0))}function aa(t,e){let n=t.resolve(e),r=n.index();return qk(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function lO(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let s=0;s0?(a=r.node(s+1),c++,o=r.node(s).maybeChild(c)):(a=r.node(s).maybeChild(c-1),o=r.node(s+1)),a&&!a.isTextblock&&qk(a,o)&&r.node(s).canReplace(c,c+1))return e;if(s==0)break;e=n<0?r.before(s):r.after(s)}}function cO(t,e,n){let r=null,{linebreakReplacement:s}=t.doc.type.schema,a=t.doc.resolve(e-n),o=a.node().type;if(s&&o.inlineContent){let f=o.whitespace=="pre",m=!!o.contentMatch.matchType(s);f&&!m?r=!1:!f&&m&&(r=!0)}let c=t.steps.length;if(r===!1){let f=t.doc.resolve(e+n);Kk(t,f.node(),f.before(),c)}o.inlineContent&&Vx(t,e+n-1,o,a.node().contentMatchAt(a.index()),r==null);let u=t.mapping.slice(c),h=u.map(e-n);if(t.step(new wn(h,u.map(e+n,-1),Me.empty,!0)),r===!0){let f=t.doc.resolve(h);Uk(t,f.node(),f.before(),t.steps.length)}return t}function dO(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let s=r.depth-1;s>=0;s--){let a=r.index(s);if(r.node(s).canReplaceWith(a,a,n))return r.before(s+1);if(a>0)return null}if(r.parentOffset==r.parent.content.size)for(let s=r.depth-1;s>=0;s--){let a=r.indexAfter(s);if(r.node(s).canReplaceWith(a,a,n))return r.after(s+1);if(a=0;o--){let c=o==r.depth?0:r.pos<=(r.start(o+1)+r.end(o+1))/2?-1:1,u=r.index(o)+(c>0?1:0),h=r.node(o),f=!1;if(a==1)f=h.canReplace(u,u,s);else{let m=h.contentMatchAt(u).findWrapping(s.firstChild.type);f=m&&h.canReplaceWith(u,u,m[0])}if(f)return c==0?r.pos:c<0?r.before(o+1):r.after(o+1)}return null}function ef(t,e,n=e,r=Me.empty){if(e==n&&!r.size)return null;let s=t.resolve(e),a=t.resolve(n);return Jk(s,a,r)?new wn(e,n,r):new uO(s,a,r).fit()}function Jk(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class uO{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=pe.empty;for(let s=0;s<=e.depth;s++){let a=e.node(s);this.frontier.push({type:a.type,match:a.contentMatchAt(e.indexAfter(s))})}for(let s=e.depth;s>0;s--)this.placed=pe.from(e.node(s).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let h=this.findFittable();h?this.placeNodes(h):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,s=this.close(e<0?this.$to:r.doc.resolve(e));if(!s)return null;let a=this.placed,o=r.depth,c=s.depth;for(;o&&c&&a.childCount==1;)a=a.firstChild.content,o--,c--;let u=new Me(a,o,c);return e>-1?new jn(r.pos,e,this.$to.pos,this.$to.end(),u,n):u.size||r.pos!=this.$to.pos?new wn(r.pos,s.pos,u):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,s=this.unplaced.openEnd;r1&&(s=0),a.type.spec.isolating&&s<=r){e=r;break}n=a.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let s,a=null;r?(a=Am(this.unplaced.content,r-1).firstChild,s=a.content):s=this.unplaced.content;let o=s.firstChild;for(let c=this.depth;c>=0;c--){let{type:u,match:h}=this.frontier[c],f,m=null;if(n==1&&(o?h.matchType(o.type)||(m=h.fillBefore(pe.from(o),!1)):a&&u.compatibleContent(a.type)))return{sliceDepth:r,frontierDepth:c,parent:a,inject:m};if(n==2&&o&&(f=h.findWrapping(o.type)))return{sliceDepth:r,frontierDepth:c,parent:a,wrap:f};if(a&&h.matchType(a.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,s=Am(e,n);return!s.childCount||s.firstChild.isLeaf?!1:(this.unplaced=new Me(e,n+1,Math.max(r,s.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,s=Am(e,n);if(s.childCount<=1&&n>0){let a=e.size-n<=n+s.size;this.unplaced=new Me(nc(e,n-1,1),n-1,a?n-1:r)}else this.unplaced=new Me(nc(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:s,wrap:a}){for(;this.depth>n;)this.closeFrontierNode();if(a)for(let j=0;j1||u==0||j.content.size)&&(m=w,f.push(Yk(j.mark(g.allowedMarks(j.marks)),h==1?u:0,h==c.childCount?y:-1)))}let v=h==c.childCount;v||(y=-1),this.placed=rc(this.placed,n,pe.from(f)),this.frontier[n].match=m,v&&y<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let j=0,w=c;j1&&s==this.$to.end(--r);)++s;return s}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:s}=this.frontier[n],a=n=0;c--){let{match:u,type:h}=this.frontier[c],f=Rm(e,c,h,u,!0);if(!f||f.childCount)continue e}return{depth:n,fit:o,move:a?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=rc(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let s=e.node(r),a=s.type.contentMatch.fillBefore(s.content,!0,e.index(r));this.openFrontierNode(s.type,s.attrs,a)}return e}openFrontierNode(e,n=null,r){let s=this.frontier[this.depth];s.match=s.match.matchType(e),this.placed=rc(this.placed,this.depth,pe.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(pe.empty,!0);n.childCount&&(this.placed=rc(this.placed,this.frontier.length,n))}}function nc(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(nc(t.firstChild.content,e-1,n)))}function rc(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(rc(t.lastChild.content,e-1,n)))}function Am(t,e){for(let n=0;n1&&(r=r.replaceChild(0,Yk(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(pe.empty,!0)))),t.copy(r)}function Rm(t,e,n,r,s){let a=t.node(e),o=s?t.indexAfter(e):t.index(e);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let c=r.fillBefore(a.content,!0,o);return c&&!hO(n,a.content,o)?c:null}function hO(t,e,n){for(let r=n;r0;g--,y--){let v=s.node(g).type.spec;if(v.defining||v.definingAsContext||v.isolating)break;o.indexOf(g)>-1?c=g:s.before(g)==y&&o.splice(1,0,-g)}let u=o.indexOf(c),h=[],f=r.openStart;for(let g=r.content,y=0;;y++){let v=g.firstChild;if(h.push(v),y==r.openStart)break;g=v.content}for(let g=f-1;g>=0;g--){let y=h[g],v=fO(y.type);if(v&&!y.sameMarkup(s.node(Math.abs(c)-1)))f=g;else if(v||!y.type.isTextblock)break}for(let g=r.openStart;g>=0;g--){let y=(g+f+1)%(r.openStart+1),v=h[y];if(v)for(let j=0;j=0&&(t.replace(e,n,r),!(t.steps.length>m));g--){let y=o[g];y<0||(e=s.before(y),n=a.after(y))}}function Qk(t,e,n,r,s){if(er){let a=s.contentMatchAt(0),o=a.fillBefore(t).append(t);t=o.append(a.matchFragment(o).fillBefore(pe.empty,!0))}return t}function mO(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let s=dO(t.doc,e,r.type);s!=null&&(e=n=s)}t.replaceRange(e,n,new Me(pe.from(r),0,0))}function gO(t,e,n){let r=t.doc.resolve(e),s=t.doc.resolve(n),a=Xk(r,s);for(let o=0;o0&&(u||r.node(c-1).canReplace(r.index(c-1),s.indexAfter(c-1))))return t.delete(r.before(c),s.after(c))}for(let o=1;o<=r.depth&&o<=s.depth;o++)if(e-r.start(o)==r.depth-o&&n>r.end(o)&&s.end(o)-n!=s.depth-o&&r.start(o-1)==s.start(o-1)&&r.node(o-1).canReplace(r.index(o-1),s.index(o-1)))return t.delete(r.before(o),n);t.delete(e,n)}function Xk(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let s=r;s>=0;s--){let a=t.start(s);if(ae.pos+(e.depth-s)||t.node(s).type.spec.isolating||e.node(s).type.spec.isolating)break;(a==e.start(s)||s==t.depth&&s==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&s&&e.start(s-1)==a-1)&&n.push(s)}return n}class Ko extends Un{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return on.fail("No node at attribute step's position");let r=Object.create(null);for(let a in n.attrs)r[a]=n.attrs[a];r[this.attr]=this.value;let s=n.type.create(r,null,n.marks);return on.fromReplace(e,this.pos,this.pos+1,new Me(pe.from(s),0,n.isLeaf?0:1))}getMap(){return Nr.empty}invert(e){return new Ko(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Ko(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Ko(n.pos,n.attr,n.value)}}Un.jsonID("attr",Ko);class Mc extends Un{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let s in e.attrs)n[s]=e.attrs[s];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return on.ok(r)}getMap(){return Nr.empty}invert(e){return new Mc(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Mc(n.attr,n.value)}}Un.jsonID("docAttr",Mc);let Qo=class extends Error{};Qo=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};Qo.prototype=Object.create(Error.prototype);Qo.prototype.constructor=Qo;Qo.prototype.name="TransformError";class Wx{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Tc}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new Qo(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,n=-1e9;for(let r=0;r{e=Math.min(e,c),n=Math.max(n,u)})}return e==1e9?null:{from:e,to:n}}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=Me.empty){let s=ef(this.doc,e,n,r);return s&&this.step(s),this}replaceWith(e,n,r){return this.replace(e,n,new Me(pe.from(r),0,0))}delete(e,n){return this.replace(e,n,Me.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return pO(this,e,n,r),this}replaceRangeWith(e,n,r){return mO(this,e,n,r),this}deleteRange(e,n){return gO(this,e,n),this}lift(e,n){return eO(this,e,n),this}join(e,n=1){return cO(this,e,n),this}wrap(e,n){return rO(this,e,n),this}setBlockType(e,n=e,r,s=null){return sO(this,e,n,r,s),this}setNodeMarkup(e,n,r=null,s){return aO(this,e,n,r,s),this}setNodeAttribute(e,n,r){return this.step(new Ko(e,n,r)),this}setDocAttribute(e,n){return this.step(new Mc(e,n)),this}addNodeMark(e,n){return this.step(new Vi(e,n)),this}removeNodeMark(e,n){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n instanceof Nt)n.isInSet(r.marks)&&this.step(new Wa(e,n));else{let s=r.marks,a,o=[];for(;a=n.isInSet(s);)o.push(new Wa(e,a)),s=a.removeFromSet(s);for(let c=o.length-1;c>=0;c--)this.step(o[c])}return this}split(e,n=1,r){return oO(this,e,n,r),this}addMark(e,n,r){return QP(this,e,n,r),this}removeMark(e,n,r){return XP(this,e,n,r),this}clearIncompatible(e,n,r){return Vx(this,e,n,r),this}}const Im=Object.create(null);class Ge{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new Zk(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;a--){let o=n<0?Do(e.node(0),e.node(a),e.before(a+1),e.index(a),n,r):Do(e.node(0),e.node(a),e.after(a+1),e.index(a)+1,n,r);if(o)return o}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new kr(e.node(0))}static atStart(e){return Do(e,e,0,0,1)||new kr(e)}static atEnd(e){return Do(e,e,e.content.size,e.childCount,-1)||new kr(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Im[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Im)throw new RangeError("Duplicate use of selection JSON ID "+e);return Im[e]=n,n.prototype.jsonID=e,n}getBookmark(){return He.between(this.$anchor,this.$head).getBookmark()}}Ge.prototype.visible=!0;class Zk{constructor(e,n){this.$from=e,this.$to=n}}let h1=!1;function f1(t){!h1&&!t.parent.inlineContent&&(h1=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class He extends Ge{constructor(e,n=e){f1(e),f1(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return Ge.near(r);let s=e.resolve(n.map(this.anchor));return new He(s.parent.inlineContent?s:r,r)}replace(e,n=Me.empty){if(super.replace(e,n),n==Me.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof He&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new tf(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new He(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let s=e.resolve(n);return new this(s,r==n?s:e.resolve(r))}static between(e,n,r){let s=e.pos-n.pos;if((!r||s)&&(r=s>=0?1:-1),!n.parent.inlineContent){let a=Ge.findFrom(n,r,!0)||Ge.findFrom(n,-r,!0);if(a)n=a.$head;else return Ge.near(n,r)}return e.parent.inlineContent||(s==0?e=n:(e=(Ge.findFrom(e,-r,!0)||Ge.findFrom(e,r,!0)).$anchor,e.pos0?0:1);s>0?o=0;o+=s){let c=e.child(o);if(c.isAtom){if(!a&&Ve.isSelectable(c))return Ve.create(t,n-(s<0?c.nodeSize:0))}else{let u=Do(t,c,n+s,s<0?c.childCount:0,s,a);if(u)return u}n+=c.nodeSize*s}return null}function p1(t,e,n){let r=t.steps.length-1;if(r{o==null&&(o=f)}),t.setSelection(Ge.near(t.doc.resolve(o),n))}const m1=1,mu=2,g1=4;class yO extends Wx{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=mu,this}ensureMarks(e){return Nt.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&mu)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~mu,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Nt.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let s=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(s.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),!e)return this.deleteRange(n,r);let a=this.storedMarks;if(!a){let o=this.doc.resolve(n);a=r==n?o.marks():o.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,s.text(e,a)),!this.selection.empty&&this.selection.to==n+e.length&&this.setSelection(Ge.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=g1,this}get scrolledIntoView(){return(this.updated&g1)>0}}function x1(t,e){return!e||!t?t:t.bind(e)}class sc{constructor(e,n,r){this.name=e,this.init=x1(n.init,r),this.apply=x1(n.apply,r)}}const vO=[new sc("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new sc("selection",{init(t,e){return t.selection||Ge.atStart(e.doc)},apply(t){return t.selection}}),new sc("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new sc("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Pm{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=vO.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new sc(r.key,r.spec.state,r))})}}class Ho{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let s=e[r],a=s.spec.state;a&&a.toJSON&&(n[r]=a.toJSON.call(s,this[s.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let s=new Pm(e.schema,e.plugins),a=new Ho(s);return s.fields.forEach(o=>{if(o.name=="doc")a.doc=Js.fromJSON(e.schema,n.doc);else if(o.name=="selection")a.selection=Ge.fromJSON(a.doc,n.selection);else if(o.name=="storedMarks")n.storedMarks&&(a.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let c in r){let u=r[c],h=u.spec.state;if(u.key==o.name&&h&&h.fromJSON&&Object.prototype.hasOwnProperty.call(n,c)){a[o.name]=h.fromJSON.call(u,e,n[c],a);return}}a[o.name]=o.init(e,a)}}),a}}function eS(t,e,n){for(let r in t){let s=t[r];s instanceof Function?s=s.bind(e):r=="handleDOMEvents"&&(s=eS(s,e,{})),n[r]=s}return n}class Ct{constructor(e){this.spec=e,this.props={},e.props&&eS(e.props,this,this.props),this.key=e.key?e.key.key:tS("plugin")}getState(e){return e[this.key]}}const Om=Object.create(null);function tS(t){return t in Om?t+"$"+ ++Om[t]:(Om[t]=0,t+"$")}class _t{constructor(e="key"){this.key=tS(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Kx=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function nS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const rS=(t,e,n)=>{let r=nS(t,n);if(!r)return!1;let s=qx(r);if(!s){let o=r.blockRange(),c=o&&hl(o);return c==null?!1:(e&&e(t.tr.lift(o,c).scrollIntoView()),!0)}let a=s.nodeBefore;if(hS(t,s,e,-1))return!0;if(r.parent.content.size==0&&(Xo(a,"end")||Ve.isSelectable(a)))for(let o=r.depth;;o--){let c=ef(t.doc,r.before(o),r.after(o),Me.empty);if(c&&c.slice.size1)break}return a.isAtom&&s.depth==r.depth-1?(e&&e(t.tr.delete(s.pos-a.nodeSize,s.pos).scrollIntoView()),!0):!1},bO=(t,e,n)=>{let r=nS(t,n);if(!r)return!1;let s=qx(r);return s?sS(t,s,e):!1},wO=(t,e,n)=>{let r=aS(t,n);if(!r)return!1;let s=Gx(r);return s?sS(t,s,e):!1};function sS(t,e,n){let r=e.nodeBefore,s=r,a=e.pos-1;for(;!s.isTextblock;a--){if(s.type.spec.isolating)return!1;let f=s.lastChild;if(!f)return!1;s=f}let o=e.nodeAfter,c=o,u=e.pos+1;for(;!c.isTextblock;u++){if(c.type.spec.isolating)return!1;let f=c.firstChild;if(!f)return!1;c=f}let h=ef(t.doc,a,u,Me.empty);if(!h||h.from!=a||h instanceof wn&&h.slice.size>=u-a)return!1;if(n){let f=t.tr.step(h);f.setSelection(He.create(f.doc,a)),n(f.scrollIntoView())}return!0}function Xo(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const iS=(t,e,n)=>{let{$head:r,empty:s}=t.selection,a=r;if(!s)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;a=qx(r)}let o=a&&a.nodeBefore;return!o||!Ve.isSelectable(o)?!1:(e&&e(t.tr.setSelection(Ve.create(t.doc,a.pos-o.nodeSize)).scrollIntoView()),!0)};function qx(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function aS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=aS(t,n);if(!r)return!1;let s=Gx(r);if(!s)return!1;let a=s.nodeAfter;if(hS(t,s,e,1))return!0;if(r.parent.content.size==0&&(Xo(a,"start")||Ve.isSelectable(a))){let o=ef(t.doc,r.before(),r.after(),Me.empty);if(o&&o.slice.size{let{$head:r,empty:s}=t.selection,a=r;if(!s)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof Ve,s;if(r){if(n.node.isTextblock||!aa(t.doc,n.from))return!1;s=n.from}else if(s=Zh(t.doc,n.from,-1),s==null)return!1;if(e){let a=t.tr.join(s);r&&a.setSelection(Ve.create(a.doc,s-t.doc.resolve(s).nodeBefore.nodeSize)),e(a.scrollIntoView())}return!0},jO=(t,e)=>{let n=t.selection,r;if(n instanceof Ve){if(n.node.isTextblock||!aa(t.doc,n.to))return!1;r=n.to}else if(r=Zh(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},kO=(t,e)=>{let{$from:n,$to:r}=t.selection,s=n.blockRange(r),a=s&&hl(s);return a==null?!1:(e&&e(t.tr.lift(s,a).scrollIntoView()),!0)},cS=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` -`).scrollIntoView()),!0)};function Jx(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let s=n.node(-1),a=n.indexAfter(-1),o=Jx(s.contentMatchAt(a));if(!o||!s.canReplaceWith(a,a,o))return!1;if(e){let c=n.after(),u=t.tr.replaceWith(c,c,o.createAndFill());u.setSelection(Ge.near(u.doc.resolve(c),1)),e(u.scrollIntoView())}return!0},dS=(t,e)=>{let n=t.selection,{$from:r,$to:s}=n;if(n instanceof kr||r.parent.inlineContent||s.parent.inlineContent)return!1;let a=Jx(s.parent.contentMatchAt(s.indexAfter()));if(!a||!a.isTextblock)return!1;if(e){let o=(!r.parentOffset&&s.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let a=n.before();if(Ys(t.doc,a))return e&&e(t.tr.split(a).scrollIntoView()),!0}let r=n.blockRange(),s=r&&hl(r);return s==null?!1:(e&&e(t.tr.lift(r,s).scrollIntoView()),!0)};function CO(t){return(e,n)=>{let{$from:r,$to:s}=e.selection;if(e.selection instanceof Ve&&e.selection.node.isBlock)return!r.parentOffset||!Ys(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let a=[],o,c,u=!1,h=!1;for(let y=r.depth;;y--)if(r.node(y).isBlock){u=r.end(y)==r.pos+(r.depth-y),h=r.start(y)==r.pos-(r.depth-y),c=Jx(r.node(y-1).contentMatchAt(r.indexAfter(y-1))),a.unshift(u&&c?{type:c}:null),o=y;break}else{if(y==1)return!1;a.unshift(null)}let f=e.tr;(e.selection instanceof He||e.selection instanceof kr)&&f.deleteSelection();let m=f.mapping.map(r.pos),g=Ys(f.doc,m,a.length,a);if(g||(a[0]=c?{type:c}:null,g=Ys(f.doc,m,a.length,a)),!g)return!1;if(f.split(m,a.length,a),!u&&h&&r.node(o).type!=c){let y=f.mapping.map(r.before(o)),v=f.doc.resolve(y);c&&r.node(o-1).canReplaceWith(v.index(),v.index()+1,c)&&f.setNodeMarkup(f.mapping.map(r.before(o)),c)}return n&&n(f.scrollIntoView()),!0}}const EO=CO(),TO=(t,e)=>{let{$from:n,to:r}=t.selection,s,a=n.sharedDepth(r);return a==0?!1:(s=n.before(a),e&&e(t.tr.setSelection(Ve.create(t.doc,s))),!0)};function MO(t,e,n){let r=e.nodeBefore,s=e.nodeAfter,a=e.index();return!r||!s||!r.type.compatibleContent(s.type)?!1:!r.content.size&&e.parent.canReplace(a-1,a)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(a,a+1)||!(s.isTextblock||aa(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function hS(t,e,n,r){let s=e.nodeBefore,a=e.nodeAfter,o,c,u=s.type.spec.isolating||a.type.spec.isolating;if(!u&&MO(t,e,n))return!0;let h=!u&&e.parent.canReplace(e.index(),e.index()+1);if(h&&(o=(c=s.contentMatchAt(s.childCount)).findWrapping(a.type))&&c.matchType(o[0]||a.type).validEnd){if(n){let y=e.pos+a.nodeSize,v=pe.empty;for(let k=o.length-1;k>=0;k--)v=pe.from(o[k].create(null,v));v=pe.from(s.copy(v));let j=t.tr.step(new jn(e.pos-1,y,e.pos,y,new Me(v,1,0),o.length,!0)),w=j.doc.resolve(y+2*o.length);w.nodeAfter&&w.nodeAfter.type==s.type&&aa(j.doc,w.pos)&&j.join(w.pos),n(j.scrollIntoView())}return!0}let f=a.type.spec.isolating||r>0&&u?null:Ge.findFrom(e,1),m=f&&f.$from.blockRange(f.$to),g=m&&hl(m);if(g!=null&&g>=e.depth)return n&&n(t.tr.lift(m,g).scrollIntoView()),!0;if(h&&Xo(a,"start",!0)&&Xo(s,"end")){let y=s,v=[];for(;v.push(y),!y.isTextblock;)y=y.lastChild;let j=a,w=1;for(;!j.isTextblock;j=j.firstChild)w++;if(y.canReplace(y.childCount,y.childCount,j.content)){if(n){let k=pe.empty;for(let C=v.length-1;C>=0;C--)k=pe.from(v[C].copy(k));let E=t.tr.step(new jn(e.pos-v.length,e.pos+a.nodeSize,e.pos+w,e.pos+a.nodeSize-w,new Me(k,v.length,0),0,!0));n(E.scrollIntoView())}return!0}}return!1}function fS(t){return function(e,n){let r=e.selection,s=t<0?r.$from:r.$to,a=s.depth;for(;s.node(a).isInline;){if(!a)return!1;a--}return s.node(a).isTextblock?(n&&n(e.tr.setSelection(He.create(e.doc,t<0?s.start(a):s.end(a)))),!0):!1}}const AO=fS(-1),RO=fS(1);function IO(t,e=null){return function(n,r){let{$from:s,$to:a}=n.selection,o=s.blockRange(a),c=o&&Hx(o,t,e);return c?(r&&r(n.tr.wrap(o,c).scrollIntoView()),!0):!1}}function y1(t,e=null){return function(n,r){let s=!1;for(let a=0;a{if(s)return!1;if(!(!u.isTextblock||u.hasMarkup(t,e)))if(u.type==t)s=!0;else{let f=n.doc.resolve(h),m=f.index();s=f.parent.canReplaceWith(m,m+1,t)}})}if(!s)return!1;if(r){let a=n.tr;for(let o=0;o=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let u=o.resolve(e.start-2);a=new Qu(u,u,e.depth),e.endIndex=0;f--)a=pe.from(n[f].type.create(n[f].attrs,a));t.step(new jn(e.start-(r?2:0),e.end,e.start,e.end,new Me(a,0,0),n.length,!0));let o=0;for(let f=0;fo.childCount>0&&o.firstChild.type==t);return a?n?r.node(a.depth-1).type==t?_O(e,n,t,a):zO(e,n,a):!0:!1}}function _O(t,e,n,r){let s=t.tr,a=r.end,o=r.$to.end(r.depth);aj;v--)y-=s.child(v).nodeSize,r.delete(y-1,y+1);let a=r.doc.resolve(n.start),o=a.nodeAfter;if(r.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let c=n.startIndex==0,u=n.endIndex==s.childCount,h=a.node(-1),f=a.index(-1);if(!h.canReplace(f+(c?0:1),f+1,o.content.append(u?pe.empty:pe.from(s))))return!1;let m=a.pos,g=m+o.nodeSize;return r.step(new jn(m-(c?1:0),g+(u?1:0),m+1,g-1,new Me((c?pe.empty:pe.from(s.copy(pe.empty))).append(u?pe.empty:pe.from(s.copy(pe.empty))),c?0:1,u?0:1),c?0:1)),e(r.scrollIntoView()),!0}function $O(t){return function(e,n){let{$from:r,$to:s}=e.selection,a=r.blockRange(s,h=>h.childCount>0&&h.firstChild.type==t);if(!a)return!1;let o=a.startIndex;if(o==0)return!1;let c=a.parent,u=c.child(o-1);if(u.type!=t)return!1;if(n){let h=u.lastChild&&u.lastChild.type==c.type,f=pe.from(h?t.create():null),m=new Me(pe.from(t.create(null,pe.from(c.type.create(null,f)))),h?3:1,0),g=a.start,y=a.end;n(e.tr.step(new jn(g-(h?3:1),y,g,y,m,1,!0)).scrollIntoView())}return!0}}const Rn=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},Zo=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let Ig=null;const Us=function(t,e,n){let r=Ig||(Ig=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},FO=function(){Ig=null},Ua=function(t,e,n,r){return n&&(v1(t,e,n,r,-1)||v1(t,e,n,r,1))},BO=/^(img|br|input|textarea|hr)$/i;function v1(t,e,n,r,s){for(var a;;){if(t==n&&e==r)return!0;if(e==(s<0?0:_r(t))){let o=t.parentNode;if(!o||o.nodeType!=1||Wc(t)||BO.test(t.nodeName)||t.contentEditable=="false")return!1;e=Rn(t)+(s<0?0:1),t=o}else if(t.nodeType==1){let o=t.childNodes[e+(s<0?-1:0)];if(o.nodeType==1&&o.contentEditable=="false")if(!((a=o.pmViewDesc)===null||a===void 0)&&a.ignoreForSelection)e+=s;else return!1;else t=o,e=s<0?_r(t):0}else return!1}}function _r(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function VO(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=_r(t)}else if(t.parentNode&&!Wc(t))e=Rn(t),t=t.parentNode;else return null}}function HO(t,e){for(;;){if(t.nodeType==3&&e2),Lr=el||(Ns?/Mac/.test(Ns.platform):!1),gS=Ns?/Win/.test(Ns.platform):!1,qs=/Android \d/.test(oa),Uc=!!b1&&"webkitFontSmoothing"in b1.documentElement.style,qO=Uc?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function GO(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function $s(t,e){return typeof t=="number"?t:t[e]}function JO(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function w1(t,e,n){let r=t.someProp("scrollThreshold")||0,s=t.someProp("scrollMargin")||5,a=t.dom.ownerDocument;for(let o=n||t.dom;o;){if(o.nodeType!=1){o=Zo(o);continue}let c=o,u=c==a.body,h=u?GO(a):JO(c),f=0,m=0;if(e.toph.bottom-$s(r,"bottom")&&(m=e.bottom-e.top>h.bottom-h.top?e.top+$s(s,"top")-h.top:e.bottom-h.bottom+$s(s,"bottom")),e.lefth.right-$s(r,"right")&&(f=e.right-h.right+$s(s,"right")),f||m)if(u)a.defaultView.scrollBy(f,m);else{let y=c.scrollLeft,v=c.scrollTop;m&&(c.scrollTop+=m),f&&(c.scrollLeft+=f);let j=c.scrollLeft-y,w=c.scrollTop-v;e={left:e.left-j,top:e.top-w,right:e.right-j,bottom:e.bottom-w}}let g=u?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(g))break;o=g=="absolute"?o.offsetParent:Zo(o)}}function YO(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,s;for(let a=(e.left+e.right)/2,o=n+1;o=n-20){r=c,s=u.top;break}}return{refDOM:r,refTop:s,stack:xS(t.dom)}}function xS(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=Zo(r));return e}function QO({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;yS(n,r==0?0:r-e)}function yS(t,e){for(let n=0;n=c){o=Math.max(v.bottom,o),c=Math.min(v.top,c);let j=v.left>e.left?v.left-e.left:v.right=(v.left+v.right)/2?1:0));continue}}else v.top>e.top&&!u&&v.left<=e.left&&v.right>=e.left&&(u=f,h={left:Math.max(v.left,Math.min(v.right,e.left)),top:v.top});!n&&(e.left>=v.right&&e.top>=v.top||e.left>=v.left&&e.top>=v.bottom)&&(a=m+1)}}return!n&&u&&(n=u,s=h,r=0),n&&n.nodeType==3?ZO(n,s):!n||r&&n.nodeType==1?{node:t,offset:a}:vS(n,s)}function ZO(t,e){let n=t.nodeValue.length,r=document.createRange(),s;for(let a=0;a=(o.left+o.right)/2?1:0)};break}}return r.detach(),s||{node:t,offset:0}}function Qx(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function eD(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(o.left+o.right)/2?1:-1}return t.docView.posFromDOM(r,s,a)}function nD(t,e,n,r){let s=-1;for(let a=e,o=!1;a!=t.dom;){let c=t.docView.nearestDesc(a,!0),u;if(!c)return null;if(c.dom.nodeType==1&&(c.node.isBlock&&c.parent||!c.contentDOM)&&((u=c.dom.getBoundingClientRect()).width||u.height)&&(c.node.isBlock&&c.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(c.dom.nodeName)&&(!o&&u.left>r.left||u.top>r.top?s=c.posBefore:(!o&&u.right-1?s:t.docView.posFromDOM(e,n,-1)}function bS(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&s++}let h;Uc&&s&&r.nodeType==1&&(h=r.childNodes[s-1]).nodeType==1&&h.contentEditable=="false"&&h.getBoundingClientRect().top>=e.top&&s--,r==t.dom&&s==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?c=t.state.doc.content.size:(s==0||r.nodeType!=1||r.childNodes[s-1].nodeName!="BR")&&(c=nD(t,r,s,e))}c==null&&(c=tD(t,o,e));let u=t.docView.nearestDesc(o,!0);return{pos:c,inside:u?u.posAtStart-u.border:-1}}function N1(t){return t.top=0&&s==r.nodeValue.length?(u--,f=1):n<0?u--:h++,Yl(Ii(Us(r,u,h),f),f<0)}if(!t.state.doc.resolve(e-(a||0)).parent.inlineContent){if(a==null&&s&&(n<0||s==_r(r))){let u=r.childNodes[s-1];if(u.nodeType==1)return Dm(u.getBoundingClientRect(),!1)}if(a==null&&s<_r(r)){let u=r.childNodes[s];if(u.nodeType==1)return Dm(u.getBoundingClientRect(),!0)}return Dm(r.getBoundingClientRect(),n>=0)}if(a==null&&s&&(n<0||s==_r(r))){let u=r.childNodes[s-1],h=u.nodeType==3?Us(u,_r(u)-(o?0:1)):u.nodeType==1&&(u.nodeName!="BR"||!u.nextSibling)?u:null;if(h)return Yl(Ii(h,1),!1)}if(a==null&&s<_r(r)){let u=r.childNodes[s];for(;u.pmViewDesc&&u.pmViewDesc.ignoreForCoords;)u=u.nextSibling;let h=u?u.nodeType==3?Us(u,0,o?0:1):u.nodeType==1?u:null:null;if(h)return Yl(Ii(h,-1),!0)}return Yl(Ii(r.nodeType==3?Us(r):r,-n),n>=0)}function Yl(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function Dm(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function NS(t,e,n){let r=t.state,s=t.root.activeElement;r!=e&&t.updateState(e),s!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),s!=t.dom&&s&&s.focus()}}function iD(t,e,n){let r=e.selection,s=n=="up"?r.$from:r.$to;return NS(t,e,()=>{let{node:a}=t.docView.domFromPos(s.pos,n=="up"?-1:1);for(;;){let c=t.docView.nearestDesc(a,!0);if(!c)break;if(c.node.isBlock){a=c.contentDOM||c.dom;break}a=c.dom.parentNode}let o=wS(t,s.pos,1);for(let c=a.firstChild;c;c=c.nextSibling){let u;if(c.nodeType==1)u=c.getClientRects();else if(c.nodeType==3)u=Us(c,0,c.nodeValue.length).getClientRects();else continue;for(let h=0;hf.top+1&&(n=="up"?o.top-f.top>(f.bottom-o.top)*2:f.bottom-o.bottom>(o.bottom-f.top)*2))return!1}}return!0})}const aD=/[\u0590-\u08ac]/;function oD(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let s=r.parentOffset,a=!s,o=s==r.parent.content.size,c=t.domSelection();return c?!aD.test(r.parent.textContent)||!c.modify?n=="left"||n=="backward"?a:o:NS(t,e,()=>{let{focusNode:u,focusOffset:h,anchorNode:f,anchorOffset:m}=t.domSelectionRange(),g=c.caretBidiLevel;c.modify("move",n,"character");let y=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:v,focusOffset:j}=t.domSelectionRange(),w=v&&!y.contains(v.nodeType==1?v:v.parentNode)||u==v&&h==j;try{c.collapse(f,m),u&&(u!=f||h!=m)&&c.extend&&c.extend(u,h)}catch{}return g!=null&&(c.caretBidiLevel=g),w}):r.pos==r.start()||r.pos==r.end()}let j1=null,k1=null,S1=!1;function lD(t,e,n){return j1==e&&k1==n?S1:(j1=e,k1=n,S1=n=="up"||n=="down"?iD(t,e,n):oD(t,e,n))}const Fr=0,C1=1,Ra=2,js=3;class Kc{constructor(e,n,r,s){this.parent=e,this.children=n,this.dom=r,this.contentDOM=s,this.dirty=Fr,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nRn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))s=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let a=e;;a=a.parentNode){if(a==this.dom){s=!1;break}if(a.previousSibling)break}if(s==null&&n==e.childNodes.length)for(let a=e;;a=a.parentNode){if(a==this.dom){s=!0;break}if(a.nextSibling)break}}return s??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,s=e;s;s=s.parentNode){let a=this.getDesc(s),o;if(a&&(!n||a.node))if(r&&(o=a.nodeDOM)&&!(o.nodeType==1?o.contains(e.nodeType==1?e:e.parentNode):o==e))r=!1;else return a}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let s=e;s;s=s.parentNode){let a=this.getDesc(s);if(a)return a.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||o instanceof kS){s=e-a;break}a=c}if(s)return this.children[r].domFromPos(s-this.children[r].border,n);for(let a;r&&!(a=this.children[r-1]).size&&a instanceof jS&&a.side>=0;r--);if(n<=0){let a,o=!0;for(;a=r?this.children[r-1]:null,!(!a||a.dom.parentNode==this.contentDOM);r--,o=!1);return a&&n&&o&&!a.border&&!a.domAtom?a.domFromPos(a.size,n):{node:this.contentDOM,offset:a?Rn(a.dom)+1:0}}else{let a,o=!0;for(;a=r=f&&n<=h-u.border&&u.node&&u.contentDOM&&this.contentDOM.contains(u.contentDOM))return u.parseRange(e,n,f);e=o;for(let m=c;m>0;m--){let g=this.children[m-1];if(g.size&&g.dom.parentNode==this.contentDOM&&!g.emptyChildAt(1)){s=Rn(g.dom)+1;break}e-=g.size}s==-1&&(s=0)}if(s>-1&&(h>n||c==this.children.length-1)){n=h;for(let f=c+1;fv&&on){let v=c;c=u,u=v}let y=document.createRange();y.setEnd(u.node,u.offset),y.setStart(c.node,c.offset),h.removeAllRanges(),h.addRange(y)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,s=0;s=r:er){let c=r+a.border,u=o-a.border;if(e>=c&&n<=u){this.dirty=e==r||n==o?Ra:C1,e==c&&n==u&&(a.contentLost||a.dom.parentNode!=this.contentDOM)?a.dirty=js:a.markDirty(e-c,n-c);return}else a.dirty=a.dom==a.contentDOM&&a.dom.parentNode==this.contentDOM&&!a.children.length?Ra:js}r=o}this.dirty=Ra}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?Ra:C1;n.dirty{if(!a)return s;if(a.parent)return a.parent.posBeforeChild(a)})),!n.type.spec.raw){if(o.nodeType!=1){let c=document.createElement("span");c.appendChild(o),o=c}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=n,this.widget=n,a=this}matchesWidget(e){return this.dirty==Fr&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class cD extends Kc{constructor(e,n,r,s){super(e,[],n,null),this.textDOM=r,this.text=s}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Ka extends Kc{constructor(e,n,r,s,a){super(e,[],r,s),this.mark=n,this.spec=a}static create(e,n,r,s){let a=s.nodeViews[n.type.name],o=a&&a(n,s,r);return(!o||!o.dom)&&(o=Za.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new Ka(e,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&js||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=js&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Fr){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(a=_g(a,0,e,r));for(let c=0;c{if(!u)return o;if(u.parent)return u.parent.posBeforeChild(u)},r,s),f=h&&h.dom,m=h&&h.contentDOM;if(n.isText){if(!f)f=document.createTextNode(n.text);else if(f.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else f||({dom:f,contentDOM:m}=Za.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!m&&!n.isText&&f.nodeName!="BR"&&(f.hasAttribute("contenteditable")||(f.contentEditable="false"),n.type.spec.draggable&&(f.draggable=!0));let g=f;return f=ES(f,r,n),h?u=new dD(e,n,r,s,f,m||null,g,h,a,o+1):n.isText?new rf(e,n,r,s,f,g,a):new Ji(e,n,r,s,f,m||null,g,a,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>pe.empty)}return e}matchesNode(e,n,r){return this.dirty==Fr&&e.eq(this.node)&&Zu(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,s=n,a=e.composing?this.localCompositionInfo(e,n):null,o=a&&a.pos>-1?a:null,c=a&&a.pos<0,u=new hD(this,o&&o.node,e);mD(this.node,this.innerDeco,(h,f,m)=>{h.spec.marks?u.syncToMarks(h.spec.marks,r,e,f):h.type.side>=0&&!m&&u.syncToMarks(f==this.node.childCount?Nt.none:this.node.child(f).marks,r,e,f),u.placeWidget(h,e,s)},(h,f,m,g)=>{u.syncToMarks(h.marks,r,e,g);let y;u.findNodeMatch(h,f,m,g)||c&&e.state.selection.from>s&&e.state.selection.to-1&&u.updateNodeAt(h,f,m,y,e)||u.updateNextNode(h,f,m,e,g,s)||u.addNode(h,f,m,e,s),s+=h.nodeSize}),u.syncToMarks([],r,e,0),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==Ra)&&(o&&this.protectLocalComposition(e,o),SS(this.contentDOM,this.children,e),el&&gD(this.dom))}localCompositionInfo(e,n){let{from:r,to:s}=e.state.selection;if(!(e.state.selection instanceof He)||rn+this.node.content.size)return null;let a=e.input.compositionNode;if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let o=a.nodeValue,c=xD(this.node.content,o,r-n,s-n);return c<0?null:{node:a,pos:c,text:o}}else return{node:a,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:s}){if(this.getDesc(n))return;let a=n;for(;a.parentNode!=this.contentDOM;a=a.parentNode){for(;a.previousSibling;)a.parentNode.removeChild(a.previousSibling);for(;a.nextSibling;)a.parentNode.removeChild(a.nextSibling);a.pmViewDesc&&(a.pmViewDesc=void 0)}let o=new cD(this,a,n,s);e.input.compositionNodes.push(o),this.children=_g(this.children,r,r+s.length,e,o)}update(e,n,r,s){return this.dirty==js||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,s),!0)}updateInner(e,n,r,s){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(s,this.posAtStart),this.dirty=Fr}updateOuterDeco(e){if(Zu(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=CS(this.dom,this.nodeDOM,Lg(this.outerDeco,this.node,n),Lg(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function E1(t,e,n,r,s){ES(r,e,t);let a=new Ji(void 0,t,e,n,r,r,r,s,0);return a.contentDOM&&a.updateChildren(s,0),a}class rf extends Ji{constructor(e,n,r,s,a,o,c){super(e,n,r,s,a,null,o,c,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,s){return this.dirty==js||this.dirty!=Fr&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Fr||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,s.trackWrites==this.nodeDOM&&(s.trackWrites=null)),this.node=e,this.dirty=Fr,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let s=this.node.cut(e,n),a=document.createTextNode(s.text);return new rf(this.parent,s,this.outerDeco,this.innerDeco,a,a,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=js)}get domAtom(){return!1}isText(e){return this.node.text==e}}class kS extends Kc{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Fr&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class dD extends Ji{constructor(e,n,r,s,a,o,c,u,h,f){super(e,n,r,s,a,o,c,h,f),this.spec=u}update(e,n,r,s){if(this.dirty==js)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let a=this.spec.update(e,n,r);return a&&this.updateInner(e,n,r,s),a}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,s)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,s){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,s)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function SS(t,e,n){let r=t.firstChild,s=!1;for(let a=0;a>1,c=Math.min(o,e.length);for(;a-1)u>this.index&&(this.changed=!0,this.destroyBetween(this.index,u)),this.top=this.top.children[this.index];else{let f=Ka.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,f),this.top=f,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,s){let a=-1,o;if(s>=this.preMatch.index&&(o=this.preMatch.matches[s-this.preMatch.index]).parent==this.top&&o.matchesNode(e,n,r))a=this.top.children.indexOf(o,this.index);else for(let c=this.index,u=Math.min(this.top.children.length,c+5);c0;){let c;for(;;)if(r){let h=n.children[r-1];if(h instanceof Ka)n=h,r=h.children.length;else{c=h,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let u=c.node;if(u){if(u!=t.child(s-1))break;--s,a.set(c,s),o.push(c)}}return{index:s,matched:a,matches:o.reverse()}}function pD(t,e){return t.type.side-e.type.side}function mD(t,e,n,r){let s=e.locals(t),a=0;if(s.length==0){for(let h=0;ha;)c.push(s[o++]);let v=a+g.nodeSize;if(g.isText){let w=v;o!w.inline):c.slice();r(g,j,e.forChild(a,g),y),a=v}}function gD(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function xD(t,e,n,r){for(let s=0,a=0;s=n){if(a>=r&&u.slice(r-e.length-c,r-c)==e)return r-e.length;let h=c=0&&h+e.length+c>=n)return c+h;if(n==r&&u.length>=r+e.length-c&&u.slice(r-c,r-c+e.length)==e)return r}}return-1}function _g(t,e,n,r,s){let a=[];for(let o=0,c=0;o=n||f<=e?a.push(u):(hn&&a.push(u.slice(n-h,u.size,r)))}return a}function Xx(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let s=t.docView.nearestDesc(n.focusNode),a=s&&s.size==0,o=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let c=r.resolve(o),u,h;if(nf(n)){for(u=o;s&&!s.node;)s=s.parent;let m=s.node;if(s&&m.isAtom&&Ve.isSelectable(m)&&s.parent&&!(m.isInline&&WO(n.focusNode,n.focusOffset,s.dom))){let g=s.posBefore;h=new Ve(o==g?c:r.resolve(g))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let m=o,g=o;for(let y=0;y{(n.anchorNode!=r||n.anchorOffset!=s)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!TS(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function vD(t){let e=t.domSelection();if(!e)return;let n=t.cursorWrapper.dom,r=n.nodeName=="IMG";r?e.collapse(n.parentNode,Rn(n)+1):e.collapse(n,0),!r&&!t.state.selection.visible&&ur&&Gi<=11&&(n.disabled=!0,n.disabled=!1)}function MS(t,e){if(e instanceof Ve){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(I1(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else I1(t)}function I1(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function Zx(t,e,n,r){return t.someProp("createSelectionBetween",s=>s(t,e,n))||He.between(e,n,r)}function P1(t){return t.editable&&!t.hasFocus()?!1:AS(t)}function AS(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function bD(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return Ua(e.node,e.offset,n.anchorNode,n.anchorOffset)}function zg(t,e){let{$anchor:n,$head:r}=t.selection,s=e>0?n.max(r):n.min(r),a=s.parent.inlineContent?s.depth?t.doc.resolve(e>0?s.after():s.before()):null:s;return a&&Ge.findFrom(a,e)}function Pi(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function O1(t,e,n){let r=t.state.selection;if(r instanceof He)if(n.indexOf("s")>-1){let{$head:s}=r,a=s.textOffset?null:e<0?s.nodeBefore:s.nodeAfter;if(!a||a.isText||!a.isLeaf)return!1;let o=t.state.doc.resolve(s.pos+a.nodeSize*(e<0?-1:1));return Pi(t,new He(r.$anchor,o))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let s=zg(t.state,e);return s&&s instanceof Ve?Pi(t,s):!1}else if(!(Lr&&n.indexOf("m")>-1)){let s=r.$head,a=s.textOffset?null:e<0?s.nodeBefore:s.nodeAfter,o;if(!a||a.isText)return!1;let c=e<0?s.pos-a.nodeSize:s.pos;return a.isAtom||(o=t.docView.descAt(c))&&!o.contentDOM?Ve.isSelectable(a)?Pi(t,new Ve(e<0?t.state.doc.resolve(s.pos-a.nodeSize):s)):Uc?Pi(t,new He(t.state.doc.resolve(e<0?c:c+a.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ve&&r.node.isInline)return Pi(t,new He(e>0?r.$to:r.$from));{let s=zg(t.state,e);return s?Pi(t,s):!1}}}function eh(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function fc(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Oo(t,e){return e<0?wD(t):ND(t)}function wD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let s,a,o=!1;for($r&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let c=n.childNodes[r-1];if(fc(c,-1))s=n,a=--r;else if(c.nodeType==3)n=c,r=n.nodeValue.length;else break}}else{if(RS(n))break;{let c=n.previousSibling;for(;c&&fc(c,-1);)s=n.parentNode,a=Rn(c),c=c.previousSibling;if(c)n=c,r=eh(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}o?$g(t,n,r):s&&$g(t,s,a)}function ND(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let s=eh(n),a,o;for(;;)if(r{t.state==s&&Qs(t)},50)}function D1(t,e){let n=t.state.doc.resolve(e);if(!(Pn||gS)&&n.parent.inlineContent){let s=t.coordsAtPos(e);if(e>n.start()){let a=t.coordsAtPos(e-1),o=(a.top+a.bottom)/2;if(o>s.top&&o1)return a.lefts.top&&o1)return a.left>s.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function L1(t,e,n){let r=t.state.selection;if(r instanceof He&&!r.empty||n.indexOf("s")>-1||Lr&&n.indexOf("m")>-1)return!1;let{$from:s,$to:a}=r;if(!s.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let o=zg(t.state,e);if(o&&o instanceof Ve)return Pi(t,o)}if(!s.parent.inlineContent){let o=e<0?s:a,c=r instanceof kr?Ge.near(o,e):Ge.findFrom(o,e);return c?Pi(t,c):!1}return!1}function _1(t,e){if(!(t.state.selection instanceof He))return!0;let{$head:n,$anchor:r,empty:s}=t.state.selection;if(!n.sameParent(r))return!0;if(!s)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let a=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let o=t.state.tr;return e<0?o.delete(n.pos-a.nodeSize,n.pos):o.delete(n.pos,n.pos+a.nodeSize),t.dispatch(o),!0}return!1}function z1(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function SD(t){if(!Hn||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;z1(t,r,"true"),setTimeout(()=>z1(t,r,"false"),20)}return!1}function CD(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function ED(t,e){let n=e.keyCode,r=CD(e);if(n==8||Lr&&n==72&&r=="c")return _1(t,-1)||Oo(t,-1);if(n==46&&!e.shiftKey||Lr&&n==68&&r=="c")return _1(t,1)||Oo(t,1);if(n==13||n==27)return!0;if(n==37||Lr&&n==66&&r=="c"){let s=n==37?D1(t,t.state.selection.from)=="ltr"?-1:1:-1;return O1(t,s,r)||Oo(t,s)}else if(n==39||Lr&&n==70&&r=="c"){let s=n==39?D1(t,t.state.selection.from)=="ltr"?1:-1:1;return O1(t,s,r)||Oo(t,s)}else{if(n==38||Lr&&n==80&&r=="c")return L1(t,-1,r)||Oo(t,-1);if(n==40||Lr&&n==78&&r=="c")return SD(t)||L1(t,1,r)||Oo(t,1);if(r==(Lr?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function e0(t,e){t.someProp("transformCopied",y=>{e=y(e,t)});let n=[],{content:r,openStart:s,openEnd:a}=e;for(;s>1&&a>1&&r.childCount==1&&r.firstChild.childCount==1;){s--,a--;let y=r.firstChild;n.push(y.type.name,y.attrs!=y.type.defaultAttrs?y.attrs:null),r=y.content}let o=t.someProp("clipboardSerializer")||Za.fromSchema(t.state.schema),c=_S(),u=c.createElement("div");u.appendChild(o.serializeFragment(r,{document:c}));let h=u.firstChild,f,m=0;for(;h&&h.nodeType==1&&(f=LS[h.nodeName.toLowerCase()]);){for(let y=f.length-1;y>=0;y--){let v=c.createElement(f[y]);for(;u.firstChild;)v.appendChild(u.firstChild);u.appendChild(v),m++}h=u.firstChild}h&&h.nodeType==1&&h.setAttribute("data-pm-slice",`${s} ${a}${m?` -${m}`:""} ${JSON.stringify(n)}`);let g=t.someProp("clipboardTextSerializer",y=>y(e,t))||e.content.textBetween(0,e.content.size,` - -`);return{dom:u,text:g,slice:e}}function IS(t,e,n,r,s){let a=s.parent.type.spec.code,o,c;if(!n&&!e)return null;let u=!!e&&(r||a||!n);if(u){if(t.someProp("transformPastedText",g=>{e=g(e,a||r,t)}),a)return c=new Me(pe.from(t.state.schema.text(e.replace(/\r\n?/g,` -`))),0,0),t.someProp("transformPasted",g=>{c=g(c,t,!0)}),c;let m=t.someProp("clipboardTextParser",g=>g(e,s,r,t));if(m)c=m;else{let g=s.marks(),{schema:y}=t.state,v=Za.fromSchema(y);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(j=>{let w=o.appendChild(document.createElement("p"));j&&w.appendChild(v.serializeNode(y.text(j,g)))})}}else t.someProp("transformPastedHTML",m=>{n=m(n,t)}),o=RD(n),Uc&&ID(o);let h=o&&o.querySelector("[data-pm-slice]"),f=h&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(h.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let m=+f[3];m>0;m--){let g=o.firstChild;for(;g&&g.nodeType!=1;)g=g.nextSibling;if(!g)break;o=g}if(c||(c=(t.someProp("clipboardParser")||t.someProp("domParser")||qi.fromSchema(t.state.schema)).parseSlice(o,{preserveWhitespace:!!(u||f),context:s,ruleFromNode(g){return g.nodeName=="BR"&&!g.nextSibling&&g.parentNode&&!TD.test(g.parentNode.nodeName)?{ignore:!0}:null}})),f)c=PD($1(c,+f[1],+f[2]),f[4]);else if(c=Me.maxOpen(MD(c.content,s),!0),c.openStart||c.openEnd){let m=0,g=0;for(let y=c.content.firstChild;m{c=m(c,t,u)}),c}const TD=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function MD(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let s=e.node(n).contentMatchAt(e.index(n)),a,o=[];if(t.forEach(c=>{if(!o)return;let u=s.findWrapping(c.type),h;if(!u)return o=null;if(h=o.length&&a.length&&OS(u,a,c,o[o.length-1],0))o[o.length-1]=h;else{o.length&&(o[o.length-1]=DS(o[o.length-1],a.length));let f=PS(c,u);o.push(f),s=s.matchType(f.type),a=u}}),o)return pe.from(o)}return t}function PS(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,pe.from(t));return t}function OS(t,e,n,r,s){if(s1&&(a=0),s=n&&(c=e<0?o.contentMatchAt(0).fillBefore(c,a<=s).append(c):c.append(o.contentMatchAt(o.childCount).fillBefore(pe.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,o.copy(c))}function $1(t,e,n){return en})),_m.createHTML(t)):t}function RD(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=_S().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),s;if((s=r&&LS[r[1].toLowerCase()])&&(t=s.map(a=>"<"+a+">").join("")+t+s.map(a=>"").reverse().join("")),n.innerHTML=AD(t),s)for(let a=0;a=0;c-=2){let u=n.nodes[r[c]];if(!u||u.hasRequiredAttrs())break;s=pe.from(u.create(r[c+1],s)),a++,o++}return new Me(s,a,o)}const tr={},nr={},OD={touchstart:!0,touchmove:!0};class DD{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function LD(t){for(let e in tr){let n=tr[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{zD(t,r)&&!t0(t,r)&&(t.editable||!(r.type in nr))&&n(t,r)},OD[e]?{passive:!0}:void 0)}Hn&&t.dom.addEventListener("input",()=>null),Bg(t)}function Hi(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function _D(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function Bg(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>t0(t,r))})}function t0(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function zD(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function $D(t,e){!t0(t,e)&&tr[e.type]&&(t.editable||!(e.type in nr))&&tr[e.type](t,e)}nr.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!$S(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(qs&&Pn&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),el&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",s=>s(t,Ma(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||ED(t,n)?n.preventDefault():Hi(t,"key")};nr.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};nr.keypress=(t,e)=>{let n=e;if($S(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Lr&&n.metaKey)return;if(t.someProp("handleKeyPress",s=>s(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof He)||!r.$from.sameParent(r.$to)){let s=String.fromCharCode(n.charCode),a=()=>t.state.tr.insertText(s).scrollIntoView();!/[\r\n]/.test(s)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,s,a))&&t.dispatch(a()),n.preventDefault()}};function sf(t){return{left:t.clientX,top:t.clientY}}function FD(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function n0(t,e,n,r,s){if(r==-1)return!1;let a=t.state.doc.resolve(r);for(let o=a.depth+1;o>0;o--)if(t.someProp(e,c=>o>a.depth?c(t,n,a.nodeAfter,a.before(o),s,!0):c(t,n,a.node(o),a.before(o),s,!1)))return!0;return!1}function qo(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function BD(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Ve.isSelectable(r)?(qo(t,new Ve(n)),!0):!1}function VD(t,e){if(e==-1)return!1;let n=t.state.selection,r,s;n instanceof Ve&&(r=n.node);let a=t.state.doc.resolve(e);for(let o=a.depth+1;o>0;o--){let c=o>a.depth?a.nodeAfter:a.node(o);if(Ve.isSelectable(c)){r&&n.$from.depth>0&&o>=n.$from.depth&&a.before(n.$from.depth+1)==n.$from.pos?s=a.before(n.$from.depth):s=a.before(o);break}}return s!=null?(qo(t,Ve.create(t.state.doc,s)),!0):!1}function HD(t,e,n,r,s){return n0(t,"handleClickOn",e,n,r)||t.someProp("handleClick",a=>a(t,e,r))||(s?VD(t,n):BD(t,n))}function WD(t,e,n,r){return n0(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",s=>s(t,e,r))}function UD(t,e,n,r){return n0(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",s=>s(t,e,r))||KD(t,n,r)}function KD(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(qo(t,He.create(r,0,r.content.size)),!0):!1;let s=r.resolve(e);for(let a=s.depth+1;a>0;a--){let o=a>s.depth?s.nodeAfter:s.node(a),c=s.before(a);if(o.inlineContent)qo(t,He.create(r,c+1,c+1+o.content.size));else if(Ve.isSelectable(o))qo(t,Ve.create(r,c));else continue;return!0}}function r0(t){return th(t)}const zS=Lr?"metaKey":"ctrlKey";tr.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=r0(t),s=Date.now(),a="singleClick";s-t.input.lastClick.time<500&&FD(n,t.input.lastClick)&&!n[zS]&&t.input.lastClick.button==n.button&&(t.input.lastClick.type=="singleClick"?a="doubleClick":t.input.lastClick.type=="doubleClick"&&(a="tripleClick")),t.input.lastClick={time:s,x:n.clientX,y:n.clientY,type:a,button:n.button};let o=t.posAtCoords(sf(n));o&&(a=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new qD(t,o,n,!!r)):(a=="doubleClick"?WD:UD)(t,o.pos,o.inside,n)?n.preventDefault():Hi(t,"pointer"))};class qD{constructor(e,n,r,s){this.view=e,this.pos=n,this.event=r,this.flushed=s,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[zS],this.allowDefault=r.shiftKey;let a,o;if(n.inside>-1)a=e.state.doc.nodeAt(n.inside),o=n.inside;else{let f=e.state.doc.resolve(n.pos);a=f.parent,o=f.depth?f.before():0}const c=s?null:r.target,u=c?e.docView.nearestDesc(c,!0):null;this.target=u&&u.nodeDOM.nodeType==1?u.nodeDOM:null;let{selection:h}=e.state;(r.button==0&&a.type.spec.draggable&&a.type.spec.selectable!==!1||h instanceof Ve&&h.from<=o&&h.to>o)&&(this.mightDrag={node:a,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&$r&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Hi(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Qs(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(sf(e))),this.updateAllowDefault(e),this.allowDefault||!n?Hi(this.view,"pointer"):HD(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Hn&&this.mightDrag&&!this.mightDrag.node.isAtom||Pn&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(qo(this.view,Ge.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):Hi(this.view,"pointer")}move(e){this.updateAllowDefault(e),Hi(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}tr.touchstart=t=>{t.input.lastTouch=Date.now(),r0(t),Hi(t,"pointer")};tr.touchmove=t=>{t.input.lastTouch=Date.now(),Hi(t,"pointer")};tr.contextmenu=t=>r0(t);function $S(t,e){return t.composing?!0:Hn&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const GD=qs?5e3:-1;nr.compositionstart=nr.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof He&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)||Pn&&gS&&JD(t)))t.markCursor=t.state.storedMarks||n.marks(),th(t,!0),t.markCursor=null;else if(th(t,!e.selection.empty),$r&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let s=r.focusNode,a=r.focusOffset;s&&s.nodeType==1&&a!=0;){let o=a<0?s.lastChild:s.childNodes[a-1];if(!o)break;if(o.nodeType==3){let c=t.domSelection();c&&c.collapse(o,o.nodeValue.length);break}else s=o,a=-1}}t.input.composing=!0}FS(t,GD)};function JD(t){let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(!e||e.nodeType!=1||n>=e.childNodes.length)return!1;let r=e.childNodes[n];return r.nodeType==1&&r.contentEditable=="false"}nr.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.badSafariComposition?t.domObserver.forceFlush():t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,FS(t,20))};function FS(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>th(t),e))}function BS(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=QD());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function YD(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=VO(e.focusNode,e.focusOffset),r=HO(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let s=r.pmViewDesc,a=t.domObserver.lastChangedTextNode;if(n==a||r==a)return a;if(!s||!s.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let o=n.pmViewDesc;if(!(!o||!o.isText(n.nodeValue)))return r}}return n||r}function QD(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function th(t,e=!1){if(!(qs&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),BS(t),e||t.docView&&t.docView.dirty){let n=Xx(t),r=t.state.selection;return n&&!n.eq(r)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function XD(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),s=document.createRange();s.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(s),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const Ac=ur&&Gi<15||el&&qO<604;tr.copy=nr.cut=(t,e)=>{let n=e,r=t.state.selection,s=n.type=="cut";if(r.empty)return;let a=Ac?null:n.clipboardData,o=r.content(),{dom:c,text:u}=e0(t,o);a?(n.preventDefault(),a.clearData(),a.setData("text/html",c.innerHTML),a.setData("text/plain",u)):XD(t,c),s&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function ZD(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function eL(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let s=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Rc(t,r.value,null,s,e):Rc(t,r.textContent,r.innerHTML,s,e)},50)}function Rc(t,e,n,r,s){let a=IS(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",u=>u(t,s,a||Me.empty)))return!0;if(!a)return!1;let o=ZD(a),c=o?t.state.tr.replaceSelectionWith(o,r):t.state.tr.replaceSelection(a);return t.dispatch(c.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function VS(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}nr.paste=(t,e)=>{let n=e;if(t.composing&&!qs)return;let r=Ac?null:n.clipboardData,s=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&Rc(t,VS(r),r.getData("text/html"),s,n)?n.preventDefault():eL(t,n)};class HS{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const tL=Lr?"altKey":"ctrlKey";function WS(t,e){let n=t.someProp("dragCopies",r=>!r(e));return n??!e[tL]}tr.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let s=t.state.selection,a=s.empty?null:t.posAtCoords(sf(n)),o;if(!(a&&a.pos>=s.from&&a.pos<=(s instanceof Ve?s.to-1:s.to))){if(r&&r.mightDrag)o=Ve.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let m=t.docView.nearestDesc(n.target,!0);m&&m.node.type.spec.draggable&&m!=t.docView&&(o=Ve.create(t.state.doc,m.posBefore))}}let c=(o||t.state.selection).content(),{dom:u,text:h,slice:f}=e0(t,c);(!n.dataTransfer.files.length||!Pn||mS>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Ac?"Text":"text/html",u.innerHTML),n.dataTransfer.effectAllowed="copyMove",Ac||n.dataTransfer.setData("text/plain",h),t.dragging=new HS(f,WS(t,n),o)};tr.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};nr.dragover=nr.dragenter=(t,e)=>e.preventDefault();nr.drop=(t,e)=>{try{nL(t,e,t.dragging)}finally{t.dragging=null}};function nL(t,e,n){if(!e.dataTransfer)return;let r=t.posAtCoords(sf(e));if(!r)return;let s=t.state.doc.resolve(r.pos),a=n&&n.slice;a?t.someProp("transformPasted",y=>{a=y(a,t,!1)}):a=IS(t,VS(e.dataTransfer),Ac?null:e.dataTransfer.getData("text/html"),!1,s);let o=!!(n&&WS(t,e));if(t.someProp("handleDrop",y=>y(t,e,a||Me.empty,o))){e.preventDefault();return}if(!a)return;e.preventDefault();let c=a?Gk(t.state.doc,s.pos,a):s.pos;c==null&&(c=s.pos);let u=t.state.tr;if(o){let{node:y}=n;y?y.replace(u):u.deleteSelection()}let h=u.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,m=u.doc;if(f?u.replaceRangeWith(h,h,a.content.firstChild):u.replaceRange(h,h,a),u.doc.eq(m))return;let g=u.doc.resolve(h);if(f&&Ve.isSelectable(a.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(a.content.firstChild))u.setSelection(new Ve(g));else{let y=u.mapping.map(c);u.mapping.maps[u.mapping.maps.length-1].forEach((v,j,w,k)=>y=k),u.setSelection(Zx(t,g,u.doc.resolve(y)))}t.focus(),t.dispatch(u.setMeta("uiEvent","drop"))}tr.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Qs(t)},20))};tr.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};tr.beforeinput=(t,e)=>{if(Pn&&qs&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",a=>a(t,Ma(8,"Backspace")))))return;let{$cursor:s}=t.state.selection;s&&s.pos>0&&t.dispatch(t.state.tr.delete(s.pos-1,s.pos).scrollIntoView())},50)}};for(let t in nr)tr[t]=nr[t];function Ic(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class nh{constructor(e,n){this.toDOM=e,this.spec=n||za,this.side=this.spec.side||0}map(e,n,r,s){let{pos:a,deleted:o}=e.mapResult(n.from+s,this.side<0?-1:1);return o?null:new hn(a-r,a-r,this)}valid(){return!0}eq(e){return this==e||e instanceof nh&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Ic(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Yi{constructor(e,n){this.attrs=e,this.spec=n||za}map(e,n,r,s){let a=e.map(n.from+s,this.spec.inclusiveStart?-1:1)-r,o=e.map(n.to+s,this.spec.inclusiveEnd?1:-1)-r;return a>=o?null:new hn(a,o,this)}valid(e,n){return n.from=e&&(!a||a(c.spec))&&r.push(c.copy(c.from+s,c.to+s))}for(let o=0;oe){let c=this.children[o]+1;this.children[o+2].findInner(e-c,n-c,r,s+c,a)}}map(e,n,r){return this==Bn||e.maps.length==0?this:this.mapInner(e,n,0,0,r||za)}mapInner(e,n,r,s,a){let o;for(let c=0;c{let h=u+r,f;if(f=KS(n,c,h)){for(s||(s=this.children.slice());ac&&m.to=e){this.children[c]==e&&(r=this.children[c+2]);break}let a=e+1,o=a+n.content.size;for(let c=0;ca&&u.type instanceof Yi){let h=Math.max(a,u.from)-a,f=Math.min(o,u.to)-a;hs.map(e,n,za));return Li.from(r)}forChild(e,n){if(n.isLeaf)return wt.empty;let r=[];for(let s=0;sn instanceof wt)?e:e.reduce((n,r)=>n.concat(r instanceof wt?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let w=j-v-(y-g);for(let k=0;kE+f-m)continue;let C=c[k]+f-m;y>=C?c[k+1]=g<=C?-2:-1:g>=f&&w&&(c[k]+=w,c[k+1]+=w)}m+=w}),f=n.maps[h].map(f,-1)}let u=!1;for(let h=0;h=r.content.size){u=!0;continue}let g=n.map(t[h+1]+a,-1),y=g-s,{index:v,offset:j}=r.content.findIndex(m),w=r.maybeChild(v);if(w&&j==m&&j+w.nodeSize==y){let k=c[h+2].mapInner(n,w,f+1,t[h]+a+1,o);k!=Bn?(c[h]=m,c[h+1]=y,c[h+2]=k):(c[h+1]=-2,u=!0)}else u=!0}if(u){let h=sL(c,t,e,n,s,a,o),f=rh(h,r,0,o);e=f.local;for(let m=0;mn&&o.to{let h=KS(t,c,u+n);if(h){a=!0;let f=rh(h,c,n+u+1,r);f!=Bn&&s.push(u,u+c.nodeSize,f)}});let o=US(a?qS(t):t,-n).sort($a);for(let c=0;c0;)e++;t.splice(e,0,n)}function zm(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=Bn&&e.push(r)}),t.cursorWrapper&&e.push(wt.create(t.state.doc,[t.cursorWrapper.deco])),Li.from(e)}const iL={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},aL=ur&&Gi<=11;class oL{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class lL{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new oL,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let s=0;ss.type=="childList"&&s.removedNodes.length||s.type=="characterData"&&s.oldValue.length>s.target.nodeValue.length)?this.flushSoon():Hn&&e.composing&&r.some(s=>s.type=="childList"&&s.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),aL&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,iL)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(P1(this.view)){if(this.suppressingSelectionUpdates)return Qs(this.view);if(ur&&Gi<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Ua(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let a=e.focusNode;a;a=Zo(a))n.add(a);for(let a=e.anchorNode;a;a=Zo(a))if(n.has(a)){r=a;break}let s=r&&this.view.docView.nearestDesc(r);if(s&&s.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),s=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&P1(e)&&!this.ignoreSelectionChange(r),a=-1,o=-1,c=!1,u=[];if(e.editable)for(let f=0;ff.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let f of u)if(f.nodeName=="BR"&&f.parentNode){let m=f.nextSibling;m&&m.nodeType==1&&m.contentEditable=="false"&&f.parentNode.removeChild(f)}}else if($r&&u.length){let f=u.filter(m=>m.nodeName=="BR");if(f.length==2){let[m,g]=f;m.parentNode&&m.parentNode.parentNode==g.parentNode?g.remove():m.remove()}else{let{focusNode:m}=this.currentSelection;for(let g of f){let y=g.parentNode;y&&y.nodeName=="LI"&&(!m||uL(e,m)!=y)&&g.remove()}}}let h=null;a<0&&s&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||s)&&(a>-1&&(e.docView.markDirty(a,o),cL(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,hL(e,u)),this.handleDOMChange(a,o,c,u),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Qs(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let f=0;fs;w--){let k=r.childNodes[w-1],E=k.pmViewDesc;if(k.nodeName=="BR"&&!E){a=w;break}if(!E||E.size)break}let m=t.state.doc,g=t.someProp("domParser")||qi.fromSchema(t.state.schema),y=m.resolve(o),v=null,j=g.parse(r,{topNode:y.parent,topMatch:y.parent.contentMatchAt(y.index()),topOpen:!0,from:s,to:a,preserveWhitespace:y.parent.type.whitespace=="pre"?"full":!0,findPositions:h,ruleFromNode:pL,context:y});if(h&&h[0].pos!=null){let w=h[0].pos,k=h[1]&&h[1].pos;k==null&&(k=w),v={anchor:w+o,head:k+o}}return{doc:j,sel:v,from:o,to:c}}function pL(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(Hn&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||Hn&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const mL=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function gL(t,e,n,r,s){let a=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let R=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,I=Xx(t,R);if(I&&!t.state.selection.eq(I)){if(Pn&&qs&&t.input.lastKeyCode===13&&Date.now()-100O(t,Ma(13,"Enter"))))return;let A=t.state.tr.setSelection(I);R=="pointer"?A.setMeta("pointer",!0):R=="key"&&A.scrollIntoView(),a&&A.setMeta("composition",a),t.dispatch(A)}return}let o=t.state.doc.resolve(e),c=o.sharedDepth(n);e=o.before(c+1),n=t.state.doc.resolve(n).after(c+1);let u=t.state.selection,h=fL(t,e,n),f=t.state.doc,m=f.slice(h.from,h.to),g,y;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||qs)&&s.some(R=>R.nodeType==1&&!mL.test(R.nodeName))&&(!v||v.endA>=v.endB)&&t.someProp("handleKeyDown",R=>R(t,Ma(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!v)if(r&&u instanceof He&&!u.empty&&u.$head.sameParent(u.$anchor)&&!t.composing&&!(h.sel&&h.sel.anchor!=h.sel.head))v={start:u.from,endA:u.to,endB:u.to};else{if(h.sel){let R=U1(t,t.state.doc,h.sel);if(R&&!R.eq(t.state.selection)){let I=t.state.tr.setSelection(R);a&&I.setMeta("composition",a),t.dispatch(I)}}return}t.state.selection.fromt.state.selection.from&&v.start<=t.state.selection.from+2&&t.state.selection.from>=h.from?v.start=t.state.selection.from:v.endA=t.state.selection.to-2&&t.state.selection.to<=h.to&&(v.endB+=t.state.selection.to-v.endA,v.endA=t.state.selection.to)),ur&&Gi<=11&&v.endB==v.start+1&&v.endA==v.start&&v.start>h.from&&h.doc.textBetween(v.start-h.from-1,v.start-h.from+1)=="  "&&(v.start--,v.endA--,v.endB--);let j=h.doc.resolveNoCache(v.start-h.from),w=h.doc.resolveNoCache(v.endB-h.from),k=f.resolve(v.start),E=j.sameParent(w)&&j.parent.inlineContent&&k.end()>=v.endA;if((el&&t.input.lastIOSEnter>Date.now()-225&&(!E||s.some(R=>R.nodeName=="DIV"||R.nodeName=="P"))||!E&&j.posR(t,Ma(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>v.start&&yL(f,v.start,v.endA,j,w)&&t.someProp("handleKeyDown",R=>R(t,Ma(8,"Backspace")))){qs&&Pn&&t.domObserver.suppressSelectionUpdates();return}Pn&&v.endB==v.start&&(t.input.lastChromeDelete=Date.now()),qs&&!E&&j.start()!=w.start()&&w.parentOffset==0&&j.depth==w.depth&&h.sel&&h.sel.anchor==h.sel.head&&h.sel.head==v.endA&&(v.endB-=2,w=h.doc.resolveNoCache(v.endB-h.from),setTimeout(()=>{t.someProp("handleKeyDown",function(R){return R(t,Ma(13,"Enter"))})},20));let C=v.start,M=v.endA,D=R=>{let I=R||t.state.tr.replace(C,M,h.doc.slice(v.start-h.from,v.endB-h.from));if(h.sel){let A=U1(t,I.doc,h.sel);A&&!(Pn&&t.composing&&A.empty&&(v.start!=v.endB||t.input.lastChromeDeleteQs(t),20));let R=D(t.state.tr.delete(C,M)),I=f.resolve(v.start).marksAcross(f.resolve(v.endA));I&&R.ensureMarks(I),t.dispatch(R)}else if(v.endA==v.endB&&(F=xL(j.parent.content.cut(j.parentOffset,w.parentOffset),k.parent.content.cut(k.parentOffset,v.endA-k.start())))){let R=D(t.state.tr);F.type=="add"?R.addMark(C,M,F.mark):R.removeMark(C,M,F.mark),t.dispatch(R)}else if(j.parent.child(j.index()).isText&&j.index()==w.index()-(w.textOffset?0:1)){let R=j.parent.textBetween(j.parentOffset,w.parentOffset),I=()=>D(t.state.tr.insertText(R,C,M));t.someProp("handleTextInput",A=>A(t,C,M,R,I))||t.dispatch(I())}else t.dispatch(D());else t.dispatch(D())}function U1(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:Zx(t,e.resolve(n.anchor),e.resolve(n.head))}function xL(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,s=n,a=r,o,c,u;for(let f=0;ff.mark(c.addToSet(f.marks));else if(s.length==0&&a.length==1)c=a[0],o="remove",u=f=>f.mark(c.removeFromSet(f.marks));else return null;let h=[];for(let f=0;fn||$m(o,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,s++,e=!1;if(n){let a=t.node(r).maybeChild(t.indexAfter(r));for(;a&&!a.isLeaf;)a=a.firstChild,s++}return s}function vL(t,e,n,r,s){let a=t.findDiffStart(e,n);if(a==null)return null;let{a:o,b:c}=t.findDiffEnd(e,n+t.size,n+e.size);if(s=="end"){let u=Math.max(0,a-Math.min(o,c));r-=o+u-a}if(o=o?a-r:0;a-=u,a&&a=c?a-r:0;a-=u,a&&a=56320&&e<=57343&&n>=55296&&n<=56319}class GS{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new DD,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(Q1),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=J1(this),G1(this),this.nodeViews=Y1(this),this.docView=E1(this.state.doc,q1(this),zm(this),this.dom,this),this.domObserver=new lL(this,(r,s,a,o)=>gL(this,r,s,a,o)),this.domObserver.start(),LD(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Bg(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Q1),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let s=this.state,a=!1,o=!1;e.storedMarks&&this.composing&&(BS(this),o=!0),this.state=e;let c=s.plugins!=e.plugins||this._props.plugins!=n.plugins;if(c||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let y=Y1(this);wL(y,this.nodeViews)&&(this.nodeViews=y,a=!0)}(c||n.handleDOMEvents!=this._props.handleDOMEvents)&&Bg(this),this.editable=J1(this),G1(this);let u=zm(this),h=q1(this),f=s.plugins!=e.plugins&&!s.doc.eq(e.doc)?"reset":e.scrollToSelection>s.scrollToSelection?"to selection":"preserve",m=a||!this.docView.matchesNode(e.doc,h,u);(m||!e.selection.eq(s.selection))&&(o=!0);let g=f=="preserve"&&o&&this.dom.style.overflowAnchor==null&&YO(this);if(o){this.domObserver.stop();let y=m&&(ur||Pn)&&!this.composing&&!s.selection.empty&&!e.selection.empty&&bL(s.selection,e.selection);if(m){let v=Pn?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=YD(this)),(a||!this.docView.update(e.doc,h,u,this))&&(this.docView.updateOuterDeco(h),this.docView.destroy(),this.docView=E1(e.doc,h,u,this.dom,this)),v&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(y=!0)}y||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&bD(this))?Qs(this,y):(MS(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(s),!((r=this.dragging)===null||r===void 0)&&r.node&&!s.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,s),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():g&&QO(g)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Ve){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&w1(this,n.getBoundingClientRect(),e)}else w1(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(a))==r.node&&(s=a)}this.dragging=new HS(e.slice,e.move,s<0?void 0:Ve.create(this.state.doc,s))}someProp(e,n){let r=this._props&&this._props[e],s;if(r!=null&&(s=n?n(r):r))return s;for(let o=0;on.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return rD(this,e)}coordsAtPos(e,n=1){return wS(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let s=this.docView.posFromDOM(e,n,r);if(s==null)throw new RangeError("DOM position not inside the editor");return s}endOfTextblock(e,n){return lD(this,n||this.state,e)}pasteHTML(e,n){return Rc(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return Rc(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return e0(this,e)}destroy(){this.docView&&(_D(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],zm(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,FO())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return $D(this,e)}domSelectionRange(){let e=this.domSelection();return e?Hn&&this.root.nodeType===11&&UO(this.dom.ownerDocument)==this.dom&&dL(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}GS.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function q1(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[hn.node(0,t.state.doc.content.size,e)]}function G1(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:hn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function J1(t){return!t.someProp("editable",e=>e(t.state)===!1)}function bL(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function Y1(t){let e=Object.create(null);function n(r){for(let s in r)Object.prototype.hasOwnProperty.call(e,s)||(e[s]=r[s])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function wL(t,e){let n=0,r=0;for(let s in t){if(t[s]!=e[s])return!0;n++}for(let s in e)r++;return n!=r}function Q1(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Xi={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},sh={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},NL=typeof navigator<"u"&&/Mac/.test(navigator.platform),jL=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var In=0;In<10;In++)Xi[48+In]=Xi[96+In]=String(In);for(var In=1;In<=24;In++)Xi[In+111]="F"+In;for(var In=65;In<=90;In++)Xi[In]=String.fromCharCode(In+32),sh[In]=String.fromCharCode(In);for(var Fm in Xi)sh.hasOwnProperty(Fm)||(sh[Fm]=Xi[Fm]);function kL(t){var e=NL&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||jL&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?sh:Xi)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const SL=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),CL=typeof navigator<"u"&&/Win/.test(navigator.platform);function EL(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,s,a,o;for(let c=0;c{for(var n in e)AL(t,n,{get:e[n],enumerable:!0})};function af(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:s}=n,{storedMarks:a}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return a},get selection(){return r},get doc(){return s},get tr(){return r=n.selection,s=n.doc,a=n.storedMarks,n}}}var of=class{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:r}=e,{tr:s}=n,a=this.buildProps(s);return Object.fromEntries(Object.entries(t).map(([o,c])=>[o,(...h)=>{const f=c(...h)(a);return!s.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(s),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:r,state:s}=this,{view:a}=r,o=[],c=!!t,u=t||s.tr,h=()=>(!c&&e&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(u),o.every(m=>m===!0)),f={...Object.fromEntries(Object.entries(n).map(([m,g])=>[m,(...v)=>{const j=this.buildProps(u,e),w=g(...v)(j);return o.push(w),f}])),run:h};return f}createCan(t){const{rawCommands:e,state:n}=this,r=!1,s=t||n.tr,a=this.buildProps(s,r);return{...Object.fromEntries(Object.entries(e).map(([c,u])=>[c,(...h)=>u(...h)({...a,dispatch:void 0})])),chain:()=>this.createChain(s,r)}}buildProps(t,e=!0){const{rawCommands:n,editor:r,state:s}=this,{view:a}=r,o={tr:t,editor:r,view:a,state:af({state:s,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t,e),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map(([c,u])=>[c,(...h)=>u(...h)(o)]))}};return o}},JS={};o0(JS,{blur:()=>RL,clearContent:()=>IL,clearNodes:()=>PL,command:()=>OL,createParagraphNear:()=>DL,cut:()=>LL,deleteCurrentNode:()=>_L,deleteNode:()=>zL,deleteRange:()=>$L,deleteSelection:()=>FL,enter:()=>BL,exitCode:()=>VL,extendMarkRange:()=>HL,first:()=>WL,focus:()=>KL,forEach:()=>qL,insertContent:()=>GL,insertContentAt:()=>QL,joinBackward:()=>e8,joinDown:()=>ZL,joinForward:()=>t8,joinItemBackward:()=>n8,joinItemForward:()=>r8,joinTextblockBackward:()=>s8,joinTextblockForward:()=>i8,joinUp:()=>XL,keyboardShortcut:()=>o8,lift:()=>l8,liftEmptyBlock:()=>c8,liftListItem:()=>d8,newlineInCode:()=>u8,resetAttributes:()=>h8,scrollIntoView:()=>f8,selectAll:()=>p8,selectNodeBackward:()=>m8,selectNodeForward:()=>g8,selectParentNode:()=>x8,selectTextblockEnd:()=>y8,selectTextblockStart:()=>v8,setContent:()=>b8,setMark:()=>F8,setMeta:()=>B8,setNode:()=>V8,setNodeSelection:()=>H8,setTextDirection:()=>W8,setTextSelection:()=>U8,sinkListItem:()=>K8,splitBlock:()=>q8,splitListItem:()=>G8,toggleList:()=>J8,toggleMark:()=>Y8,toggleNode:()=>Q8,toggleWrap:()=>X8,undoInputRule:()=>Z8,unsetAllMarks:()=>e6,unsetMark:()=>t6,unsetTextDirection:()=>n6,updateAttributes:()=>r6,wrapIn:()=>s6,wrapInList:()=>i6});var RL=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window==null?void 0:window.getSelection())==null||n.removeAllRanges())}),!0),IL=(t=!0)=>({commands:e})=>e.setContent("",{emitUpdate:t}),PL=()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:s}=r;return n&&s.forEach(({$from:a,$to:o})=>{t.doc.nodesBetween(a.pos,o.pos,(c,u)=>{if(c.type.isText)return;const{doc:h,mapping:f}=e,m=h.resolve(f.map(u)),g=h.resolve(f.map(u+c.nodeSize)),y=m.blockRange(g);if(!y)return;const v=hl(y);if(c.type.isTextblock){const{defaultType:j}=m.parent.contentMatchAt(m.index());e.setNodeMarkup(y.start,j)}(v||v===0)&&e.lift(y,v)})}),!0},OL=t=>e=>t(e),DL=()=>({state:t,dispatch:e})=>dS(t,e),LL=(t,e)=>({editor:n,tr:r})=>{const{state:s}=n,a=s.doc.slice(t.from,t.to);r.deleteRange(t.from,t.to);const o=r.mapping.map(e);return r.insert(o,a.content),r.setSelection(new He(r.doc.resolve(Math.max(o-1,0)))),!0},_L=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const s=t.selection.$anchor;for(let a=s.depth;a>0;a-=1)if(s.node(a).type===r.type){if(e){const c=s.before(a),u=s.after(a);t.delete(c,u).scrollIntoView()}return!0}return!1};function ln(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}var zL=t=>({tr:e,state:n,dispatch:r})=>{const s=ln(t,n.schema),a=e.selection.$anchor;for(let o=a.depth;o>0;o-=1)if(a.node(o).type===s){if(r){const u=a.before(o),h=a.after(o);e.delete(u,h).scrollIntoView()}return!0}return!1},$L=t=>({tr:e,dispatch:n})=>{const{from:r,to:s}=t;return n&&e.delete(r,s),!0},FL=()=>({state:t,dispatch:e})=>Kx(t,e),BL=()=>({commands:t})=>t.keyboardShortcut("Enter"),VL=()=>({state:t,dispatch:e})=>SO(t,e);function l0(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function ih(t,e,n={strict:!0}){const r=Object.keys(e);return r.length?r.every(s=>n.strict?e[s]===t[s]:l0(e[s])?e[s].test(t[s]):e[s]===t[s]):!0}function YS(t,e,n={}){return t.find(r=>r.type===e&&ih(Object.fromEntries(Object.keys(n).map(s=>[s,r.attrs[s]])),n))}function X1(t,e,n={}){return!!YS(t,e,n)}function c0(t,e,n){var r;if(!t||!e)return;let s=t.parent.childAfter(t.parentOffset);if((!s.node||!s.node.marks.some(f=>f.type===e))&&(s=t.parent.childBefore(t.parentOffset)),!s.node||!s.node.marks.some(f=>f.type===e)||(n=n||((r=s.node.marks[0])==null?void 0:r.attrs),!YS([...s.node.marks],e,n)))return;let o=s.index,c=t.start()+s.offset,u=o+1,h=c+s.node.nodeSize;for(;o>0&&X1([...t.parent.child(o-1).marks],e,n);)o-=1,c-=t.parent.child(o).nodeSize;for(;u({tr:n,state:r,dispatch:s})=>{const a=ni(t,r.schema),{doc:o,selection:c}=n,{$from:u,from:h,to:f}=c;if(s){const m=c0(u,a,e);if(m&&m.from<=h&&m.to>=f){const g=He.create(o,m.from,m.to);n.setSelection(g)}}return!0},WL=t=>e=>{const n=typeof t=="function"?t(e):t;for(let r=0;r({editor:n,view:r,tr:s,dispatch:a})=>{e={scrollIntoView:!0,...e};const o=()=>{(ah()||Z1())&&r.dom.focus(),UL()&&!ah()&&!Z1()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&t===null||t===!1)return!0}catch{return!1}if(a&&t===null&&!QS(n.state.selection))return o(),!0;const c=XS(s.doc,t)||n.state.selection,u=n.state.selection.eq(c);return a&&(u||s.setSelection(c),u&&s.storedMarks&&s.setStoredMarks(s.storedMarks),o()),!0},qL=(t,e)=>n=>t.every((r,s)=>e(r,{...n,index:s})),GL=(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),ZS=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):r.nodeType===1&&ZS(r)}return t};function gu(t){if(typeof window>"u")throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");const e=`${t}`,n=new window.DOMParser().parseFromString(e,"text/html").body;return ZS(n)}function Pc(t,e,n){if(t instanceof Js||t instanceof pe)return t;n={slice:!0,parseOptions:{},...n};const r=typeof t=="object"&&t!==null,s=typeof t=="string";if(r)try{if(Array.isArray(t)&&t.length>0)return pe.fromArray(t.map(c=>e.nodeFromJSON(c)));const o=e.nodeFromJSON(t);return n.errorOnInvalidContent&&o.check(),o}catch(a){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:a});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",a),Pc("",e,n)}if(s){if(n.errorOnInvalidContent){let o=!1,c="";const u=new _k({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:h=>(o=!0,c=typeof h=="string"?h:h.outerHTML,null)}]}})});if(n.slice?qi.fromSchema(u).parseSlice(gu(t),n.parseOptions):qi.fromSchema(u).parse(gu(t),n.parseOptions),n.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${c}`)})}const a=qi.fromSchema(e);return n.slice?a.parseSlice(gu(t),n.parseOptions).content:a.parse(gu(t),n.parseOptions)}return Pc("",e,n)}function JL(t,e,n){const r=t.steps.length-1;if(r{o===0&&(o=f)}),t.setSelection(Ge.near(t.doc.resolve(o),n))}var YL=t=>!("type"in t),QL=(t,e,n)=>({tr:r,dispatch:s,editor:a})=>{var o;if(s){n={parseOptions:a.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let c;const u=w=>{a.emit("contentError",{editor:a,error:w,disableCollaboration:()=>{"collaboration"in a.storage&&typeof a.storage.collaboration=="object"&&a.storage.collaboration&&(a.storage.collaboration.isDisabled=!0)}})},h={preserveWhitespace:"full",...n.parseOptions};if(!n.errorOnInvalidContent&&!a.options.enableContentCheck&&a.options.emitContentError)try{Pc(e,a.schema,{parseOptions:h,errorOnInvalidContent:!0})}catch(w){u(w)}try{c=Pc(e,a.schema,{parseOptions:h,errorOnInvalidContent:(o=n.errorOnInvalidContent)!=null?o:a.options.enableContentCheck})}catch(w){return u(w),!1}let{from:f,to:m}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},g=!0,y=!0;if((YL(c)?c:[c]).forEach(w=>{w.check(),g=g?w.isText&&w.marks.length===0:!1,y=y?w.isBlock:!1}),f===m&&y){const{parent:w}=r.doc.resolve(f);w.isTextblock&&!w.type.spec.code&&!w.childCount&&(f-=1,m+=1)}let j;if(g){if(Array.isArray(e))j=e.map(w=>w.text||"").join("");else if(e instanceof pe){let w="";e.forEach(k=>{k.text&&(w+=k.text)}),j=w}else typeof e=="object"&&e&&e.text?j=e.text:j=e;r.insertText(j,f,m)}else{j=c;const w=r.doc.resolve(f),k=w.node(),E=w.parentOffset===0,C=k.isText||k.isTextblock,M=k.content.size>0;E&&C&&M&&(f=Math.max(0,f-1)),r.replaceWith(f,m,j)}n.updateSelection&&JL(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:f,text:j}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:f,text:j})}return!0},XL=()=>({state:t,dispatch:e})=>NO(t,e),ZL=()=>({state:t,dispatch:e})=>jO(t,e),e8=()=>({state:t,dispatch:e})=>rS(t,e),t8=()=>({state:t,dispatch:e})=>oS(t,e),n8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=Zh(t.doc,t.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},r8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=Zh(t.doc,t.selection.$from.pos,1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},s8=()=>({state:t,dispatch:e})=>bO(t,e),i8=()=>({state:t,dispatch:e})=>wO(t,e);function eC(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function a8(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let r,s,a,o;for(let c=0;c({editor:e,view:n,tr:r,dispatch:s})=>{const a=a8(t).split(/-(?!$)/),o=a.find(h=>!["Alt","Ctrl","Meta","Shift"].includes(h)),c=new KeyboardEvent("keydown",{key:o==="Space"?" ":o,altKey:a.includes("Alt"),ctrlKey:a.includes("Ctrl"),metaKey:a.includes("Meta"),shiftKey:a.includes("Shift"),bubbles:!0,cancelable:!0}),u=e.captureTransaction(()=>{n.someProp("handleKeyDown",h=>h(n,c))});return u==null||u.steps.forEach(h=>{const f=h.map(r.mapping);f&&s&&r.maybeStep(f)}),!0};function Zi(t,e,n={}){const{from:r,to:s,empty:a}=t.selection,o=e?ln(e,t.schema):null,c=[];t.doc.nodesBetween(r,s,(m,g)=>{if(m.isText)return;const y=Math.max(r,g),v=Math.min(s,g+m.nodeSize);c.push({node:m,from:y,to:v})});const u=s-r,h=c.filter(m=>o?o.name===m.node.type.name:!0).filter(m=>ih(m.node.attrs,n,{strict:!1}));return a?!!h.length:h.reduce((m,g)=>m+g.to-g.from,0)>=u}var l8=(t,e={})=>({state:n,dispatch:r})=>{const s=ln(t,n.schema);return Zi(n,s,e)?kO(n,r):!1},c8=()=>({state:t,dispatch:e})=>uS(t,e),d8=t=>({state:e,dispatch:n})=>{const r=ln(t,e.schema);return LO(r)(e,n)},u8=()=>({state:t,dispatch:e})=>cS(t,e);function lf(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function ew(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((r,s)=>(n.includes(s)||(r[s]=t[s]),r),{})}var h8=(t,e)=>({tr:n,state:r,dispatch:s})=>{let a=null,o=null;const c=lf(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(a=ln(t,r.schema)),c==="mark"&&(o=ni(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{r.doc.nodesBetween(h.$from.pos,h.$to.pos,(f,m)=>{a&&a===f.type&&(u=!0,s&&n.setNodeMarkup(m,void 0,ew(f.attrs,e))),o&&f.marks.length&&f.marks.forEach(g=>{o===g.type&&(u=!0,s&&n.addMark(m,m+f.nodeSize,o.create(ew(g.attrs,e))))})})}),u},f8=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),p8=()=>({tr:t,dispatch:e})=>{if(e){const n=new kr(t.doc);t.setSelection(n)}return!0},m8=()=>({state:t,dispatch:e})=>iS(t,e),g8=()=>({state:t,dispatch:e})=>lS(t,e),x8=()=>({state:t,dispatch:e})=>TO(t,e),y8=()=>({state:t,dispatch:e})=>RO(t,e),v8=()=>({state:t,dispatch:e})=>AO(t,e);function Vg(t,e,n={},r={}){return Pc(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var b8=(t,{errorOnInvalidContent:e,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:s,tr:a,dispatch:o,commands:c})=>{const{doc:u}=a;if(r.preserveWhitespace!=="full"){const h=Vg(t,s.schema,r,{errorOnInvalidContent:e??s.options.enableContentCheck});return o&&a.replaceWith(0,u.content.size,h).setMeta("preventUpdate",!n),!0}return o&&a.setMeta("preventUpdate",!n),c.insertContentAt({from:0,to:u.content.size},t,{parseOptions:r,errorOnInvalidContent:e??s.options.enableContentCheck})};function tC(t,e){const n=ni(e,t.schema),{from:r,to:s,empty:a}=t.selection,o=[];a?(t.storedMarks&&o.push(...t.storedMarks),o.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,s,u=>{o.push(...u.marks)});const c=o.find(u=>u.type.name===n.name);return c?{...c.attrs}:{}}function nC(t,e){const n=new Wx(t);return e.forEach(r=>{r.steps.forEach(s=>{n.step(s)})}),n}function w8(t){for(let e=0;e{n(s)&&r.push({node:s,pos:a})}),r}function rC(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}function cf(t){return e=>rC(e.$from,t)}function $e(t,e,n){return t.config[e]===void 0&&t.parent?$e(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?$e(t.parent,e,n):null}):t.config[e]}function d0(t){return t.map(e=>{const n={name:e.name,options:e.options,storage:e.storage},r=$e(e,"addExtensions",n);return r?[e,...d0(r())]:e}).flat(10)}function u0(t,e){const n=Za.fromSchema(e).serializeFragment(t),s=document.implementation.createHTMLDocument().createElement("div");return s.appendChild(n),s.innerHTML}function sC(t){return typeof t=="function"}function pt(t,e=void 0,...n){return sC(t)?e?t.bind(e)(...n):t(...n):t}function j8(t={}){return Object.keys(t).length===0&&t.constructor===Object}function tl(t){const e=t.filter(s=>s.type==="extension"),n=t.filter(s=>s.type==="node"),r=t.filter(s=>s.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:r}}function iC(t){const e=[],{nodeExtensions:n,markExtensions:r}=tl(t),s=[...n,...r],a={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(h=>h.name!=="text").map(h=>h.name),c=r.map(h=>h.name),u=[...o,...c];return t.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage,extensions:s},m=$e(h,"addGlobalAttributes",f);if(!m)return;m().forEach(y=>{let v;Array.isArray(y.types)?v=y.types:y.types==="*"?v=u:y.types==="nodes"?v=o:y.types==="marks"?v=c:v=[],v.forEach(j=>{Object.entries(y.attributes).forEach(([w,k])=>{e.push({type:j,name:w,attribute:{...a,...k}})})})})}),s.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage},m=$e(h,"addAttributes",f);if(!m)return;const g=m();Object.entries(g).forEach(([y,v])=>{const j={...a,...v};typeof(j==null?void 0:j.default)=="function"&&(j.default=j.default()),j!=null&&j.isRequired&&(j==null?void 0:j.default)===void 0&&delete j.default,e.push({type:h.name,name:y,attribute:j})})}),e}function k8(t){const e=[];let n="",r=!1,s=!1,a=0;const o=t.length;for(let c=0;c0){a-=1,n+=u;continue}if(u===";"&&a===0){e.push(n),n="";continue}}n+=u}return n&&e.push(n),e}function tw(t){const e=[],n=k8(t||""),r=n.length;for(let s=0;s!!e).reduce((e,n)=>{const r={...e};return Object.entries(n).forEach(([s,a])=>{if(!r[s]){r[s]=a;return}if(s==="class"){const c=a?String(a).split(" "):[],u=r[s]?r[s].split(" "):[],h=c.filter(f=>!u.includes(f));r[s]=[...u,...h].join(" ")}else if(s==="style"){const c=new Map([...tw(r[s]),...tw(a)]);r[s]=Array.from(c.entries()).map(([u,h])=>`${u}: ${h}`).join("; ")}else r[s]=a}),r},{})}function Oc(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,r)=>vt(n,r),{})}function S8(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function nw(t,e){return"style"in t?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(r===!1)return!1;const s=e.reduce((a,o)=>{const c=o.attribute.parseHTML?o.attribute.parseHTML(n):S8(n.getAttribute(o.name));return c==null?a:{...a,[o.name]:c}},{});return{...r,...s}}}}function rw(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&j8(n)?!1:n!=null))}function sw(t){var e,n;const r={};return!((e=t==null?void 0:t.attribute)!=null&&e.isRequired)&&"default"in((t==null?void 0:t.attribute)||{})&&(r.default=t.attribute.default),((n=t==null?void 0:t.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=t.attribute.validate),[t.name,r]}function C8(t,e){var n;const r=iC(t),{nodeExtensions:s,markExtensions:a}=tl(t),o=(n=s.find(h=>$e(h,"topNode")))==null?void 0:n.name,c=Object.fromEntries(s.map(h=>{const f=r.filter(k=>k.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((k,E)=>{const C=$e(E,"extendNodeSchema",m);return{...k,...C?C(h):{}}},{}),y=rw({...g,content:pt($e(h,"content",m)),marks:pt($e(h,"marks",m)),group:pt($e(h,"group",m)),inline:pt($e(h,"inline",m)),atom:pt($e(h,"atom",m)),selectable:pt($e(h,"selectable",m)),draggable:pt($e(h,"draggable",m)),code:pt($e(h,"code",m)),whitespace:pt($e(h,"whitespace",m)),linebreakReplacement:pt($e(h,"linebreakReplacement",m)),defining:pt($e(h,"defining",m)),isolating:pt($e(h,"isolating",m)),attrs:Object.fromEntries(f.map(sw))}),v=pt($e(h,"parseHTML",m));v&&(y.parseDOM=v.map(k=>nw(k,f)));const j=$e(h,"renderHTML",m);j&&(y.toDOM=k=>j({node:k,HTMLAttributes:Oc(k,f)}));const w=$e(h,"renderText",m);return w&&(y.toText=w),[h.name,y]})),u=Object.fromEntries(a.map(h=>{const f=r.filter(w=>w.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((w,k)=>{const E=$e(k,"extendMarkSchema",m);return{...w,...E?E(h):{}}},{}),y=rw({...g,inclusive:pt($e(h,"inclusive",m)),excludes:pt($e(h,"excludes",m)),group:pt($e(h,"group",m)),spanning:pt($e(h,"spanning",m)),code:pt($e(h,"code",m)),attrs:Object.fromEntries(f.map(sw))}),v=pt($e(h,"parseHTML",m));v&&(y.parseDOM=v.map(w=>nw(w,f)));const j=$e(h,"renderHTML",m);return j&&(y.toDOM=w=>j({mark:w,HTMLAttributes:Oc(w,f)})),[h.name,y]}));return new _k({topNode:o,nodes:c,marks:u})}function E8(t){const e=t.filter((n,r)=>t.indexOf(n)!==r);return Array.from(new Set(e))}function pc(t){return t.sort((n,r)=>{const s=$e(n,"priority")||100,a=$e(r,"priority")||100;return s>a?-1:sr.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}function oC(t,e,n){const{from:r,to:s}=e,{blockSeparator:a=` - -`,textSerializers:o={}}=n||{};let c="";return t.nodesBetween(r,s,(u,h,f,m)=>{var g;u.isBlock&&h>r&&(c+=a);const y=o==null?void 0:o[u.type.name];if(y)return f&&(c+=y({node:u,pos:h,parent:f,index:m,range:e})),!1;u.isText&&(c+=(g=u==null?void 0:u.text)==null?void 0:g.slice(Math.max(r,h)-h,s-h))}),c}function T8(t,e){const n={from:0,to:t.content.size};return oC(t,n,e)}function lC(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}function M8(t,e){const n=ln(e,t.schema),{from:r,to:s}=t.selection,a=[];t.doc.nodesBetween(r,s,c=>{a.push(c)});const o=a.reverse().find(c=>c.type.name===n.name);return o?{...o.attrs}:{}}function cC(t,e){const n=lf(typeof e=="string"?e:e.name,t.schema);return n==="node"?M8(t,e):n==="mark"?tC(t,e):{}}function A8(t,e=JSON.stringify){const n={};return t.filter(r=>{const s=e(r);return Object.prototype.hasOwnProperty.call(n,s)?!1:n[s]=!0})}function R8(t){const e=A8(t);return e.length===1?e:e.filter((n,r)=>!e.filter((a,o)=>o!==r).some(a=>n.oldRange.from>=a.oldRange.from&&n.oldRange.to<=a.oldRange.to&&n.newRange.from>=a.newRange.from&&n.newRange.to<=a.newRange.to))}function dC(t){const{mapping:e,steps:n}=t,r=[];return e.maps.forEach((s,a)=>{const o=[];if(s.ranges.length)s.forEach((c,u)=>{o.push({from:c,to:u})});else{const{from:c,to:u}=n[a];if(c===void 0||u===void 0)return;o.push({from:c,to:u})}o.forEach(({from:c,to:u})=>{const h=e.slice(a).map(c,-1),f=e.slice(a).map(u),m=e.invert().map(h,-1),g=e.invert().map(f);r.push({oldRange:{from:m,to:g},newRange:{from:h,to:f}})})}),R8(r)}function h0(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach(s=>{const a=n.resolve(t),o=c0(a,s.type);o&&r.push({mark:s,...o})}):n.nodesBetween(t,e,(s,a)=>{!s||(s==null?void 0:s.nodeSize)===void 0||r.push(...s.marks.map(o=>({from:a,to:a+s.nodeSize,mark:o})))}),r}var I8=(t,e,n,r=20)=>{const s=t.doc.resolve(n);let a=r,o=null;for(;a>0&&o===null;){const c=s.node(a);(c==null?void 0:c.type.name)===e?o=c:a-=1}return[o,a]};function Ql(t,e){return e.nodes[t]||e.marks[t]||null}function Ou(t,e,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const s=t.find(a=>a.type===e&&a.name===r);return s?s.attribute.keepOnSplit:!1}))}var P8=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,(s,a,o,c)=>{var u,h;const f=((h=(u=s.type.spec).toText)==null?void 0:h.call(u,{node:s,pos:a,parent:o,index:c}))||s.textContent||"%leaf%";n+=s.isAtom&&!s.isText?f:f.slice(0,Math.max(0,r-a))}),n};function Hg(t,e,n={}){const{empty:r,ranges:s}=t.selection,a=e?ni(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(m=>a?a.name===m.type.name:!0).find(m=>ih(m.attrs,n,{strict:!1}));let o=0;const c=[];if(s.forEach(({$from:m,$to:g})=>{const y=m.pos,v=g.pos;t.doc.nodesBetween(y,v,(j,w)=>{if(a&&j.inlineContent&&!j.type.allowsMarkType(a))return!1;if(!j.isText&&!j.marks.length)return;const k=Math.max(y,w),E=Math.min(v,w+j.nodeSize),C=E-k;o+=C,c.push(...j.marks.map(M=>({mark:M,from:k,to:E})))})}),o===0)return!1;const u=c.filter(m=>a?a.name===m.mark.type.name:!0).filter(m=>ih(m.mark.attrs,n,{strict:!1})).reduce((m,g)=>m+g.to-g.from,0),h=c.filter(m=>a?m.mark.type!==a&&m.mark.type.excludes(a):!0).reduce((m,g)=>m+g.to-g.from,0);return(u>0?u+h:u)>=o}function O8(t,e,n={}){if(!e)return Zi(t,null,n)||Hg(t,null,n);const r=lf(e,t.schema);return r==="node"?Zi(t,e,n):r==="mark"?Hg(t,e,n):!1}var D8=(t,e)=>{const{$from:n,$to:r,$anchor:s}=t.selection;if(e){const a=cf(c=>c.type.name===e)(t.selection);if(!a)return!1;const o=t.doc.resolve(a.pos+1);return s.pos+1===o.end()}return!(r.parentOffset{const{$from:e,$to:n}=t.selection;return!(e.parentOffset>0||e.pos!==n.pos)};function iw(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function aw(t,e){const{nodeExtensions:n}=tl(e),r=n.find(o=>o.name===t);if(!r)return!1;const s={name:r.name,options:r.options,storage:r.storage},a=pt($e(r,"group",s));return typeof a!="string"?!1:a.split(" ").includes("list")}function df(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((r=t.text)!=null?r:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let s=!0;return t.content.forEach(a=>{s!==!1&&(df(a,{ignoreWhitespace:n,checkChildren:e})||(s=!1))}),s}return!1}function uC(t){return t instanceof Ve}var hC=class fC{constructor(e){this.position=e}static fromJSON(e){return new fC(e.position)}toJSON(){return{position:this.position}}};function _8(t,e){const n=e.mapping.mapResult(t.position);return{position:new hC(n.pos),mapResult:n}}function z8(t){return new hC(t)}function $8(t,e,n){var r;const{selection:s}=e;let a=null;if(QS(s)&&(a=s.$cursor),a){const c=(r=t.storedMarks)!=null?r:a.marks();return a.parent.type.allowsMarkType(n)&&(!!n.isInSet(c)||!c.some(h=>h.type.excludes(n)))}const{ranges:o}=s;return o.some(({$from:c,$to:u})=>{let h=c.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(c.pos,u.pos,(f,m,g)=>{if(h)return!1;if(f.isInline){const y=!g||g.type.allowsMarkType(n),v=!!n.isInSet(f.marks)||!f.marks.some(j=>j.type.excludes(n));h=y&&v}return!h}),h})}var F8=(t,e={})=>({tr:n,state:r,dispatch:s})=>{const{selection:a}=n,{empty:o,ranges:c}=a,u=ni(t,r.schema);if(s)if(o){const h=tC(r,u);n.addStoredMark(u.create({...h,...e}))}else c.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;r.doc.nodesBetween(f,m,(g,y)=>{const v=Math.max(y,f),j=Math.min(y+g.nodeSize,m);g.marks.find(k=>k.type===u)?g.marks.forEach(k=>{u===k.type&&n.addMark(v,j,u.create({...k.attrs,...e}))}):n.addMark(v,j,u.create(e))})});return $8(r,n,u)},B8=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),V8=(t,e={})=>({state:n,dispatch:r,chain:s})=>{const a=ln(t,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),a.isTextblock?s().command(({commands:c})=>y1(a,{...o,...e})(n)?!0:c.clearNodes()).command(({state:c})=>y1(a,{...o,...e})(c,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},H8=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,s=Pa(t,0,r.content.size),a=Ve.create(r,s);e.setSelection(a)}return!0},W8=(t,e)=>({tr:n,state:r,dispatch:s})=>{const{selection:a}=r;let o,c;return typeof e=="number"?(o=e,c=e):e&&"from"in e&&"to"in e?(o=e.from,c=e.to):(o=a.from,c=a.to),s&&n.doc.nodesBetween(o,c,(u,h)=>{u.isText||n.setNodeMarkup(h,void 0,{...u.attrs,dir:t})}),!0},U8=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,{from:s,to:a}=typeof t=="number"?{from:t,to:t}:t,o=He.atStart(r).from,c=He.atEnd(r).to,u=Pa(s,o,c),h=Pa(a,o,c),f=He.create(r,u,h);e.setSelection(f)}return!0},K8=t=>({state:e,dispatch:n})=>{const r=ln(t,e.schema);return $O(r)(e,n)};function ow(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter(s=>e==null?void 0:e.includes(s.type.name));t.tr.ensureMarks(r)}}var q8=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:r,editor:s})=>{const{selection:a,doc:o}=e,{$from:c,$to:u}=a,h=s.extensionManager.attributes,f=Ou(h,c.node().type.name,c.node().attrs);if(a instanceof Ve&&a.node.isBlock)return!c.parentOffset||!Ys(o,c.pos)?!1:(r&&(t&&ow(n,s.extensionManager.splittableMarks),e.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;const m=u.parentOffset===u.parent.content.size,g=c.depth===0?void 0:w8(c.node(-1).contentMatchAt(c.indexAfter(-1)));let y=m&&g?[{type:g,attrs:f}]:void 0,v=Ys(e.doc,e.mapping.map(c.pos),1,y);if(!y&&!v&&Ys(e.doc,e.mapping.map(c.pos),1,g?[{type:g}]:void 0)&&(v=!0,y=g?[{type:g,attrs:f}]:void 0),r){if(v&&(a instanceof He&&e.deleteSelection(),e.split(e.mapping.map(c.pos),1,y),g&&!m&&!c.parentOffset&&c.parent.type!==g)){const j=e.mapping.map(c.before()),w=e.doc.resolve(j);c.node(-1).canReplaceWith(w.index(),w.index()+1,g)&&e.setNodeMarkup(e.mapping.map(c.before()),g)}t&&ow(n,s.extensionManager.splittableMarks),e.scrollIntoView()}return v},G8=(t,e={})=>({tr:n,state:r,dispatch:s,editor:a})=>{var o;const c=ln(t,r.schema),{$from:u,$to:h}=r.selection,f=r.selection.node;if(f&&f.isBlock||u.depth<2||!u.sameParent(h))return!1;const m=u.node(-1);if(m.type!==c)return!1;const g=a.extensionManager.attributes;if(u.parent.content.size===0&&u.node(-1).childCount===u.indexAfter(-1)){if(u.depth===2||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(s){let k=pe.empty;const E=u.index(-1)?1:u.index(-2)?2:3;for(let I=u.depth-E;I>=u.depth-3;I-=1)k=pe.from(u.node(I).copy(k));const C=u.indexAfter(-1){if(R>-1)return!1;I.isTextblock&&I.content.size===0&&(R=A+1)}),R>-1&&n.setSelection(He.near(n.doc.resolve(R))),n.scrollIntoView()}return!0}const y=h.pos===u.end()?m.contentMatchAt(0).defaultType:null,v={...Ou(g,m.type.name,m.attrs),...e},j={...Ou(g,u.node().type.name,u.node().attrs),...e};n.delete(u.pos,h.pos);const w=y?[{type:c,attrs:v},{type:y,attrs:j}]:[{type:c,attrs:v}];if(!Ys(n.doc,u.pos,2))return!1;if(s){const{selection:k,storedMarks:E}=r,{splittableMarks:C}=a.extensionManager,M=E||k.$to.parentOffset&&k.$from.marks();if(n.split(u.pos,2,w).scrollIntoView(),!M||!s)return!0;const D=M.filter(F=>C.includes(F.type.name));n.ensureMarks(D)}return!0},Vm=(t,e)=>{const n=cf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const s=t.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&aa(t.doc,n.pos)&&t.join(n.pos),!0},Hm=(t,e)=>{const n=cf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const s=t.doc.nodeAt(r);return n.node.type===(s==null?void 0:s.type)&&aa(t.doc,r)&&t.join(r),!0},J8=(t,e,n,r={})=>({editor:s,tr:a,state:o,dispatch:c,chain:u,commands:h,can:f})=>{const{extensions:m,splittableMarks:g}=s.extensionManager,y=ln(t,o.schema),v=ln(e,o.schema),{selection:j,storedMarks:w}=o,{$from:k,$to:E}=j,C=k.blockRange(E),M=w||j.$to.parentOffset&&j.$from.marks();if(!C)return!1;const D=cf(F=>aw(F.type.name,m))(j);if(C.depth>=1&&D&&C.depth-D.depth<=1){if(D.node.type===y)return h.liftListItem(v);if(aw(D.node.type.name,m)&&y.validContent(D.node.content)&&c)return u().command(()=>(a.setNodeMarkup(D.pos,y),!0)).command(()=>Vm(a,y)).command(()=>Hm(a,y)).run()}return!n||!M||!c?u().command(()=>f().wrapInList(y,r)?!0:h.clearNodes()).wrapInList(y,r).command(()=>Vm(a,y)).command(()=>Hm(a,y)).run():u().command(()=>{const F=f().wrapInList(y,r),R=M.filter(I=>g.includes(I.type.name));return a.ensureMarks(R),F?!0:h.clearNodes()}).wrapInList(y,r).command(()=>Vm(a,y)).command(()=>Hm(a,y)).run()},Y8=(t,e={},n={})=>({state:r,commands:s})=>{const{extendEmptyMarkRange:a=!1}=n,o=ni(t,r.schema);return Hg(r,o,e)?s.unsetMark(o,{extendEmptyMarkRange:a}):s.setMark(o,e)},Q8=(t,e,n={})=>({state:r,commands:s})=>{const a=ln(t,r.schema),o=ln(e,r.schema),c=Zi(r,a,n);let u;return r.selection.$anchor.sameParent(r.selection.$head)&&(u=r.selection.$anchor.parent.attrs),c?s.setNode(o,u):s.setNode(a,{...u,...n})},X8=(t,e={})=>({state:n,commands:r})=>{const s=ln(t,n.schema);return Zi(n,s,e)?r.lift(s):r.wrapIn(s,e)},Z8=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r=0;u-=1)o.step(c.steps[u].invert(c.docs[u]));if(a.text){const u=o.doc.resolve(a.from).marks();o.replaceWith(a.from,a.to,t.schema.text(a.text,u))}else o.delete(a.from,a.to)}return!0}}return!1},e6=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:s}=n;return r||e&&s.forEach(a=>{t.removeMark(a.$from.pos,a.$to.pos)}),!0},t6=(t,e={})=>({tr:n,state:r,dispatch:s})=>{var a;const{extendEmptyMarkRange:o=!1}=e,{selection:c}=n,u=ni(t,r.schema),{$from:h,empty:f,ranges:m}=c;if(!s)return!0;if(f&&o){let{from:g,to:y}=c;const v=(a=h.marks().find(w=>w.type===u))==null?void 0:a.attrs,j=c0(h,u,v);j&&(g=j.from,y=j.to),n.removeMark(g,y,u)}else m.forEach(g=>{n.removeMark(g.$from.pos,g.$to.pos,u)});return n.removeStoredMark(u),!0},n6=t=>({tr:e,state:n,dispatch:r})=>{const{selection:s}=n;let a,o;return typeof t=="number"?(a=t,o=t):t&&"from"in t&&"to"in t?(a=t.from,o=t.to):(a=s.from,o=s.to),r&&e.doc.nodesBetween(a,o,(c,u)=>{if(c.isText)return;const h={...c.attrs};delete h.dir,e.setNodeMarkup(u,void 0,h)}),!0},r6=(t,e={})=>({tr:n,state:r,dispatch:s})=>{let a=null,o=null;const c=lf(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(a=ln(t,r.schema)),c==="mark"&&(o=ni(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;let g,y,v,j;n.selection.empty?r.doc.nodesBetween(f,m,(w,k)=>{a&&a===w.type&&(u=!0,v=Math.max(k,f),j=Math.min(k+w.nodeSize,m),g=k,y=w)}):r.doc.nodesBetween(f,m,(w,k)=>{k=f&&k<=m&&(a&&a===w.type&&(u=!0,s&&n.setNodeMarkup(k,void 0,{...w.attrs,...e})),o&&w.marks.length&&w.marks.forEach(E=>{if(o===E.type&&(u=!0,s)){const C=Math.max(k,f),M=Math.min(k+w.nodeSize,m);n.addMark(C,M,o.create({...E.attrs,...e}))}}))}),y&&(g!==void 0&&s&&n.setNodeMarkup(g,void 0,{...y.attrs,...e}),o&&y.marks.length&&y.marks.forEach(w=>{o===w.type&&s&&n.addMark(v,j,o.create({...w.attrs,...e}))}))}),u},s6=(t,e={})=>({state:n,dispatch:r})=>{const s=ln(t,n.schema);return IO(s,e)(n,r)},i6=(t,e={})=>({state:n,dispatch:r})=>{const s=ln(t,n.schema);return PO(s,e)(n,r)},a6=class{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach(r=>r.apply(this,e)),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter(r=>r!==e):delete this.callbacks[t]),this}once(t,e){const n=(...r)=>{this.off(t,n),e.apply(this,r)};return this.on(t,n)}removeAllListeners(){this.callbacks={}}},uf=class{constructor(t){var e;this.find=t.find,this.handler=t.handler,this.undoable=(e=t.undoable)!=null?e:!0}},o6=(t,e)=>{if(l0(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function xu(t){var e;const{editor:n,from:r,to:s,text:a,rules:o,plugin:c}=t,{view:u}=n;if(u.composing)return!1;const h=u.state.doc.resolve(r);if(h.parent.type.spec.code||(e=h.nodeBefore||h.nodeAfter)!=null&&e.marks.find(g=>g.type.spec.code))return!1;let f=!1;const m=P8(h)+a;return o.forEach(g=>{if(f)return;const y=o6(m,g.find);if(!y)return;const v=u.state.tr,j=af({state:u.state,transaction:v}),w={from:r-(y[0].length-a.length),to:s},{commands:k,chain:E,can:C}=new of({editor:n,state:j});g.handler({state:j,range:w,match:y,commands:k,chain:E,can:C})===null||!v.steps.length||(g.undoable&&v.setMeta(c,{transform:v,from:r,to:s,text:a}),u.dispatch(v),f=!0)}),f}function l6(t){const{editor:e,rules:n}=t,r=new Ct({state:{init(){return null},apply(s,a,o){const c=s.getMeta(r);if(c)return c;const u=s.getMeta("applyInputRules");return!!u&&setTimeout(()=>{let{text:f}=u;typeof f=="string"?f=f:f=u0(pe.from(f),o.schema);const{from:m}=u,g=m+f.length;xu({editor:e,from:m,to:g,text:f,rules:n,plugin:r})}),s.selectionSet||s.docChanged?null:a}},props:{handleTextInput(s,a,o,c){return xu({editor:e,from:a,to:o,text:c,rules:n,plugin:r})},handleDOMEvents:{compositionend:s=>(setTimeout(()=>{const{$cursor:a}=s.state.selection;a&&xu({editor:e,from:a.pos,to:a.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(s,a){if(a.key!=="Enter")return!1;const{$cursor:o}=s.state.selection;return o?xu({editor:e,from:o.pos,to:o.pos,text:` -`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function c6(t){return Object.prototype.toString.call(t).slice(8,-1)}function yu(t){return c6(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function pC(t,e){const n={...t};return yu(t)&&yu(e)&&Object.keys(e).forEach(r=>{yu(e[r])&&yu(t[r])?n[r]=pC(t[r],e[r]):n[r]=e[r]}),n}var f0=class{constructor(t={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...t},this.name=this.config.name}get options(){return{...pt($e(this,"addOptions",{name:this.name}))||{}}}get storage(){return{...pt($e(this,"addStorage",{name:this.name,options:this.options}))||{}}}configure(t={}){const e=this.extend({...this.config,addOptions:()=>pC(this.options,t)});return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new this.constructor({...this.config,...t});return e.parent=this,this.child=e,e.name="name"in t?t.name:e.parent.name,e}},eo=class mC extends f0{constructor(){super(...arguments),this.type="mark"}static create(e={}){const n=typeof e=="function"?e():e;return new mC(n)}static handleExit({editor:e,mark:n}){const{tr:r}=e.state,s=e.state.selection.$from;if(s.pos===s.end()){const o=s.marks();if(!!!o.find(h=>(h==null?void 0:h.type.name)===n.name))return!1;const u=o.find(h=>(h==null?void 0:h.type.name)===n.name);return u&&r.removeStoredMark(u),r.insertText(" ",s.pos),e.view.dispatch(r),!0}return!1}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function d6(t){return typeof t=="number"}var u6=class{constructor(t){this.find=t.find,this.handler=t.handler}},h6=(t,e,n)=>{if(l0(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map(s=>{const a=[s.text];return a.index=s.index,a.input=t,a.data=s.data,s.replaceWith&&(s.text.includes(s.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),a.push(s.replaceWith)),a}):[]};function f6(t){const{editor:e,state:n,from:r,to:s,rule:a,pasteEvent:o,dropEvent:c}=t,{commands:u,chain:h,can:f}=new of({editor:e,state:n}),m=[];return n.doc.nodesBetween(r,s,(y,v)=>{var j,w,k,E,C;if((w=(j=y.type)==null?void 0:j.spec)!=null&&w.code||!(y.isText||y.isTextblock||y.isInline))return;const M=(C=(E=(k=y.content)==null?void 0:k.size)!=null?E:y.nodeSize)!=null?C:0,D=Math.max(r,v),F=Math.min(s,v+M);if(D>=F)return;const R=y.isText?y.text||"":y.textBetween(D-v,F-v,void 0,"");h6(R,a.find,o).forEach(A=>{if(A.index===void 0)return;const O=D+A.index+1,W=O+A[0].length,X={from:n.tr.mapping.map(O),to:n.tr.mapping.map(W)},q=a.handler({state:n,range:X,match:A,commands:u,chain:h,can:f,pasteEvent:o,dropEvent:c});m.push(q)})}),m.every(y=>y!==null)}var vu=null,p6=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)==null||e.setData("text/html",t),n};function m6(t){const{editor:e,rules:n}=t;let r=null,s=!1,a=!1,o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,c;try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}const u=({state:f,from:m,to:g,rule:y,pasteEvt:v})=>{const j=f.tr,w=af({state:f,transaction:j});if(!(!f6({editor:e,state:w,from:Math.max(m-1,0),to:g.b-1,rule:y,pasteEvent:v,dropEvent:c})||!j.steps.length)){try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}return o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,j}};return n.map(f=>new Ct({view(m){const g=v=>{var j;r=(j=m.dom.parentElement)!=null&&j.contains(v.target)?m.dom.parentElement:null,r&&(vu=e)},y=()=>{vu&&(vu=null)};return window.addEventListener("dragstart",g),window.addEventListener("dragend",y),{destroy(){window.removeEventListener("dragstart",g),window.removeEventListener("dragend",y)}}},props:{handleDOMEvents:{drop:(m,g)=>{if(a=r===m.dom.parentElement,c=g,!a){const y=vu;y!=null&&y.isEditable&&setTimeout(()=>{const v=y.state.selection;v&&y.commands.deleteRange({from:v.from,to:v.to})},10)}return!1},paste:(m,g)=>{var y;const v=(y=g.clipboardData)==null?void 0:y.getData("text/html");return o=g,s=!!(v!=null&&v.includes("data-pm-slice")),!1}}},appendTransaction:(m,g,y)=>{const v=m[0],j=v.getMeta("uiEvent")==="paste"&&!s,w=v.getMeta("uiEvent")==="drop"&&!a,k=v.getMeta("applyPasteRules"),E=!!k;if(!j&&!w&&!E)return;if(E){let{text:D}=k;typeof D=="string"?D=D:D=u0(pe.from(D),y.schema);const{from:F}=k,R=F+D.length,I=p6(D);return u({rule:f,state:y,from:F,to:{b:R},pasteEvt:I})}const C=g.doc.content.findDiffStart(y.doc.content),M=g.doc.content.findDiffEnd(y.doc.content);if(!(!d6(C)||!M||C===M.b))return u({rule:f,state:y,from:C,to:M,pasteEvt:o})}}))}var hf=class{constructor(t,e){this.splittableMarks=[],this.editor=e,this.baseExtensions=t,this.extensions=aC(t),this.schema=C8(this.extensions,e),this.setupExtensions()}get commands(){return this.extensions.reduce((t,e)=>{const n={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Ql(e.name,this.schema)},r=$e(e,"addCommands",n);return r?{...t,...r()}:t},{})}get plugins(){const{editor:t}=this;return pc([...this.extensions].reverse()).flatMap(r=>{const s={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:t,type:Ql(r.name,this.schema)},a=[],o=$e(r,"addKeyboardShortcuts",s);let c={};if(r.type==="mark"&&$e(r,"exitable",s)&&(c.ArrowRight=()=>eo.handleExit({editor:t,mark:r})),o){const g=Object.fromEntries(Object.entries(o()).map(([y,v])=>[y,()=>v({editor:t})]));c={...c,...g}}const u=ML(c);a.push(u);const h=$e(r,"addInputRules",s);if(iw(r,t.options.enableInputRules)&&h){const g=h();if(g&&g.length){const y=l6({editor:t,rules:g}),v=Array.isArray(y)?y:[y];a.push(...v)}}const f=$e(r,"addPasteRules",s);if(iw(r,t.options.enablePasteRules)&&f){const g=f();if(g&&g.length){const y=m6({editor:t,rules:g});a.push(...y)}}const m=$e(r,"addProseMirrorPlugins",s);if(m){const g=m();a.push(...g)}return a})}get attributes(){return iC(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=tl(this.extensions);return Object.fromEntries(e.filter(n=>!!$e(n,"addNodeView")).map(n=>{const r=this.attributes.filter(u=>u.type===n.name),s={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:ln(n.name,this.schema)},a=$e(n,"addNodeView",s);if(!a)return[];const o=a();if(!o)return[];const c=(u,h,f,m,g)=>{const y=Oc(u,r);return o({node:u,view:h,getPos:f,decorations:m,innerDecorations:g,editor:t,extension:n,HTMLAttributes:y})};return[n.name,c]}))}dispatchTransaction(t){const{editor:e}=this;return pc([...this.extensions].reverse()).reduceRight((r,s)=>{const a={name:s.name,options:s.options,storage:this.editor.extensionStorage[s.name],editor:e,type:Ql(s.name,this.schema)},o=$e(s,"dispatchTransaction",a);return o?c=>{o.call(a,{transaction:c,next:r})}:r},t)}transformPastedHTML(t){const{editor:e}=this;return pc([...this.extensions]).reduce((r,s)=>{const a={name:s.name,options:s.options,storage:this.editor.extensionStorage[s.name],editor:e,type:Ql(s.name,this.schema)},o=$e(s,"transformPastedHTML",a);return o?(c,u)=>{const h=r(c,u);return o.call(a,h)}:r},t||(r=>r))}get markViews(){const{editor:t}=this,{markExtensions:e}=tl(this.extensions);return Object.fromEntries(e.filter(n=>!!$e(n,"addMarkView")).map(n=>{const r=this.attributes.filter(c=>c.type===n.name),s={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:ni(n.name,this.schema)},a=$e(n,"addMarkView",s);if(!a)return[];const o=(c,u,h)=>{const f=Oc(c,r);return a()({mark:c,view:u,inline:h,editor:t,extension:n,HTMLAttributes:f,updateAttributes:m=>{A6(c,t,m)}})};return[n.name,o]}))}setupExtensions(){const t=this.extensions;this.editor.extensionStorage=Object.fromEntries(t.map(e=>[e.name,e.storage])),t.forEach(e=>{var n;const r={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Ql(e.name,this.schema)};e.type==="mark"&&((n=pt($e(e,"keepOnSplit",r)))==null||n)&&this.splittableMarks.push(e.name);const s=$e(e,"onBeforeCreate",r),a=$e(e,"onCreate",r),o=$e(e,"onUpdate",r),c=$e(e,"onSelectionUpdate",r),u=$e(e,"onTransaction",r),h=$e(e,"onFocus",r),f=$e(e,"onBlur",r),m=$e(e,"onDestroy",r);s&&this.editor.on("beforeCreate",s),a&&this.editor.on("create",a),o&&this.editor.on("update",o),c&&this.editor.on("selectionUpdate",c),u&&this.editor.on("transaction",u),h&&this.editor.on("focus",h),f&&this.editor.on("blur",f),m&&this.editor.on("destroy",m)})}};hf.resolve=aC;hf.sort=pc;hf.flatten=d0;var g6={};o0(g6,{ClipboardTextSerializer:()=>xC,Commands:()=>yC,Delete:()=>vC,Drop:()=>bC,Editable:()=>wC,FocusEvents:()=>jC,Keymap:()=>kC,Paste:()=>SC,Tabindex:()=>CC,TextDirection:()=>EC,focusEventsPluginKey:()=>NC});var Gt=class gC extends f0{constructor(){super(...arguments),this.type="extension"}static create(e={}){const n=typeof e=="function"?e():e;return new gC(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}},xC=Gt.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Ct({key:new _t("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:s}=e,{ranges:a}=s,o=Math.min(...a.map(f=>f.$from.pos)),c=Math.max(...a.map(f=>f.$to.pos)),u=lC(n);return oC(r,{from:o,to:c},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),yC=Gt.create({name:"commands",addCommands(){return{...JS}}}),vC=Gt.create({name:"delete",onUpdate({transaction:t,appendedTransactions:e}){var n,r,s;const a=()=>{var o,c,u,h;if((h=(u=(c=(o=this.editor.options.coreExtensionOptions)==null?void 0:o.delete)==null?void 0:c.filterTransaction)==null?void 0:u.call(c,t))!=null?h:t.getMeta("y-sync$"))return;const f=nC(t.before,[t,...e]);dC(f).forEach(y=>{f.mapping.mapResult(y.oldRange.from).deletedAfter&&f.mapping.mapResult(y.oldRange.to).deletedBefore&&f.before.nodesBetween(y.oldRange.from,y.oldRange.to,(v,j)=>{const w=j+v.nodeSize-2,k=y.oldRange.from<=j&&w<=y.oldRange.to;this.editor.emit("delete",{type:"node",node:v,from:j,to:w,newFrom:f.mapping.map(j),newTo:f.mapping.map(w),deletedRange:y.oldRange,newRange:y.newRange,partial:!k,editor:this.editor,transaction:t,combinedTransform:f})})});const g=f.mapping;f.steps.forEach((y,v)=>{var j,w;if(y instanceof Xr){const k=g.slice(v).map(y.from,-1),E=g.slice(v).map(y.to),C=g.invert().map(k,-1),M=g.invert().map(E),D=(j=f.doc.nodeAt(k-1))==null?void 0:j.marks.some(R=>R.eq(y.mark)),F=(w=f.doc.nodeAt(E))==null?void 0:w.marks.some(R=>R.eq(y.mark));this.editor.emit("delete",{type:"mark",mark:y.mark,from:y.from,to:y.to,deletedRange:{from:C,to:M},newRange:{from:k,to:E},partial:!!(F||D),editor:this.editor,transaction:t,combinedTransform:f})}})};(s=(r=(n=this.editor.options.coreExtensionOptions)==null?void 0:n.delete)==null?void 0:r.async)==null||s?setTimeout(a,0):a()}}),bC=Gt.create({name:"drop",addProseMirrorPlugins(){return[new Ct({key:new _t("tiptapDrop"),props:{handleDrop:(t,e,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:r})}}})]}}),wC=Gt.create({name:"editable",addProseMirrorPlugins(){return[new Ct({key:new _t("editable"),props:{editable:()=>this.editor.options.editable}})]}}),NC=new _t("focusEvents"),jC=Gt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Ct({key:NC,props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),kC=Gt.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:o})=>[()=>o.undoInputRule(),()=>o.command(({tr:c})=>{const{selection:u,doc:h}=c,{empty:f,$anchor:m}=u,{pos:g,parent:y}=m,v=m.parent.isTextblock&&g>0?c.doc.resolve(g-1):m,j=v.parent.type.spec.isolating,w=m.pos-m.parentOffset,k=j&&v.parent.childCount===1?w===m.pos:Ge.atStart(h).from===g;return!f||!y.type.isTextblock||y.textContent.length||!k||k&&m.parent.type.name==="paragraph"?!1:o.clearNodes()}),()=>o.deleteSelection(),()=>o.joinBackward(),()=>o.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:o})=>[()=>o.deleteSelection(),()=>o.deleteCurrentNode(),()=>o.joinForward(),()=>o.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:o})=>[()=>o.newlineInCode(),()=>o.createParagraphNear(),()=>o.liftEmptyBlock(),()=>o.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},s={...r},a={...r,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return ah()||eC()?a:s},addProseMirrorPlugins(){return[new Ct({key:new _t("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some(j=>j.getMeta("composition")))return;const r=t.some(j=>j.docChanged)&&!e.doc.eq(n.doc),s=t.some(j=>j.getMeta("preventClearDocument"));if(!r||s)return;const{empty:a,from:o,to:c}=e.selection,u=Ge.atStart(e.doc).from,h=Ge.atEnd(e.doc).to;if(a||!(o===u&&c===h)||!df(n.doc))return;const g=n.tr,y=af({state:n,transaction:g}),{commands:v}=new of({editor:this.editor,state:y});if(v.clearNodes(),!!g.steps.length)return g}})]}}),SC=Gt.create({name:"paste",addProseMirrorPlugins(){return[new Ct({key:new _t("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),CC=Gt.create({name:"tabindex",addProseMirrorPlugins(){return[new Ct({key:new _t("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}}),EC=Gt.create({name:"textDirection",addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];const{nodeExtensions:t}=tl(this.extensions);return[{types:t.filter(e=>e.name!=="text").map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{const n=e.getAttribute("dir");return n&&(n==="ltr"||n==="rtl"||n==="auto")?n:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new Ct({key:new _t("textDirection"),props:{attributes:()=>{const t=this.options.direction;return t?{dir:t}:{}}}})]}}),x6=class ic{constructor(e,n,r=!1,s=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=n,this.currentNode=s}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!=null?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new ic(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new ic(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new ic(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,r)=>{const s=n.isBlock&&!n.isTextblock,a=n.isAtom&&!n.isText,o=n.isInline,c=this.pos+r+(a?0:1);if(c<0||c>this.resolvedPos.doc.nodeSize-2)return;const u=this.resolvedPos.doc.resolve(c);if(!s&&!o&&u.depth<=this.depth)return;const h=new ic(u,this.editor,s,s||o?n:null);s&&(h.actualDepth=this.depth+1),e.push(h)}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let r=null,s=this.parent;for(;s&&!r;){if(s.node.type.name===e)if(Object.keys(n).length>0){const a=s.node.attrs,o=Object.keys(n);for(let c=0;c{r&&s.length>0||(o.node.type.name===e&&a.every(u=>n[u]===o.node.attrs[u])&&s.push(o),!(r&&s.length>0)&&(s=s.concat(o.querySelectorAll(e,n,r))))}),s}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}},y6=`.ProseMirror { - position: relative; -} - -.ProseMirror { - word-wrap: break-word; - white-space: pre-wrap; - white-space: break-spaces; - -webkit-font-variant-ligatures: none; - font-variant-ligatures: none; - font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */ -} - -.ProseMirror [contenteditable="false"] { - white-space: normal; -} - -.ProseMirror [contenteditable="false"] [contenteditable="true"] { - white-space: pre-wrap; -} - -.ProseMirror pre { - white-space: pre-wrap; -} - -img.ProseMirror-separator { - display: inline !important; - border: none !important; - margin: 0 !important; - width: 0 !important; - height: 0 !important; -} - -.ProseMirror-gapcursor { - display: none; - pointer-events: none; - position: absolute; - margin: 0; -} - -.ProseMirror-gapcursor:after { - content: ""; - display: block; - position: absolute; - top: -2px; - width: 20px; - border-top: 1px solid black; - animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite; -} - -@keyframes ProseMirror-cursor-blink { - to { - visibility: hidden; - } -} - -.ProseMirror-hideselection *::selection { - background: transparent; -} - -.ProseMirror-hideselection *::-moz-selection { - background: transparent; -} - -.ProseMirror-hideselection * { - caret-color: transparent; -} - -.ProseMirror-focused .ProseMirror-gapcursor { - display: block; -}`;function v6(t,e,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const s=document.createElement("style");return e&&s.setAttribute("nonce",e),s.setAttribute("data-tiptap-style",""),s.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(s),s}var b6=class extends a6{constructor(t={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:typeof document<"u"?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:r})=>{throw r},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:_8,createMappablePosition:z8},this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:r,slice:s,moved:a})=>this.options.onDrop(r,s,a)),this.on("paste",({event:r,slice:s})=>this.options.onPaste(r,s)),this.on("delete",this.options.onDelete);const e=this.createDoc(),n=XS(e,this.options.autofocus);this.editorState=Ho.create({doc:e,schema:this.schema,selection:n||void 0}),this.options.element&&this.mount(this.options.element)}mount(t){if(typeof document>"u")throw new Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(t),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){const t=this.editorView.dom;t!=null&&t.editor&&delete t.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove=="function"?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(t){console.warn("Failed to remove CSS element:",t)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&typeof document<"u"&&(this.css=v6(y6,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.editorView||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:t=>{this.editorState=t},dispatch:t=>{this.dispatchTransaction(t)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(t,e)=>{if(this.editorView)return this.editorView[e];if(e==="state")return this.editorState;if(e in t)return Reflect.get(t,e);throw new Error(`[tiptap error]: The editor view is not available. Cannot access view['${e}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(t,e){const n=sC(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(t){if(this.isDestroyed)return;const e=this.state.plugins;let n=e;if([].concat(t).forEach(s=>{const a=typeof s=="string"?`${s}$`:s.key;n=n.filter(o=>!o.key.startsWith(a))}),e.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var t,e;const r=[...this.options.enableCoreExtensions?[wC,xC.configure({blockSeparator:(e=(t=this.options.coreExtensionOptions)==null?void 0:t.clipboardTextSerializer)==null?void 0:e.blockSeparator}),yC,jC,kC,CC,bC,SC,vC,EC.configure({direction:this.options.textDirection})].filter(s=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[s.name]!==!1:!0):[],...this.options.extensions].filter(s=>["extension","node","mark"].includes(s==null?void 0:s.type));this.extensionManager=new hf(r,this)}createCommandManager(){this.commandManager=new of({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let t;try{t=Vg(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{"collaboration"in this.storage&&typeof this.storage.collaboration=="object"&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(n=>n.name!=="collaboration"),this.createExtensionManager()}}),t=Vg(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return t}createView(t){const{editorProps:e,enableExtensionDispatchTransaction:n}=this.options,r=e.dispatchTransaction||this.dispatchTransaction.bind(this),s=n?this.extensionManager.dispatchTransaction(r):r,a=e.transformPastedHTML,o=this.extensionManager.transformPastedHTML(a);this.editorView=new GS(t,{...e,attributes:{role:"textbox",...e==null?void 0:e.attributes},dispatchTransaction:s,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});const c=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(c),this.prependClass(),this.injectCSS();const u=this.view.dom;u.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=t;return}t.steps.forEach(h=>{var f;return(f=this.capturedTransaction)==null?void 0:f.step(h)});return}const{state:e,transactions:n}=this.state.applyTransaction(t),r=!this.state.selection.eq(e.selection),s=n.includes(t),a=this.state;if(this.emit("beforeTransaction",{editor:this,transaction:t,nextState:e}),!s)return;this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t,appendedTransactions:n.slice(1)}),r&&this.emit("selectionUpdate",{editor:this,transaction:t});const o=n.findLast(h=>h.getMeta("focus")||h.getMeta("blur")),c=o==null?void 0:o.getMeta("focus"),u=o==null?void 0:o.getMeta("blur");c&&this.emit("focus",{editor:this,event:c.event,transaction:o}),u&&this.emit("blur",{editor:this,event:u.event,transaction:o}),!(t.getMeta("preventUpdate")||!n.some(h=>h.docChanged)||a.doc.eq(e.doc))&&this.emit("update",{editor:this,transaction:t,appendedTransactions:n.slice(1)})}getAttributes(t){return cC(this.state,t)}isActive(t,e){const n=typeof t=="string"?t:null,r=typeof t=="string"?e:t;return O8(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return u0(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e=` - -`,textSerializers:n={}}=t||{};return T8(this.state.doc,{blockSeparator:e,textSerializers:{...lC(this.schema),...n}})}get isEmpty(){return df(this.state.doc)}destroy(){this.emit("destroy"),this.unmount(),this.removeAllListeners()}get isDestroyed(){var t,e;return(e=(t=this.editorView)==null?void 0:t.isDestroyed)!=null?e:!0}$node(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t);return new x6(e,this)}get $doc(){return this.$pos(0)}};function nl(t){return new uf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=pt(t.getAttributes,void 0,r);if(s===!1||s===null)return null;const{tr:a}=e,o=r[r.length-1],c=r[0];if(o){const u=c.search(/\S/),h=n.from+c.indexOf(o),f=h+o.length;if(h0(n.from,n.to,e.doc).filter(y=>y.mark.type.excluded.find(j=>j===t.type&&j!==y.mark.type)).filter(y=>y.to>h).length)return null;fn.from&&a.delete(n.from+u,h);const g=n.from+u+o.length;a.addMark(n.from+u,g,t.type.create(s||{})),a.removeStoredMark(t.type)}},undoable:t.undoable})}function TC(t){return new uf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=pt(t.getAttributes,void 0,r)||{},{tr:a}=e,o=n.from;let c=n.to;const u=t.type.create(s);if(r[1]){const h=r[0].lastIndexOf(r[1]);let f=o+h;f>c?f=c:c=f+r[1].length;const m=r[0][r[0].length-1];a.insertText(m,o+r[0].length-1),a.replaceWith(f,c,u)}else if(r[0]){const h=t.type.isInline?o:o-1;a.insert(h,t.type.create(s)).delete(a.mapping.map(o),a.mapping.map(c))}a.scrollIntoView()},undoable:t.undoable})}function Wg(t){return new uf({find:t.find,handler:({state:e,range:n,match:r})=>{const s=e.doc.resolve(n.from),a=pt(t.getAttributes,void 0,r)||{};if(!s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,a)},undoable:t.undoable})}function rl(t){return new uf({find:t.find,handler:({state:e,range:n,match:r,chain:s})=>{const a=pt(t.getAttributes,void 0,r)||{},o=e.tr.delete(n.from,n.to),u=o.doc.resolve(n.from).blockRange(),h=u&&Hx(u,t.type,a);if(!h)return null;if(o.wrap(u,h),t.keepMarks&&t.editor){const{selection:m,storedMarks:g}=e,{splittableMarks:y}=t.editor.extensionManager,v=g||m.$to.parentOffset&&m.$from.marks();if(v){const j=v.filter(w=>y.includes(w.type.name));o.ensureMarks(j)}}if(t.keepAttributes){const m=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";s().updateAttributes(m,a).run()}const f=o.doc.resolve(n.from-1).nodeBefore;f&&f.type===t.type&&aa(o.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,f))&&o.join(n.from-1)},undoable:t.undoable})}var w6=t=>"touches"in t,N6=class{constructor(t){this.directions=["bottom-left","bottom-right","top-left","top-right"],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:"",wrapper:"",handle:"",resizing:""},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.clientX-this.startX,h=c.clientY-this.startY;this.handleResize(u,h)},this.handleTouchMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.touches[0];if(!u)return;const h=u.clientX-this.startX,f=u.clientY-this.startY;this.handleResize(h,f)},this.handleMouseUp=()=>{if(!this.isResizing)return;const c=this.element.offsetWidth,u=this.element.offsetHeight;this.onCommit(c,u),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)},this.handleKeyDown=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!1)};var e,n,r,s,a,o;this.node=t.node,this.editor=t.editor,this.element=t.element,this.contentElement=t.contentElement,this.getPos=t.getPos,this.onResize=t.onResize,this.onCommit=t.onCommit,this.onUpdate=t.onUpdate,(e=t.options)!=null&&e.min&&(this.minSize={...this.minSize,...t.options.min}),(n=t.options)!=null&&n.max&&(this.maxSize=t.options.max),(r=t==null?void 0:t.options)!=null&&r.directions&&(this.directions=t.options.directions),(s=t.options)!=null&&s.preserveAspectRatio&&(this.preserveAspectRatio=t.options.preserveAspectRatio),(a=t.options)!=null&&a.className&&(this.classNames={container:t.options.className.container||"",wrapper:t.options.className.wrapper||"",handle:t.options.className.handle||"",resizing:t.options.className.resizing||""}),(o=t.options)!=null&&o.createCustomHandle&&(this.createCustomHandle=t.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on("update",this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){var t;return(t=this.contentElement)!=null?t:null}handleEditorUpdate(){const t=this.editor.isEditable;t!==this.lastEditableState&&(this.lastEditableState=t,t?t&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(t,e,n){return t.type!==this.node.type?!1:(this.node=t,this.onUpdate?this.onUpdate(t,e,n):!0)}destroy(){this.isResizing&&(this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off("update",this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){const t=document.createElement("div");return t.dataset.resizeContainer="",t.dataset.node=this.node.type.name,t.style.display="flex",this.classNames.container&&(t.className=this.classNames.container),t.appendChild(this.wrapper),t}createWrapper(){const t=document.createElement("div");return t.style.position="relative",t.style.display="block",t.dataset.resizeWrapper="",this.classNames.wrapper&&(t.className=this.classNames.wrapper),t.appendChild(this.element),t}createHandle(t){const e=document.createElement("div");return e.dataset.resizeHandle=t,e.style.position="absolute",this.classNames.handle&&(e.className=this.classNames.handle),e}positionHandle(t,e){const n=e.includes("top"),r=e.includes("bottom"),s=e.includes("left"),a=e.includes("right");n&&(t.style.top="0"),r&&(t.style.bottom="0"),s&&(t.style.left="0"),a&&(t.style.right="0"),(e==="top"||e==="bottom")&&(t.style.left="0",t.style.right="0"),(e==="left"||e==="right")&&(t.style.top="0",t.style.bottom="0")}attachHandles(){this.directions.forEach(t=>{let e;this.createCustomHandle?e=this.createCustomHandle(t):e=this.createHandle(t),e instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${t}") did not return an HTMLElement. Falling back to default handle.`),e=this.createHandle(t)),this.createCustomHandle||this.positionHandle(e,t),e.addEventListener("mousedown",n=>this.handleResizeStart(n,t)),e.addEventListener("touchstart",n=>this.handleResizeStart(n,t)),this.handleMap.set(t,e),this.wrapper.appendChild(e)})}removeHandles(){this.handleMap.forEach(t=>t.remove()),this.handleMap.clear()}applyInitialSize(){const t=this.node.attrs.width,e=this.node.attrs.height;t?(this.element.style.width=`${t}px`,this.initialWidth=t):this.initialWidth=this.element.offsetWidth,e?(this.element.style.height=`${e}px`,this.initialHeight=e):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(t,e){t.preventDefault(),t.stopPropagation(),this.isResizing=!0,this.activeHandle=e,w6(t)?(this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY):(this.startX=t.clientX,this.startY=t.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState="true",this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}handleResize(t,e){if(!this.activeHandle)return;const n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:s}=this.calculateNewDimensions(this.activeHandle,t,e),a=this.applyConstraints(r,s,n);this.element.style.width=`${a.width}px`,this.element.style.height=`${a.height}px`,this.onResize&&this.onResize(a.width,a.height)}calculateNewDimensions(t,e,n){let r=this.startWidth,s=this.startHeight;const a=t.includes("right"),o=t.includes("left"),c=t.includes("bottom"),u=t.includes("top");return a?r=this.startWidth+e:o&&(r=this.startWidth-e),c?s=this.startHeight+n:u&&(s=this.startHeight-n),(t==="right"||t==="left")&&(r=this.startWidth+(a?e:-e)),(t==="top"||t==="bottom")&&(s=this.startHeight+(c?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,s,t):{width:r,height:s}}applyConstraints(t,e,n){var r,s,a,o;if(!n){let h=Math.max(this.minSize.width,t),f=Math.max(this.minSize.height,e);return(r=this.maxSize)!=null&&r.width&&(h=Math.min(this.maxSize.width,h)),(s=this.maxSize)!=null&&s.height&&(f=Math.min(this.maxSize.height,f)),{width:h,height:f}}let c=t,u=e;return cthis.maxSize.width&&(c=this.maxSize.width,u=c/this.aspectRatio),(o=this.maxSize)!=null&&o.height&&u>this.maxSize.height&&(u=this.maxSize.height,c=u*this.aspectRatio),{width:c,height:u}}applyAspectRatio(t,e,n){const r=n==="left"||n==="right",s=n==="top"||n==="bottom";return r?{width:t,height:t/this.aspectRatio}:s?{width:e*this.aspectRatio,height:e}:{width:t,height:t/this.aspectRatio}}};function j6(t,e){const{selection:n}=t,{$from:r}=n;if(n instanceof Ve){const a=r.index();return r.parent.canReplaceWith(a,a+1,e)}let s=r.depth;for(;s>=0;){const a=r.index(s);if(r.node(s).contentMatchAt(a).matchType(e))return!0;s-=1}return!1}function k6(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}var S6={};o0(S6,{createAtomBlockMarkdownSpec:()=>C6,createBlockMarkdownSpec:()=>E6,createInlineMarkdownSpec:()=>MC,parseAttributes:()=>p0,parseIndentedBlocks:()=>Ug,renderNestedMarkdownContent:()=>g0,serializeAttributes:()=>m0});function p0(t){if(!(t!=null&&t.trim()))return{};const e={},n=[],r=t.replace(/["']([^"']*)["']/g,h=>(n.push(h),`__QUOTED_${n.length-1}__`)),s=r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);if(s){const h=s.map(f=>f.trim().slice(1));e.class=h.join(" ")}const a=r.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);a&&(e.id=a[1]);const o=/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;Array.from(r.matchAll(o)).forEach(([,h,f])=>{var m;const g=parseInt(((m=f.match(/__QUOTED_(\d+)__/))==null?void 0:m[1])||"0",10),y=n[g];y&&(e[h]=y.slice(1,-1))});const u=r.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g,"").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return u&&u.split(/\s+/).filter(Boolean).forEach(f=>{f.match(/^[a-zA-Z][\w-]*$/)&&(e[f]=!0)}),e}function m0(t){if(!t||Object.keys(t).length===0)return"";const e=[];return t.class&&String(t.class).split(/\s+/).filter(Boolean).forEach(r=>e.push(`.${r}`)),t.id&&e.push(`#${t.id}`),Object.entries(t).forEach(([n,r])=>{n==="class"||n==="id"||(r===!0?e.push(n):r!==!1&&r!=null&&e.push(`${n}="${String(r)}"`))}),e.join(" ")}function C6(t){const{nodeName:e,name:n,parseAttributes:r=p0,serializeAttributes:s=m0,defaultAttributes:a={},requiredAttributes:o=[],allowedAttributes:c}=t,u=n||e,h=f=>{if(!c)return f;const m={};return c.forEach(g=>{g in f&&(m[g]=f[g])}),m};return{parseMarkdown:(f,m)=>{const g={...a,...f.attributes};return m.createNode(e,g,[])},markdownTokenizer:{name:e,level:"block",start(f){var m;const g=new RegExp(`^:::${u}(?:\\s|$)`,"m"),y=(m=f.match(g))==null?void 0:m.index;return y!==void 0?y:-1},tokenize(f,m,g){const y=new RegExp(`^:::${u}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),v=f.match(y);if(!v)return;const j=v[1]||"",w=r(j);if(!o.find(E=>!(E in w)))return{type:e,raw:v[0],attributes:w}}},renderMarkdown:f=>{const m=h(f.attrs||{}),g=s(m),y=g?` {${g}}`:"";return`:::${u}${y} :::`}}}function E6(t){const{nodeName:e,name:n,getContent:r,parseAttributes:s=p0,serializeAttributes:a=m0,defaultAttributes:o={},content:c="block",allowedAttributes:u}=t,h=n||e,f=m=>{if(!u)return m;const g={};return u.forEach(y=>{y in m&&(g[y]=m[y])}),g};return{parseMarkdown:(m,g)=>{let y;if(r){const j=r(m);y=typeof j=="string"?[{type:"text",text:j}]:j}else c==="block"?y=g.parseChildren(m.tokens||[]):y=g.parseInline(m.tokens||[]);const v={...o,...m.attributes};return g.createNode(e,v,y)},markdownTokenizer:{name:e,level:"block",start(m){var g;const y=new RegExp(`^:::${h}`,"m"),v=(g=m.match(y))==null?void 0:g.index;return v!==void 0?v:-1},tokenize(m,g,y){var v;const j=new RegExp(`^:::${h}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),w=m.match(j);if(!w)return;const[k,E=""]=w,C=s(E);let M=1;const D=k.length;let F="";const R=/^:::([\w-]*)(\s.*)?/gm,I=m.slice(D);for(R.lastIndex=0;;){const A=R.exec(I);if(A===null)break;const O=A.index,W=A[1];if(!((v=A[2])!=null&&v.endsWith(":::"))){if(W)M+=1;else if(M-=1,M===0){const X=I.slice(0,O);F=X.trim();const q=m.slice(0,D+O+A[0].length);let Z=[];if(F)if(c==="block")for(Z=y.blockTokens(X),Z.forEach(_=>{_.text&&(!_.tokens||_.tokens.length===0)&&(_.tokens=y.inlineTokens(_.text))});Z.length>0;){const _=Z[Z.length-1];if(_.type==="paragraph"&&(!_.text||_.text.trim()===""))Z.pop();else break}else Z=y.inlineTokens(F);return{type:e,raw:q,attributes:C,content:F,tokens:Z}}}}}},renderMarkdown:(m,g)=>{const y=f(m.attrs||{}),v=a(y),j=v?` {${v}}`:"",w=g.renderChildren(m.content||[],` - -`);return`:::${h}${j} - -${w} - -:::`}}}function T6(t){if(!t.trim())return{};const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,s,a,o]=r;e[s]=a||o,r=n.exec(t)}return e}function M6(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}="${n}"`).join(" ")}function MC(t){const{nodeName:e,name:n,getContent:r,parseAttributes:s=T6,serializeAttributes:a=M6,defaultAttributes:o={},selfClosing:c=!1,allowedAttributes:u}=t,h=n||e,f=g=>{if(!u)return g;const y={};return u.forEach(v=>{const j=typeof v=="string"?v:v.name,w=typeof v=="string"?void 0:v.skipIfDefault;if(j in g){const k=g[j];if(w!==void 0&&k===w)return;y[j]=k}}),y},m=h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(g,y)=>{const v={...o,...g.attributes};if(c)return y.createNode(e,v);const j=r?r(g):g.content||"";return j?y.createNode(e,v,[y.createTextNode(j)]):y.createNode(e,v,[])},markdownTokenizer:{name:e,level:"inline",start(g){const y=c?new RegExp(`\\[${m}\\s*[^\\]]*\\]`):new RegExp(`\\[${m}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${m}\\]`),v=g.match(y),j=v==null?void 0:v.index;return j!==void 0?j:-1},tokenize(g,y,v){const j=c?new RegExp(`^\\[${m}\\s*([^\\]]*)\\]`):new RegExp(`^\\[${m}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${m}\\]`),w=g.match(j);if(!w)return;let k="",E="";if(c){const[,M]=w;E=M}else{const[,M,D]=w;E=M,k=D||""}const C=s(E.trim());return{type:e,raw:w[0],content:k.trim(),attributes:C}}},renderMarkdown:g=>{let y="";r?y=r(g):g.content&&g.content.length>0&&(y=g.content.filter(k=>k.type==="text").map(k=>k.text).join(""));const v=f(g.attrs||{}),j=a(v),w=j?` ${j}`:"";return c?`[${h}${w}]`:`[${h}${w}]${y}[/${h}]`}}}function Ug(t,e,n){var r,s,a,o;const c=t.split(` -`),u=[];let h="",f=0;const m=e.baseIndentSize||2;for(;f0)break;if(g.trim()===""){f+=1,h=`${h}${g} -`;continue}else return}const v=e.extractItemData(y),{indentLevel:j,mainContent:w}=v;h=`${h}${g} -`;const k=[w];for(f+=1;fO.trim()!=="");if(R===-1)break;if((((s=(r=c[f+1+R].match(/^(\s*)/))==null?void 0:r[1])==null?void 0:s.length)||0)>j){k.push(D),h=`${h}${D} -`,f+=1;continue}else break}if((((o=(a=D.match(/^(\s*)/))==null?void 0:a[1])==null?void 0:o.length)||0)>j)k.push(D),h=`${h}${D} -`,f+=1;else break}let E;const C=k.slice(1);if(C.length>0){const D=C.map(F=>F.slice(j+m)).join(` -`);D.trim()&&(e.customNestedParser?E=e.customNestedParser(D):E=n.blockTokens(D))}const M=e.createToken(v,E);u.push(M)}if(u.length!==0)return{items:u,raw:h}}function g0(t,e,n,r){if(!t||!Array.isArray(t.content))return"";const s=typeof n=="function"?n(r):n,[a,...o]=t.content,c=e.renderChildren([a]),u=[`${s}${c}`];return o&&o.length>0&&o.forEach(h=>{const f=e.renderChildren([h]);if(f){const m=f.split(` -`).map(g=>g?e.indent(g):"").join(` -`);u.push(m)}}),u.join(` -`)}function A6(t,e,n={}){const{state:r}=e,{doc:s,tr:a}=r,o=t;s.descendants((c,u)=>{const h=a.mapping.map(u),f=a.mapping.map(u)+c.nodeSize;let m=null;if(c.marks.forEach(y=>{if(y!==o)return!1;m=y}),!m)return;let g=!1;if(Object.keys(n).forEach(y=>{n[y]!==m.attrs[y]&&(g=!0)}),g){const y=t.type.create({...t.attrs,...n});a.removeMark(h,f,t.type),a.addMark(h,f,y)}}),a.docChanged&&e.view.dispatch(a)}var fn=class AC extends f0{constructor(){super(...arguments),this.type="node"}static create(e={}){const n=typeof e=="function"?e():e;return new AC(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function qa(t){return new u6({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:s})=>{const a=pt(t.getAttributes,void 0,r,s);if(a===!1||a===null)return null;const{tr:o}=e,c=r[r.length-1],u=r[0];let h=n.to;if(c){const f=u.search(/\S/),m=n.from+u.indexOf(c),g=m+c.length;if(h0(n.from,n.to,e.doc).filter(v=>v.mark.type.excluded.find(w=>w===t.type&&w!==v.mark.type)).filter(v=>v.to>m).length)return null;gn.from&&o.delete(n.from+f,m),h=n.from+f+c.length,o.addMark(n.from+f,h,t.type.create(a||{})),o.removeStoredMark(t.type)}}})}const{getOwnPropertyNames:R6,getOwnPropertySymbols:I6}=Object,{hasOwnProperty:P6}=Object.prototype;function Wm(t,e){return function(r,s,a){return t(r,s,a)&&e(r,s,a)}}function bu(t){return function(n,r,s){if(!n||!r||typeof n!="object"||typeof r!="object")return t(n,r,s);const{cache:a}=s,o=a.get(n),c=a.get(r);if(o&&c)return o===r&&c===n;a.set(n,r),a.set(r,n);const u=t(n,r,s);return a.delete(n),a.delete(r),u}}function O6(t){return t!=null?t[Symbol.toStringTag]:void 0}function lw(t){return R6(t).concat(I6(t))}const D6=Object.hasOwn||((t,e)=>P6.call(t,e));function to(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const L6="__v",_6="__o",z6="_owner",{getOwnPropertyDescriptor:cw,keys:dw}=Object;function $6(t,e){return t.byteLength===e.byteLength&&oh(new Uint8Array(t),new Uint8Array(e))}function F6(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function B6(t,e){return t.byteLength===e.byteLength&&oh(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function V6(t,e){return to(t.getTime(),e.getTime())}function H6(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function W6(t,e){return t===e}function uw(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const s=new Array(r),a=t.entries();let o,c,u=0;for(;(o=a.next())&&!o.done;){const h=e.entries();let f=!1,m=0;for(;(c=h.next())&&!c.done;){if(s[m]){m++;continue}const g=o.value,y=c.value;if(n.equals(g[0],y[0],u,m,t,e,n)&&n.equals(g[1],y[1],g[0],y[0],t,e,n)){f=s[m]=!0;break}m++}if(!f)return!1;u++}return!0}const U6=to;function K6(t,e,n){const r=dw(t);let s=r.length;if(dw(e).length!==s)return!1;for(;s-- >0;)if(!RC(t,e,n,r[s]))return!1;return!0}function Xl(t,e,n){const r=lw(t);let s=r.length;if(lw(e).length!==s)return!1;let a,o,c;for(;s-- >0;)if(a=r[s],!RC(t,e,n,a)||(o=cw(t,a),c=cw(e,a),(o||c)&&(!o||!c||o.configurable!==c.configurable||o.enumerable!==c.enumerable||o.writable!==c.writable)))return!1;return!0}function q6(t,e){return to(t.valueOf(),e.valueOf())}function G6(t,e){return t.source===e.source&&t.flags===e.flags}function hw(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const s=new Array(r),a=t.values();let o,c;for(;(o=a.next())&&!o.done;){const u=e.values();let h=!1,f=0;for(;(c=u.next())&&!c.done;){if(!s[f]&&n.equals(o.value,c.value,o.value,c.value,t,e,n)){h=s[f]=!0;break}f++}if(!h)return!1}return!0}function oh(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function J6(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function RC(t,e,n,r){return(r===z6||r===_6||r===L6)&&(t.$$typeof||e.$$typeof)?!0:D6(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}const Y6="[object ArrayBuffer]",Q6="[object Arguments]",X6="[object Boolean]",Z6="[object DataView]",e_="[object Date]",t_="[object Error]",n_="[object Map]",r_="[object Number]",s_="[object Object]",i_="[object RegExp]",a_="[object Set]",o_="[object String]",l_={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},c_="[object URL]",d_=Object.prototype.toString;function u_({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:s,areFunctionsEqual:a,areMapsEqual:o,areNumbersEqual:c,areObjectsEqual:u,arePrimitiveWrappersEqual:h,areRegExpsEqual:f,areSetsEqual:m,areTypedArraysEqual:g,areUrlsEqual:y,unknownTagComparators:v}){return function(w,k,E){if(w===k)return!0;if(w==null||k==null)return!1;const C=typeof w;if(C!==typeof k)return!1;if(C!=="object")return C==="number"?c(w,k,E):C==="function"?a(w,k,E):!1;const M=w.constructor;if(M!==k.constructor)return!1;if(M===Object)return u(w,k,E);if(Array.isArray(w))return e(w,k,E);if(M===Date)return r(w,k,E);if(M===RegExp)return f(w,k,E);if(M===Map)return o(w,k,E);if(M===Set)return m(w,k,E);const D=d_.call(w);if(D===e_)return r(w,k,E);if(D===i_)return f(w,k,E);if(D===n_)return o(w,k,E);if(D===a_)return m(w,k,E);if(D===s_)return typeof w.then!="function"&&typeof k.then!="function"&&u(w,k,E);if(D===c_)return y(w,k,E);if(D===t_)return s(w,k,E);if(D===Q6)return u(w,k,E);if(l_[D])return g(w,k,E);if(D===Y6)return t(w,k,E);if(D===Z6)return n(w,k,E);if(D===X6||D===r_||D===o_)return h(w,k,E);if(v){let F=v[D];if(!F){const R=O6(w);R&&(F=v[R])}if(F)return F(w,k,E)}return!1}}function h_({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:$6,areArraysEqual:n?Xl:F6,areDataViewsEqual:B6,areDatesEqual:V6,areErrorsEqual:H6,areFunctionsEqual:W6,areMapsEqual:n?Wm(uw,Xl):uw,areNumbersEqual:U6,areObjectsEqual:n?Xl:K6,arePrimitiveWrappersEqual:q6,areRegExpsEqual:G6,areSetsEqual:n?Wm(hw,Xl):hw,areTypedArraysEqual:n?Wm(oh,Xl):oh,areUrlsEqual:J6,unknownTagComparators:void 0};if(e&&(r=Object.assign({},r,e(r))),t){const s=bu(r.areArraysEqual),a=bu(r.areMapsEqual),o=bu(r.areObjectsEqual),c=bu(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:s,areMapsEqual:a,areObjectsEqual:o,areSetsEqual:c})}return r}function f_(t){return function(e,n,r,s,a,o,c){return t(e,n,c)}}function p_({circular:t,comparator:e,createState:n,equals:r,strict:s}){if(n)return function(c,u){const{cache:h=t?new WeakMap:void 0,meta:f}=n();return e(c,u,{cache:h,equals:r,meta:f,strict:s})};if(t)return function(c,u){return e(c,u,{cache:new WeakMap,equals:r,meta:void 0,strict:s})};const a={cache:void 0,equals:r,meta:void 0,strict:s};return function(c,u){return e(c,u,a)}}const m_=la();la({strict:!0});la({circular:!0});la({circular:!0,strict:!0});la({createInternalComparator:()=>to});la({strict:!0,createInternalComparator:()=>to});la({circular:!0,createInternalComparator:()=>to});la({circular:!0,createInternalComparator:()=>to,strict:!0});function la(t={}){const{circular:e=!1,createInternalComparator:n,createState:r,strict:s=!1}=t,a=h_(t),o=u_(a),c=n?n(o):f_(o);return p_({circular:e,comparator:o,createState:r,equals:c,strict:s})}var Um={exports:{}},Km={};/** - * @license React - * use-sync-external-store-shim/with-selector.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var fw;function g_(){if(fw)return Km;fw=1;var t=$c(),e=bk();function n(h,f){return h===f&&(h!==0||1/h===1/f)||h!==h&&f!==f}var r=typeof Object.is=="function"?Object.is:n,s=e.useSyncExternalStore,a=t.useRef,o=t.useEffect,c=t.useMemo,u=t.useDebugValue;return Km.useSyncExternalStoreWithSelector=function(h,f,m,g,y){var v=a(null);if(v.current===null){var j={hasValue:!1,value:null};v.current=j}else j=v.current;v=c(function(){function k(F){if(!E){if(E=!0,C=F,F=g(F),y!==void 0&&j.hasValue){var R=j.value;if(y(R,F))return M=R}return M=F}if(R=M,r(C,F))return R;var I=g(F);return y!==void 0&&y(R,I)?(C=F,R):(C=F,M=I)}var E=!1,C,M,D=m===void 0?null:m;return[function(){return k(f())},D===null?void 0:function(){return k(D())}]},[f,m,g,y]);var w=s(h,v[0],v[1]);return o(function(){j.hasValue=!0,j.value=w},[w]),u(w),w},Km}var pw;function x_(){return pw||(pw=1,Um.exports=g_()),Um.exports}var y_=x_(),v_=(...t)=>e=>{t.forEach(n=>{typeof n=="function"?n(e):n&&(n.current=e)})},b_=({contentComponent:t})=>{const e=wk.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return i.jsx(i.Fragment,{children:Object.values(e)})};function w_(){const t=new Set;let e={};return{subscribe(n){return t.add(n),()=>{t.delete(n)}},getSnapshot(){return e},getServerSnapshot(){return e},setRenderer(n,r){e={...e,[n]:vN.createPortal(r.reactElement,r.element,n)},t.forEach(s=>s())},removeRenderer(n){const r={...e};delete r[n],e=r,t.forEach(s=>s())}}}var N_=class extends Zn.Component{constructor(t){var e;super(t),this.editorContentRef=Zn.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!((e=t.editor)!=null&&e.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var t;const e=this.props.editor;if(e&&!e.isDestroyed&&((t=e.view.dom)!=null&&t.parentNode)){if(e.contentComponent)return;const n=this.editorContentRef.current;n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n}),e.contentComponent=w_(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe(()=>{this.setState(r=>r.hasContentComponentInitialized?r:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){var t;const e=this.props.editor;if(e){this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null;try{if(!((t=e.view.dom)!=null&&t.parentNode))return;const n=document.createElement("div");n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n})}catch{}}}render(){const{editor:t,innerRef:e,...n}=this.props;return i.jsxs(i.Fragment,{children:[i.jsx("div",{ref:v_(e,this.editorContentRef),...n}),(t==null?void 0:t.contentComponent)&&i.jsx(b_,{contentComponent:t.contentComponent})]})}},j_=b.forwardRef((t,e)=>{const n=Zn.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[t.editor]);return Zn.createElement(N_,{key:n,innerRef:e,...t})}),IC=Zn.memo(j_),k_=typeof window<"u"?b.useLayoutEffect:b.useEffect,S_=class{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach(r=>r())},n=this.editor;return n.on("transaction",e),()=>{n.off("transaction",e)}}}};function C_(t){var e;const[n]=b.useState(()=>new S_(t.editor)),r=y_.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,t.selector,(e=t.equalityFn)!=null?e:m_);return k_(()=>n.watch(t.editor),[t.editor,n]),b.useDebugValue(r),r}var E_=!1,Kg=typeof window>"u",T_=Kg||!!(typeof window<"u"&&window.next),M_=class PC{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(n=>n())}getInitialEditor(){return this.options.current.immediatelyRender===void 0?Kg||T_?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){const e={...this.options.current,onBeforeCreate:(...r)=>{var s,a;return(a=(s=this.options.current).onBeforeCreate)==null?void 0:a.call(s,...r)},onBlur:(...r)=>{var s,a;return(a=(s=this.options.current).onBlur)==null?void 0:a.call(s,...r)},onCreate:(...r)=>{var s,a;return(a=(s=this.options.current).onCreate)==null?void 0:a.call(s,...r)},onDestroy:(...r)=>{var s,a;return(a=(s=this.options.current).onDestroy)==null?void 0:a.call(s,...r)},onFocus:(...r)=>{var s,a;return(a=(s=this.options.current).onFocus)==null?void 0:a.call(s,...r)},onSelectionUpdate:(...r)=>{var s,a;return(a=(s=this.options.current).onSelectionUpdate)==null?void 0:a.call(s,...r)},onTransaction:(...r)=>{var s,a;return(a=(s=this.options.current).onTransaction)==null?void 0:a.call(s,...r)},onUpdate:(...r)=>{var s,a;return(a=(s=this.options.current).onUpdate)==null?void 0:a.call(s,...r)},onContentError:(...r)=>{var s,a;return(a=(s=this.options.current).onContentError)==null?void 0:a.call(s,...r)},onDrop:(...r)=>{var s,a;return(a=(s=this.options.current).onDrop)==null?void 0:a.call(s,...r)},onPaste:(...r)=>{var s,a;return(a=(s=this.options.current).onPaste)==null?void 0:a.call(s,...r)},onDelete:(...r)=>{var s,a;return(a=(s=this.options.current).onDelete)==null?void 0:a.call(s,...r)}};return new b6(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,n){return Object.keys(e).every(r=>["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(r)?!0:r==="extensions"&&e.extensions&&n.extensions?e.extensions.length!==n.extensions.length?!1:e.extensions.every((s,a)=>{var o;return s===((o=n.extensions)==null?void 0:o[a])}):e[r]===n[r])}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&e.length===0?PC.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((r,s)=>r===e[s]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,n=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){n&&n.setOptions(this.options.current);return}n&&!n.isDestroyed&&(n.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function A_(t={},e=[]){const n=b.useRef(t);n.current=t;const[r]=b.useState(()=>new M_(n)),s=wk.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return b.useDebugValue(s),b.useEffect(r.onRender(e)),C_({editor:s,selector:({transactionNumber:a})=>t.shouldRerenderOnTransaction===!1||t.shouldRerenderOnTransaction===void 0?null:t.immediatelyRender&&a===0?0:a+1}),s}var OC=b.createContext({editor:null});OC.Consumer;var R_=b.createContext({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),I_=()=>b.useContext(R_);Zn.forwardRef((t,e)=>{const{onDragStart:n}=I_(),r=t.as||"div";return i.jsx(r,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});Zn.createContext({markViewContentRef:()=>{}});var x0=b.createContext({get editor(){throw new Error("useTiptap must be used within a provider")}});x0.displayName="TiptapContext";var P_=()=>b.useContext(x0);function DC({editor:t,instance:e,children:n}){const r=t??e;if(!r)throw new Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");const s=b.useMemo(()=>({editor:r}),[r]),a=b.useMemo(()=>({editor:r}),[r]);return i.jsx(OC.Provider,{value:a,children:i.jsx(x0.Provider,{value:s,children:n})})}DC.displayName="Tiptap";function LC({...t}){const{editor:e}=P_();return i.jsx(IC,{editor:e,...t})}LC.displayName="Tiptap.Content";Object.assign(DC,{Content:LC});var lh=(t,e)=>{if(t==="slot")return 0;if(t instanceof Function)return t(e);const{children:n,...r}=e??{};if(t==="svg")throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[t,r,n]},O_=/^\s*>\s$/,D_=fn.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return lh("blockquote",{...vt(this.options.HTMLAttributes,t),children:lh("slot",{})})},parseMarkdown:(t,e)=>e.createNode("blockquote",void 0,e.parseChildren(t.tokens||[])),renderMarkdown:(t,e)=>{if(!t.content)return"";const n=">",r=[];return t.content.forEach(s=>{const c=e.renderChildren([s]).split(` -`).map(u=>u.trim()===""?n:`${n} ${u}`);r.push(c.join(` -`))}),r.join(` -${n} -`)},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[rl({find:O_,type:this.type})]}}),L_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,__=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,z_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,$_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,F_=eo.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return lh("strong",{...vt(this.options.HTMLAttributes,t),children:lh("slot",{})})},markdownTokenName:"strong",parseMarkdown:(t,e)=>e.applyMark("bold",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`**${e.renderChildren(t)}**`,addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[nl({find:L_,type:this.type}),nl({find:z_,type:this.type})]},addPasteRules(){return[qa({find:__,type:this.type}),qa({find:$_,type:this.type})]}}),B_=/(^|[^`])`([^`]+)`(?!`)$/,V_=/(^|[^`])`([^`]+)`(?!`)/g,H_=eo.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",vt(this.options.HTMLAttributes,t),0]},markdownTokenName:"codespan",parseMarkdown:(t,e)=>e.applyMark("code",[{type:"text",text:t.text||""}]),renderMarkdown:(t,e)=>t.content?`\`${e.renderChildren(t.content)}\``:"",addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[nl({find:B_,type:this.type})]},addPasteRules(){return[qa({find:V_,type:this.type})]}}),qm=4,W_=/^```([a-z]+)?[\s\n]$/,U_=/^~~~([a-z]+)?[\s\n]$/,K_=fn.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:qm,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options;if(!n)return null;const a=[...((e=t.firstElementChild)==null?void 0:e.classList)||[]].filter(o=>o.startsWith(n)).map(o=>o.replace(n,""))[0];return a||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",vt(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(t,e)=>{var n,r;return((n=t.raw)==null?void 0:n.startsWith("```"))===!1&&((r=t.raw)==null?void 0:r.startsWith("~~~"))===!1&&t.codeBlockStyle!=="indented"?[]:e.createNode("codeBlock",{language:t.lang||null},t.text?[e.createTextNode(t.text)]:[])},renderMarkdown:(t,e)=>{var n;let r="";const s=((n=t.attrs)==null?void 0:n.language)||"";return t.content?r=[`\`\`\`${s}`,e.renderChildren(t.content),"```"].join(` -`):r=`\`\`\`${s} - -\`\`\``,r},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=e.pos===1;return!t||e.parent.type.name!==this.name?!1:n||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:qm,{state:r}=t,{selection:s}=r,{$from:a,empty:o}=s;if(a.parent.type!==this.type)return!1;const c=" ".repeat(n);return o?t.commands.insertContent(c):t.commands.command(({tr:u})=>{const{from:h,to:f}=s,y=r.doc.textBetween(h,f,` -`,` -`).split(` -`).map(v=>c+v).join(` -`);return u.replaceWith(h,f,r.schema.text(y)),!0})},"Shift-Tab":({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:qm,{state:r}=t,{selection:s}=r,{$from:a,empty:o}=s;return a.parent.type!==this.type?!1:o?t.commands.command(({tr:c})=>{var u;const{pos:h}=a,f=a.start(),m=a.end(),y=r.doc.textBetween(f,m,` -`,` -`).split(` -`);let v=0,j=0;const w=h-f;for(let F=0;F=w){v=F;break}j+=y[F].length+1}const E=((u=y[v].match(/^ */))==null?void 0:u[0])||"",C=Math.min(E.length,n);if(C===0)return!0;let M=f;for(let F=0;F{const{from:u,to:h}=s,g=r.doc.textBetween(u,h,` -`,` -`).split(` -`).map(y=>{var v;const j=((v=y.match(/^ */))==null?void 0:v[0])||"",w=Math.min(j.length,n);return y.slice(w)}).join(` -`);return c.replaceWith(u,h,r.schema.text(g)),!0})},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=t,{selection:n}=e,{$from:r,empty:s}=n;if(!s||r.parent.type!==this.type)return!1;const a=r.parentOffset===r.parent.nodeSize-2,o=r.parent.textContent.endsWith(` - -`);return!a||!o?!1:t.chain().command(({tr:c})=>(c.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:s,empty:a}=n;if(!a||s.parent.type!==this.type||!(s.parentOffset===s.parent.nodeSize-2))return!1;const c=s.after();return c===void 0?!1:r.nodeAt(c)?t.commands.command(({tr:h})=>(h.setSelection(Ge.near(r.resolve(c))),!0)):t.commands.exitCode()}}},addInputRules(){return[Wg({find:W_,type:this.type,getAttributes:t=>({language:t[1]})}),Wg({find:U_,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Ct({key:new _t("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),s=r?JSON.parse(r):void 0,a=s==null?void 0:s.mode;if(!n||!a)return!1;const{tr:o,schema:c}=t.state,u=c.text(n.replace(/\r\n?/g,` -`));return o.replaceSelectionWith(this.type.create({language:a},u)),o.selection.$from.parent.type!==this.type&&o.setSelection(He.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),t.dispatch(o),!0}}})]}}),q_=fn.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` - -`):""}),G_=fn.create({name:"hardBreak",markdownTokenName:"br",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",vt(this.options.HTMLAttributes,t)]},renderText(){return` -`},renderMarkdown:()=>` -`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:s,storedMarks:a}=n;if(s.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:c}=r.extensionManager,u=a||s.$to.parentOffset&&s.$from.marks();return e().insertContent({type:this.name}).command(({tr:h,dispatch:f})=>{if(f&&u&&o){const m=u.filter(g=>c.includes(g.type.name));h.ensureMarks(m)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),J_=fn.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,vt(this.options.HTMLAttributes,e),0]},parseMarkdown:(t,e)=>e.createNode("heading",{level:t.depth||1},e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>{var n;const r=(n=t.attrs)!=null&&n.level?parseInt(t.attrs.level,10):1,s="#".repeat(r);return t.content?`${s} ${e.renderChildren(t.content)}`:""},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>Wg({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}}),Y_=fn.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{},nextNodeType:"paragraph"}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",vt(this.options.HTMLAttributes,t)]},markdownTokenName:"hr",parseMarkdown:(t,e)=>e.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{if(!j6(e,e.schema.nodes[this.name]))return!1;const{selection:n}=e,{$to:r}=n,s=t();return uC(n)?s.insertContentAt(r.pos,{type:this.name}):s.insertContent({type:this.name}),s.command(({state:a,tr:o,dispatch:c})=>{if(c){const{$to:u}=o.selection,h=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(He.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(Ve.create(o.doc,u.pos)):o.setSelection(He.create(o.doc,u.pos));else{const f=a.schema.nodes[this.options.nextNodeType]||u.parent.type.contentMatch.defaultType,m=f==null?void 0:f.create();m&&(o.insert(h,m),o.setSelection(He.create(o.doc,h+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[TC({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),Q_=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,X_=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,Z_=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,ez=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,tz=eo.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",vt(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(t,e)=>e.applyMark("italic",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`*${e.renderChildren(t)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[nl({find:Q_,type:this.type}),nl({find:Z_,type:this.type})]},addPasteRules(){return[qa({find:X_,type:this.type}),qa({find:ez,type:this.type})]}});const nz="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",rz="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",qg="numeric",Gg="ascii",Jg="alpha",mc="asciinumeric",ac="alphanumeric",Yg="domain",_C="emoji",sz="scheme",iz="slashscheme",Gm="whitespace";function az(t,e){return t in e||(e[t]=[]),e[t]}function Oa(t,e,n){e[qg]&&(e[mc]=!0,e[ac]=!0),e[Gg]&&(e[mc]=!0,e[Jg]=!0),e[mc]&&(e[ac]=!0),e[Jg]&&(e[ac]=!0),e[ac]&&(e[Yg]=!0),e[_C]&&(e[Yg]=!0);for(const r in e){const s=az(r,n);s.indexOf(t)<0&&s.push(t)}}function oz(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function dr(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}dr.groups={};dr.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;rt.ta(e,n,r,s),Wt=(t,e,n,r,s)=>t.tr(e,n,r,s),mw=(t,e,n,r,s)=>t.ts(e,n,r,s),we=(t,e,n,r,s)=>t.tt(e,n,r,s),Vs="WORD",Qg="UWORD",zC="ASCIINUMERICAL",$C="ALPHANUMERICAL",Dc="LOCALHOST",Xg="TLD",Zg="UTLD",Du="SCHEME",_o="SLASH_SCHEME",y0="NUM",ex="WS",v0="NL",gc="OPENBRACE",xc="CLOSEBRACE",ch="OPENBRACKET",dh="CLOSEBRACKET",uh="OPENPAREN",hh="CLOSEPAREN",fh="OPENANGLEBRACKET",ph="CLOSEANGLEBRACKET",mh="FULLWIDTHLEFTPAREN",gh="FULLWIDTHRIGHTPAREN",xh="LEFTCORNERBRACKET",yh="RIGHTCORNERBRACKET",vh="LEFTWHITECORNERBRACKET",bh="RIGHTWHITECORNERBRACKET",wh="FULLWIDTHLESSTHAN",Nh="FULLWIDTHGREATERTHAN",jh="AMPERSAND",kh="APOSTROPHE",Sh="ASTERISK",Oi="AT",Ch="BACKSLASH",Eh="BACKTICK",Th="CARET",_i="COLON",b0="COMMA",Mh="DOLLAR",xs="DOT",Ah="EQUALS",w0="EXCLAMATION",Dr="HYPHEN",yc="PERCENT",Rh="PIPE",Ih="PLUS",Ph="POUND",vc="QUERY",N0="QUOTE",FC="FULLWIDTHMIDDLEDOT",j0="SEMI",ys="SLASH",bc="TILDE",Oh="UNDERSCORE",BC="EMOJI",Dh="SYM";var VC=Object.freeze({__proto__:null,ALPHANUMERICAL:$C,AMPERSAND:jh,APOSTROPHE:kh,ASCIINUMERICAL:zC,ASTERISK:Sh,AT:Oi,BACKSLASH:Ch,BACKTICK:Eh,CARET:Th,CLOSEANGLEBRACKET:ph,CLOSEBRACE:xc,CLOSEBRACKET:dh,CLOSEPAREN:hh,COLON:_i,COMMA:b0,DOLLAR:Mh,DOT:xs,EMOJI:BC,EQUALS:Ah,EXCLAMATION:w0,FULLWIDTHGREATERTHAN:Nh,FULLWIDTHLEFTPAREN:mh,FULLWIDTHLESSTHAN:wh,FULLWIDTHMIDDLEDOT:FC,FULLWIDTHRIGHTPAREN:gh,HYPHEN:Dr,LEFTCORNERBRACKET:xh,LEFTWHITECORNERBRACKET:vh,LOCALHOST:Dc,NL:v0,NUM:y0,OPENANGLEBRACKET:fh,OPENBRACE:gc,OPENBRACKET:ch,OPENPAREN:uh,PERCENT:yc,PIPE:Rh,PLUS:Ih,POUND:Ph,QUERY:vc,QUOTE:N0,RIGHTCORNERBRACKET:yh,RIGHTWHITECORNERBRACKET:bh,SCHEME:Du,SEMI:j0,SLASH:ys,SLASH_SCHEME:_o,SYM:Dh,TILDE:bc,TLD:Xg,UNDERSCORE:Oh,UTLD:Zg,UWORD:Qg,WORD:Vs,WS:ex});const Fs=/[a-z]/,Zl=new RegExp("\\p{L}","u"),Jm=new RegExp("\\p{Emoji}","u"),Bs=/\d/,Ym=/\s/,gw="\r",Qm=` -`,lz="️",cz="‍",Xm="";let wu=null,Nu=null;function dz(t=[]){const e={};dr.groups=e;const n=new dr;wu==null&&(wu=xw(nz)),Nu==null&&(Nu=xw(rz)),we(n,"'",kh),we(n,"{",gc),we(n,"}",xc),we(n,"[",ch),we(n,"]",dh),we(n,"(",uh),we(n,")",hh),we(n,"<",fh),we(n,">",ph),we(n,"(",mh),we(n,")",gh),we(n,"「",xh),we(n,"」",yh),we(n,"『",vh),we(n,"』",bh),we(n,"<",wh),we(n,">",Nh),we(n,"&",jh),we(n,"*",Sh),we(n,"@",Oi),we(n,"`",Eh),we(n,"^",Th),we(n,":",_i),we(n,",",b0),we(n,"$",Mh),we(n,".",xs),we(n,"=",Ah),we(n,"!",w0),we(n,"-",Dr),we(n,"%",yc),we(n,"|",Rh),we(n,"+",Ih),we(n,"#",Ph),we(n,"?",vc),we(n,'"',N0),we(n,"/",ys),we(n,";",j0),we(n,"~",bc),we(n,"_",Oh),we(n,"\\",Ch),we(n,"・",FC);const r=Wt(n,Bs,y0,{[qg]:!0});Wt(r,Bs,r);const s=Wt(r,Fs,zC,{[mc]:!0}),a=Wt(r,Zl,$C,{[ac]:!0}),o=Wt(n,Fs,Vs,{[Gg]:!0});Wt(o,Bs,s),Wt(o,Fs,o),Wt(s,Bs,s),Wt(s,Fs,s);const c=Wt(n,Zl,Qg,{[Jg]:!0});Wt(c,Fs),Wt(c,Bs,a),Wt(c,Zl,c),Wt(a,Bs,a),Wt(a,Fs),Wt(a,Zl,a);const u=we(n,Qm,v0,{[Gm]:!0}),h=we(n,gw,ex,{[Gm]:!0}),f=Wt(n,Ym,ex,{[Gm]:!0});we(n,Xm,f),we(h,Qm,u),we(h,Xm,f),Wt(h,Ym,f),we(f,gw),we(f,Qm),Wt(f,Ym,f),we(f,Xm,f);const m=Wt(n,Jm,BC,{[_C]:!0});we(m,"#"),Wt(m,Jm,m),we(m,lz,m);const g=we(m,cz);we(g,"#"),Wt(g,Jm,m);const y=[[Fs,o],[Bs,s]],v=[[Fs,null],[Zl,c],[Bs,a]];for(let j=0;jj[0]>w[0]?1:-1);for(let j=0;j=0?E[Yg]=!0:Fs.test(w)?Bs.test(w)?E[mc]=!0:E[Gg]=!0:E[qg]=!0,mw(n,w,w,E)}return mw(n,"localhost",Dc,{ascii:!0}),n.jd=new dr(Dh),{start:n,tokens:Object.assign({groups:e},VC)}}function HC(t,e){const n=uz(e.replace(/[A-Z]/g,c=>c.toLowerCase())),r=n.length,s=[];let a=0,o=0;for(;o=0&&(m+=n[o].length,g++),h+=n[o].length,a+=n[o].length,o++;a-=m,o-=g,h-=m,s.push({t:f.t,v:e.slice(a-h,a),s:a-h,e:a})}return s}function uz(t){const e=[],n=t.length;let r=0;for(;r56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?t[r]:t.slice(r,r+2);e.push(o),r+=o.length}return e}function Mi(t,e,n,r,s){let a;const o=e.length;for(let c=0;c=0;)a++;if(a>0){e.push(n.join(""));for(let o=parseInt(t.substring(r,r+a),10);o>0;o--)n.pop();r+=a}else n.push(t[r]),r++}return e}const Lc={defaultProtocol:"http",events:null,format:yw,formatHref:yw,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function k0(t,e=null){let n=Object.assign({},Lc);t&&(n=Object.assign(n,t instanceof k0?t.o:t));const r=n.ignoreTags,s=[];for(let a=0;an?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=Lc.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),s=t.get("tagName",n,e),a=this.toFormattedString(t),o={},c=t.get("className",n,e),u=t.get("target",n,e),h=t.get("rel",n,e),f=t.getObj("attributes",n,e),m=t.getObj("events",n,e);return o.href=r,c&&(o.class=c),u&&(o.target=u),h&&(o.rel=h),f&&Object.assign(o,f),{tagName:s,attributes:o,content:a,eventListeners:m}}};function ff(t,e){class n extends WC{constructor(s,a){super(s,a),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const vw=ff("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),bw=ff("text"),hz=ff("nl"),ju=ff("url",{isLink:!0,toHref(t=Lc.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Dc&&t[1].t===_i}}),Or=t=>new dr(t);function fz({groups:t}){const e=t.domain.concat([jh,Sh,Oi,Ch,Eh,Th,Mh,Ah,Dr,y0,yc,Rh,Ih,Ph,ys,Dh,bc,Oh]),n=[kh,_i,b0,xs,w0,yc,vc,N0,j0,fh,ph,gc,xc,dh,ch,uh,hh,mh,gh,xh,yh,vh,bh,wh,Nh],r=[jh,kh,Sh,Ch,Eh,Th,Mh,Ah,Dr,gc,xc,yc,Rh,Ih,Ph,vc,ys,Dh,bc,Oh],s=Or(),a=we(s,bc);it(a,r,a),it(a,t.domain,a);const o=Or(),c=Or(),u=Or();it(s,t.domain,o),it(s,t.scheme,c),it(s,t.slashscheme,u),it(o,r,a),it(o,t.domain,o);const h=we(o,Oi);we(a,Oi,h),we(c,Oi,h),we(u,Oi,h);const f=we(a,xs);it(f,r,a),it(f,t.domain,a);const m=Or();it(h,t.domain,m),it(m,t.domain,m);const g=we(m,xs);it(g,t.domain,m);const y=Or(vw);it(g,t.tld,y),it(g,t.utld,y),we(h,Dc,y);const v=we(m,Dr);we(v,Dr,v),it(v,t.domain,m),it(y,t.domain,m),we(y,xs,g),we(y,Dr,v);const j=we(y,_i);it(j,t.numeric,vw);const w=we(o,Dr),k=we(o,xs);we(w,Dr,w),it(w,t.domain,o),it(k,r,a),it(k,t.domain,o);const E=Or(ju);it(k,t.tld,E),it(k,t.utld,E),it(E,t.domain,o),it(E,r,a),we(E,xs,k),we(E,Dr,w),we(E,Oi,h);const C=we(E,_i),M=Or(ju);it(C,t.numeric,M);const D=Or(ju),F=Or();it(D,e,D),it(D,n,F),it(F,e,D),it(F,n,F),we(E,ys,D),we(M,ys,D);const R=we(c,_i),I=we(u,_i),A=we(I,ys),O=we(A,ys);it(c,t.domain,o),we(c,xs,k),we(c,Dr,w),it(u,t.domain,o),we(u,xs,k),we(u,Dr,w),it(R,t.domain,D),we(R,ys,D),we(R,vc,D),it(O,t.domain,D),it(O,e,D),we(O,ys,D);const W=[[gc,xc],[ch,dh],[uh,hh],[fh,ph],[mh,gh],[xh,yh],[vh,bh],[wh,Nh]];for(let X=0;X=0&&g++,s++,f++;if(g<0)s-=f,s0&&(a.push(Zm(bw,e,o)),o=[]),s-=g,f-=g;const y=m.t,v=n.slice(s-f,s);a.push(Zm(y,e,v))}}return o.length>0&&a.push(Zm(bw,e,o)),a}function Zm(t,e,n){const r=n[0].s,s=n[n.length-1].e,a=e.slice(r,s);return new t(a,n)}const mz=typeof console<"u"&&console&&console.warn||(()=>{}),gz="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",At={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function xz(){return dr.groups={},At.scanner=null,At.parser=null,At.tokenQueue=[],At.pluginQueue=[],At.customSchemes=[],At.initialized=!1,At}function ww(t,e=!1){if(At.initialized&&mz(`linkifyjs: already initialized - will not register custom scheme "${t}" ${gz}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. -1. Must only contain digits, lowercase ASCII letters or "-" -2. Cannot start or end with "-" -3. "-" cannot repeat`);At.customSchemes.push([t,e])}function yz(){At.scanner=dz(At.customSchemes);for(let t=0;t{const s=e.some(h=>h.docChanged)&&!n.doc.eq(r.doc),a=e.some(h=>h.getMeta("preventAutolink"));if(!s||a)return;const{tr:o}=r,c=nC(n.doc,[...e]);if(dC(c).forEach(({newRange:h})=>{const f=N8(r.doc,h,y=>y.isTextblock);let m,g;if(f.length>1)m=f[0],g=r.doc.textBetween(m.pos,m.pos+m.node.nodeSize,void 0," ");else if(f.length){const y=r.doc.textBetween(h.from,h.to," "," ");if(!bz.test(y))return;m=f[0],g=r.doc.textBetween(m.pos,h.to,void 0," ")}if(m&&g){const y=g.split(vz).filter(Boolean);if(y.length<=0)return!1;const v=y[y.length-1],j=m.pos+g.lastIndexOf(v);if(!v)return!1;const w=S0(v).map(k=>k.toObject(t.defaultProtocol));if(!Nz(w))return!1;w.filter(k=>k.isLink).map(k=>({...k,from:j+k.start+1,to:j+k.end+1})).filter(k=>r.schema.marks.code?!r.doc.rangeHasMark(k.from,k.to,r.schema.marks.code):!0).filter(k=>t.validate(k.value)).filter(k=>t.shouldAutoLink(k.value)).forEach(k=>{h0(k.from,k.to,r.doc).some(E=>E.mark.type===t.type)||o.addMark(k.from,k.to,t.type.create({href:k.href}))})}}),!!o.steps.length)return o}})}function kz(t){return new Ct({key:new _t("handleClickLink"),props:{handleClick:(e,n,r)=>{var s,a;if(r.button!==0||!e.editable)return!1;let o=null;if(r.target instanceof HTMLAnchorElement)o=r.target;else{const u=r.target;if(!u)return!1;const h=t.editor.view.dom;o=u.closest("a"),o&&!h.contains(o)&&(o=null)}if(!o)return!1;let c=!1;if(t.enableClickSelection&&(c=t.editor.commands.extendMarkRange(t.type.name)),t.openOnClick){const u=cC(e.state,t.type.name),h=(s=o.href)!=null?s:u.href,f=(a=o.target)!=null?a:u.target;h&&(window.open(h,f),c=!0)}return c}}})}function Sz(t){return new Ct({key:new _t("handlePasteLink"),props:{handlePaste:(e,n,r)=>{const{shouldAutoLink:s}=t,{state:a}=e,{selection:o}=a,{empty:c}=o;if(c)return!1;let u="";r.content.forEach(f=>{u+=f.textContent});const h=UC(u,{defaultProtocol:t.defaultProtocol}).find(f=>f.isLink&&f.value===u);return!u||!h||s!==void 0&&!s(h.value)?!1:t.editor.commands.setMark(t.type,{href:h.href})}}})}function Ta(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const s=typeof r=="string"?r:r.scheme;s&&n.push(s)}),!t||t.replace(wz,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var KC=eo.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){ww(t);return}ww(t.scheme,t.optionalSlashes)})},onDestroy(){xz()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!Ta(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>{const e=/^[a-z][a-z0-9+.-]*:\/\//i.test(t),n=/^[a-z][a-z0-9+.-]*:/i.test(t);if(e||n&&!t.includes("@"))return!0;const s=(t.includes("@")?t.split("@").pop():t).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(s)||!/\./.test(s))}}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!Ta(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!Ta(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",vt(this.options.HTMLAttributes,t),0]:["a",vt(this.options.HTMLAttributes,{...t,href:""}),0]},markdownTokenName:"link",parseMarkdown:(t,e)=>e.applyMark("link",e.parseInline(t.tokens||[]),{href:t.href,title:t.title||null}),renderMarkdown:(t,e)=>{var n,r,s,a;const o=(r=(n=t.attrs)==null?void 0:n.href)!=null?r:"",c=(a=(s=t.attrs)==null?void 0:s.title)!=null?a:"",u=e.renderChildren(t);return c?`[${u}](${o} "${c}")`:`[${u}](${o})`},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t;return this.options.isAllowedUri(n,{defaultValidate:r=>!!Ta(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,t).setMeta("preventAutolink",!0).run():!1},toggleLink:t=>({chain:e})=>{const{href:n}=t||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:r=>!!Ta(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[qa({find:t=>{const e=[];if(t){const{protocols:n,defaultProtocol:r}=this.options,s=UC(t).filter(a=>a.isLink&&this.options.isAllowedUri(a.value,{defaultValidate:o=>!!Ta(o,n),protocols:n,defaultProtocol:r}));s.length&&s.forEach(a=>{this.options.shouldAutoLink(a.value)&&e.push({text:a.value,data:{href:a.href},index:a.start})})}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)==null?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(jz({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:s=>!!Ta(s,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),t.push(kz({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick==="whenNotEditable"?!0:this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&t.push(Sz({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),t}}),Cz=KC,Ez=Object.defineProperty,Tz=(t,e)=>{for(var n in e)Ez(t,n,{get:e[n],enumerable:!0})},Mz="listItem",Nw="textStyle",jw=/^\s*([-+*])\s$/,qC=fn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",vt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>t.type!=="list"||t.ordered?[]:{type:"bulletList",content:t.items?e.parseChildren(t.items):[]},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Mz,this.editor.getAttributes(Nw)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=rl({find:jw,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=rl({find:jw,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Nw),editor:this.editor})),[t]}}),GC=fn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",vt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list_item",parseMarkdown:(t,e)=>{if(t.type!=="list_item")return[];let n=[];if(t.tokens&&t.tokens.length>0)if(t.tokens.some(s=>s.type==="paragraph"))n=e.parseChildren(t.tokens);else{const s=t.tokens[0];if(s&&s.type==="text"&&s.tokens&&s.tokens.length>0){if(n=[{type:"paragraph",content:e.parseInline(s.tokens)}],t.tokens.length>1){const o=t.tokens.slice(1),c=e.parseChildren(o);n.push(...c)}}else n=e.parseChildren(t.tokens)}return n.length===0&&(n=[{type:"paragraph",content:[]}]),{type:"listItem",content:n}},renderMarkdown:(t,e,n)=>g0(t,e,r=>{var s,a;return r.parentType==="bulletList"?"- ":r.parentType==="orderedList"?`${(((a=(s=r.meta)==null?void 0:s.parentAttrs)==null?void 0:a.start)||1)+r.index}. `:"- "},n),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Az={};Tz(Az,{findListItemPos:()=>qc,getNextListDepth:()=>E0,handleBackspace:()=>tx,handleDelete:()=>nx,hasListBefore:()=>JC,hasListItemAfter:()=>Rz,hasListItemBefore:()=>YC,listItemHasSubList:()=>QC,nextListIsDeeper:()=>XC,nextListIsHigher:()=>ZC});var qc=(t,e)=>{const{$from:n}=e.selection,r=ln(t,e.schema);let s=null,a=n.depth,o=n.pos,c=null;for(;a>0&&c===null;)s=n.node(a),s.type===r?c=a:(a-=1,o-=1);return c===null?null:{$pos:e.doc.resolve(o),depth:c}},E0=(t,e)=>{const n=qc(t,e);if(!n)return!1;const[,r]=I8(e,t,n.$pos.pos+4);return r},JC=(t,e,n)=>{const{$anchor:r}=t.selection,s=Math.max(0,r.pos-2),a=t.doc.resolve(s).node();return!(!a||!n.includes(a.type.name))},YC=(t,e)=>{var n;const{$anchor:r}=e.selection,s=e.doc.resolve(r.pos-2);return!(s.index()===0||((n=s.nodeBefore)==null?void 0:n.type.name)!==t)},QC=(t,e,n)=>{if(!n)return!1;const r=ln(t,e.schema);let s=!1;return n.descendants(a=>{a.type===r&&(s=!0)}),s},tx=(t,e,n)=>{if(t.commands.undoInputRule())return!0;if(t.state.selection.from!==t.state.selection.to)return!1;if(!Zi(t.state,e)&&JC(t.state,e,n)){const{$anchor:c}=t.state.selection,u=t.state.doc.resolve(c.before()-1),h=[];u.node().descendants((g,y)=>{g.type.name===e&&h.push({node:g,pos:y})});const f=h.at(-1);if(!f)return!1;const m=t.state.doc.resolve(u.start()+f.pos+1);return t.chain().cut({from:c.start()-1,to:c.end()+1},m.end()).joinForward().run()}if(!Zi(t.state,e)||!L8(t.state))return!1;const r=qc(e,t.state);if(!r)return!1;const a=t.state.doc.resolve(r.$pos.pos-2).node(r.depth),o=QC(e,t.state,a);return YC(e,t.state)&&!o?t.commands.joinItemBackward():t.chain().liftListItem(e).run()},XC=(t,e)=>{const n=E0(t,e),r=qc(t,e);return!r||!n?!1:n>r.depth},ZC=(t,e)=>{const n=E0(t,e),r=qc(t,e);return!r||!n?!1:n{if(!Zi(t.state,e)||!D8(t.state,e))return!1;const{selection:n}=t.state,{$from:r,$to:s}=n;return!n.empty&&r.sameParent(s)?!1:XC(e,t.state)?t.chain().focus(t.state.selection.from+4).lift(e).joinBackward().run():ZC(e,t.state)?t.chain().joinForward().joinBackward().run():t.commands.joinItemForward()},Rz=(t,e)=>{var n;const{$anchor:r}=e.selection,s=e.doc.resolve(r.pos-r.parentOffset-2);return!(s.index()===s.parent.childCount-1||((n=s.nodeAfter)==null?void 0:n.type.name)!==t)},e2=Gt.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&nx(t,n)&&(e=!0)}),e},"Mod-Delete":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&nx(t,n)&&(e=!0)}),e},Backspace:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&tx(t,n,r)&&(e=!0)}),e},"Mod-Backspace":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&tx(t,n,r)&&(e=!0)}),e}}}}),kw=/^(\s*)(\d+)\.\s+(.*)$/,Iz=/^\s/;function Pz(t){const e=[];let n=0,r=0;for(;ne;)g.push(t[m]),m+=1;if(g.length>0){const y=Math.min(...g.map(j=>j.indent)),v=t2(g,y,n);h.push({type:"list",ordered:!0,start:g[0].number,items:v,raw:g.map(j=>j.raw).join(` -`)})}s.push({type:"list_item",raw:o.raw,tokens:h}),a=m}else a+=1}return s}function Oz(t,e){return t.map(n=>{if(n.type!=="list_item")return e.parseChildren([n])[0];const r=[];return n.tokens&&n.tokens.length>0&&n.tokens.forEach(s=>{if(s.type==="paragraph"||s.type==="list"||s.type==="blockquote"||s.type==="code")r.push(...e.parseChildren([s]));else if(s.type==="text"&&s.tokens){const a=e.parseChildren([s]);r.push({type:"paragraph",content:a})}else{const a=e.parseChildren([s]);a.length>0&&r.push(...a)}}),{type:"listItem",content:r}})}var Dz="listItem",Sw="textStyle",Cw=/^(\d+)\.\s$/,n2=fn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return e===1?["ol",vt(this.options.HTMLAttributes,n),0]:["ol",vt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>{if(t.type!=="list"||!t.ordered)return[];const n=t.start||1,r=t.items?Oz(t.items,e):[];return n!==1?{type:"orderedList",attrs:{start:n},content:r}:{type:"orderedList",content:r}},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):"",markdownTokenizer:{name:"orderedList",level:"block",start:t=>{const e=t.match(/^(\s*)(\d+)\.\s+/),n=e==null?void 0:e.index;return n!==void 0?n:-1},tokenize:(t,e,n)=>{var r;const s=t.split(` -`),[a,o]=Pz(s);if(a.length===0)return;const c=t2(a,0,n);return c.length===0?void 0:{type:"list",ordered:!0,start:((r=a[0])==null?void 0:r.number)||1,items:c,raw:s.slice(0,o).join(` -`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Dz,this.editor.getAttributes(Sw)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=rl({find:Cw,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=rl({find:Cw,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Sw)}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1],editor:this.editor})),[t]}}),Lz=/^\s*(\[([( |x])?\])\s$/,_z=fn.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",vt(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(t,e)=>{const n=[];if(t.tokens&&t.tokens.length>0?n.push(e.createNode("paragraph",{},e.parseInline(t.tokens))):t.text?n.push(e.createNode("paragraph",{},[e.createNode("text",{text:t.text})])):n.push(e.createNode("paragraph",{},[])),t.nestedTokens&&t.nestedTokens.length>0){const r=e.parseChildren(t.nestedTokens);n.push(...r)}return e.createNode("taskItem",{checked:t.checked||!1},n)},renderMarkdown:(t,e)=>{var n;const s=`- [${(n=t.attrs)!=null&&n.checked?"x":" "}] `;return g0(t,e,s)},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:r})=>{const s=document.createElement("li"),a=document.createElement("label"),o=document.createElement("span"),c=document.createElement("input"),u=document.createElement("div"),h=m=>{var g,y;c.ariaLabel=((y=(g=this.options.a11y)==null?void 0:g.checkboxLabel)==null?void 0:y.call(g,m,c.checked))||`Task item checkbox for ${m.textContent||"empty task item"}`};h(t),a.contentEditable="false",c.type="checkbox",c.addEventListener("mousedown",m=>m.preventDefault()),c.addEventListener("change",m=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){c.checked=!c.checked;return}const{checked:g}=m.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:y})=>{const v=n();if(typeof v!="number")return!1;const j=y.doc.nodeAt(v);return y.setNodeMarkup(v,void 0,{...j==null?void 0:j.attrs,checked:g}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,g)||(c.checked=!c.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([m,g])=>{s.setAttribute(m,g)}),s.dataset.checked=t.attrs.checked,c.checked=t.attrs.checked,a.append(c,o),s.append(a,u),Object.entries(e).forEach(([m,g])=>{s.setAttribute(m,g)});let f=new Set(Object.keys(e));return{dom:s,contentDOM:u,update:m=>{if(m.type!==this.type)return!1;s.dataset.checked=m.attrs.checked,c.checked=m.attrs.checked,h(m);const g=r.extensionManager.attributes,y=Oc(m,g),v=new Set(Object.keys(y)),j=this.options.HTMLAttributes;return f.forEach(w=>{v.has(w)||(w in j?s.setAttribute(w,j[w]):s.removeAttribute(w))}),Object.entries(y).forEach(([w,k])=>{k==null?w in j?s.setAttribute(w,j[w]):s.removeAttribute(w):s.setAttribute(w,k)}),f=v,!0}}}},addInputRules(){return[rl({find:Lz,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}}),zz=fn.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",vt(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},parseMarkdown:(t,e)=>e.createNode("taskList",{},e.parseChildren(t.items||[])),renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):"",markdownTokenizer:{name:"taskList",level:"block",start(t){var e;const n=(e=t.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))==null?void 0:e.index;return n!==void 0?n:-1},tokenize(t,e,n){const r=a=>{const o=Ug(a,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:c=>({indentLevel:c[1].length,mainContent:c[4],checked:c[3].toLowerCase()==="x"}),createToken:(c,u)=>({type:"taskItem",raw:"",mainContent:c.mainContent,indentLevel:c.indentLevel,checked:c.checked,text:c.mainContent,tokens:n.inlineTokens(c.mainContent),nestedTokens:u}),customNestedParser:r},n);return o?[{type:"taskList",raw:o.raw,items:o.items}]:n.blockTokens(a)},s=Ug(t,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:a=>({indentLevel:a[1].length,mainContent:a[4],checked:a[3].toLowerCase()==="x"}),createToken:(a,o)=>({type:"taskItem",raw:"",mainContent:a.mainContent,indentLevel:a.indentLevel,checked:a.checked,text:a.mainContent,tokens:n.inlineTokens(a.mainContent),nestedTokens:o}),customNestedParser:r},n);if(s)return{type:"taskList",raw:s.raw,items:s.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});Gt.create({name:"listKit",addExtensions(){const t=[];return this.options.bulletList!==!1&&t.push(qC.configure(this.options.bulletList)),this.options.listItem!==!1&&t.push(GC.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(e2.configure(this.options.listKeymap)),this.options.orderedList!==!1&&t.push(n2.configure(this.options.orderedList)),this.options.taskItem!==!1&&t.push(_z.configure(this.options.taskItem)),this.options.taskList!==!1&&t.push(zz.configure(this.options.taskList)),t}});var Ew=" ",$z=" ",Fz=fn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",vt(this.options.HTMLAttributes,t),0]},parseMarkdown:(t,e)=>{const n=t.tokens||[];if(n.length===1&&n[0].type==="image")return e.parseChildren([n[0]]);const r=e.parseInline(n);return r.length===1&&r[0].type==="text"&&(r[0].text===Ew||r[0].text===$z)?e.createNode("paragraph",void 0,[]):e.createNode("paragraph",void 0,r)},renderMarkdown:(t,e)=>{if(!t)return"";const n=Array.isArray(t.content)?t.content:[];return n.length===0?Ew:e.renderChildren(n)},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Bz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,Vz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,Hz=eo.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",vt(this.options.HTMLAttributes,t),0]},markdownTokenName:"del",parseMarkdown:(t,e)=>e.applyMark("strike",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`~~${e.renderChildren(t)}~~`,addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[nl({find:Bz,type:this.type})]},addPasteRules(){return[qa({find:Vz,type:this.type})]}}),Wz=fn.create({name:"text",group:"inline",parseMarkdown:t=>({type:"text",text:t.text||""}),renderMarkdown:t=>t.text||""}),Uz=eo.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",vt(this.options.HTMLAttributes,t),0]},parseMarkdown(t,e){return e.applyMark(this.name||"underline",e.parseInline(t.tokens||[]))},renderMarkdown(t,e){return`++${e.renderChildren(t)}++`},markdownTokenizer:{name:"underline",level:"inline",start(t){return t.indexOf("++")},tokenize(t,e,n){const s=/^(\+\+)([\s\S]+?)(\+\+)/.exec(t);if(!s)return;const a=s[2].trim();return{type:"underline",raw:s[0],text:a,tokens:n.inlineTokens(a)}}},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function Kz(t={}){return new Ct({view(e){return new qz(e,t)}})}class qz{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(s=>{let a=o=>{this[s](o)};return e.dom.addEventListener(s,a),{name:s,handler:a}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r,s=this.editorView.dom,a=s.getBoundingClientRect(),o=a.width/s.offsetWidth,c=a.height/s.offsetHeight;if(n){let m=e.nodeBefore,g=e.nodeAfter;if(m||g){let y=this.editorView.nodeDOM(this.cursorPos-(m?m.nodeSize:0));if(y){let v=y.getBoundingClientRect(),j=m?v.bottom:v.top;m&&g&&(j=(j+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let w=this.width/2*c;r={left:v.left,right:v.right,top:j-w,bottom:j+w}}}}if(!r){let m=this.editorView.coordsAtPos(this.cursorPos),g=this.width/2*o;r={left:m.left-g,right:m.left+g,top:m.top,bottom:m.bottom}}let u=this.editorView.dom.offsetParent;this.element||(this.element=u.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let h,f;if(!u||u==document.body&&getComputedStyle(u).position=="static")h=-pageXOffset,f=-pageYOffset;else{let m=u.getBoundingClientRect(),g=m.width/u.offsetWidth,y=m.height/u.offsetHeight;h=m.left-u.scrollLeft*g,f=m.top-u.scrollTop*y}this.element.style.left=(r.left-h)/o+"px",this.element.style.top=(r.top-f)/c+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/c+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),s=r&&r.type.spec.disableDropCursor,a=typeof s=="function"?s(this.editorView,n,e):s;if(n&&!a){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let c=Gk(this.editorView.state.doc,o,this.editorView.dragging.slice);c!=null&&(o=c)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class Kt extends Ge{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return Kt.valid(r)?new Kt(r):Ge.near(r)}content(){return Me.empty}eq(e){return e instanceof Kt&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Kt(e.resolve(n.pos))}getBookmark(){return new T0(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!Gz(e)||!Jz(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let s=n.contentMatchAt(e.index()).defaultType;return s&&s.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&Kt.valid(e))return e;let s=e.pos,a=null;for(let o=e.depth;;o--){let c=e.node(o);if(n>0?e.indexAfter(o)0){a=c.child(n>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;s+=n;let u=e.doc.resolve(s);if(Kt.valid(u))return u}for(;;){let o=n>0?a.firstChild:a.lastChild;if(!o){if(a.isAtom&&!a.isText&&!Ve.isSelectable(a)){e=e.doc.resolve(s+a.nodeSize*n),r=!1;continue e}break}a=o,s+=n;let c=e.doc.resolve(s);if(Kt.valid(c))return c}return null}}}Kt.prototype.visible=!1;Kt.findFrom=Kt.findGapCursorFrom;Ge.jsonID("gapcursor",Kt);class T0{constructor(e){this.pos=e}map(e){return new T0(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return Kt.valid(n)?new Kt(n):Ge.near(n)}}function r2(t){return t.isAtom||t.spec.isolating||t.spec.createGapCursor}function Gz(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let s=r.child(n-1);;s=s.lastChild){if(s.childCount==0&&!s.inlineContent||r2(s.type))return!0;if(s.inlineContent)return!1}}return!0}function Jz(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let s=r.child(n);;s=s.firstChild){if(s.childCount==0&&!s.inlineContent||r2(s.type))return!0;if(s.inlineContent)return!1}}return!0}function Yz(){return new Ct({props:{decorations:e7,createSelectionBetween(t,e,n){return e.pos==n.pos&&Kt.valid(n)?new Kt(n):null},handleClick:Xz,handleKeyDown:Qz,handleDOMEvents:{beforeinput:Zz}}})}const Qz=a0({ArrowLeft:ku("horiz",-1),ArrowRight:ku("horiz",1),ArrowUp:ku("vert",-1),ArrowDown:ku("vert",1)});function ku(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,s,a){let o=r.selection,c=e>0?o.$to:o.$from,u=o.empty;if(o instanceof He){if(!a.endOfTextblock(n)||c.depth==0)return!1;u=!1,c=r.doc.resolve(e>0?c.after():c.before())}let h=Kt.findGapCursorFrom(c,e,u);return h?(s&&s(r.tr.setSelection(new Kt(h))),!0):!1}}function Xz(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!Kt.valid(r))return!1;let s=t.posAtCoords({left:n.clientX,top:n.clientY});return s&&s.inside>-1&&Ve.isSelectable(t.state.doc.nodeAt(s.inside))?!1:(t.dispatch(t.state.tr.setSelection(new Kt(r))),!0)}function Zz(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof Kt))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let s=pe.empty;for(let o=r.length-1;o>=0;o--)s=pe.from(r[o].createAndFill(null,s));let a=t.state.tr.replace(n.pos,n.pos,new Me(s,0,0));return a.setSelection(He.near(a.doc.resolve(n.pos+1))),t.dispatch(a),!1}function e7(t){if(!(t.selection instanceof Kt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",wt.create(t.doc,[hn.widget(t.selection.head,e,{key:"gapcursor"})])}var Lh=200,kn=function(){};kn.prototype.append=function(e){return e.length?(e=kn.from(e),!this.length&&e||e.length=n?kn.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};kn.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};kn.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};kn.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var s=[];return this.forEach(function(a,o){return s.push(e(a,o))},n,r),s};kn.from=function(e){return e instanceof kn?e:e&&e.length?new s2(e):kn.empty};var s2=(function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(s,a){return s==0&&a==this.length?this:new e(this.values.slice(s,a))},e.prototype.getInner=function(s){return this.values[s]},e.prototype.forEachInner=function(s,a,o,c){for(var u=a;u=o;u--)if(s(this.values[u],c+u)===!1)return!1},e.prototype.leafAppend=function(s){if(this.length+s.length<=Lh)return new e(this.values.concat(s.flatten()))},e.prototype.leafPrepend=function(s){if(this.length+s.length<=Lh)return new e(s.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e})(kn);kn.empty=new s2([]);var t7=(function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rc&&this.right.forEachInner(r,Math.max(s-c,0),Math.min(this.length,a)-c,o+c)===!1)return!1},e.prototype.forEachInvertedInner=function(r,s,a,o){var c=this.left.length;if(s>c&&this.right.forEachInvertedInner(r,s-c,Math.max(a,c)-c,o+c)===!1||a=a?this.right.slice(r-a,s-a):this.left.slice(r,a).append(this.right.slice(0,s-a))},e.prototype.leafAppend=function(r){var s=this.right.leafAppend(r);if(s)return new e(this.left,s)},e.prototype.leafPrepend=function(r){var s=this.left.leafPrepend(r);if(s)return new e(s,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e})(kn);const n7=500;class Qr{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let s,a;n&&(s=this.remapping(r,this.items.length),a=s.maps.length);let o=e.tr,c,u,h=[],f=[];return this.items.forEach((m,g)=>{if(!m.step){s||(s=this.remapping(r,g+1),a=s.maps.length),a--,f.push(m);return}if(s){f.push(new Ai(m.map));let y=m.step.map(s.slice(a)),v;y&&o.maybeStep(y).doc&&(v=o.mapping.maps[o.mapping.maps.length-1],h.push(new Ai(v,void 0,void 0,h.length+f.length))),a--,v&&s.appendMap(v,a)}else o.maybeStep(m.step);if(m.selection)return c=s?m.selection.map(s.slice(a)):m.selection,u=new Qr(this.items.slice(0,r).append(f.reverse().concat(h)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:o,selection:c}}addTransform(e,n,r,s){let a=[],o=this.eventCount,c=this.items,u=!s&&c.length?c.get(c.length-1):null;for(let f=0;fs7&&(c=r7(c,h),o-=h),new Qr(c.append(a),o)}remapping(e,n){let r=new Tc;return this.items.forEach((s,a)=>{let o=s.mirrorOffset!=null&&a-s.mirrorOffset>=e?r.maps.length-s.mirrorOffset:void 0;r.appendMap(s.map,o)},e,n),r}addMaps(e){return this.eventCount==0?this:new Qr(this.items.append(e.map(n=>new Ai(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],s=Math.max(0,this.items.length-n),a=e.mapping,o=e.steps.length,c=this.eventCount;this.items.forEach(g=>{g.selection&&c--},s);let u=n;this.items.forEach(g=>{let y=a.getMirror(--u);if(y==null)return;o=Math.min(o,y);let v=a.maps[y];if(g.step){let j=e.steps[y].invert(e.docs[y]),w=g.selection&&g.selection.map(a.slice(u+1,y));w&&c++,r.push(new Ai(v,j,w))}else r.push(new Ai(v))},s);let h=[];for(let g=n;gn7&&(m=m.compress(this.items.length-r.length)),m}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,s=[],a=0;return this.items.forEach((o,c)=>{if(c>=e)s.push(o),o.selection&&a++;else if(o.step){let u=o.step.map(n.slice(r)),h=u&&u.getMap();if(r--,h&&n.appendMap(h,r),u){let f=o.selection&&o.selection.map(n.slice(r));f&&a++;let m=new Ai(h.invert(),u,f),g,y=s.length-1;(g=s.length&&s[y].merge(m))?s[y]=g:s.push(m)}}else o.map&&r--},this.items.length,0),new Qr(kn.from(s.reverse()),a)}}Qr.empty=new Qr(kn.empty,0);function r7(t,e){let n;return t.forEach((r,s)=>{if(r.selection&&e--==0)return n=s,!1}),t.slice(n)}let Ai=class i2{constructor(e,n,r,s){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=s}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new i2(n.getMap().invert(),n,this.selection)}}};class Di{constructor(e,n,r,s,a){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=s,this.prevComposition=a}}const s7=20;function i7(t,e,n,r){let s=n.getMeta(Fa),a;if(s)return s.historyState;n.getMeta(l7)&&(t=new Di(t.done,t.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(o&&o.getMeta(Fa))return o.getMeta(Fa).redo?new Di(t.done.addTransform(n,void 0,r,Lu(e)),t.undone,Tw(n.mapping.maps),t.prevTime,t.prevComposition):new Di(t.done,t.undone.addTransform(n,void 0,r,Lu(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let c=n.getMeta("composition"),u=t.prevTime==0||!o&&t.prevComposition!=c&&(t.prevTime<(n.time||0)-r.newGroupDelay||!a7(n,t.prevRanges)),h=o?eg(t.prevRanges,n.mapping):Tw(n.mapping.maps);return new Di(t.done.addTransform(n,u?e.selection.getBookmark():void 0,r,Lu(e)),Qr.empty,h,n.time,c??t.prevComposition)}else return(a=n.getMeta("rebased"))?new Di(t.done.rebased(n,a),t.undone.rebased(n,a),eg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new Di(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),eg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function a7(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,s)=>{for(let a=0;a=e[a]&&(n=!0)}),n}function Tw(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,s,a,o)=>e.push(a,o));return e}function eg(t,e){if(!t)return null;let n=[];for(let r=0;r{let s=Fa.getState(n);if(!s||(t?s.undone:s.done).eventCount==0)return!1;if(r){let a=o7(s,n,t);a&&r(e?a.scrollIntoView():a)}return!0}}const o2=a2(!1,!0),l2=a2(!0,!0);Gt.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc;if(((t==null?void 0:t.mode)||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Ct({key:new _t("characterCount"),appendTransaction:(e,n,r)=>{if(t)return;const s=this.options.limit;if(s==null||s===0){t=!0;return}const a=this.storage.characters({node:r.doc});if(a>s){const o=a-s,c=0,u=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${s} characters. Content was automatically trimmed.`);const h=r.tr.deleteRange(c,u);return t=!0,h}t=!0},filterTransaction:(e,n)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const s=this.storage.characters({node:n.doc}),a=this.storage.characters({node:e.doc});if(a<=r||s>r&&a>r&&a<=s)return!0;if(s>r&&a>r&&a>s||!e.getMeta("paste"))return!1;const c=e.selection.$head.pos,u=a-r,h=c-u,f=c;return e.deleteRange(h,f),!(this.storage.characters({node:e.doc})>r)}})]}});var d7=Gt.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[Kz(this.options)]}});Gt.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new Ct({key:new _t("focus"),props:{decorations:({doc:t,selection:e})=>{const{isEditable:n,isFocused:r}=this.editor,{anchor:s}=e,a=[];if(!n||!r)return wt.create(t,[]);let o=0;this.options.mode==="deepest"&&t.descendants((u,h)=>{if(u.isText)return;if(!(s>=h&&s<=h+u.nodeSize-1))return!1;o+=1});let c=0;return t.descendants((u,h)=>{if(u.isText||!(s>=h&&s<=h+u.nodeSize-1))return!1;if(c+=1,this.options.mode==="deepest"&&o-c>0||this.options.mode==="shallowest"&&c>1)return this.options.mode==="deepest";a.push(hn.node(h,h+u.nodeSize,{class:this.options.className}))}),wt.create(t,a)}}})]}});var u7=Gt.create({name:"gapCursor",addProseMirrorPlugins(){return[Yz()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=pt($e(t,"allowGapCursor",n)))!=null?e:null}}}),Aw="placeholder";function h7(t){return t.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}var f7=Gt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:Aw,placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){const t=this.options.dataAttribute?`data-${h7(this.options.dataAttribute)}`:`data-${Aw}`;return[new Ct({key:new _t("placeholder"),props:{decorations:({doc:e,selection:n})=>{const r=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:s}=n,a=[];if(!r)return null;const o=this.editor.isEmpty;return e.descendants((c,u)=>{const h=s>=u&&s<=u+c.nodeSize,f=!c.isLeaf&&df(c);if((h||!this.options.showOnlyCurrent)&&f){const m=[this.options.emptyNodeClass];o&&m.push(this.options.emptyEditorClass);const g=hn.node(u,u+c.nodeSize,{class:m.join(" "),[t]:typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:c,pos:u,hasAnchor:h}):this.options.placeholder});a.push(g)}return this.options.includeChildren}),wt.create(e,a)}}})]}});Gt.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:t,options:e}=this;return[new Ct({key:new _t("selection"),props:{decorations(n){return n.selection.empty||t.isFocused||!t.isEditable||uC(n.selection)||t.view.dragging?null:wt.create(n.doc,[hn.inline(n.selection.from,n.selection.to,{class:e.className})])}}})]}});function Rw({types:t,node:e}){return e&&Array.isArray(t)&&t.includes(e.type)||(e==null?void 0:e.type)===t}var p7=Gt.create({name:"trailingNode",addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){var t;const e=new _t(this.name),n=this.options.node||((t=this.editor.schema.topNodeType.contentMatch.defaultType)==null?void 0:t.name)||"paragraph",r=Object.entries(this.editor.schema.nodes).map(([,s])=>s).filter(s=>(this.options.notAfter||[]).concat(n).includes(s.name));return[new Ct({key:e,appendTransaction:(s,a,o)=>{const{doc:c,tr:u,schema:h}=o,f=e.getState(o),m=c.content.size,g=h.nodes[n];if(f)return u.insert(m,g.create())},state:{init:(s,a)=>{const o=a.tr.doc.lastChild;return!Rw({node:o,types:r})},apply:(s,a)=>{if(!s.docChanged||s.getMeta("__uniqueIDTransaction"))return a;const o=s.doc.lastChild;return!Rw({node:o,types:r})}}})]}}),m7=Gt.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>o2(t,e),redo:()=>({state:t,dispatch:e})=>l2(t,e)}},addProseMirrorPlugins(){return[c7(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),g7=Gt.create({name:"starterKit",addExtensions(){var t,e,n,r;const s=[];return this.options.bold!==!1&&s.push(F_.configure(this.options.bold)),this.options.blockquote!==!1&&s.push(D_.configure(this.options.blockquote)),this.options.bulletList!==!1&&s.push(qC.configure(this.options.bulletList)),this.options.code!==!1&&s.push(H_.configure(this.options.code)),this.options.codeBlock!==!1&&s.push(K_.configure(this.options.codeBlock)),this.options.document!==!1&&s.push(q_.configure(this.options.document)),this.options.dropcursor!==!1&&s.push(d7.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&s.push(u7.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&s.push(G_.configure(this.options.hardBreak)),this.options.heading!==!1&&s.push(J_.configure(this.options.heading)),this.options.undoRedo!==!1&&s.push(m7.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&s.push(Y_.configure(this.options.horizontalRule)),this.options.italic!==!1&&s.push(tz.configure(this.options.italic)),this.options.listItem!==!1&&s.push(GC.configure(this.options.listItem)),this.options.listKeymap!==!1&&s.push(e2.configure((t=this.options)==null?void 0:t.listKeymap)),this.options.link!==!1&&s.push(KC.configure((e=this.options)==null?void 0:e.link)),this.options.orderedList!==!1&&s.push(n2.configure(this.options.orderedList)),this.options.paragraph!==!1&&s.push(Fz.configure(this.options.paragraph)),this.options.strike!==!1&&s.push(Hz.configure(this.options.strike)),this.options.text!==!1&&s.push(Wz.configure(this.options.text)),this.options.underline!==!1&&s.push(Uz.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&s.push(p7.configure((r=this.options)==null?void 0:r.trailingNode)),s}}),x7=g7,y7=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,v7=fn.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{},resize:!1}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",vt(this.options.HTMLAttributes,t)]},parseMarkdown:(t,e)=>e.createNode("image",{src:t.href,title:t.title,alt:t.text}),renderMarkdown:t=>{var e,n,r,s,a,o;const c=(n=(e=t.attrs)==null?void 0:e.src)!=null?n:"",u=(s=(r=t.attrs)==null?void 0:r.alt)!=null?s:"",h=(o=(a=t.attrs)==null?void 0:a.title)!=null?o:"";return h?`![${u}](${c} "${h}")`:`![${u}](${c})`},addNodeView(){if(!this.options.resize||!this.options.resize.enabled||typeof document>"u")return null;const{directions:t,minWidth:e,minHeight:n,alwaysPreserveAspectRatio:r}=this.options.resize;return({node:s,getPos:a,HTMLAttributes:o,editor:c})=>{const u=document.createElement("img");Object.entries(o).forEach(([m,g])=>{if(g!=null)switch(m){case"width":case"height":break;default:u.setAttribute(m,g);break}}),u.src=o.src;const h=new N6({element:u,editor:c,node:s,getPos:a,onResize:(m,g)=>{u.style.width=`${m}px`,u.style.height=`${g}px`},onCommit:(m,g)=>{const y=a();y!==void 0&&this.editor.chain().setNodeSelection(y).updateAttributes(this.name,{width:m,height:g}).run()},onUpdate:(m,g,y)=>m.type===s.type,options:{directions:t,min:{width:e,height:n},preserveAspectRatio:r===!0}}),f=h.dom;return f.style.visibility="hidden",f.style.pointerEvents="none",u.onload=()=>{f.style.visibility="",f.style.pointerEvents=""},h}},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[TC({find:y7,type:this.type,getAttributes:t=>{const[,,e,n,r]=t;return{src:n,alt:e,title:r}}})]}}),b7=v7;function w7(t){var e;const{char:n,allowSpaces:r,allowToIncludeChar:s,allowedPrefixes:a,startOfLine:o,$position:c}=t,u=r&&!s,h=k6(n),f=new RegExp(`\\s${h}$`),m=o?"^":"",g=s?"":h,y=u?new RegExp(`${m}${h}.*?(?=\\s${g}|$)`,"gm"):new RegExp(`${m}(?:^)?${h}[^\\s${g}]*`,"gm"),v=((e=c.nodeBefore)==null?void 0:e.isText)&&c.nodeBefore.text;if(!v)return null;const j=c.pos-v.length,w=Array.from(v.matchAll(y)).pop();if(!w||w.input===void 0||w.index===void 0)return null;const k=w.input.slice(Math.max(0,w.index-1),w.index),E=new RegExp(`^[${a==null?void 0:a.join("")}\0]?$`).test(k);if(a!==null&&!E)return null;const C=j+w.index;let M=C+w[0].length;return u&&f.test(v.slice(M-1,M+1))&&(w[0]+=" ",M+=1),C=c.pos?{range:{from:C,to:M},query:w[0].slice(n.length),text:w[0]}:null}var N7=new _t("suggestion");function j7({pluginKey:t=N7,editor:e,char:n="@",allowSpaces:r=!1,allowToIncludeChar:s=!1,allowedPrefixes:a=[" "],startOfLine:o=!1,decorationTag:c="span",decorationClass:u="suggestion",decorationContent:h="",decorationEmptyClass:f="is-empty",command:m=()=>null,items:g=()=>[],render:y=()=>({}),allow:v=()=>!0,findSuggestionMatch:j=w7,shouldShow:w}){let k;const E=y==null?void 0:y(),C=()=>{const R=e.state.selection.$anchor.pos,I=e.view.coordsAtPos(R),{top:A,right:O,bottom:W,left:X}=I;try{return new DOMRect(X,A,O-X,W-A)}catch{return null}},M=(R,I)=>I?()=>{const A=t.getState(e.state),O=A==null?void 0:A.decorationId,W=R.dom.querySelector(`[data-decoration-id="${O}"]`);return(W==null?void 0:W.getBoundingClientRect())||null}:C;function D(R,I){var A;try{const W=t.getState(R.state),X=W!=null&&W.decorationId?R.dom.querySelector(`[data-decoration-id="${W.decorationId}"]`):null,q={editor:e,range:(W==null?void 0:W.range)||{from:0,to:0},query:(W==null?void 0:W.query)||null,text:(W==null?void 0:W.text)||null,items:[],command:Z=>m({editor:e,range:(W==null?void 0:W.range)||{from:0,to:0},props:Z}),decorationNode:X,clientRect:M(R,X)};(A=E==null?void 0:E.onExit)==null||A.call(E,q)}catch{}const O=R.state.tr.setMeta(I,{exit:!0});R.dispatch(O)}const F=new Ct({key:t,view(){return{update:async(R,I)=>{var A,O,W,X,q,Z,_;const $=(A=this.key)==null?void 0:A.getState(I),oe=(O=this.key)==null?void 0:O.getState(R.state),V=$.active&&oe.active&&$.range.from!==oe.range.from,ae=!$.active&&oe.active,Y=$.active&&!oe.active,L=!ae&&!Y&&$.query!==oe.query,H=ae||V&&L,ue=L||V,U=Y||V&&L;if(!H&&!ue&&!U)return;const he=U&&!H?$:oe,Q=R.dom.querySelector(`[data-decoration-id="${he.decorationId}"]`);k={editor:e,range:he.range,query:he.query,text:he.text,items:[],command:ee=>m({editor:e,range:he.range,props:ee}),decorationNode:Q,clientRect:M(R,Q)},H&&((W=E==null?void 0:E.onBeforeStart)==null||W.call(E,k)),ue&&((X=E==null?void 0:E.onBeforeUpdate)==null||X.call(E,k)),(ue||H)&&(k.items=await g({editor:e,query:he.query})),U&&((q=E==null?void 0:E.onExit)==null||q.call(E,k)),ue&&((Z=E==null?void 0:E.onUpdate)==null||Z.call(E,k)),H&&((_=E==null?void 0:E.onStart)==null||_.call(E,k))},destroy:()=>{var R;k&&((R=E==null?void 0:E.onExit)==null||R.call(E,k))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(R,I,A,O){const{isEditable:W}=e,{composing:X}=e.view,{selection:q}=R,{empty:Z,from:_}=q,$={...I},oe=R.getMeta(t);if(oe&&oe.exit)return $.active=!1,$.decorationId=null,$.range={from:0,to:0},$.query=null,$.text=null,$;if($.composing=X,W&&(Z||e.view.composing)){(_I.range.to)&&!X&&!I.composing&&($.active=!1);const V=j({char:n,allowSpaces:r,allowToIncludeChar:s,allowedPrefixes:a,startOfLine:o,$position:q.$from}),ae=`id_${Math.floor(Math.random()*4294967295)}`;V&&v({editor:e,state:O,range:V.range,isActive:I.active})&&(!w||w({editor:e,range:V.range,query:V.query,text:V.text,transaction:R}))?($.active=!0,$.decorationId=I.decorationId?I.decorationId:ae,$.range=V.range,$.query=V.query,$.text=V.text):$.active=!1}else $.active=!1;return $.active||($.decorationId=null,$.range={from:0,to:0},$.query=null,$.text=null),$}},props:{handleKeyDown(R,I){var A,O,W,X;const{active:q,range:Z}=F.getState(R.state);if(!q)return!1;if(I.key==="Escape"||I.key==="Esc"){const $=F.getState(R.state),oe=(A=k==null?void 0:k.decorationNode)!=null?A:null,V=oe??($!=null&&$.decorationId?R.dom.querySelector(`[data-decoration-id="${$.decorationId}"]`):null);if(((O=E==null?void 0:E.onKeyDown)==null?void 0:O.call(E,{view:R,event:I,range:$.range}))||!1)return!0;const Y={editor:e,range:$.range,query:$.query,text:$.text,items:[],command:L=>m({editor:e,range:$.range,props:L}),decorationNode:V,clientRect:V?()=>V.getBoundingClientRect()||null:null};return(W=E==null?void 0:E.onExit)==null||W.call(E,Y),D(R,t),!0}return((X=E==null?void 0:E.onKeyDown)==null?void 0:X.call(E,{view:R,event:I,range:Z}))||!1},decorations(R){const{active:I,range:A,decorationId:O,query:W}=F.getState(R);if(!I)return null;const X=!(W!=null&&W.length),q=[u];return X&&q.push(f),wt.create(R.doc,[hn.inline(A.from,A.to,{nodeName:c,class:q.join(" "),"data-decoration-id":O,"data-decoration-content":h})])}}});return F}function k7({editor:t,overrideSuggestionOptions:e,extensionName:n,char:r="@"}){const s=new _t;return{editor:t,char:r,pluginKey:s,command:({editor:a,range:o,props:c})=>{var u,h,f;const m=a.view.state.selection.$to.nodeAfter;((u=m==null?void 0:m.text)==null?void 0:u.startsWith(" "))&&(o.to+=1),a.chain().focus().insertContentAt(o,[{type:n,attrs:{...c,mentionSuggestionChar:r}},{type:"text",text:" "}]).run(),(f=(h=a.view.dom.ownerDocument.defaultView)==null?void 0:h.getSelection())==null||f.collapseToEnd()},allow:({state:a,range:o})=>{const c=a.doc.resolve(o.from),u=a.schema.nodes[n];return!!c.parent.type.contentMatch.matchType(u)},...e}}function c2(t){return(t.options.suggestions.length?t.options.suggestions:[t.options.suggestion]).map(e=>k7({editor:t.editor,overrideSuggestionOptions:e,extensionName:t.name,char:e.char}))}function Iw(t,e){const n=c2(t),r=n.find(s=>s.char===e);return r||(n.length?n[0]:null)}var S7=fn.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({node:t,suggestion:e}){var n,r;return`${(n=e==null?void 0:e.char)!=null?n:"@"}${(r=t.attrs.label)!=null?r:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e,suggestion:n}){var r,s;return["span",vt(this.HTMLAttributes,t.HTMLAttributes),`${(r=n==null?void 0:n.char)!=null?r:"@"}${(s=e.attrs.label)!=null?s:e.attrs.id}`]},suggestions:[],suggestion:{}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}},mentionSuggestionChar:{default:"@",parseHTML:t=>t.getAttribute("data-mention-suggestion-char"),renderHTML:t=>({"data-mention-suggestion-char":t.mentionSuggestionChar})}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){const n=Iw(this,t.attrs.mentionSuggestionChar);if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",vt({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t,suggestion:n})];const r={...this.options};r.HTMLAttributes=vt({"data-type":this.name},this.options.HTMLAttributes,e);const s=this.options.renderHTML({options:r,node:t,suggestion:n});return typeof s=="string"?["span",vt({"data-type":this.name},this.options.HTMLAttributes,e),s]:s},...MC({nodeName:"mention",name:"@",selfClosing:!0,allowedAttributes:["id","label",{name:"mentionSuggestionChar",skipIfDefault:"@"}],parseAttributes:t=>{const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,s,a,o]=r,c=a??o;e[s==="char"?"mentionSuggestionChar":s]=c,r=n.exec(t)}return e},serializeAttributes:t=>Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e==="mentionSuggestionChar"?"char":e}="${n}"`).join(" ")}),renderText({node:t}){const e={options:this.options,node:t,suggestion:Iw(this,t.attrs.mentionSuggestionChar)};return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel(e)):this.options.renderText(e)},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:t,state:e})=>{let n=!1;const{selection:r}=e,{empty:s,anchor:a}=r;if(!s)return!1;let o=new Js,c=0;return e.doc.nodesBetween(a-1,a,(u,h)=>{if(u.type.name===this.name)return n=!0,o=u,c=h,!1}),n&&t.insertText(this.options.deleteTriggerWithBackspace?"":o.attrs.mentionSuggestionChar,c,c+o.nodeSize),n})}},addProseMirrorPlugins(){return c2(this).map(j7)}}),C7=S7,E7=f7;let rx,sx;if(typeof WeakMap<"u"){let t=new WeakMap;rx=e=>t.get(e),sx=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;rx=r=>{for(let s=0;s(n==10&&(n=0),t[n++]=r,t[n++]=s)}var qt=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e=n){(a||(a=[])).push({type:"overlong_rowspan",pos:f,n:k-C});break}const M=s+C*e;for(let D=0;Dr&&(a+=h.attrs.colspan)}}for(let o=0;o1&&(n=!0)}e==-1?e=a:e!=a&&(e=Math.max(e,a))}return e}function A7(t,e,n){t.problems||(t.problems=[]);const r={};for(let s=0;s0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function I7(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function rs(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function pf(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=Ga(e.$head)||P7(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function P7(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function ix(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function O7(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function M0(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function d2(t,e,n){const r=t.node(-1),s=qt.get(r),a=t.start(-1),o=s.nextCell(t.pos-a,e,n);return o==null?null:t.node(0).resolve(a+o)}function Ja(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(s=>s>0)||(r.colwidth=null)),r}function u2(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let s=0;sf!=n.pos-a);u.unshift(n.pos-a);const h=u.map(f=>{const m=r.nodeAt(f);if(!m)throw new RangeError(`No cell with offset ${f} found`);const g=a+f+1;return new Zk(c.resolve(g),c.resolve(g+m.content.size))});super(h[0].$from,h[0].$to,h),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),s=e.resolve(n.map(this.$headCell.pos));if(ix(r)&&ix(s)&&M0(r,s)){const a=this.$anchorCell.node(-1)!=r.node(-1);return a&&this.isRowSelection()?Hs.rowSelection(r,s):a&&this.isColSelection()?Hs.colSelection(r,s):new Hs(r,s)}return He.between(r,s)}content(){const e=this.$anchorCell.node(-1),n=qt.get(e),r=this.$anchorCell.start(-1),s=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),a={},o=[];for(let u=s.top;u0||w>0){let k=v.attrs;if(j>0&&(k=Ja(k,0,j)),w>0&&(k=Ja(k,k.colspan-w,w)),y.lefts.bottom){const k={...v.attrs,rowspan:Math.min(y.bottom,s.bottom)-Math.max(y.top,s.top)};y.top0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,s=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,s)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),s=qt.get(r),a=e.start(-1),o=s.findCell(e.pos-a),c=s.findCell(n.pos-a),u=e.node(0);return o.top<=c.top?(o.top>0&&(e=u.resolve(a+s.map[o.left])),c.bottom0&&(n=u.resolve(a+s.map[c.left])),o.bottom0)return!1;const o=s+this.$anchorCell.nodeAfter.attrs.colspan,c=a+this.$headCell.nodeAfter.attrs.colspan;return Math.max(o,c)==n.width}eq(e){return e instanceof Hs&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),s=qt.get(r),a=e.start(-1),o=s.findCell(e.pos-a),c=s.findCell(n.pos-a),u=e.node(0);return o.left<=c.left?(o.left>0&&(e=u.resolve(a+s.map[o.top*s.width])),c.right0&&(n=u.resolve(a+s.map[c.top*s.width])),o.right{e.push(hn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),wt.create(t.doc,e)}function z7({$from:t,$to:e}){if(t.pos==e.pos||t.pos=0&&!(t.after(s+1)=0&&!(e.before(a+1)>e.start(a));a--,r--);return n==r&&/row|table/.test(t.node(s).type.spec.tableRole)}function $7({$from:t,$to:e}){let n,r;for(let s=t.depth;s>0;s--){const a=t.node(s);if(a.type.spec.tableRole==="cell"||a.type.spec.tableRole==="header_cell"){n=a;break}}for(let s=e.depth;s>0;s--){const a=e.node(s);if(a.type.spec.tableRole==="cell"||a.type.spec.tableRole==="header_cell"){r=a;break}}return n!==r&&e.parentOffset===0}function F7(t,e,n){const r=(e||t).selection,s=(e||t).doc;let a,o;if(r instanceof Ve&&(o=r.node.type.spec.tableRole)){if(o=="cell"||o=="header_cell")a=St.create(s,r.from);else if(o=="row"){const c=s.resolve(r.from+1);a=St.rowSelection(c,c)}else if(!n){const c=qt.get(r.node),u=r.from+1,h=u+c.map[c.width*c.height-1];a=St.create(s,u+1,h)}}else r instanceof He&&z7(r)?a=He.create(s,r.from):r instanceof He&&$7(r)&&(a=He.create(s,r.$from.start(),r.$from.end()));return a&&(e||(e=t.tr)).setSelection(a),e}const B7=new _t("fix-tables");function f2(t,e,n,r){const s=t.childCount,a=e.childCount;e:for(let o=0,c=0;o{s.type.spec.tableRole=="table"&&(n=V7(t,s,a,n))};return e?e.doc!=t.doc&&f2(e.doc,t.doc,0,r):t.doc.descendants(r),n}function V7(t,e,n,r){const s=qt.get(e);if(!s.problems)return r;r||(r=t.tr);const a=[];for(let u=0;u0){let y="cell";f.firstChild&&(y=f.firstChild.type.spec.tableRole);const v=[];for(let w=0;w0?-1:0;D7(e,r,s+a)&&(a=s==0||s==e.width?null:0);for(let o=0;o0&&s0&&e.map[c-1]==u||s0?-1:0;q7(e,r,s+c)&&(c=s==0||s==e.height?null:0);for(let h=0,f=e.width*s;h0&&s0&&m==e.map[f-e.width]){const g=n.nodeAt(m).attrs;t.setNodeMarkup(t.mapping.slice(c).map(m+r),null,{...g,rowspan:g.rowspan-1}),h+=g.colspan-1}else if(s0&&n[a]==n[a-1]||r.right0&&n[s]==n[s-t]||r.bottom0){const f=u+1+h.content.size,m=Pw(h)?u+1:f;a.replaceWith(m+r.tableStart,f+r.tableStart,c)}a.setSelection(new St(a.doc.resolve(u+r.tableStart))),e(a)}return!0}function Dw(t,e){const n=Wn(t.schema);return Z7(({node:r})=>n[r.type.spec.tableRole])(t,e)}function Z7(t){return(e,n)=>{const r=e.selection;let s,a;if(r instanceof St){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;s=r.$anchorCell.nodeAfter,a=r.$anchorCell.pos}else{var o;if(s=I7(r.$from),!s)return!1;a=(o=Ga(r.$from))===null||o===void 0?void 0:o.pos}if(s==null||a==null||s.attrs.colspan==1&&s.attrs.rowspan==1)return!1;if(n){let c=s.attrs;const u=[],h=c.colwidth;c.rowspan>1&&(c={...c,rowspan:1}),c.colspan>1&&(c={...c,colspan:1});const f=Ss(e),m=e.tr;for(let y=0;y{o.attrs[t]!==e&&a.setNodeMarkup(c,null,{...o.attrs,[t]:e})}):a.setNodeMarkup(s.pos,null,{...s.nodeAfter.attrs,[t]:e}),r(a)}return!0}}function t$(t){return function(e,n){if(!rs(e))return!1;if(n){const r=Wn(e.schema),s=Ss(e),a=e.tr,o=s.map.cellsInRect(t=="column"?{left:s.left,top:0,right:s.right,bottom:s.map.height}:t=="row"?{left:0,top:s.top,right:s.map.width,bottom:s.bottom}:s),c=o.map(u=>s.table.nodeAt(u));for(let u=0;u{const y=g+a.tableStart,v=o.doc.nodeAt(y);v&&o.setNodeMarkup(y,m,v.attrs)}),r(o)}return!0}}_c("row",{useDeprecatedLogic:!0});_c("column",{useDeprecatedLogic:!0});const n$=_c("cell",{useDeprecatedLogic:!0});function r$(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,s=t.before();r>=0;r--){const a=t.node(-1).child(r),o=a.lastChild;if(o)return s-1-o.nodeSize;s-=a.nodeSize}}else{if(t.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Su(t,e){const n=t.selection;if(!(n instanceof St))return!1;if(e){const r=t.tr,s=Wn(t.schema).cell.createAndFill().content;n.forEachCell((a,o)=>{a.content.eq(s)||r.replace(r.mapping.map(o+1),r.mapping.map(o+a.nodeSize-1),new Me(s,0,0))}),r.docChanged&&e(r)}return!0}function i$(t){if(t.size===0)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const s=e.child(0),a=s.type.spec.tableRole,o=s.type.schema,c=[];if(a=="row")for(let u=0;u=0;o--){const{rowspan:c,colspan:u}=a.child(o).attrs;for(let h=s;h=e.length&&e.push(pe.empty),n[s]r&&(g=g.type.createChecked(Ja(g.attrs,g.attrs.colspan,f+g.attrs.colspan-r),g.content)),h.push(g),f+=g.attrs.colspan;for(let y=1;ys&&(m=m.type.create({...m.attrs,rowspan:Math.max(1,s-m.attrs.rowspan)},m.content)),u.push(m)}a.push(pe.from(u))}n=a,e=s}return{width:t,height:e,rows:n}}function l$(t,e,n,r,s,a,o){const c=t.doc.type.schema,u=Wn(c);let h,f;if(s>e.width)for(let m=0,g=0;me.height){const m=[];for(let v=0,j=(e.height-1)*e.width;v=e.width?!1:n.nodeAt(e.map[j+v]).type==u.header_cell;m.push(w?f||(f=u.header_cell.createAndFill()):h||(h=u.cell.createAndFill()))}const g=u.row.create(null,pe.from(m)),y=[];for(let v=e.height;v{if(!s)return!1;const a=n.selection;if(a instanceof St)return _u(n,r,Ge.near(a.$headCell,e));if(t!="horiz"&&!a.empty)return!1;const o=x2(s,t,e);if(o==null)return!1;if(t=="horiz")return _u(n,r,Ge.near(n.doc.resolve(a.head+e),e));{const c=n.doc.resolve(o),u=d2(c,t,e);let h;return u?h=Ge.near(u,1):e<0?h=Ge.near(n.doc.resolve(c.before(-1)),-1):h=Ge.near(n.doc.resolve(c.after(-1)),1),_u(n,r,h)}}}function Eu(t,e){return(n,r,s)=>{if(!s)return!1;const a=n.selection;let o;if(a instanceof St)o=a;else{const u=x2(s,t,e);if(u==null)return!1;o=new St(n.doc.resolve(u))}const c=d2(o.$headCell,t,e);return c?_u(n,r,new St(o.$anchorCell,c)):!1}}function d$(t,e){const n=t.state.doc,r=Ga(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new St(r))),!0):!1}function u$(t,e,n){if(!rs(t.state))return!1;let r=i$(n);const s=t.state.selection;if(s instanceof St){r||(r={width:1,height:1,rows:[pe.from(ax(Wn(t.state.schema).cell,n))]});const a=s.$anchorCell.node(-1),o=s.$anchorCell.start(-1),c=qt.get(a).rectBetween(s.$anchorCell.pos-o,s.$headCell.pos-o);return r=o$(r,c.right-c.left,c.bottom-c.top),Fw(t.state,t.dispatch,o,c,r),!0}else if(r){const a=pf(t.state),o=a.start(-1);return Fw(t.state,t.dispatch,o,qt.get(a.node(-1)).findCell(a.pos-o),r),!0}else return!1}function h$(t,e){var n;if(e.button!=0||e.ctrlKey||e.metaKey)return;const r=Bw(t,e.target);let s;if(e.shiftKey&&t.state.selection instanceof St)a(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(s=Ga(t.state.selection.$anchor))!=null&&((n=ng(t,e))===null||n===void 0?void 0:n.pos)!=s.pos)a(s,e),e.preventDefault();else if(!r)return;function a(u,h){let f=ng(t,h);const m=zi.getState(t.state)==null;if(!f||!M0(u,f))if(m)f=u;else return;const g=new St(u,f);if(m||!t.state.selection.eq(g)){const y=t.state.tr.setSelection(g);m&&y.setMeta(zi,u.pos),t.dispatch(y)}}function o(){t.root.removeEventListener("mouseup",o),t.root.removeEventListener("dragstart",o),t.root.removeEventListener("mousemove",c),zi.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(zi,-1))}function c(u){const h=u,f=zi.getState(t.state);let m;if(f!=null)m=t.state.doc.resolve(f);else if(Bw(t,h.target)!=r&&(m=ng(t,e),!m))return o();m&&a(m,h)}t.root.addEventListener("mouseup",o),t.root.addEventListener("dragstart",o),t.root.addEventListener("mousemove",c)}function x2(t,e,n){if(!(t.state.selection instanceof He))return null;const{$head:r}=t.state.selection;for(let s=r.depth-1;s>=0;s--){const a=r.node(s);if((n<0?r.index(s):r.indexAfter(s))!=(n<0?0:a.childCount))return null;if(a.type.spec.tableRole=="cell"||a.type.spec.tableRole=="header_cell"){const o=r.before(s),c=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(c)?o:null}}return null}function Bw(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function ng(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});if(!n)return null;let{inside:r,pos:s}=n;return r>=0&&Ga(t.state.doc.resolve(r))||Ga(t.state.doc.resolve(s))}var f$=class{constructor(e,n){this.node=e,this.defaultCellMinWidth=n,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${n}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),ox(e,this.colgroup,this.table,n),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,ox(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function ox(t,e,n,r,s,a){let o=0,c=!0,u=e.firstChild;const h=t.firstChild;if(h){for(let m=0,g=0;mnew r(m,n,g)),new m$(-1,!1)},apply(o,c){return c.apply(o)}},props:{attributes:o=>{const c=jr.getState(o);return c&&c.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,c)=>{g$(o,c,t,s)},mouseleave:o=>{x$(o)},mousedown:(o,c)=>{y$(o,c,e,n)}},decorations:o=>{const c=jr.getState(o);if(c&&c.activeHandle>-1)return j$(o,c.activeHandle)},nodeViews:{}}});return a}var m$=class zu{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(jr);if(r&&r.setHandle!=null)return new zu(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new zu(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let s=e.mapping.map(n.activeHandle,-1);return ix(e.doc.resolve(s))||(s=-1),new zu(s,n.dragging)}return n}};function g$(t,e,n,r){if(!t.editable)return;const s=jr.getState(t.state);if(s&&!s.dragging){const a=b$(e.target);let o=-1;if(a){const{left:c,right:u}=a.getBoundingClientRect();e.clientX-c<=n?o=Vw(t,e,"left",n):u-e.clientX<=n&&(o=Vw(t,e,"right",n))}if(o!=s.activeHandle){if(!r&&o!==-1){const c=t.state.doc.resolve(o),u=c.node(-1),h=qt.get(u),f=c.start(-1);if(h.colCount(c.pos-f)+c.nodeAfter.attrs.colspan-1==h.width-1)return}y2(t,o)}}}function x$(t){if(!t.editable)return;const e=jr.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&y2(t,-1)}function y$(t,e,n,r){var s;if(!t.editable)return!1;const a=(s=t.dom.ownerDocument.defaultView)!==null&&s!==void 0?s:window,o=jr.getState(t.state);if(!o||o.activeHandle==-1||o.dragging)return!1;const c=t.state.doc.nodeAt(o.activeHandle),u=v$(t,o.activeHandle,c.attrs);t.dispatch(t.state.tr.setMeta(jr,{setDragging:{startX:e.clientX,startWidth:u}}));function h(m){a.removeEventListener("mouseup",h),a.removeEventListener("mousemove",f);const g=jr.getState(t.state);g!=null&&g.dragging&&(w$(t,g.activeHandle,Hw(g.dragging,m,n)),t.dispatch(t.state.tr.setMeta(jr,{setDragging:null})))}function f(m){if(!m.which)return h(m);const g=jr.getState(t.state);if(g&&g.dragging){const y=Hw(g.dragging,m,n);Ww(t,g.activeHandle,y,r)}}return Ww(t,o.activeHandle,u,r),a.addEventListener("mouseup",h),a.addEventListener("mousemove",f),e.preventDefault(),!0}function v$(t,e,{colspan:n,colwidth:r}){const s=r&&r[r.length-1];if(s)return s;const a=t.domAtPos(e);let o=a.node.childNodes[a.offset].offsetWidth,c=n;if(r)for(let u=0;u{var e,n;const r=t.getAttribute("colwidth"),s=r?r.split(",").map(a=>parseInt(a,10)):null;if(!s){const a=(e=t.closest("table"))==null?void 0:e.querySelectorAll("colgroup > col"),o=Array.from(((n=t.parentElement)==null?void 0:n.children)||[]).indexOf(t);if(o&&o>-1&&a&&a[o]){const c=a[o].getAttribute("width");return c?[parseInt(c,10)]:null}}return s}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:t}){return["td",vt(this.options.HTMLAttributes,t),0]}}),b2=fn.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:t}){return["th",vt(this.options.HTMLAttributes,t),0]}}),w2=fn.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:t}){return["tr",vt(this.options.HTMLAttributes,t),0]}});function lx(t,e){return e?["width",`${Math.max(e,t)}px`]:["min-width",`${t}px`]}function Uw(t,e,n,r,s,a){var o;let c=0,u=!0,h=e.firstChild;const f=t.firstChild;if(f!==null)for(let g=0,y=0;g{const r=t.nodes[n];r.spec.tableRole&&(e[r.spec.tableRole]=r)}),t.cached.tableNodeTypes=e,e}function T$(t,e,n,r,s){const a=E$(t),o=[],c=[];for(let h=0;h{const{selection:e}=t.state;if(!M$(e))return!1;let n=0;const r=rC(e.ranges[0].$from,a=>a.type.name==="table");return r==null||r.node.descendants(a=>{if(a.type.name==="table")return!1;["tableCell","tableHeader"].includes(a.type.name)&&(n+=1)}),n===e.ranges.length?(t.commands.deleteTable(),!0):!1},A$="";function R$(t){return(t||"").replace(/\s+/g," ").trim()}function I$(t,e,n={}){var r;const s=(r=n.cellLineSeparator)!=null?r:A$;if(!t||!t.content||t.content.length===0)return"";const a=[];t.content.forEach(v=>{const j=[];v.content&&v.content.forEach(w=>{let k="";w.content&&Array.isArray(w.content)&&w.content.length>1?k=w.content.map(D=>e.renderChildren(D)).join(s):k=w.content?e.renderChildren(w.content):"";const E=R$(k),C=w.type==="tableHeader";j.push({text:E,isHeader:C})}),a.push(j)});const o=a.reduce((v,j)=>Math.max(v,j.length),0);if(o===0)return"";const c=new Array(o).fill(0);a.forEach(v=>{var j;for(let w=0;wc[w]&&(c[w]=E),c[w]<3&&(c[w]=3)}});const u=(v,j)=>v+" ".repeat(Math.max(0,j-v.length)),h=a[0],f=h.some(v=>v.isHeader);let m=` -`;const g=new Array(o).fill(0).map((v,j)=>f&&h[j]&&h[j].text||"");return m+=`| ${g.map((v,j)=>u(v,c[j])).join(" | ")} | -`,m+=`| ${c.map(v=>"-".repeat(Math.max(3,v))).join(" | ")} | -`,(f?a.slice(1):a).forEach(v=>{m+=`| ${new Array(o).fill(0).map((j,w)=>u(v[w]&&v[w].text||"",c[w])).join(" | ")} | -`}),m}var P$=I$,N2=fn.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,renderWrapper:!1,handleWidth:5,cellMinWidth:25,View:S$,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:t,HTMLAttributes:e}){const{colgroup:n,tableWidth:r,tableMinWidth:s}=C$(t,this.options.cellMinWidth),a=e.style;function o(){return a||(r?`width: ${r}`:`min-width: ${s}`)}const c=["table",vt(this.options.HTMLAttributes,e,{style:o()}),n,["tbody",0]];return this.options.renderWrapper?["div",{class:"tableWrapper"},c]:c},parseMarkdown:(t,e)=>{const n=[];if(t.header){const r=[];t.header.forEach(s=>{r.push(e.createNode("tableHeader",{},[{type:"paragraph",content:e.parseInline(s.tokens)}]))}),n.push(e.createNode("tableRow",{},r))}return t.rows&&t.rows.forEach(r=>{const s=[];r.forEach(a=>{s.push(e.createNode("tableCell",{},[{type:"paragraph",content:e.parseInline(a.tokens)}]))}),n.push(e.createNode("tableRow",{},s))}),e.createNode("table",void 0,n)},renderMarkdown:(t,e)=>P$(t,e),addCommands(){return{insertTable:({rows:t=3,cols:e=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:s,editor:a})=>{const o=T$(a.schema,t,e,n);if(s){const c=r.selection.from+1;r.replaceSelectionWith(o).scrollIntoView().setSelection(He.near(r.doc.resolve(c)))}return!0},addColumnBefore:()=>({state:t,dispatch:e})=>H7(t,e),addColumnAfter:()=>({state:t,dispatch:e})=>W7(t,e),deleteColumn:()=>({state:t,dispatch:e})=>K7(t,e),addRowBefore:()=>({state:t,dispatch:e})=>G7(t,e),addRowAfter:()=>({state:t,dispatch:e})=>J7(t,e),deleteRow:()=>({state:t,dispatch:e})=>Q7(t,e),deleteTable:()=>({state:t,dispatch:e})=>s$(t,e),mergeCells:()=>({state:t,dispatch:e})=>Ow(t,e),splitCell:()=>({state:t,dispatch:e})=>Dw(t,e),toggleHeaderColumn:()=>({state:t,dispatch:e})=>_c("column")(t,e),toggleHeaderRow:()=>({state:t,dispatch:e})=>_c("row")(t,e),toggleHeaderCell:()=>({state:t,dispatch:e})=>n$(t,e),mergeOrSplit:()=>({state:t,dispatch:e})=>Ow(t,e)?!0:Dw(t,e),setCellAttribute:(t,e)=>({state:n,dispatch:r})=>e$(t,e)(n,r),goToNextCell:()=>({state:t,dispatch:e})=>_w(1)(t,e),goToPreviousCell:()=>({state:t,dispatch:e})=>_w(-1)(t,e),fixTables:()=>({state:t,dispatch:e})=>(e&&p2(t),!0),setCellSelection:t=>({tr:e,dispatch:n})=>{if(n){const r=St.create(e.doc,t.anchorCell,t.headCell);e.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:Tu,"Mod-Backspace":Tu,Delete:Tu,"Mod-Delete":Tu}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[p$({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],k$({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(t){const e={name:t.name,options:t.options,storage:t.storage};return{tableRole:pt($e(t,"tableRole",e))}}});Gt.create({name:"tableKit",addExtensions(){const t=[];return this.options.table!==!1&&t.push(N2.configure(this.options.table)),this.options.tableCell!==!1&&t.push(v2.configure(this.options.tableCell)),this.options.tableHeader!==!1&&t.push(b2.configure(this.options.tableHeader)),this.options.tableRow!==!1&&t.push(w2.configure(this.options.tableRow)),t}});function O$(t){if(!t)return"";let e=t;return e=e.replace(/]*>(.*?)<\/h1>/gi,`# $1 - -`),e=e.replace(/]*>(.*?)<\/h2>/gi,`## $1 - -`),e=e.replace(/]*>(.*?)<\/h3>/gi,`### $1 - -`),e=e.replace(/]*>(.*?)<\/strong>/gi,"**$1**"),e=e.replace(/]*>(.*?)<\/b>/gi,"**$1**"),e=e.replace(/]*>(.*?)<\/em>/gi,"*$1*"),e=e.replace(/]*>(.*?)<\/i>/gi,"*$1*"),e=e.replace(/]*>(.*?)<\/s>/gi,"~~$1~~"),e=e.replace(/]*>(.*?)<\/del>/gi,"~~$1~~"),e=e.replace(/]*>(.*?)<\/code>/gi,"`$1`"),e=e.replace(/]*>(.*?)<\/blockquote>/gi,`> $1 - -`),e=e.replace(/]*src="([^"]*)"[^>]*alt="([^"]*)"[^>]*>/gi,"![$2]($1)"),e=e.replace(/]*src="([^"]*)"[^>]*>/gi,"![]($1)"),e=e.replace(/]*href="([^"]*)"[^>]*>(.*?)<\/a>/gi,"[$2]($1)"),e=e.replace(/]*>(.*?)<\/li>/gi,`- $1 -`),e=e.replace(/<\/?[uo]l[^>]*>/gi,` -`),e=e.replace(//gi,` -`),e=e.replace(/]*>(.*?)<\/p>/gi,`$1 - -`),e=e.replace(//gi,`--- - -`),e=e.replace(/]*data-type="mention"[^>]*data-id="([^"]*)"[^>]*>@([^<]*)<\/span>/gi,"@$2"),e=e.replace(/]*data-type="linkTag"[^>]*data-url="([^"]*)"[^>]*>#([^<]*)<\/span>/gi,"#[$2]($1)"),e=e.replace(/<[^>]+>/g,""),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"),e=e.replace(/\n{3,}/g,` - -`),e.trim()}function qw(t){if(!t)return"";if(t.startsWith("<")&&t.includes("$1"),e=e.replace(/^## (.+)$/gm,"

    $1

    "),e=e.replace(/^# (.+)$/gm,"

    $1

    "),e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/\*(.+?)\*/g,"$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/!\[([^\]]*)\]\(([^)]+)\)/g,'$1'),e=e.replace(/\[([^\]]+)\]\(([^)]+)\)/g,'$1'),e=e.replace(/^> (.+)$/gm,"

    $1

    "),e=e.replace(/^---$/gm,"
    "),e=e.replace(/^- (.+)$/gm,"
  • $1
  • ");const n=e.split(` -`),r=[];for(const s of n){const a=s.trim();a&&(/^<(?:h[1-6]|blockquote|hr|li|ul|ol|table|img)/.test(a)?r.push(a):r.push(`

    ${a}

    `))}return r.join("")}const D$=t=>({items:({query:e})=>t.filter(n=>n.name.toLowerCase().includes(e.toLowerCase())||n.id.includes(e)).slice(0,8),render:()=>{let e=null,n=0,r=[],s=null;const a=()=>{e&&(e.innerHTML=r.map((o,c)=>`
    - @${o.name} - ${o.label||o.id} -
    `).join(""),e.querySelectorAll(".mention-item").forEach(o=>{o.addEventListener("click",()=>{const c=parseInt(o.getAttribute("data-index")||"0");s&&r[c]&&s({id:r[c].id,label:r[c].name})})}))};return{onStart:o=>{if(e=document.createElement("div"),e.className="mention-popup",document.body.appendChild(e),r=o.items,s=o.command,n=0,a(),o.clientRect){const c=o.clientRect();c&&(e.style.top=`${c.bottom+4}px`,e.style.left=`${c.left}px`)}},onUpdate:o=>{if(r=o.items,s=o.command,n=0,a(),o.clientRect&&e){const c=o.clientRect();c&&(e.style.top=`${c.bottom+4}px`,e.style.left=`${c.left}px`)}},onKeyDown:o=>o.event.key==="ArrowUp"?(n=Math.max(0,n-1),a(),!0):o.event.key==="ArrowDown"?(n=Math.min(r.length-1,n+1),a(),!0):o.event.key==="Enter"?(s&&r[n]&&s({id:r[n].id,label:r[n].name}),!0):o.event.key==="Escape"?(e==null||e.remove(),e=null,!0):!1,onExit:()=>{e==null||e.remove(),e=null}}}}),j2=b.forwardRef(({content:t,onChange:e,onImageUpload:n,persons:r=[],linkTags:s=[],placeholder:a="开始编辑内容...",className:o},c)=>{const u=b.useRef(null),[h,f]=b.useState(""),[m,g]=b.useState(!1),y=b.useRef(qw(t)),v=A_({extensions:[x7,b7.configure({inline:!0,allowBase64:!0}),Cz.configure({openOnClick:!1,HTMLAttributes:{class:"rich-link"}}),C7.configure({HTMLAttributes:{class:"mention-tag"},suggestion:D$(r)}),E7.configure({placeholder:a}),N2.configure({resizable:!0}),w2,v2,b2],content:y.current,onUpdate:({editor:E})=>{e(E.getHTML())},editorProps:{attributes:{class:"rich-editor-content"}}});b.useImperativeHandle(c,()=>({getHTML:()=>(v==null?void 0:v.getHTML())||"",getMarkdown:()=>O$((v==null?void 0:v.getHTML())||"")})),b.useEffect(()=>{if(v&&t!==v.getHTML()){const E=qw(t);E!==v.getHTML()&&v.commands.setContent(E)}},[t]);const j=b.useCallback(async E=>{var M;const C=(M=E.target.files)==null?void 0:M[0];if(!(!C||!v)){if(n){const D=await n(C);D&&v.chain().focus().setImage({src:D}).run()}else{const D=new FileReader;D.onload=()=>{typeof D.result=="string"&&v.chain().focus().setImage({src:D.result}).run()},D.readAsDataURL(C)}E.target.value=""}},[v,n]),w=b.useCallback(E=>{v&&v.chain().focus().insertContent({type:"text",marks:[{type:"link",attrs:{href:E.url,target:"_blank"}}],text:`#${E.label}`}).run()},[v]),k=b.useCallback(()=>{!v||!h||(v.chain().focus().setLink({href:h}).run(),f(""),g(!1))},[v,h]);return v?i.jsxs("div",{className:`rich-editor-wrapper ${o||""}`,children:[i.jsxs("div",{className:"rich-editor-toolbar",children:[i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleBold().run(),className:v.isActive("bold")?"is-active":"",type:"button",children:i.jsx(CT,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleItalic().run(),className:v.isActive("italic")?"is-active":"",type:"button",children:i.jsx(EM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleStrike().run(),className:v.isActive("strike")?"is-active":"",type:"button",children:i.jsx(jA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleCode().run(),className:v.isActive("code")?"is-active":"",type:"button",children:i.jsx(KT,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:1}).run(),className:v.isActive("heading",{level:1})?"is-active":"",type:"button",children:i.jsx(xM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:2}).run(),className:v.isActive("heading",{level:2})?"is-active":"",type:"button",children:i.jsx(vM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleHeading({level:3}).run(),className:v.isActive("heading",{level:3})?"is-active":"",type:"button",children:i.jsx(wM,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().toggleBulletList().run(),className:v.isActive("bulletList")?"is-active":"",type:"button",children:i.jsx(_M,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleOrderedList().run(),className:v.isActive("orderedList")?"is-active":"",type:"button",children:i.jsx(DM,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().toggleBlockquote().run(),className:v.isActive("blockquote")?"is-active":"",type:"button",children:i.jsx(lA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().setHorizontalRule().run(),type:"button",children:i.jsx(GM,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("input",{ref:u,type:"file",accept:"image/*",onChange:j,className:"hidden"}),i.jsx("button",{onClick:()=>{var E;return(E=u.current)==null?void 0:E.click()},type:"button",children:i.jsx(LN,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>g(!m),className:v.isActive("link")?"is-active":"",type:"button",children:i.jsx(gg,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),type:"button",children:i.jsx(SA,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"toolbar-divider"}),i.jsxs("div",{className:"toolbar-group",children:[i.jsx("button",{onClick:()=>v.chain().focus().undo().run(),disabled:!v.can().undo(),type:"button",children:i.jsx(IA,{className:"w-4 h-4"})}),i.jsx("button",{onClick:()=>v.chain().focus().redo().run(),disabled:!v.can().redo(),type:"button",children:i.jsx(dA,{className:"w-4 h-4"})})]}),s.length>0&&i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"toolbar-divider"}),i.jsx("div",{className:"toolbar-group",children:i.jsxs("select",{className:"link-tag-select",onChange:E=>{const C=s.find(M=>M.id===E.target.value);C&&w(C),E.target.value=""},defaultValue:"",children:[i.jsx("option",{value:"",disabled:!0,children:"# 插入链接标签"}),s.map(E=>i.jsx("option",{value:E.id,children:E.label},E.id))]})})]})]}),m&&i.jsxs("div",{className:"link-input-bar",children:[i.jsx("input",{type:"url",placeholder:"输入链接地址...",value:h,onChange:E=>f(E.target.value),onKeyDown:E=>E.key==="Enter"&&k(),className:"link-input"}),i.jsx("button",{onClick:k,className:"link-confirm",type:"button",children:"确定"}),i.jsx("button",{onClick:()=>{v.chain().focus().unsetLink().run(),g(!1)},className:"link-remove",type:"button",children:"移除"})]}),i.jsx(IC,{editor:v})]}):null});j2.displayName="RichEditor";const L$=["top","right","bottom","left"],ea=Math.min,wr=Math.max,_h=Math.round,Mu=Math.floor,ws=t=>({x:t,y:t}),_$={left:"right",right:"left",bottom:"top",top:"bottom"},z$={start:"end",end:"start"};function cx(t,e,n){return wr(t,ea(e,n))}function Zs(t,e){return typeof t=="function"?t(e):t}function ei(t){return t.split("-")[0]}function fl(t){return t.split("-")[1]}function A0(t){return t==="x"?"y":"x"}function R0(t){return t==="y"?"height":"width"}const $$=new Set(["top","bottom"]);function bs(t){return $$.has(ei(t))?"y":"x"}function I0(t){return A0(bs(t))}function F$(t,e,n){n===void 0&&(n=!1);const r=fl(t),s=I0(t),a=R0(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(o=zh(o)),[o,zh(o)]}function B$(t){const e=zh(t);return[dx(t),e,dx(e)]}function dx(t){return t.replace(/start|end/g,e=>z$[e])}const Gw=["left","right"],Jw=["right","left"],V$=["top","bottom"],H$=["bottom","top"];function W$(t,e,n){switch(t){case"top":case"bottom":return n?e?Jw:Gw:e?Gw:Jw;case"left":case"right":return e?V$:H$;default:return[]}}function U$(t,e,n,r){const s=fl(t);let a=W$(ei(t),n==="start",r);return s&&(a=a.map(o=>o+"-"+s),e&&(a=a.concat(a.map(dx)))),a}function zh(t){return t.replace(/left|right|bottom|top/g,e=>_$[e])}function K$(t){return{top:0,right:0,bottom:0,left:0,...t}}function k2(t){return typeof t!="number"?K$(t):{top:t,right:t,bottom:t,left:t}}function $h(t){const{x:e,y:n,width:r,height:s}=t;return{width:r,height:s,top:n,left:e,right:e+r,bottom:n+s,x:e,y:n}}function Yw(t,e,n){let{reference:r,floating:s}=t;const a=bs(e),o=I0(e),c=R0(o),u=ei(e),h=a==="y",f=r.x+r.width/2-s.width/2,m=r.y+r.height/2-s.height/2,g=r[c]/2-s[c]/2;let y;switch(u){case"top":y={x:f,y:r.y-s.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-s.width,y:m};break;default:y={x:r.x,y:r.y}}switch(fl(e)){case"start":y[o]-=g*(n&&h?-1:1);break;case"end":y[o]+=g*(n&&h?-1:1);break}return y}async function q$(t,e){var n;e===void 0&&(e={});const{x:r,y:s,platform:a,rects:o,elements:c,strategy:u}=t,{boundary:h="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:g=!1,padding:y=0}=Zs(e,t),v=k2(y),w=c[g?m==="floating"?"reference":"floating":m],k=$h(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(w)))==null||n?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:f,strategy:u})),E=m==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),M=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},D=$h(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:E,offsetParent:C,strategy:u}):E);return{top:(k.top-D.top+v.top)/M.y,bottom:(D.bottom-k.bottom+v.bottom)/M.y,left:(k.left-D.left+v.left)/M.x,right:(D.right-k.right+v.right)/M.x}}const G$=async(t,e,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:o}=n,c=a.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(e));let h=await o.getElementRects({reference:t,floating:e,strategy:s}),{x:f,y:m}=Yw(h,r,u),g=r,y={},v=0;for(let w=0;w({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:s,rects:a,platform:o,elements:c,middlewareData:u}=e,{element:h,padding:f=0}=Zs(t,e)||{};if(h==null)return{};const m=k2(f),g={x:n,y:r},y=I0(s),v=R0(y),j=await o.getDimensions(h),w=y==="y",k=w?"top":"left",E=w?"bottom":"right",C=w?"clientHeight":"clientWidth",M=a.reference[v]+a.reference[y]-g[y]-a.floating[v],D=g[y]-a.reference[y],F=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let R=F?F[C]:0;(!R||!await(o.isElement==null?void 0:o.isElement(F)))&&(R=c.floating[C]||a.floating[v]);const I=M/2-D/2,A=R/2-j[v]/2-1,O=ea(m[k],A),W=ea(m[E],A),X=O,q=R-j[v]-W,Z=R/2-j[v]/2+I,_=cx(X,Z,q),$=!u.arrow&&fl(s)!=null&&Z!==_&&a.reference[v]/2-(ZZ<=0)){var W,X;const Z=(((W=a.flip)==null?void 0:W.index)||0)+1,_=R[Z];if(_&&(!(m==="alignment"?E!==bs(_):!1)||O.every(V=>bs(V.placement)===E?V.overflows[0]>0:!0)))return{data:{index:Z,overflows:O},reset:{placement:_}};let $=(X=O.filter(oe=>oe.overflows[0]<=0).sort((oe,V)=>oe.overflows[1]-V.overflows[1])[0])==null?void 0:X.placement;if(!$)switch(y){case"bestFit":{var q;const oe=(q=O.filter(V=>{if(F){const ae=bs(V.placement);return ae===E||ae==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ae=>ae>0).reduce((ae,Y)=>ae+Y,0)]).sort((V,ae)=>V[1]-ae[1])[0])==null?void 0:q[0];oe&&($=oe);break}case"initialPlacement":$=c;break}if(s!==$)return{reset:{placement:$}}}return{}}}};function Qw(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Xw(t){return L$.some(e=>t[e]>=0)}const Q$=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:s="referenceHidden",...a}=Zs(t,e);switch(s){case"referenceHidden":{const o=await r.detectOverflow(e,{...a,elementContext:"reference"}),c=Qw(o,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Xw(c)}}}case"escaped":{const o=await r.detectOverflow(e,{...a,altBoundary:!0}),c=Qw(o,n.floating);return{data:{escapedOffsets:c,escaped:Xw(c)}}}default:return{}}}}},S2=new Set(["left","top"]);async function X$(t,e){const{placement:n,platform:r,elements:s}=t,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=ei(n),c=fl(n),u=bs(n)==="y",h=S2.has(o)?-1:1,f=a&&u?-1:1,m=Zs(e,t);let{mainAxis:g,crossAxis:y,alignmentAxis:v}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof v=="number"&&(y=c==="end"?v*-1:v),u?{x:y*f,y:g*h}:{x:g*h,y:y*f}}const Z$=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:s,y:a,placement:o,middlewareData:c}=e,u=await X$(e,t);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:{...u,placement:o}}}}},eF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:s,platform:a}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:u={fn:k=>{let{x:E,y:C}=k;return{x:E,y:C}}},...h}=Zs(t,e),f={x:n,y:r},m=await a.detectOverflow(e,h),g=bs(ei(s)),y=A0(g);let v=f[y],j=f[g];if(o){const k=y==="y"?"top":"left",E=y==="y"?"bottom":"right",C=v+m[k],M=v-m[E];v=cx(C,v,M)}if(c){const k=g==="y"?"top":"left",E=g==="y"?"bottom":"right",C=j+m[k],M=j-m[E];j=cx(C,j,M)}const w=u.fn({...e,[y]:v,[g]:j});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[y]:o,[g]:c}}}}}},tF=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:s,rects:a,middlewareData:o}=e,{offset:c=0,mainAxis:u=!0,crossAxis:h=!0}=Zs(t,e),f={x:n,y:r},m=bs(s),g=A0(m);let y=f[g],v=f[m];const j=Zs(c,e),w=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:0,crossAxis:0,...j};if(u){const C=g==="y"?"height":"width",M=a.reference[g]-a.floating[C]+w.mainAxis,D=a.reference[g]+a.reference[C]-w.mainAxis;yD&&(y=D)}if(h){var k,E;const C=g==="y"?"width":"height",M=S2.has(ei(s)),D=a.reference[m]-a.floating[C]+(M&&((k=o.offset)==null?void 0:k[m])||0)+(M?0:w.crossAxis),F=a.reference[m]+a.reference[C]+(M?0:((E=o.offset)==null?void 0:E[m])||0)-(M?w.crossAxis:0);vF&&(v=F)}return{[g]:y,[m]:v}}}},nF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:s,rects:a,platform:o,elements:c}=e,{apply:u=()=>{},...h}=Zs(t,e),f=await o.detectOverflow(e,h),m=ei(s),g=fl(s),y=bs(s)==="y",{width:v,height:j}=a.floating;let w,k;m==="top"||m==="bottom"?(w=m,k=g===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(k=m,w=g==="end"?"top":"bottom");const E=j-f.top-f.bottom,C=v-f.left-f.right,M=ea(j-f[w],E),D=ea(v-f[k],C),F=!e.middlewareData.shift;let R=M,I=D;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=C),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(R=E),F&&!g){const O=wr(f.left,0),W=wr(f.right,0),X=wr(f.top,0),q=wr(f.bottom,0);y?I=v-2*(O!==0||W!==0?O+W:wr(f.left,f.right)):R=j-2*(X!==0||q!==0?X+q:wr(f.top,f.bottom))}await u({...e,availableWidth:I,availableHeight:R});const A=await o.getDimensions(c.floating);return v!==A.width||j!==A.height?{reset:{rects:!0}}:{}}}};function mf(){return typeof window<"u"}function pl(t){return C2(t)?(t.nodeName||"").toLowerCase():"#document"}function Sr(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Cs(t){var e;return(e=(C2(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function C2(t){return mf()?t instanceof Node||t instanceof Sr(t).Node:!1}function es(t){return mf()?t instanceof Element||t instanceof Sr(t).Element:!1}function ks(t){return mf()?t instanceof HTMLElement||t instanceof Sr(t).HTMLElement:!1}function Zw(t){return!mf()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Sr(t).ShadowRoot}const rF=new Set(["inline","contents"]);function Gc(t){const{overflow:e,overflowX:n,overflowY:r,display:s}=ts(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!rF.has(s)}const sF=new Set(["table","td","th"]);function iF(t){return sF.has(pl(t))}const aF=[":popover-open",":modal"];function gf(t){return aF.some(e=>{try{return t.matches(e)}catch{return!1}})}const oF=["transform","translate","scale","rotate","perspective"],lF=["transform","translate","scale","rotate","perspective","filter"],cF=["paint","layout","strict","content"];function P0(t){const e=O0(),n=es(t)?ts(t):t;return oF.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||lF.some(r=>(n.willChange||"").includes(r))||cF.some(r=>(n.contain||"").includes(r))}function dF(t){let e=ta(t);for(;ks(e)&&!sl(e);){if(P0(e))return e;if(gf(e))return null;e=ta(e)}return null}function O0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const uF=new Set(["html","body","#document"]);function sl(t){return uF.has(pl(t))}function ts(t){return Sr(t).getComputedStyle(t)}function xf(t){return es(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ta(t){if(pl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Zw(t)&&t.host||Cs(t);return Zw(e)?e.host:e}function E2(t){const e=ta(t);return sl(e)?t.ownerDocument?t.ownerDocument.body:t.body:ks(e)&&Gc(e)?e:E2(e)}function zc(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=E2(t),a=s===((r=t.ownerDocument)==null?void 0:r.body),o=Sr(s);if(a){const c=ux(o);return e.concat(o,o.visualViewport||[],Gc(s)?s:[],c&&n?zc(c):[])}return e.concat(s,zc(s,[],n))}function ux(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function T2(t){const e=ts(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=ks(t),a=s?t.offsetWidth:n,o=s?t.offsetHeight:r,c=_h(n)!==a||_h(r)!==o;return c&&(n=a,r=o),{width:n,height:r,$:c}}function D0(t){return es(t)?t:t.contextElement}function Go(t){const e=D0(t);if(!ks(e))return ws(1);const n=e.getBoundingClientRect(),{width:r,height:s,$:a}=T2(e);let o=(a?_h(n.width):n.width)/r,c=(a?_h(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const hF=ws(0);function M2(t){const e=Sr(t);return!O0()||!e.visualViewport?hF:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function fF(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Sr(t)?!1:e}function Ya(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=D0(t);let o=ws(1);e&&(r?es(r)&&(o=Go(r)):o=Go(t));const c=fF(a,n,r)?M2(a):ws(0);let u=(s.left+c.x)/o.x,h=(s.top+c.y)/o.y,f=s.width/o.x,m=s.height/o.y;if(a){const g=Sr(a),y=r&&es(r)?Sr(r):r;let v=g,j=ux(v);for(;j&&r&&y!==v;){const w=Go(j),k=j.getBoundingClientRect(),E=ts(j),C=k.left+(j.clientLeft+parseFloat(E.paddingLeft))*w.x,M=k.top+(j.clientTop+parseFloat(E.paddingTop))*w.y;u*=w.x,h*=w.y,f*=w.x,m*=w.y,u+=C,h+=M,v=Sr(j),j=ux(v)}}return $h({width:f,height:m,x:u,y:h})}function yf(t,e){const n=xf(t).scrollLeft;return e?e.left+n:Ya(Cs(t)).left+n}function A2(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-yf(t,n),s=n.top+e.scrollTop;return{x:r,y:s}}function pF(t){let{elements:e,rect:n,offsetParent:r,strategy:s}=t;const a=s==="fixed",o=Cs(r),c=e?gf(e.floating):!1;if(r===o||c&&a)return n;let u={scrollLeft:0,scrollTop:0},h=ws(1);const f=ws(0),m=ks(r);if((m||!m&&!a)&&((pl(r)!=="body"||Gc(o))&&(u=xf(r)),ks(r))){const y=Ya(r);h=Go(r),f.x=y.x+r.clientLeft,f.y=y.y+r.clientTop}const g=o&&!m&&!a?A2(o,u):ws(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+f.x+g.x,y:n.y*h.y-u.scrollTop*h.y+f.y+g.y}}function mF(t){return Array.from(t.getClientRects())}function gF(t){const e=Cs(t),n=xf(t),r=t.ownerDocument.body,s=wr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=wr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+yf(t);const c=-n.scrollTop;return ts(r).direction==="rtl"&&(o+=wr(e.clientWidth,r.clientWidth)-s),{width:s,height:a,x:o,y:c}}const eN=25;function xF(t,e){const n=Sr(t),r=Cs(t),s=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,c=0,u=0;if(s){a=s.width,o=s.height;const f=O0();(!f||f&&e==="fixed")&&(c=s.offsetLeft,u=s.offsetTop)}const h=yf(r);if(h<=0){const f=r.ownerDocument,m=f.body,g=getComputedStyle(m),y=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,v=Math.abs(r.clientWidth-m.clientWidth-y);v<=eN&&(a-=v)}else h<=eN&&(a+=h);return{width:a,height:o,x:c,y:u}}const yF=new Set(["absolute","fixed"]);function vF(t,e){const n=Ya(t,!0,e==="fixed"),r=n.top+t.clientTop,s=n.left+t.clientLeft,a=ks(t)?Go(t):ws(1),o=t.clientWidth*a.x,c=t.clientHeight*a.y,u=s*a.x,h=r*a.y;return{width:o,height:c,x:u,y:h}}function tN(t,e,n){let r;if(e==="viewport")r=xF(t,n);else if(e==="document")r=gF(Cs(t));else if(es(e))r=vF(e,n);else{const s=M2(t);r={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return $h(r)}function R2(t,e){const n=ta(t);return n===e||!es(n)||sl(n)?!1:ts(n).position==="fixed"||R2(n,e)}function bF(t,e){const n=e.get(t);if(n)return n;let r=zc(t,[],!1).filter(c=>es(c)&&pl(c)!=="body"),s=null;const a=ts(t).position==="fixed";let o=a?ta(t):t;for(;es(o)&&!sl(o);){const c=ts(o),u=P0(o);!u&&c.position==="fixed"&&(s=null),(a?!u&&!s:!u&&c.position==="static"&&!!s&&yF.has(s.position)||Gc(o)&&!u&&R2(t,o))?r=r.filter(f=>f!==o):s=c,o=ta(o)}return e.set(t,r),r}function wF(t){let{element:e,boundary:n,rootBoundary:r,strategy:s}=t;const o=[...n==="clippingAncestors"?gf(e)?[]:bF(e,this._c):[].concat(n),r],c=o[0],u=o.reduce((h,f)=>{const m=tN(e,f,s);return h.top=wr(m.top,h.top),h.right=ea(m.right,h.right),h.bottom=ea(m.bottom,h.bottom),h.left=wr(m.left,h.left),h},tN(e,c,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function NF(t){const{width:e,height:n}=T2(t);return{width:e,height:n}}function jF(t,e,n){const r=ks(e),s=Cs(e),a=n==="fixed",o=Ya(t,!0,a,e);let c={scrollLeft:0,scrollTop:0};const u=ws(0);function h(){u.x=yf(s)}if(r||!r&&!a)if((pl(e)!=="body"||Gc(s))&&(c=xf(e)),r){const y=Ya(e,!0,a,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}else s&&h();a&&!r&&s&&h();const f=s&&!r&&!a?A2(s,c):ws(0),m=o.left+c.scrollLeft-u.x-f.x,g=o.top+c.scrollTop-u.y-f.y;return{x:m,y:g,width:o.width,height:o.height}}function rg(t){return ts(t).position==="static"}function nN(t,e){if(!ks(t)||ts(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Cs(t)===n&&(n=n.ownerDocument.body),n}function I2(t,e){const n=Sr(t);if(gf(t))return n;if(!ks(t)){let s=ta(t);for(;s&&!sl(s);){if(es(s)&&!rg(s))return s;s=ta(s)}return n}let r=nN(t,e);for(;r&&iF(r)&&rg(r);)r=nN(r,e);return r&&sl(r)&&rg(r)&&!P0(r)?n:r||dF(t)||n}const kF=async function(t){const e=this.getOffsetParent||I2,n=this.getDimensions,r=await n(t.floating);return{reference:jF(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function SF(t){return ts(t).direction==="rtl"}const CF={convertOffsetParentRelativeRectToViewportRelativeRect:pF,getDocumentElement:Cs,getClippingRect:wF,getOffsetParent:I2,getElementRects:kF,getClientRects:mF,getDimensions:NF,getScale:Go,isElement:es,isRTL:SF};function P2(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function EF(t,e){let n=null,r;const s=Cs(t);function a(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),a();const h=t.getBoundingClientRect(),{left:f,top:m,width:g,height:y}=h;if(c||e(),!g||!y)return;const v=Mu(m),j=Mu(s.clientWidth-(f+g)),w=Mu(s.clientHeight-(m+y)),k=Mu(f),C={rootMargin:-v+"px "+-j+"px "+-w+"px "+-k+"px",threshold:wr(0,ea(1,u))||1};let M=!0;function D(F){const R=F[0].intersectionRatio;if(R!==u){if(!M)return o();R?o(!1,R):r=setTimeout(()=>{o(!1,1e-7)},1e3)}R===1&&!P2(h,t.getBoundingClientRect())&&o(),M=!1}try{n=new IntersectionObserver(D,{...C,root:s.ownerDocument})}catch{n=new IntersectionObserver(D,C)}n.observe(t)}return o(!0),a}function TF(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,h=D0(t),f=s||a?[...h?zc(h):[],...zc(e)]:[];f.forEach(k=>{s&&k.addEventListener("scroll",n,{passive:!0}),a&&k.addEventListener("resize",n)});const m=h&&c?EF(h,n):null;let g=-1,y=null;o&&(y=new ResizeObserver(k=>{let[E]=k;E&&E.target===h&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var C;(C=y)==null||C.observe(e)})),n()}),h&&!u&&y.observe(h),y.observe(e));let v,j=u?Ya(t):null;u&&w();function w(){const k=Ya(t);j&&!P2(j,k)&&n(),j=k,v=requestAnimationFrame(w)}return n(),()=>{var k;f.forEach(E=>{s&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),m==null||m(),(k=y)==null||k.disconnect(),y=null,u&&cancelAnimationFrame(v)}}const MF=Z$,AF=eF,RF=Y$,IF=nF,PF=Q$,rN=J$,OF=tF,DF=(t,e,n)=>{const r=new Map,s={platform:CF,...n},a={...s.platform,_c:r};return G$(t,e,{...s,platform:a})};var LF=typeof document<"u",_F=function(){},$u=LF?b.useLayoutEffect:_F;function Fh(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,s;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Fh(t[r],e[r]))return!1;return!0}if(s=Object.keys(t),n=s.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,s[r]))return!1;for(r=n;r--!==0;){const a=s[r];if(!(a==="_owner"&&t.$$typeof)&&!Fh(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function O2(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function sN(t,e){const n=O2(t);return Math.round(e*n)/n}function sg(t){const e=b.useRef(t);return $u(()=>{e.current=t}),e}function zF(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:a,floating:o}={},transform:c=!0,whileElementsMounted:u,open:h}=t,[f,m]=b.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[g,y]=b.useState(r);Fh(g,r)||y(r);const[v,j]=b.useState(null),[w,k]=b.useState(null),E=b.useCallback(V=>{V!==F.current&&(F.current=V,j(V))},[]),C=b.useCallback(V=>{V!==R.current&&(R.current=V,k(V))},[]),M=a||v,D=o||w,F=b.useRef(null),R=b.useRef(null),I=b.useRef(f),A=u!=null,O=sg(u),W=sg(s),X=sg(h),q=b.useCallback(()=>{if(!F.current||!R.current)return;const V={placement:e,strategy:n,middleware:g};W.current&&(V.platform=W.current),DF(F.current,R.current,V).then(ae=>{const Y={...ae,isPositioned:X.current!==!1};Z.current&&!Fh(I.current,Y)&&(I.current=Y,Fc.flushSync(()=>{m(Y)}))})},[g,e,n,W,X]);$u(()=>{h===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,m(V=>({...V,isPositioned:!1})))},[h]);const Z=b.useRef(!1);$u(()=>(Z.current=!0,()=>{Z.current=!1}),[]),$u(()=>{if(M&&(F.current=M),D&&(R.current=D),M&&D){if(O.current)return O.current(M,D,q);q()}},[M,D,q,O,A]);const _=b.useMemo(()=>({reference:F,floating:R,setReference:E,setFloating:C}),[E,C]),$=b.useMemo(()=>({reference:M,floating:D}),[M,D]),oe=b.useMemo(()=>{const V={position:n,left:0,top:0};if(!$.floating)return V;const ae=sN($.floating,f.x),Y=sN($.floating,f.y);return c?{...V,transform:"translate("+ae+"px, "+Y+"px)",...O2($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ae,top:Y}},[n,c,$.floating,f.x,f.y]);return b.useMemo(()=>({...f,update:q,refs:_,elements:$,floatingStyles:oe}),[f,q,_,$,oe])}const $F=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:s}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?rN({element:r.current,padding:s}).fn(n):{}:r?rN({element:r,padding:s}).fn(n):{}}}},FF=(t,e)=>({...MF(t),options:[t,e]}),BF=(t,e)=>({...AF(t),options:[t,e]}),VF=(t,e)=>({...OF(t),options:[t,e]}),HF=(t,e)=>({...RF(t),options:[t,e]}),WF=(t,e)=>({...IF(t),options:[t,e]}),UF=(t,e)=>({...PF(t),options:[t,e]}),KF=(t,e)=>({...$F(t),options:[t,e]});var qF="Arrow",D2=b.forwardRef((t,e)=>{const{children:n,width:r=10,height:s=5,...a}=t;return i.jsx(ot.svg,{...a,ref:e,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});D2.displayName=qF;var GF=D2,L0="Popper",[L2,_2]=ia(L0),[JF,z2]=L2(L0),$2=t=>{const{__scopePopper:e,children:n}=t,[r,s]=b.useState(null);return i.jsx(JF,{scope:e,anchor:r,onAnchorChange:s,children:n})};$2.displayName=L0;var F2="PopperAnchor",B2=b.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...s}=t,a=z2(F2,n),o=b.useRef(null),c=mt(e,o),u=b.useRef(null);return b.useEffect(()=>{const h=u.current;u.current=(r==null?void 0:r.current)||o.current,h!==u.current&&a.onAnchorChange(u.current)}),r?null:i.jsx(ot.div,{...s,ref:c})});B2.displayName=F2;var _0="PopperContent",[YF,QF]=L2(_0),V2=b.forwardRef((t,e)=>{var ee,de,Ce,B,me,Se;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:a="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:v,...j}=t,w=z2(_0,n),[k,E]=b.useState(null),C=mt(e,rt=>E(rt)),[M,D]=b.useState(null),F=_x(M),R=(F==null?void 0:F.width)??0,I=(F==null?void 0:F.height)??0,A=r+(a!=="center"?"-"+a:""),O=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},W=Array.isArray(h)?h:[h],X=W.length>0,q={padding:O,boundary:W.filter(ZF),altBoundary:X},{refs:Z,floatingStyles:_,placement:$,isPositioned:oe,middlewareData:V}=zF({strategy:"fixed",placement:A,whileElementsMounted:(...rt)=>TF(...rt,{animationFrame:y==="always"}),elements:{reference:w.anchor},middleware:[FF({mainAxis:s+I,alignmentAxis:o}),u&&BF({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?VF():void 0,...q}),u&&HF({...q}),WF({...q,apply:({elements:rt,rects:Ye,availableWidth:st,availableHeight:Qe})=>{const{width:Xe,height:ft}=Ye.reference,Pt=rt.floating.style;Pt.setProperty("--radix-popper-available-width",`${st}px`),Pt.setProperty("--radix-popper-available-height",`${Qe}px`),Pt.setProperty("--radix-popper-anchor-width",`${Xe}px`),Pt.setProperty("--radix-popper-anchor-height",`${ft}px`)}}),M&&KF({element:M,padding:c}),eB({arrowWidth:R,arrowHeight:I}),g&&UF({strategy:"referenceHidden",...q})]}),[ae,Y]=U2($),L=Qi(v);Vn(()=>{oe&&(L==null||L())},[oe,L]);const H=(ee=V.arrow)==null?void 0:ee.x,ue=(de=V.arrow)==null?void 0:de.y,U=((Ce=V.arrow)==null?void 0:Ce.centerOffset)!==0,[he,Q]=b.useState();return Vn(()=>{k&&Q(window.getComputedStyle(k).zIndex)},[k]),i.jsx("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:oe?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(B=V.transformOrigin)==null?void 0:B.x,(me=V.transformOrigin)==null?void 0:me.y].join(" "),...((Se=V.hide)==null?void 0:Se.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:i.jsx(YF,{scope:n,placedSide:ae,onArrowChange:D,arrowX:H,arrowY:ue,shouldHideArrow:U,children:i.jsx(ot.div,{"data-side":ae,"data-align":Y,...j,ref:C,style:{...j.style,animation:oe?void 0:"none"}})})})});V2.displayName=_0;var H2="PopperArrow",XF={top:"bottom",right:"left",bottom:"top",left:"right"},W2=b.forwardRef(function(e,n){const{__scopePopper:r,...s}=e,a=QF(H2,r),o=XF[a.placedSide];return i.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:i.jsx(GF,{...s,ref:n,style:{...s.style,display:"block"}})})});W2.displayName=H2;function ZF(t){return t!==null}var eB=t=>({name:"transformOrigin",options:t,fn(e){var w,k,E;const{placement:n,rects:r,middlewareData:s}=e,o=((w=s.arrow)==null?void 0:w.centerOffset)!==0,c=o?0:t.arrowWidth,u=o?0:t.arrowHeight,[h,f]=U2(n),m={start:"0%",center:"50%",end:"100%"}[f],g=(((k=s.arrow)==null?void 0:k.x)??0)+c/2,y=(((E=s.arrow)==null?void 0:E.y)??0)+u/2;let v="",j="";return h==="bottom"?(v=o?m:`${g}px`,j=`${-u}px`):h==="top"?(v=o?m:`${g}px`,j=`${r.floating.height+u}px`):h==="right"?(v=`${-u}px`,j=o?m:`${y}px`):h==="left"&&(v=`${r.floating.width+u}px`,j=o?m:`${y}px`),{data:{x:v,y:j}}}});function U2(t){const[e,n="center"]=t.split("-");return[e,n]}var tB=$2,nB=B2,rB=V2,sB=W2,K2=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),iB="VisuallyHidden",aB=b.forwardRef((t,e)=>i.jsx(ot.span,{...t,ref:e,style:{...K2,...t.style}}));aB.displayName=iB;var oB=[" ","Enter","ArrowUp","ArrowDown"],lB=[" ","Enter"],Qa="Select",[vf,bf,cB]=Ox(Qa),[ml]=ia(Qa,[cB,_2]),wf=_2(),[dB,ca]=ml(Qa),[uB,hB]=ml(Qa),q2=t=>{const{__scopeSelect:e,children:n,open:r,defaultOpen:s,onOpenChange:a,value:o,defaultValue:c,onValueChange:u,dir:h,name:f,autoComplete:m,disabled:g,required:y,form:v}=t,j=wf(e),[w,k]=b.useState(null),[E,C]=b.useState(null),[M,D]=b.useState(!1),F=Gh(h),[R,I]=Ba({prop:r,defaultProp:s??!1,onChange:a,caller:Qa}),[A,O]=Ba({prop:o,defaultProp:c,onChange:u,caller:Qa}),W=b.useRef(null),X=w?v||!!w.closest("form"):!0,[q,Z]=b.useState(new Set),_=Array.from(q).map($=>$.props.value).join(";");return i.jsx(tB,{...j,children:i.jsxs(dB,{required:y,scope:e,trigger:w,onTriggerChange:k,valueNode:E,onValueNodeChange:C,valueNodeHasChildren:M,onValueNodeHasChildrenChange:D,contentId:Ki(),value:A,onValueChange:O,open:R,onOpenChange:I,dir:F,triggerPointerDownPosRef:W,disabled:g,children:[i.jsx(vf.Provider,{scope:e,children:i.jsx(uB,{scope:t.__scopeSelect,onNativeOptionAdd:b.useCallback($=>{Z(oe=>new Set(oe).add($))},[]),onNativeOptionRemove:b.useCallback($=>{Z(oe=>{const V=new Set(oe);return V.delete($),V})},[]),children:n})}),X?i.jsxs(mE,{"aria-hidden":!0,required:y,tabIndex:-1,name:f,autoComplete:m,value:A,onChange:$=>O($.target.value),disabled:g,form:v,children:[A===void 0?i.jsx("option",{value:""}):null,Array.from(q)]},_):null]})})};q2.displayName=Qa;var G2="SelectTrigger",J2=b.forwardRef((t,e)=>{const{__scopeSelect:n,disabled:r=!1,...s}=t,a=wf(n),o=ca(G2,n),c=o.disabled||r,u=mt(e,o.onTriggerChange),h=bf(n),f=b.useRef("touch"),[m,g,y]=xE(j=>{const w=h().filter(C=>!C.disabled),k=w.find(C=>C.value===o.value),E=yE(w,j,k);E!==void 0&&o.onValueChange(E.value)}),v=j=>{c||(o.onOpenChange(!0),y()),j&&(o.triggerPointerDownPosRef.current={x:Math.round(j.pageX),y:Math.round(j.pageY)})};return i.jsx(nB,{asChild:!0,...a,children:i.jsx(ot.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":gE(o.value)?"":void 0,...s,ref:u,onClick:nt(s.onClick,j=>{j.currentTarget.focus(),f.current!=="mouse"&&v(j)}),onPointerDown:nt(s.onPointerDown,j=>{f.current=j.pointerType;const w=j.target;w.hasPointerCapture(j.pointerId)&&w.releasePointerCapture(j.pointerId),j.button===0&&j.ctrlKey===!1&&j.pointerType==="mouse"&&(v(j),j.preventDefault())}),onKeyDown:nt(s.onKeyDown,j=>{const w=m.current!=="";!(j.ctrlKey||j.altKey||j.metaKey)&&j.key.length===1&&g(j.key),!(w&&j.key===" ")&&oB.includes(j.key)&&(v(),j.preventDefault())})})})});J2.displayName=G2;var Y2="SelectValue",Q2=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:s,children:a,placeholder:o="",...c}=t,u=ca(Y2,n),{onValueNodeHasChildrenChange:h}=u,f=a!==void 0,m=mt(e,u.onValueNodeChange);return Vn(()=>{h(f)},[h,f]),i.jsx(ot.span,{...c,ref:m,style:{pointerEvents:"none"},children:gE(u.value)?i.jsx(i.Fragment,{children:o}):a})});Q2.displayName=Y2;var fB="SelectIcon",X2=b.forwardRef((t,e)=>{const{__scopeSelect:n,children:r,...s}=t;return i.jsx(ot.span,{"aria-hidden":!0,...s,ref:e,children:r||"▼"})});X2.displayName=fB;var pB="SelectPortal",Z2=t=>i.jsx(Mx,{asChild:!0,...t});Z2.displayName=pB;var Xa="SelectContent",eE=b.forwardRef((t,e)=>{const n=ca(Xa,t.__scopeSelect),[r,s]=b.useState();if(Vn(()=>{s(new DocumentFragment)},[]),!n.open){const a=r;return a?Fc.createPortal(i.jsx(tE,{scope:t.__scopeSelect,children:i.jsx(vf.Slot,{scope:t.__scopeSelect,children:i.jsx("div",{children:t.children})})}),a):null}return i.jsx(nE,{...t,ref:e})});eE.displayName=Xa;var Jr=10,[tE,da]=ml(Xa),mB="SelectContentImpl",gB=Sc("SelectContent.RemoveScroll"),nE=b.forwardRef((t,e)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:a,onPointerDownOutside:o,side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:j,avoidCollisions:w,...k}=t,E=ca(Xa,n),[C,M]=b.useState(null),[D,F]=b.useState(null),R=mt(e,ee=>M(ee)),[I,A]=b.useState(null),[O,W]=b.useState(null),X=bf(n),[q,Z]=b.useState(!1),_=b.useRef(!1);b.useEffect(()=>{if(C)return mj(C)},[C]),aj();const $=b.useCallback(ee=>{const[de,...Ce]=X().map(Se=>Se.ref.current),[B]=Ce.slice(-1),me=document.activeElement;for(const Se of ee)if(Se===me||(Se==null||Se.scrollIntoView({block:"nearest"}),Se===de&&D&&(D.scrollTop=0),Se===B&&D&&(D.scrollTop=D.scrollHeight),Se==null||Se.focus(),document.activeElement!==me))return},[X,D]),oe=b.useCallback(()=>$([I,C]),[$,I,C]);b.useEffect(()=>{q&&oe()},[q,oe]);const{onOpenChange:V,triggerPointerDownPosRef:ae}=E;b.useEffect(()=>{if(C){let ee={x:0,y:0};const de=B=>{var me,Se;ee={x:Math.abs(Math.round(B.pageX)-(((me=ae.current)==null?void 0:me.x)??0)),y:Math.abs(Math.round(B.pageY)-(((Se=ae.current)==null?void 0:Se.y)??0))}},Ce=B=>{ee.x<=10&&ee.y<=10?B.preventDefault():C.contains(B.target)||V(!1),document.removeEventListener("pointermove",de),ae.current=null};return ae.current!==null&&(document.addEventListener("pointermove",de),document.addEventListener("pointerup",Ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",de),document.removeEventListener("pointerup",Ce,{capture:!0})}}},[C,V,ae]),b.useEffect(()=>{const ee=()=>V(!1);return window.addEventListener("blur",ee),window.addEventListener("resize",ee),()=>{window.removeEventListener("blur",ee),window.removeEventListener("resize",ee)}},[V]);const[Y,L]=xE(ee=>{const de=X().filter(me=>!me.disabled),Ce=de.find(me=>me.ref.current===document.activeElement),B=yE(de,ee,Ce);B&&setTimeout(()=>B.ref.current.focus())}),H=b.useCallback((ee,de,Ce)=>{const B=!_.current&&!Ce;(E.value!==void 0&&E.value===de||B)&&(A(ee),B&&(_.current=!0))},[E.value]),ue=b.useCallback(()=>C==null?void 0:C.focus(),[C]),U=b.useCallback((ee,de,Ce)=>{const B=!_.current&&!Ce;(E.value!==void 0&&E.value===de||B)&&W(ee)},[E.value]),he=r==="popper"?hx:rE,Q=he===hx?{side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:j,avoidCollisions:w}:{};return i.jsx(tE,{scope:n,content:C,viewport:D,onViewportChange:F,itemRefCallback:H,selectedItem:I,onItemLeave:ue,itemTextRefCallback:U,focusSelectedItem:oe,selectedItemText:O,position:r,isPositioned:q,searchRef:Y,children:i.jsx(Ax,{as:gB,allowPinchZoom:!0,children:i.jsx(Tx,{asChild:!0,trapped:E.open,onMountAutoFocus:ee=>{ee.preventDefault()},onUnmountAutoFocus:nt(s,ee=>{var de;(de=E.trigger)==null||de.focus({preventScroll:!0}),ee.preventDefault()}),children:i.jsx(Ex,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:ee=>ee.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:i.jsx(he,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:ee=>ee.preventDefault(),...k,...Q,onPlaced:()=>Z(!0),ref:R,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:nt(k.onKeyDown,ee=>{const de=ee.ctrlKey||ee.altKey||ee.metaKey;if(ee.key==="Tab"&&ee.preventDefault(),!de&&ee.key.length===1&&L(ee.key),["ArrowUp","ArrowDown","Home","End"].includes(ee.key)){let B=X().filter(me=>!me.disabled).map(me=>me.ref.current);if(["ArrowUp","End"].includes(ee.key)&&(B=B.slice().reverse()),["ArrowUp","ArrowDown"].includes(ee.key)){const me=ee.target,Se=B.indexOf(me);B=B.slice(Se+1)}setTimeout(()=>$(B)),ee.preventDefault()}})})})})})})});nE.displayName=mB;var xB="SelectItemAlignedPosition",rE=b.forwardRef((t,e)=>{const{__scopeSelect:n,onPlaced:r,...s}=t,a=ca(Xa,n),o=da(Xa,n),[c,u]=b.useState(null),[h,f]=b.useState(null),m=mt(e,R=>f(R)),g=bf(n),y=b.useRef(!1),v=b.useRef(!0),{viewport:j,selectedItem:w,selectedItemText:k,focusSelectedItem:E}=o,C=b.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&h&&j&&w&&k){const R=a.trigger.getBoundingClientRect(),I=h.getBoundingClientRect(),A=a.valueNode.getBoundingClientRect(),O=k.getBoundingClientRect();if(a.dir!=="rtl"){const me=O.left-I.left,Se=A.left-me,rt=R.left-Se,Ye=R.width+rt,st=Math.max(Ye,I.width),Qe=window.innerWidth-Jr,Xe=qu(Se,[Jr,Math.max(Jr,Qe-st)]);c.style.minWidth=Ye+"px",c.style.left=Xe+"px"}else{const me=I.right-O.right,Se=window.innerWidth-A.right-me,rt=window.innerWidth-R.right-Se,Ye=R.width+rt,st=Math.max(Ye,I.width),Qe=window.innerWidth-Jr,Xe=qu(Se,[Jr,Math.max(Jr,Qe-st)]);c.style.minWidth=Ye+"px",c.style.right=Xe+"px"}const W=g(),X=window.innerHeight-Jr*2,q=j.scrollHeight,Z=window.getComputedStyle(h),_=parseInt(Z.borderTopWidth,10),$=parseInt(Z.paddingTop,10),oe=parseInt(Z.borderBottomWidth,10),V=parseInt(Z.paddingBottom,10),ae=_+$+q+V+oe,Y=Math.min(w.offsetHeight*5,ae),L=window.getComputedStyle(j),H=parseInt(L.paddingTop,10),ue=parseInt(L.paddingBottom,10),U=R.top+R.height/2-Jr,he=X-U,Q=w.offsetHeight/2,ee=w.offsetTop+Q,de=_+$+ee,Ce=ae-de;if(de<=U){const me=W.length>0&&w===W[W.length-1].ref.current;c.style.bottom="0px";const Se=h.clientHeight-j.offsetTop-j.offsetHeight,rt=Math.max(he,Q+(me?ue:0)+Se+oe),Ye=de+rt;c.style.height=Ye+"px"}else{const me=W.length>0&&w===W[0].ref.current;c.style.top="0px";const rt=Math.max(U,_+j.offsetTop+(me?H:0)+Q)+Ce;c.style.height=rt+"px",j.scrollTop=de-U+j.offsetTop}c.style.margin=`${Jr}px 0`,c.style.minHeight=Y+"px",c.style.maxHeight=X+"px",r==null||r(),requestAnimationFrame(()=>y.current=!0)}},[g,a.trigger,a.valueNode,c,h,j,w,k,a.dir,r]);Vn(()=>C(),[C]);const[M,D]=b.useState();Vn(()=>{h&&D(window.getComputedStyle(h).zIndex)},[h]);const F=b.useCallback(R=>{R&&v.current===!0&&(C(),E==null||E(),v.current=!1)},[C,E]);return i.jsx(vB,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:y,onScrollButtonChange:F,children:i.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:i.jsx(ot.div,{...s,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});rE.displayName=xB;var yB="SelectPopperPosition",hx=b.forwardRef((t,e)=>{const{__scopeSelect:n,align:r="start",collisionPadding:s=Jr,...a}=t,o=wf(n);return i.jsx(rB,{...o,...a,ref:e,align:r,collisionPadding:s,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});hx.displayName=yB;var[vB,z0]=ml(Xa,{}),fx="SelectViewport",sE=b.forwardRef((t,e)=>{const{__scopeSelect:n,nonce:r,...s}=t,a=da(fx,n),o=z0(fx,n),c=mt(e,a.onViewportChange),u=b.useRef(0);return i.jsxs(i.Fragment,{children:[i.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),i.jsx(vf.Slot,{scope:n,children:i.jsx(ot.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:nt(s.onScroll,h=>{const f=h.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:g}=o;if(g!=null&&g.current&&m){const y=Math.abs(u.current-f.scrollTop);if(y>0){const v=window.innerHeight-Jr*2,j=parseFloat(m.style.minHeight),w=parseFloat(m.style.height),k=Math.max(j,w);if(k0?M:0,m.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});sE.displayName=fx;var iE="SelectGroup",[bB,wB]=ml(iE),NB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=Ki();return i.jsx(bB,{scope:n,id:s,children:i.jsx(ot.div,{role:"group","aria-labelledby":s,...r,ref:e})})});NB.displayName=iE;var aE="SelectLabel",jB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=wB(aE,n);return i.jsx(ot.div,{id:s.id,...r,ref:e})});jB.displayName=aE;var Bh="SelectItem",[kB,oE]=ml(Bh),lE=b.forwardRef((t,e)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:a,...o}=t,c=ca(Bh,n),u=da(Bh,n),h=c.value===r,[f,m]=b.useState(a??""),[g,y]=b.useState(!1),v=mt(e,E=>{var C;return(C=u.itemRefCallback)==null?void 0:C.call(u,E,r,s)}),j=Ki(),w=b.useRef("touch"),k=()=>{s||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return i.jsx(kB,{scope:n,value:r,disabled:s,textId:j,isSelected:h,onItemTextChange:b.useCallback(E=>{m(C=>C||((E==null?void 0:E.textContent)??"").trim())},[]),children:i.jsx(vf.ItemSlot,{scope:n,value:r,disabled:s,textValue:f,children:i.jsx(ot.div,{role:"option","aria-labelledby":j,"data-highlighted":g?"":void 0,"aria-selected":h&&g,"data-state":h?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...o,ref:v,onFocus:nt(o.onFocus,()=>y(!0)),onBlur:nt(o.onBlur,()=>y(!1)),onClick:nt(o.onClick,()=>{w.current!=="mouse"&&k()}),onPointerUp:nt(o.onPointerUp,()=>{w.current==="mouse"&&k()}),onPointerDown:nt(o.onPointerDown,E=>{w.current=E.pointerType}),onPointerMove:nt(o.onPointerMove,E=>{var C;w.current=E.pointerType,s?(C=u.onItemLeave)==null||C.call(u):w.current==="mouse"&&E.currentTarget.focus({preventScroll:!0})}),onPointerLeave:nt(o.onPointerLeave,E=>{var C;E.currentTarget===document.activeElement&&((C=u.onItemLeave)==null||C.call(u))}),onKeyDown:nt(o.onKeyDown,E=>{var M;((M=u.searchRef)==null?void 0:M.current)!==""&&E.key===" "||(lB.includes(E.key)&&k(),E.key===" "&&E.preventDefault())})})})})});lE.displayName=Bh;var oc="SelectItemText",cE=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:s,...a}=t,o=ca(oc,n),c=da(oc,n),u=oE(oc,n),h=hB(oc,n),[f,m]=b.useState(null),g=mt(e,k=>m(k),u.onItemTextChange,k=>{var E;return(E=c.itemTextRefCallback)==null?void 0:E.call(c,k,u.value,u.disabled)}),y=f==null?void 0:f.textContent,v=b.useMemo(()=>i.jsx("option",{value:u.value,disabled:u.disabled,children:y},u.value),[u.disabled,u.value,y]),{onNativeOptionAdd:j,onNativeOptionRemove:w}=h;return Vn(()=>(j(v),()=>w(v)),[j,w,v]),i.jsxs(i.Fragment,{children:[i.jsx(ot.span,{id:u.textId,...a,ref:g}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Fc.createPortal(a.children,o.valueNode):null]})});cE.displayName=oc;var dE="SelectItemIndicator",uE=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return oE(dE,n).isSelected?i.jsx(ot.span,{"aria-hidden":!0,...r,ref:e}):null});uE.displayName=dE;var px="SelectScrollUpButton",hE=b.forwardRef((t,e)=>{const n=da(px,t.__scopeSelect),r=z0(px,t.__scopeSelect),[s,a]=b.useState(!1),o=mt(e,r.onScrollButtonChange);return Vn(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollTop>0;a(h)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),s?i.jsx(pE,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});hE.displayName=px;var mx="SelectScrollDownButton",fE=b.forwardRef((t,e)=>{const n=da(mx,t.__scopeSelect),r=z0(mx,t.__scopeSelect),[s,a]=b.useState(!1),o=mt(e,r.onScrollButtonChange);return Vn(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),s?i.jsx(pE,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});fE.displayName=mx;var pE=b.forwardRef((t,e)=>{const{__scopeSelect:n,onAutoScroll:r,...s}=t,a=da("SelectScrollButton",n),o=b.useRef(null),c=bf(n),u=b.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return b.useEffect(()=>()=>u(),[u]),Vn(()=>{var f;const h=c().find(m=>m.ref.current===document.activeElement);(f=h==null?void 0:h.ref.current)==null||f.scrollIntoView({block:"nearest"})},[c]),i.jsx(ot.div,{"aria-hidden":!0,...s,ref:e,style:{flexShrink:0,...s.style},onPointerDown:nt(s.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:nt(s.onPointerMove,()=>{var h;(h=a.onItemLeave)==null||h.call(a),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:nt(s.onPointerLeave,()=>{u()})})}),SB="SelectSeparator",CB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return i.jsx(ot.div,{"aria-hidden":!0,...r,ref:e})});CB.displayName=SB;var gx="SelectArrow",EB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,s=wf(n),a=ca(gx,n),o=da(gx,n);return a.open&&o.position==="popper"?i.jsx(sB,{...s,...r,ref:e}):null});EB.displayName=gx;var TB="SelectBubbleInput",mE=b.forwardRef(({__scopeSelect:t,value:e,...n},r)=>{const s=b.useRef(null),a=mt(r,s),o=Lx(e);return b.useEffect(()=>{const c=s.current;if(!c)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("change",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),i.jsx(ot.select,{...n,style:{...K2,...n.style},ref:a,defaultValue:e})});mE.displayName=TB;function gE(t){return t===""||t===void 0}function xE(t){const e=Qi(t),n=b.useRef(""),r=b.useRef(0),s=b.useCallback(o=>{const c=n.current+o;e(c),(function u(h){n.current=h,window.clearTimeout(r.current),h!==""&&(r.current=window.setTimeout(()=>u(""),1e3))})(c)},[e]),a=b.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return b.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,s,a]}function yE(t,e,n){const s=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,a=n?t.indexOf(n):-1;let o=MB(t,Math.max(a,0));s.length===1&&(o=o.filter(h=>h!==n));const u=o.find(h=>h.textValue.toLowerCase().startsWith(s.toLowerCase()));return u!==n?u:void 0}function MB(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var AB=q2,vE=J2,RB=Q2,IB=X2,PB=Z2,bE=eE,OB=sE,wE=lE,DB=cE,LB=uE,_B=hE,zB=fE;const ec=AB,tc=RB,zo=b.forwardRef(({className:t,children:e,...n},r)=>i.jsxs(vE,{ref:r,className:gt("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...n,children:[e,i.jsx(IB,{asChild:!0,children:i.jsx(jc,{className:"h-4 w-4 opacity-50"})})]}));zo.displayName=vE.displayName;const $o=b.forwardRef(({className:t,children:e,position:n="popper",...r},s)=>i.jsx(PB,{children:i.jsxs(bE,{ref:s,className:gt("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1",t),position:n,...r,children:[i.jsx(_B,{className:"flex cursor-default items-center justify-center py-1",children:i.jsx(RN,{className:"h-4 w-4"})}),i.jsx(OB,{className:"p-1",children:e}),i.jsx(zB,{className:"flex cursor-default items-center justify-center py-1",children:i.jsx(jc,{className:"h-4 w-4"})})]})}));$o.displayName=bE.displayName;const Ws=b.forwardRef(({className:t,children:e,...n},r)=>i.jsxs(wE,{ref:r,className:gt("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[i.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i.jsx(LB,{children:i.jsx(Wh,{className:"h-4 w-4"})})}),i.jsx(DB,{children:e})]}));Ws.displayName=wE.displayName;const $B=["一","二","三","四","五","六","七","八","九","十"];function ig(t){return t.startsWith("part:")?{type:"part",id:t.slice(5)}:t.startsWith("chapter:")?{type:"chapter",id:t.slice(8)}:t.startsWith("section:")?{type:"section",id:t.slice(8)}:null}function FB({parts:t,expandedParts:e,onTogglePart:n,onReorder:r,onReadSection:s,onDeleteSection:a,onAddSectionInPart:o,onAddChapterInPart:c,onDeleteChapter:u,onEditPart:h,onDeletePart:f,onEditChapter:m,selectedSectionIds:g=[],onToggleSectionSelect:y,onShowSectionOrders:v,pinnedSectionIds:j=[]}){const[w,k]=b.useState(null),[E,C]=b.useState(null),M=(O,W)=>(w==null?void 0:w.type)===O&&(w==null?void 0:w.id)===W,D=(O,W)=>(E==null?void 0:E.type)===O&&(E==null?void 0:E.id)===W,F=b.useCallback(()=>{const O=[];for(const W of t)for(const X of W.chapters)for(const q of X.sections)O.push({id:q.id,partId:W.id,partTitle:W.title,chapterId:X.id,chapterTitle:X.title});return O},[t]),R=b.useCallback(async(O,W,X,q)=>{var V;O.preventDefault(),O.stopPropagation();const Z=O.dataTransfer.getData("text/plain"),_=ig(Z);if(!_||_.type===W&&_.id===X)return;const $=F(),oe=new Map($.map(ae=>[ae.id,ae]));if(_.type==="part"&&W==="part"){const ae=t.map(U=>U.id),Y=ae.indexOf(_.id),L=ae.indexOf(X);if(Y===-1||L===-1)return;const H=[...ae];H.splice(Y,1),H.splice(YQ.id===U);if(he)for(const Q of he.chapters)for(const ee of Q.sections){const de=oe.get(ee.id);de&&ue.push(de)}}await r(ue);return}if(_.type==="chapter"&&(W==="chapter"||W==="section"||W==="part")){const ae=t.find(de=>de.chapters.some(Ce=>Ce.id===_.id)),Y=ae==null?void 0:ae.chapters.find(de=>de.id===_.id);if(!ae||!Y)return;let L,H,ue=null;if(W==="section"){const de=oe.get(X);if(!de)return;L=de.partId,H=de.partTitle,ue=X}else if(W==="chapter"){const de=t.find(me=>me.chapters.some(Se=>Se.id===X)),Ce=de==null?void 0:de.chapters.find(me=>me.id===X);if(!de||!Ce)return;L=de.id,H=de.title;const B=$.filter(me=>me.chapterId===X).pop();ue=(B==null?void 0:B.id)??null}else{const de=t.find(B=>B.id===X);if(!de||!de.chapters[0])return;L=de.id,H=de.title;const Ce=$.filter(B=>B.partId===de.id&&B.chapterId===de.chapters[0].id);ue=((V=Ce[Ce.length-1])==null?void 0:V.id)??null}const U=Y.sections.map(de=>de.id),he=$.filter(de=>!U.includes(de.id));let Q=he.length;if(ue){const de=he.findIndex(Ce=>Ce.id===ue);de>=0&&(Q=de+1)}const ee=U.map(de=>({...oe.get(de),partId:L,partTitle:H,chapterId:Y.id,chapterTitle:Y.title}));await r([...he.slice(0,Q),...ee,...he.slice(Q)]);return}if(_.type==="section"&&(W==="section"||W==="chapter"||W==="part")){if(!q)return;const{partId:ae,partTitle:Y,chapterId:L,chapterTitle:H}=q;let ue;if(W==="section")ue=$.findIndex(Ce=>Ce.id===X);else if(W==="chapter"){const Ce=$.filter(B=>B.chapterId===X).pop();ue=Ce?$.findIndex(B=>B.id===Ce.id)+1:$.length}else{const Ce=t.find(Se=>Se.id===X);if(!(Ce!=null&&Ce.chapters[0]))return;const B=$.filter(Se=>Se.partId===Ce.id&&Se.chapterId===Ce.chapters[0].id),me=B[B.length-1];ue=me?$.findIndex(Se=>Se.id===me.id)+1:0}const U=$.findIndex(Ce=>Ce.id===_.id);if(U===-1)return;const he=$.filter(Ce=>Ce.id!==_.id),Q=U({onDragEnter:q=>{q.preventDefault(),q.stopPropagation(),q.dataTransfer.dropEffect="move",C({type:O,id:W})},onDragOver:q=>{q.preventDefault(),q.stopPropagation(),q.dataTransfer.dropEffect="move",C({type:O,id:W})},onDragLeave:()=>C(null),onDrop:q=>{C(null);const Z=ig(q.dataTransfer.getData("text/plain"));if(Z&&!(O==="section"&&Z.type==="section"&&Z.id===W))if(O==="part")if(Z.type==="part")R(q,"part",W);else{const _=t.find(oe=>oe.id===W);(_==null?void 0:_.chapters[0])&&X&&R(q,"part",W,X)}else O==="chapter"&&X?(Z.type==="section"||Z.type==="chapter")&&R(q,"chapter",W,X):O==="section"&&X&&R(q,"section",W,X)}}),A=O=>$B[O]??String(O+1);return i.jsx("div",{className:"space-y-3",children:t.map((O,W)=>{var Y,L,H,ue;const X=O.title==="序言"||O.title.includes("序言"),q=O.title==="尾声"||O.title.includes("尾声"),Z=O.title==="附录"||O.title.includes("附录"),_=D("part",O.id),$=e.includes(O.id),oe=O.chapters.length,V=O.chapters.reduce((U,he)=>U+he.sections.length,0);if(X&&O.chapters.length===1&&O.chapters[0].sections.length===1){const U=O.chapters[0].sections[0],he=D("section",U.id),Q={partId:O.id,partTitle:O.title,chapterId:O.chapters[0].id,chapterTitle:O.chapters[0].title};return i.jsxs("div",{draggable:!0,onDragStart:ee=>{ee.stopPropagation(),ee.dataTransfer.setData("text/plain","section:"+U.id),ee.dataTransfer.effectAllowed="move",k({type:"section",id:U.id})},onDragEnd:()=>{k(null),C(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${he?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${M("section",U.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...I("section",U.id,Q),children:[i.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[i.jsx(_s,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ee=>ee.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(U.id),onChange:()=>y(U.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:i.jsx(zr,{className:"w-4 h-4 text-gray-400"})}),i.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[O.chapters[0].title," | ",U.title]}),j.includes(U.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Vo,{className:"w-3.5 h-3.5 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ee=>ee.stopPropagation(),onClick:ee=>ee.stopPropagation(),children:[U.price===0||U.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",U.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",U.clickCount??0," · 付款 ",U.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(U.hotScore??0).toFixed(1)," · 第",U.hotRank&&U.hotRank>0?U.hotRank:"-","名"]}),v&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(U),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(U),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(U),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]})]},O.id)}if(O.title==="2026每日派对干货"||O.title.includes("2026每日派对干货")){const U=D("part",O.id);return i.jsxs("div",{className:`rounded-xl border overflow-hidden transition-all duration-200 ${U?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50 bg-[#1C1C1E]"}`,...I("part",O.id,{partId:O.id,partTitle:O.title,chapterId:((Y=O.chapters[0])==null?void 0:Y.id)??"",chapterTitle:((L=O.chapters[0])==null?void 0:L.title)??""}),children:[i.jsxs("div",{draggable:!0,onDragStart:he=>{he.stopPropagation(),he.dataTransfer.setData("text/plain","part:"+O.id),he.dataTransfer.effectAllowed="move",k({type:"part",id:O.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${M("part",O.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/50"}`,onClick:()=>n(O.id),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[i.jsx(_s,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),i.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac]/80 flex items-center justify-center text-white font-bold shrink-0",children:"派"}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-bold text-white text-base",children:O.title}),i.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",V," 节"]})]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:he=>he.stopPropagation(),onClick:he=>he.stopPropagation(),children:[o&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o(O),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:i.jsx(Lt,{className:"w-3.5 h-3.5"})}),h&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h(O),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),f&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f(O),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:i.jsx(vn,{className:"w-3.5 h-3.5"})}),i.jsxs("span",{className:"text-xs text-gray-500",children:[oe,"章"]}),$?i.jsx(jc,{className:"w-5 h-5 text-gray-500"}):i.jsx(Fo,{className:"w-5 h-5 text-gray-500"})]})]}),$&&O.chapters.length>0&&i.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:O.chapters.map(he=>i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:he.title}),i.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Q=>Q.stopPropagation(),children:[m&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>m(O,he),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),c&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>c(O),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:i.jsx(Lt,{className:"w-3.5 h-3.5"})}),u&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>u(O,he),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx("div",{className:"space-y-1 pl-2",children:he.sections.map(Q=>{const ee=D("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:de=>{de.stopPropagation(),de.dataTransfer.setData("text/plain","section:"+Q.id),de.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg min-h-[40px] cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${ee?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${M("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...I("section",Q.id,{partId:O.id,partTitle:O.title,chapterId:he.id,chapterTitle:he.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(_s,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:de=>de.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Q.id," ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Vo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]},Q.id)})})]},he.id))})]},O.id)}if(Z)return i.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[i.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"附录"}),i.jsx("div",{className:"space-y-3",children:O.chapters.map((U,he)=>U.sections.length>0?U.sections.map(Q=>{const ee=D("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:de=>{de.stopPropagation(),de.dataTransfer.setData("text/plain","section:"+Q.id),de.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 group cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${ee?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${M("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...I("section",Q.id,{partId:O.id,partTitle:O.title,chapterId:U.id,chapterTitle:U.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(_s,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:de=>de.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-300 truncate",children:["附录",he+1," | ",U.title," | ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Vo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx(Fo,{className:"w-4 h-4 text-gray-500 shrink-0"})]},Q.id)}):i.jsxs("div",{className:"flex justify-between items-center py-2 select-none hover:bg-[#162840]/50 rounded px-2 -mx-2",children:[i.jsxs("span",{className:"text-sm text-gray-500",children:["附录",he+1," | ",U.title,"(空)"]}),i.jsx(Fo,{className:"w-4 h-4 text-gray-500 shrink-0"})]},U.id))})]},O.id);if(q&&O.chapters.length===1&&O.chapters[0].sections.length===1){const U=O.chapters[0].sections[0],he=D("section",U.id),Q={partId:O.id,partTitle:O.title,chapterId:O.chapters[0].id,chapterTitle:O.chapters[0].title};return i.jsxs("div",{draggable:!0,onDragStart:ee=>{ee.stopPropagation(),ee.dataTransfer.setData("text/plain","section:"+U.id),ee.dataTransfer.effectAllowed="move",k({type:"section",id:U.id})},onDragEnd:()=>{k(null),C(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${he?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${M("section",U.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...I("section",U.id,Q),children:[i.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[i.jsx(_s,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ee=>ee.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(U.id),onChange:()=>y(U.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:i.jsx(zr,{className:"w-4 h-4 text-gray-400"})}),i.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[O.chapters[0].title," | ",U.title]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ee=>ee.stopPropagation(),onClick:ee=>ee.stopPropagation(),children:[U.price===0||U.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",U.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",U.clickCount??0," · 付款 ",U.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(U.hotScore??0).toFixed(1)," · 第",U.hotRank&&U.hotRank>0?U.hotRank:"-","名"]}),v&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(U),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(U),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(U),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]})]},O.id)}return q?i.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[i.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"尾声"}),i.jsx("div",{className:"space-y-3",children:O.chapters.map(U=>U.sections.map(he=>{const Q=D("section",he.id);return i.jsxs("div",{draggable:!0,onDragStart:ee=>{ee.stopPropagation(),ee.dataTransfer.setData("text/plain","section:"+he.id),ee.dataTransfer.effectAllowed="move",k({type:"section",id:he.id})},onDragEnd:()=>{k(null),C(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${Q?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${M("section",he.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...I("section",he.id,{partId:O.id,partTitle:O.title,chapterId:U.id,chapterTitle:U.title}),children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[i.jsx(_s,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:ee=>ee.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(he.id),onChange:()=>y(he.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsxs("span",{className:"text-sm text-gray-300",children:[U.title," | ",he.title]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[i.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",he.clickCount??0," · 付款 ",he.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(he.hotScore??0).toFixed(1)," · 第",he.hotRank&&he.hotRank>0?he.hotRank:"-","名"]}),v&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(he),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),i.jsxs("div",{className:"flex gap-1",children:[i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(he),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(he),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]})]},he.id)}))})]},O.id):i.jsxs("div",{className:`rounded-xl border bg-[#1C1C1E] overflow-hidden transition-all duration-200 ${_?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50"}`,...I("part",O.id,{partId:O.id,partTitle:O.title,chapterId:((H=O.chapters[0])==null?void 0:H.id)??"",chapterTitle:((ue=O.chapters[0])==null?void 0:ue.title)??""}),children:[i.jsxs("div",{draggable:!0,onDragStart:U=>{U.stopPropagation(),U.dataTransfer.setData("text/plain","part:"+O.id),U.dataTransfer.effectAllowed="move",k({type:"part",id:O.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${M("part",O.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] rounded-xl shadow-xl shadow-[#38bdac]/20":"hover:bg-[#162840]/50"}`,onClick:()=>n(O.id),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[i.jsx(_s,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),i.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac] flex items-center justify-center text-white font-bold shadow-lg shadow-[#38bdac]/30 shrink-0",children:A(W)}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-bold text-white text-base",children:O.title}),i.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",V," 节"]})]})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:U=>U.stopPropagation(),onClick:U=>U.stopPropagation(),children:[o&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o(O),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:i.jsx(Lt,{className:"w-3.5 h-3.5"})}),h&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h(O),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),f&&i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f(O),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:i.jsx(vn,{className:"w-3.5 h-3.5"})}),i.jsxs("span",{className:"text-xs text-gray-500",children:[oe,"章"]}),$?i.jsx(jc,{className:"w-5 h-5 text-gray-500"}):i.jsx(Fo,{className:"w-5 h-5 text-gray-500"})]})]}),$&&i.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:O.chapters.map(U=>{const he=D("chapter",U.id);return i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex items-center gap-2 w-full",children:[i.jsxs("div",{draggable:!0,onDragStart:Q=>{Q.stopPropagation(),Q.dataTransfer.setData("text/plain","chapter:"+U.id),Q.dataTransfer.effectAllowed="move",k({type:"chapter",id:U.id})},onDragEnd:()=>{k(null),C(null)},onDragEnter:Q=>{Q.preventDefault(),Q.stopPropagation(),Q.dataTransfer.dropEffect="move",C({type:"chapter",id:U.id})},onDragOver:Q=>{Q.preventDefault(),Q.stopPropagation(),Q.dataTransfer.dropEffect="move",C({type:"chapter",id:U.id})},onDragLeave:()=>C(null),onDrop:Q=>{C(null);const ee=ig(Q.dataTransfer.getData("text/plain"));if(!ee)return;const de={partId:O.id,partTitle:O.title,chapterId:U.id,chapterTitle:U.title};(ee.type==="section"||ee.type==="chapter")&&R(Q,"chapter",U.id,de)},className:`flex-1 min-w-0 py-2 px-2 rounded cursor-grab active:cursor-grabbing select-none -mx-2 transition-all duration-200 flex items-center gap-2 ${he?"bg-[#38bdac]/15 ring-1 ring-[#38bdac]/50":""} ${M("chapter",U.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/30"}`,children:[i.jsx(_s,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),i.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:U.title})]}),i.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Q=>Q.stopPropagation(),children:[m&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>m(O,U),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),c&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>c(O),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:i.jsx(Lt,{className:"w-3.5 h-3.5"})}),u&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>u(O,U),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]}),i.jsx("div",{className:"space-y-1 pl-2",children:U.sections.map(Q=>{const ee=D("section",Q.id);return i.jsxs("div",{draggable:!0,onDragStart:de=>{de.stopPropagation(),de.dataTransfer.setData("text/plain","section:"+Q.id),de.dataTransfer.effectAllowed="move",k({type:"section",id:Q.id})},onDragEnd:()=>{k(null),C(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg group cursor-grab active:cursor-grabbing select-none min-h-[40px] transition-all duration-200 ${ee?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${M("section",Q.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] shadow-lg":"hover:bg-[#162840]/50"}`,...I("section",Q.id,{partId:O.id,partTitle:O.title,chapterId:U.id,chapterTitle:U.title}),children:[i.jsxs("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[y&&i.jsx("label",{className:"shrink-0 flex items-center",onClick:de=>de.stopPropagation(),children:i.jsx("input",{type:"checkbox",checked:g.includes(Q.id),onChange:()=>y(Q.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),i.jsx(_s,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),i.jsx("div",{className:`w-2 h-2 rounded-full shrink-0 ${Q.price===0||Q.isFree?"border-2 border-[#38bdac] bg-transparent":"bg-gray-500"}`}),i.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Q.id," ",Q.title]}),j.includes(Q.id)&&i.jsx("span",{title:"已置顶",children:i.jsx(Vo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),i.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:de=>de.stopPropagation(),onClick:de=>de.stopPropagation(),children:[Q.isNew&&i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"NEW"}),Q.price===0||Q.isFree?i.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):i.jsxs("span",{className:"text-xs text-gray-500",children:["¥",Q.price]}),i.jsxs("span",{className:"text-[10px] text-gray-500",title:"点击次数 · 付款笔数",children:["点击 ",Q.clickCount??0," · 付款 ",Q.payCount??0]}),i.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Q.hotScore??0).toFixed(1)," · 第",Q.hotRank&&Q.hotRank>0?Q.hotRank:"-","名"]}),v&&i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>v(Q),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5 shrink-0",children:"付款记录"}),i.jsxs("div",{className:"flex gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity",children:[i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>s(Q),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:i.jsx(bt,{className:"w-3.5 h-3.5"})}),i.jsx(re,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Q),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:i.jsx(vn,{className:"w-3.5 h-3.5"})})]})]})]},Q.id)})})]},U.id)})})]},O.id)})})}function BB(t){const e=new Map;for(const c of t){const u=c.partId||"part-1",h=c.partTitle||"未分类",f=c.chapterId||"chapter-1",m=c.chapterTitle||"未分类";e.has(u)||e.set(u,{id:u,title:h,chapters:new Map});const g=e.get(u);g.chapters.has(f)||g.chapters.set(f,{id:f,title:m,sections:[]}),g.chapters.get(f).sections.push({id:c.id,title:c.title,price:c.price??1,filePath:c.filePath,isFree:c.isFree,isNew:c.isNew,clickCount:c.clickCount??0,payCount:c.payCount??0,hotScore:c.hotScore??0,hotRank:c.hotRank??0})}const n="part-2026-daily",r="2026每日派对干货";Array.from(e.values()).some(c=>c.title===r||c.title.includes(r))||e.set(n,{id:n,title:r,chapters:new Map([["chapter-2026-daily",{id:"chapter-2026-daily",title:r,sections:[]}]])});const a=Array.from(e.values()).map(c=>({...c,chapters:Array.from(c.chapters.values())})),o=c=>c.includes("序言")?0:c.includes(r)?1.5:c.includes("附录")?2:c.includes("尾声")?3:1;return a.sort((c,u)=>{const h=o(c.title),f=o(u.title);return h!==f?h-f:0})}function VB(){var gr,nd,rr;const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState([]),[o,c]=b.useState(null),[u,h]=b.useState(!1),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,j]=b.useState(""),[w,k]=b.useState([]),[E,C]=b.useState(!1),[M,D]=b.useState({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:""}),[F,R]=b.useState(null),[I,A]=b.useState(!1),[O,W]=b.useState(!1),[X,q]=b.useState(null),[Z,_]=b.useState(!1),[$,oe]=b.useState([]),[V,ae]=b.useState(!1),[Y,L]=b.useState(""),[H,ue]=b.useState(""),[U,he]=b.useState(!1),[Q,ee]=b.useState(""),[de,Ce]=b.useState(!1),[B,me]=b.useState(null),[Se,rt]=b.useState(!1),[Ye,st]=b.useState(!1),[Qe,Xe]=b.useState({readWeight:.5,recencyWeight:.3,payWeight:.2}),[ft,Pt]=b.useState(!1),[Jt,Kn]=b.useState(!1),[qn,ss]=b.useState(1),[zt,Cr]=b.useState([]),[is,On]=b.useState(!1),[pn,mr]=b.useState(20),[Br,Gn]=b.useState(!1),[fe,ge]=b.useState(!1),[Sn,ri]=b.useState([]),[Es,ua]=b.useState([]),[Jn,as]=b.useState({personId:"",name:"",label:""}),[jt,Cn]=b.useState({tagId:"",label:"",url:"",type:"url",appId:"",pagePath:""}),Yn=b.useRef(null),Dn=BB(t),ha=t.length,si=[...t].sort((P,ie)=>(ie.hotScore??0)-(P.hotScore??0)),Er=10,ii=Math.max(1,Math.ceil(si.length/Er)),ai=si.slice((qn-1)*Er,qn*Er),mn=async()=>{r(!0);try{const P=await Be("/api/db/book?action=list",{cache:"no-store"});e(Array.isArray(P==null?void 0:P.sections)?P.sections:[])}catch(P){console.error(P),e([])}finally{r(!1)}};b.useEffect(()=>{mn()},[]);const ls=P=>{a(ie=>ie.includes(P)?ie.filter(Ae=>Ae!==P):[...ie,P])},oi=b.useCallback(P=>{const ie=t,Ae=P.flatMap(Re=>{const Ot=ie.find(Vt=>Vt.id===Re.id);return Ot?[{...Ot,partId:Re.partId,partTitle:Re.partTitle,chapterId:Re.chapterId,chapterTitle:Re.chapterTitle}]:[]});return e(Ae),Rt("/api/db/book",{action:"reorder",items:P}).then(Re=>{Re&&Re.success===!1&&(e(ie),alert("排序失败: "+(Re&&typeof Re=="object"&&"error"in Re?Re.error:"未知错误")))}).catch(Re=>{e(ie),console.error("排序失败:",Re),alert("排序失败: "+(Re instanceof Error?Re.message:"网络或服务异常"))}),Promise.resolve()},[t]),cs=async P=>{if(confirm(`确定要删除章节「${P.title}」吗?此操作不可恢复。`))try{const ie=await Yr(`/api/db/book?id=${encodeURIComponent(P.id)}`);ie&&ie.success!==!1?(alert("已删除"),mn()):alert("删除失败: "+(ie&&typeof ie=="object"&&"error"in ie?ie.error:"未知错误"))}catch(ie){console.error(ie),alert("删除失败")}},fa=b.useCallback(async()=>{Pt(!0);try{const P=await Be("/api/db/config/full?key=article_ranking_weights",{cache:"no-store"}),ie=P&&P.data;ie&&typeof ie.readWeight=="number"&&typeof ie.recencyWeight=="number"&&typeof ie.payWeight=="number"&&Xe({readWeight:Math.max(0,Math.min(1,ie.readWeight)),recencyWeight:Math.max(0,Math.min(1,ie.recencyWeight)),payWeight:Math.max(0,Math.min(1,ie.payWeight))})}catch{}finally{Pt(!1)}},[]);b.useEffect(()=>{Ye&&fa()},[Ye,fa]);const ds=async()=>{const{readWeight:P,recencyWeight:ie,payWeight:Ae}=Qe,Re=P+ie+Ae;if(Math.abs(Re-1)>.001){alert("三个权重之和必须等于 1");return}Kn(!0);try{const Ot=await ht("/api/db/config",{key:"article_ranking_weights",value:{readWeight:P,recencyWeight:ie,payWeight:Ae},description:"文章排名算法权重"});Ot&&Ot.success!==!1?(alert("已保存"),mn()):alert("保存失败: "+(Ot&&typeof Ot=="object"&&"error"in Ot?Ot.error:""))}catch(Ot){console.error(Ot),alert("保存失败")}finally{Kn(!1)}},G=b.useCallback(async()=>{On(!0);try{const P=await Be("/api/db/config/full?key=pinned_section_ids",{cache:"no-store"}),ie=P&&P.data;Array.isArray(ie)&&Cr(ie)}catch{}finally{On(!1)}},[]),Ke=b.useCallback(async()=>{try{const P=await Be("/api/db/persons");P!=null&&P.success&&P.persons&&ri(P.persons.map(ie=>({id:ie.personId,name:ie.name,label:ie.label})))}catch{}},[]),Ze=b.useCallback(async()=>{try{const P=await Be("/api/db/link-tags");P!=null&&P.success&&P.linkTags&&ua(P.linkTags.map(ie=>({id:ie.tagId,label:ie.label,url:ie.url,type:ie.type,appId:ie.appId,pagePath:ie.pagePath})))}catch{}},[]),En=async P=>{const ie=zt.includes(P)?zt.filter(Ae=>Ae!==P):[...zt,P];Cr(ie);try{await ht("/api/db/config",{key:"pinned_section_ids",value:ie,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"})}catch{Cr(zt)}},Vr=b.useCallback(async()=>{Gn(!0);try{const P=await Be("/api/db/config/full?key=unpaid_preview_percent",{cache:"no-store"}),ie=P&&P.data;typeof ie=="number"&&ie>0&&ie<=100&&mr(ie)}catch{}finally{Gn(!1)}},[]),Nf=async()=>{if(pn<1||pn>100){alert("预览比例需在 1~100 之间");return}ge(!0);try{const P=await ht("/api/db/config",{key:"unpaid_preview_percent",value:pn,description:"小程序未付费内容默认预览比例(%)"});P&&P.success!==!1?alert("已保存"):alert("保存失败: "+(P.error||""))}catch{alert("保存失败")}finally{ge(!1)}};b.useEffect(()=>{G(),Vr(),Ke(),Ze()},[G,Vr,Ke,Ze]);const us=async P=>{me({section:P,orders:[]}),rt(!0);try{const ie=await Be(`/api/db/book?action=section-orders&id=${encodeURIComponent(P.id)}`),Ae=ie!=null&&ie.success&&Array.isArray(ie.orders)?ie.orders:[];me(Re=>Re?{...Re,orders:Ae}:null)}catch(ie){console.error(ie),me(Ae=>Ae?{...Ae,orders:[]}:null)}finally{rt(!1)}},no=async P=>{m(!0);try{const ie=await Be(`/api/db/book?action=read&id=${encodeURIComponent(P.id)}`);if(ie!=null&&ie.success&&ie.section){const Ae=ie.section;c({id:P.id,originalId:P.id,title:ie.section.title??P.title,price:ie.section.price??P.price,content:ie.section.content??"",filePath:P.filePath,isFree:P.isFree||P.price===0,isNew:Ae.isNew??P.isNew,isPinned:zt.includes(P.id),hotScore:P.hotScore??0})}else c({id:P.id,originalId:P.id,title:P.title,price:P.price,content:"",filePath:P.filePath,isFree:P.isFree,isNew:P.isNew,isPinned:zt.includes(P.id),hotScore:P.hotScore??0}),ie&&!ie.success&&alert("无法读取文件内容: "+(ie.error||"未知错误"))}catch(ie){console.error(ie),c({id:P.id,title:P.title,price:P.price,content:"",filePath:P.filePath,isFree:P.isFree})}finally{m(!1)}},Jc=async()=>{var P;if(o){y(!0);try{let ie=o.content||"";const Ae=[new RegExp(`^#+\\s*${o.id.replace(".","\\.")}\\s+.*$`,"gm"),new RegExp(`^#+\\s*${o.id.replace(".","\\.")}[::].*$`,"gm"),new RegExp(`^#\\s+.*${(P=o.title)==null?void 0:P.slice(0,10).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}.*$`,"gm")];for(const hs of Ae)ie=ie.replace(hs,"");ie=ie.replace(/^\s*\n+/,"").trim();const Re=o.originalId||o.id,Ot=o.id!==Re,Vt=await Rt("/api/db/book",{id:Re,...Ot?{newId:o.id}:{},title:o.title,price:o.isFree?0:o.price,content:ie,isFree:o.isFree||o.price===0,isNew:o.isNew,hotScore:o.hotScore,saveToFile:!0}),Ln=Ot?o.id:Re;o.isPinned!==zt.includes(Ln)&&await En(Ln),Vt&&Vt.success!==!1?(alert(`已保存章节: ${o.title}`),c(null),mn()):alert("保存失败: "+(Vt&&typeof Vt=="object"&&"error"in Vt?Vt.error:"未知错误"))}catch(ie){console.error(ie),alert("保存失败")}finally{y(!1)}}},jf=async()=>{if(!M.id||!M.title){alert("请填写章节ID和标题");return}y(!0);try{const P=await Rt("/api/db/book",{id:M.id,title:M.title,price:M.price,content:M.content,partId:M.partId,chapterId:M.chapterId,saveToFile:!1});P&&P.success!==!1?(alert(`章节创建成功: ${M.title}`),h(!1),D({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:""}),mn()):alert("创建失败: "+(P&&typeof P=="object"&&"error"in P?P.error:"未知错误"))}catch(P){console.error(P),alert("创建失败")}finally{y(!1)}},Yc=P=>{D(ie=>{var Ae;return{...ie,partId:P.id,chapterId:((Ae=P.chapters[0])==null?void 0:Ae.id)??"chapter-1"}}),h(!0)},Qc=P=>{R({id:P.id,title:P.title})},Xc=async()=>{var P;if((P=F==null?void 0:F.title)!=null&&P.trim()){A(!0);try{const ie=t.map(Re=>({id:Re.id,partId:Re.partId||"part-1",partTitle:Re.partId===F.id?F.title.trim():Re.partTitle||"",chapterId:Re.chapterId||"chapter-1",chapterTitle:Re.chapterTitle||""})),Ae=await Rt("/api/db/book",{action:"reorder",items:ie});Ae&&Ae.success!==!1?(R(null),mn()):alert("更新篇名失败: "+(Ae&&typeof Ae=="object"&&"error"in Ae?Ae.error:"未知错误"))}catch(ie){console.error(ie),alert("更新篇名失败")}finally{A(!1)}}},Zc=P=>{const ie=P.chapters.length+1,Ae=`chapter-${P.id}-${ie}-${Date.now()}`;D({id:`${ie}.1`,title:"新章节",price:1,partId:P.id,chapterId:Ae,content:""}),h(!0)},kf=(P,ie)=>{q({part:P,chapter:ie,title:ie.title})},Sf=async()=>{var P;if((P=X==null?void 0:X.title)!=null&&P.trim()){_(!0);try{const ie=t.map(Re=>({id:Re.id,partId:Re.partId||X.part.id,partTitle:Re.partId===X.part.id?X.part.title:Re.partTitle||"",chapterId:Re.chapterId||X.chapter.id,chapterTitle:Re.partId===X.part.id&&Re.chapterId===X.chapter.id?X.title.trim():Re.chapterTitle||""})),Ae=await Rt("/api/db/book",{action:"reorder",items:ie});Ae&&Ae.success!==!1?(q(null),mn()):alert("保存失败: "+(Ae&&typeof Ae=="object"&&"error"in Ae?Ae.error:"未知错误"))}catch(ie){console.error(ie),alert("保存失败")}finally{_(!1)}}},$t=async(P,ie)=>{const Ae=ie.sections.map(Re=>Re.id);if(Ae.length===0){alert("该章下无小节,无需删除");return}if(confirm(`确定要删除「第${P.chapters.indexOf(ie)+1}章 | ${ie.title}」吗?将删除共 ${Ae.length} 节,此操作不可恢复。`))try{for(const Re of Ae)await Yr(`/api/db/book?id=${encodeURIComponent(Re)}`);mn()}catch(Re){console.error(Re),alert("删除失败")}},Cf=async()=>{if(!Q.trim()){alert("请输入篇名");return}Ce(!0);try{const P=`part-new-${Date.now()}`,ie="chapter-1",Ae=`part-placeholder-${Date.now()}`,Re=await Rt("/api/db/book",{id:Ae,title:"占位节(可编辑)",price:0,content:"",partId:P,partTitle:Q.trim(),chapterId:ie,chapterTitle:"第1章 | 待编辑",saveToFile:!1});Re&&Re.success!==!1?(alert(`篇「${Q}」创建成功,请编辑占位节`),W(!1),ee(""),mn()):alert("创建失败: "+(Re&&typeof Re=="object"&&"error"in Re?Re.error:"未知错误"))}catch(P){console.error(P),alert("创建失败")}finally{Ce(!1)}},gl=async()=>{if($.length===0){alert("请先勾选要移动的章节");return}const P=Dn.find(Ae=>Ae.id===Y),ie=P==null?void 0:P.chapters.find(Ae=>Ae.id===H);if(!P||!ie||!Y||!H){alert("请选择目标篇和章");return}he(!0);try{const Ae=()=>{const Ln=new Set($),hs=t.map(sn=>({id:sn.id,partId:sn.partId||"",partTitle:sn.partTitle||"",chapterId:sn.chapterId||"",chapterTitle:sn.chapterTitle||""})),Ef=hs.filter(sn=>Ln.has(sn.id)).map(sn=>({...sn,partId:Y,partTitle:P.title||Y,chapterId:H,chapterTitle:ie.title||H})),Ts=hs.filter(sn=>!Ln.has(sn.id));let io=Ts.length;for(let sn=Ts.length-1;sn>=0;sn-=1){const li=Ts[sn];if(li.partId===Y&&li.chapterId===H){io=sn+1;break}}return[...Ts.slice(0,io),...Ef,...Ts.slice(io)]},Re=async()=>{const Ln=Ae(),hs=await Rt("/api/db/book",{action:"reorder",items:Ln});return hs&&hs.success!==!1?(alert(`已移动 ${$.length} 节到「${P.title}」-「${ie.title}」`),ae(!1),oe([]),await mn(),!0):!1},Ot={action:"move-sections",sectionIds:$,targetPartId:Y,targetChapterId:H,targetPartTitle:P.title||Y,targetChapterTitle:ie.title||H},Vt=await Rt("/api/db/book",Ot);if(Vt&&Vt.success!==!1)alert(`已移动 ${Vt.count??$.length} 节到「${P.title}」-「${ie.title}」`),ae(!1),oe([]),await mn();else{const Ln=Vt&&typeof Vt=="object"&&"error"in Vt?Vt.error||"":"未知错误";if((Ln.includes("缺少 id")||Ln.includes("无效的 action"))&&await Re())return;alert("移动失败: "+Ln)}}catch(Ae){console.error(Ae),alert("移动失败: "+(Ae instanceof Error?Ae.message:"网络或服务异常"))}finally{he(!1)}},ed=P=>{oe(ie=>ie.includes(P)?ie.filter(Ae=>Ae!==P):[...ie,P])},ro=async P=>{const ie=t.filter(Ae=>Ae.partId===P.id).map(Ae=>Ae.id);if(ie.length===0){alert("该篇下暂无小节可删除");return}if(confirm(`确定要删除「${P.title}」整篇吗?将删除共 ${ie.length} 节内容,此操作不可恢复。`))try{for(const Ae of ie)await Yr(`/api/db/book?id=${encodeURIComponent(Ae)}`);mn()}catch(Ae){console.error(Ae),alert("删除失败")}},td=async()=>{var P;if(v.trim()){C(!0);try{const ie=await Be(`/api/search?q=${encodeURIComponent(v)}`);ie!=null&&ie.success&&((P=ie.data)!=null&&P.results)?k(ie.data.results):(k([]),ie&&!ie.success&&alert("搜索失败: "+ie.error))}catch(ie){console.error(ie),k([]),alert("搜索失败")}finally{C(!1)}}},so=Dn.find(P=>P.id===M.partId),pa=(so==null?void 0:so.chapters)??[];return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"内容管理"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",Dn.length," 篇 · ",ha," 节内容"]})]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsxs(re,{onClick:()=>st(!0),variant:"outline",className:"border-amber-500/50 text-amber-400 hover:bg-amber-500/10 bg-transparent",children:[i.jsx(fm,{className:"w-4 h-4 mr-2"}),"排名算法"]}),i.jsxs(re,{onClick:()=>{const P=typeof window<"u"?`${window.location.origin}/api-doc`:"";P&&window.open(P,"_blank","noopener,noreferrer")},variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(Gs,{className:"w-4 h-4 mr-2"}),"API 接口"]})]})]}),i.jsx(Qt,{open:u,onOpenChange:h,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-2xl max-h-[90vh] overflow-y-auto",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(Lt,{className:"w-5 h-5 text-[#38bdac]"}),"新建章节"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节ID *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 9.15",value:M.id,onChange:P=>D({...M,id:P.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:M.price,onChange:P=>D({...M,price:Number(P.target.value)})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节标题 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入章节标题",value:M.title,onChange:P=>D({...M,title:P.target.value})})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"所属篇"}),i.jsxs(ec,{value:M.partId,onValueChange:P=>D({...M,partId:P,chapterId:"chapter-1"}),children:[i.jsx(zo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(tc,{})}),i.jsxs($o,{className:"bg-[#0f2137] border-gray-700",children:[Dn.map(P=>i.jsx(Ws,{value:P.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:P.title},P.id)),Dn.length===0&&i.jsx(Ws,{value:"part-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认篇"})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"所属章"}),i.jsxs(ec,{value:M.chapterId,onValueChange:P=>D({...M,chapterId:P}),children:[i.jsx(zo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(tc,{})}),i.jsxs($o,{className:"bg-[#0f2137] border-gray-700",children:[pa.map(P=>i.jsx(Ws,{value:P.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:P.title},P.id)),pa.length===0&&i.jsx(Ws,{value:"chapter-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认章"})]})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"内容 (Markdown格式)"}),i.jsx(dl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[300px] font-mono text-sm placeholder:text-gray-500",placeholder:"输入章节内容...",value:M.content,onChange:P=>D({...M,content:P.target.value})})]})]}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",onClick:()=>h(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(re,{onClick:jf,disabled:g||!M.id||!M.title,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"创建章节"]})})]})]})}),i.jsx(Qt,{open:!!F,onOpenChange:P=>!P&&R(null),children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(bt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑篇名"]})}),F&&i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"篇名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:F.title,onChange:P=>R({...F,title:P.target.value}),placeholder:"输入篇名"})]})}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",onClick:()=>R(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(re,{onClick:Xc,disabled:I||!((gr=F==null?void 0:F.title)!=null&&gr.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:I?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),i.jsx(Qt,{open:!!X,onOpenChange:P=>!P&&q(null),children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(bt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节名称"]})}),X&&i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节名称(如:第8章|底层结构)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:X.title,onChange:P=>q({...X,title:P.target.value}),placeholder:"输入章节名称"})]})}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",onClick:()=>q(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(re,{onClick:Sf,disabled:Z||!((nd=X==null?void 0:X.title)!=null&&nd.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:Z?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),i.jsx(Qt,{open:V,onOpenChange:P=>{var ie;if(ae(P),P&&Dn.length>0){const Ae=Dn[0];L(Ae.id),ue(((ie=Ae.chapters[0])==null?void 0:ie.id)??"")}},children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsx(Zt,{className:"text-white",children:"批量移动至指定目录"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["已选 ",i.jsx("span",{className:"text-[#38bdac] font-medium",children:$.length})," 节,请选择目标篇与章。"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目标篇"}),i.jsxs(ec,{value:Y,onValueChange:P=>{var Ae;L(P);const ie=Dn.find(Re=>Re.id===P);ue(((Ae=ie==null?void 0:ie.chapters[0])==null?void 0:Ae.id)??"")},children:[i.jsx(zo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(tc,{placeholder:"选择篇"})}),i.jsx($o,{className:"bg-[#0f2137] border-gray-700",children:Dn.map(P=>i.jsx(Ws,{value:P.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:P.title},P.id))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目标章"}),i.jsxs(ec,{value:H,onValueChange:ue,children:[i.jsx(zo,{className:"bg-[#0a1628] border-gray-700 text-white",children:i.jsx(tc,{placeholder:"选择章"})}),i.jsx($o,{className:"bg-[#0f2137] border-gray-700",children:(((rr=Dn.find(P=>P.id===Y))==null?void 0:rr.chapters)??[]).map(P=>i.jsx(Ws,{value:P.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:P.title},P.id))})]})]})]}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",onClick:()=>ae(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(re,{onClick:gl,disabled:U||$.length===0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:U?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"移动中..."]}):"确认移动"})]})]})}),i.jsx(Qt,{open:!!B,onOpenChange:P=>!P&&me(null),children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-3xl max-h-[85vh] overflow-hidden flex flex-col",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white",children:["付款记录 — ",(B==null?void 0:B.section.title)??""]})}),i.jsx("div",{className:"flex-1 overflow-y-auto py-2",children:Se?i.jsxs("div",{className:"flex items-center justify-center py-8",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):B&&B.orders.length===0?i.jsx("p",{className:"text-gray-500 text-center py-6",children:"暂无付款记录"}):B?i.jsxs("table",{className:"w-full text-sm border-collapse",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[i.jsx("th",{className:"py-2 pr-2",children:"订单号"}),i.jsx("th",{className:"py-2 pr-2",children:"用户ID"}),i.jsx("th",{className:"py-2 pr-2",children:"金额"}),i.jsx("th",{className:"py-2 pr-2",children:"状态"}),i.jsx("th",{className:"py-2 pr-2",children:"支付时间"})]})}),i.jsx("tbody",{children:B.orders.map(P=>i.jsxs("tr",{className:"border-b border-gray-700/50",children:[i.jsx("td",{className:"py-2 pr-2",children:i.jsx("button",{className:"text-blue-400 hover:text-blue-300 hover:underline text-left truncate max-w-[180px] block",title:`查看订单 ${P.orderSn}`,onClick:()=>window.open(`/orders?search=${P.orderSn??P.id??""}`,"_blank"),children:P.orderSn?P.orderSn.length>16?P.orderSn.slice(0,8)+"..."+P.orderSn.slice(-6):P.orderSn:"-"})}),i.jsx("td",{className:"py-2 pr-2",children:i.jsx("button",{className:"text-[#38bdac] hover:text-[#2da396] hover:underline text-left truncate max-w-[140px] block",title:`查看用户 ${P.userId??P.openId??""}`,onClick:()=>window.open(`/users?search=${P.userId??P.openId??""}`,"_blank"),children:(()=>{const ie=P.userId??P.openId??"-";return ie.length>12?ie.slice(0,6)+"..."+ie.slice(-4):ie})()})}),i.jsxs("td",{className:"py-2 pr-2 text-gray-300",children:["¥",P.amount??0]}),i.jsx("td",{className:"py-2 pr-2 text-gray-300",children:P.status??"-"}),i.jsx("td",{className:"py-2 pr-2 text-gray-500",children:P.payTime??P.createdAt??"-"})]},P.id??P.orderSn??""))})]}):null})]})}),i.jsx(Qt,{open:Ye,onOpenChange:st,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(fm,{className:"w-5 h-5 text-amber-400"}),"文章排名算法"]})}),i.jsxs("div",{className:"space-y-4 py-2",children:[i.jsx("p",{className:"text-sm text-gray-400",children:"热度积分 = 阅读权重×阅读排名分 + 新度权重×新度排名分 + 付款权重×付款排名分(三权重之和须为 1)"}),ft?i.jsx("p",{className:"text-gray-500",children:"加载中..."}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"阅读权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Qe.readWeight,onChange:P=>Xe(ie=>({...ie,readWeight:Math.max(0,Math.min(1,parseFloat(P.target.value)||0))}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"新度权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Qe.recencyWeight,onChange:P=>Xe(ie=>({...ie,recencyWeight:Math.max(0,Math.min(1,parseFloat(P.target.value)||0))}))})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"付款权重"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",max:"1",className:"bg-[#0a1628] border-gray-700 text-white",value:Qe.payWeight,onChange:P=>Xe(ie=>({...ie,payWeight:Math.max(0,Math.min(1,parseFloat(P.target.value)||0))}))})]})]}),i.jsxs("p",{className:"text-xs text-gray-500",children:["当前之和: ",(Qe.readWeight+Qe.recencyWeight+Qe.payWeight).toFixed(1)]}),i.jsxs("ul",{className:"list-disc list-inside space-y-1 text-xs text-gray-400",children:[i.jsx("li",{children:"阅读量前 20 名:第1名=20分、第2名=19分...第20名=1分"}),i.jsx("li",{children:"最近更新前 30 篇:第1名=30分、第2名=29分...第30名=1分"}),i.jsx("li",{children:"付款数前 20 名:第1名=20分、第2名=19分...第20名=1分"}),i.jsx("li",{children:"热度分可在编辑章节中手动覆盖"})]}),i.jsx(re,{onClick:ds,disabled:Jt||Math.abs(Qe.readWeight+Qe.recencyWeight+Qe.payWeight-1)>.001,className:"w-full bg-amber-500 hover:bg-amber-600 text-white",children:Jt?"保存中...":"保存权重"})]})]})]})}),i.jsx(Qt,{open:O,onOpenChange:W,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(Lt,{className:"w-5 h-5 text-amber-400"}),"新建篇"]})}),i.jsx("div",{className:"space-y-4 py-4",children:i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"篇名(如:第六篇|真实的社会)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:Q,onChange:P=>ee(P.target.value),placeholder:"输入篇名"})]})}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",onClick:()=>{W(!1),ee("")},className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsx(re,{onClick:Cf,disabled:de||!Q.trim(),className:"bg-amber-500 hover:bg-amber-600 text-white",children:de?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"创建篇"]})})]})]})}),i.jsx(Qt,{open:!!o,onOpenChange:()=>c(null),children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[i.jsx(Xt,{className:"shrink-0 px-6 pt-6 pb-2",children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[i.jsx(bt,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节"]})}),o&&i.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.id,onChange:P=>c({...o,id:P.target.value}),placeholder:"如: 9.15"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:o.isFree?0:o.price,onChange:P=>c({...o,price:Number(P.target.value),isFree:Number(P.target.value)===0}),disabled:o.isFree})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"免费"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isFree||o.price===0,onChange:P=>c({...o,isFree:P.target.checked,price:P.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最新新增"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isNew??!1,onChange:P=>c({...o,isNew:P.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序直推"}),i.jsx("div",{className:"flex items-center h-10",children:i.jsxs("label",{className:"flex items-center cursor-pointer",children:[i.jsx("input",{type:"checkbox",checked:o.isPinned??!1,onChange:P=>c({...o,isPinned:P.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),i.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"热度分"}),i.jsx(ce,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:o.hotScore??0,onChange:P=>c({...o,hotScore:Math.max(0,parseFloat(P.target.value)||0)})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"章节标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.title,onChange:P=>c({...o,title:P.target.value})})]}),o.filePath&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"文件路径"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-gray-400 text-sm",value:o.filePath,disabled:!0})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @提及主人公 和 #链接标签)"}),f?i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700 rounded-md min-h-[400px] flex items-center justify-center",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsx(j2,{ref:Yn,content:o.content||"",onChange:P=>c({...o,content:P}),onImageUpload:async P=>{var Ot;const ie=new FormData;ie.append("file",P),ie.append("folder","book-images");const Re=await(await fetch(Yo("/api/upload"),{method:"POST",body:ie,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((Ot=Re==null?void 0:Re.data)==null?void 0:Ot.url)||(Re==null?void 0:Re.url)||""},persons:Sn,linkTags:Es,placeholder:"开始编辑内容... 输入 @ 可提及主人公,工具栏可插入 #链接标签"})]})]}),i.jsxs(bn,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[o&&i.jsxs(re,{variant:"outline",onClick:()=>us({id:o.id,title:o.title,price:o.price}),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent mr-auto",children:[i.jsx(zr,{className:"w-4 h-4 mr-2"}),"付款记录"]}),i.jsxs(re,{variant:"outline",onClick:()=>c(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsx(re,{onClick:Jc,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?i.jsxs(i.Fragment,{children:[i.jsx(qe,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):i.jsxs(i.Fragment,{children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),"保存修改"]})})]})]})}),i.jsxs(Hc,{defaultValue:"chapters",className:"space-y-6",children:[i.jsxs(cl,{className:"bg-[#0f2137] border border-gray-700/50 p-1",children:[i.jsxs(en,{value:"chapters",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[i.jsx(zr,{className:"w-4 h-4 mr-2"}),"章节管理"]}),i.jsxs(en,{value:"ranking",className:"data-[state=active]:bg-amber-500/20 data-[state=active]:text-amber-400 text-gray-400",children:[i.jsx(Ab,{className:"w-4 h-4 mr-2"}),"内容排行榜"]}),i.jsxs(en,{value:"search",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[i.jsx(Ui,{className:"w-4 h-4 mr-2"}),"内容搜索"]}),i.jsxs(en,{value:"protagonists",className:"data-[state=active]:bg-purple-500/20 data-[state=active]:text-purple-400 text-gray-400",children:[i.jsx(Nn,{className:"w-4 h-4 mr-2"}),"主人公"]})]}),i.jsxs(tn,{value:"chapters",className:"space-y-4",children:[i.jsxs("div",{className:"rounded-2xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between shadow-sm",children:[i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac] flex items-center justify-center text-white shadow-lg shadow-[#38bdac]/20 shrink-0",children:i.jsx(zr,{className:"w-6 h-6"})}),i.jsxs("div",{children:[i.jsx("h2",{className:"font-bold text-base text-white leading-tight mb-1",children:"一场SOUL的创业实验场"}),i.jsx("p",{className:"text-xs text-gray-500",children:"来自Soul派对房的真实商业故事"})]})]}),i.jsxs("div",{className:"text-center shrink-0",children:[i.jsx("span",{className:"block text-2xl font-bold text-[#38bdac]",children:ha}),i.jsx("span",{className:"text-xs text-gray-500",children:"章节"})]})]}),i.jsxs("div",{className:"flex flex-wrap gap-2",children:[i.jsxs(re,{onClick:()=>h(!0),className:"flex-1 min-w-[120px] bg-[#38bdac]/10 hover:bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/30",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"新建章节"]}),i.jsxs(re,{onClick:()=>W(!0),className:"flex-1 min-w-[120px] bg-amber-500/10 hover:bg-amber-500/20 text-amber-400 border border-amber-500/30",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"新建篇"]}),i.jsxs(re,{variant:"outline",onClick:()=>ae(!0),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:["批量移动(已选 ",$.length," 节)"]})]}),n?i.jsxs("div",{className:"flex items-center justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsx(FB,{parts:Dn,expandedParts:s,onTogglePart:ls,onReorder:oi,onReadSection:no,onDeleteSection:cs,onAddSectionInPart:Yc,onAddChapterInPart:Zc,onDeleteChapter:$t,onEditPart:Qc,onDeletePart:ro,onEditChapter:kf,selectedSectionIds:$,onToggleSectionSelect:ed,onShowSectionOrders:us,pinnedSectionIds:zt})]}),i.jsx(tn,{value:"search",className:"space-y-4",children:i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(et,{children:i.jsx(tt,{className:"text-white",children:"内容搜索"})}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",placeholder:"搜索标题或内容...",value:v,onChange:P=>j(P.target.value),onKeyDown:P=>P.key==="Enter"&&td()}),i.jsx(re,{onClick:td,disabled:E||!v.trim(),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:E?i.jsx(qe,{className:"w-4 h-4 animate-spin"}):i.jsx(Ui,{className:"w-4 h-4"})})]}),w.length>0&&i.jsxs("div",{className:"space-y-2 mt-4",children:[i.jsxs("p",{className:"text-gray-400 text-sm",children:["找到 ",w.length," 个结果"]}),w.map(P=>i.jsxs("div",{className:"p-3 rounded-lg bg-[#162840] hover:bg-[#1a3050] cursor-pointer transition-colors",onClick:()=>no({id:P.id,title:P.title,price:P.price??1,filePath:""}),children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("span",{className:"text-[#38bdac] font-mono text-xs",children:P.id}),i.jsx("span",{className:"text-white",children:P.title}),zt.includes(P.id)&&i.jsx(Vo,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})]}),i.jsx(Fe,{variant:"outline",className:"text-gray-400 border-gray-600 text-xs",children:P.matchType==="title"?"标题匹配":"内容匹配"})]}),P.snippet&&i.jsx("p",{className:"text-gray-500 text-xs mt-2 line-clamp-2",children:P.snippet}),(P.partTitle||P.chapterTitle)&&i.jsxs("p",{className:"text-gray-600 text-xs mt-1",children:[P.partTitle," · ",P.chapterTitle]})]},P.id))]})]})]})}),i.jsxs(tn,{value:"ranking",className:"space-y-4",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(et,{className:"pb-3",children:i.jsxs(tt,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(fm,{className:"w-4 h-4 text-[#38bdac]"}),"内容显示规则"]})}),i.jsx(Te,{children:i.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(te,{className:"text-gray-400 text-sm whitespace-nowrap",children:"未付费预览比例"}),i.jsx(ce,{type:"number",min:"1",max:"100",className:"bg-[#0a1628] border-gray-700 text-white w-20",value:pn,onChange:P=>mr(Math.max(1,Math.min(100,Number(P.target.value)||20))),disabled:Br}),i.jsx("span",{className:"text-gray-500 text-sm",children:"%"})]}),i.jsx(re,{size:"sm",onClick:Nf,disabled:fe,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:fe?"保存中...":"保存"}),i.jsxs("span",{className:"text-xs text-gray-500",children:["小程序未付费用户默认显示文章前 ",pn,"% 内容"]})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(et,{className:"pb-3",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs(tt,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(Ab,{className:"w-4 h-4 text-amber-400"}),"内容排行榜",i.jsxs("span",{className:"text-xs text-gray-500 font-normal ml-2",children:["按热度排行 · 共 ",si.length," 节"]})]}),i.jsxs("div",{className:"flex items-center gap-1 text-sm",children:[i.jsx(re,{variant:"ghost",size:"sm",disabled:qn<=1,onClick:()=>ss(P=>Math.max(1,P-1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:i.jsx(OT,{className:"w-4 h-4"})}),i.jsxs("span",{className:"text-gray-400 min-w-[60px] text-center",children:[qn," / ",ii]}),i.jsx(re,{variant:"ghost",size:"sm",disabled:qn>=ii,onClick:()=>ss(P=>Math.min(ii,P+1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:i.jsx(Fo,{className:"w-4 h-4"})})]})]})}),i.jsx(Te,{children:i.jsxs("div",{className:"space-y-0",children:[i.jsxs("div",{className:"grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2 text-xs text-gray-500 border-b border-gray-700/50",children:[i.jsx("span",{children:"排名"}),i.jsx("span",{children:"置顶"}),i.jsx("span",{children:"标题"}),i.jsx("span",{className:"text-right",children:"点击量"}),i.jsx("span",{className:"text-right",children:"付款数"}),i.jsx("span",{className:"text-right",children:"热度"}),i.jsx("span",{className:"text-right",children:"编辑"})]}),ai.map((P,ie)=>{const Ae=(qn-1)*Er+ie+1,Re=zt.includes(P.id);return i.jsxs("div",{className:`grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2.5 items-center border-b border-gray-700/30 hover:bg-[#162840] transition-colors ${Re?"bg-amber-500/5":""}`,children:[i.jsx("span",{className:`text-sm font-bold ${Ae<=3?"text-amber-400":"text-gray-500"}`,children:Ae<=3?["🥇","🥈","🥉"][Ae-1]:`#${Ae}`}),i.jsx(re,{variant:"ghost",size:"sm",className:`h-6 w-6 p-0 ${Re?"text-amber-400":"text-gray-600 hover:text-amber-400"}`,onClick:()=>En(P.id),disabled:is,title:Re?"取消置顶":"强制置顶(精选推荐/首页最新更新)",children:Re?i.jsx(Vo,{className:"w-3.5 h-3.5 fill-current"}):i.jsx(sA,{className:"w-3.5 h-3.5"})}),i.jsxs("div",{className:"min-w-0",children:[i.jsx("span",{className:"text-white text-sm truncate block",children:P.title}),i.jsxs("span",{className:"text-gray-600 text-xs",children:[P.partTitle," · ",P.chapterTitle]})]}),i.jsx("span",{className:"text-right text-sm text-blue-400 font-mono",children:P.clickCount??0}),i.jsx("span",{className:"text-right text-sm text-green-400 font-mono",children:P.payCount??0}),i.jsx("span",{className:"text-right text-sm text-amber-400 font-mono",children:(P.hotScore??0).toFixed(1)}),i.jsx("div",{className:"text-right",children:i.jsx(re,{variant:"ghost",size:"sm",className:"text-gray-500 hover:text-[#38bdac] h-6 px-1",onClick:()=>no({id:P.id,title:P.title,price:P.price,filePath:""}),title:"编辑文章",children:i.jsx(bt,{className:"w-3 h-3"})})})]},P.id)}),ai.length===0&&i.jsx("div",{className:"py-8 text-center text-gray-500",children:"暂无数据"})]})})]})]}),i.jsxs(tn,{value:"protagonists",className:"space-y-4",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(et,{className:"pb-3",children:i.jsxs(tt,{className:"text-white text-base flex items-center gap-2",children:[i.jsx("span",{className:"text-[#38bdac] text-lg font-bold",children:"@"}),"主人公列表(编辑器内输入 @ 可提及)"]})}),i.jsxs(Te,{className:"space-y-3",children:[i.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"人物ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 karuo",value:Jn.personId,onChange:P=>as({...Jn,personId:P.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 卡若",value:Jn.name,onChange:P=>as({...Jn,name:P.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"标签(身份/角色)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"如 超级个体",value:Jn.label,onChange:P=>as({...Jn,label:P.target.value})})]}),i.jsxs(re,{size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white h-8",onClick:async()=>{if(!Jn.personId||!Jn.name)return alert("人物ID和名称必填");await ht("/api/db/persons",Jn),as({personId:"",name:"",label:""}),Ke()},children:[i.jsx(Lt,{className:"w-3 h-3 mr-1"}),"添加"]})]}),i.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[Sn.map(P=>i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded px-3 py-2",children:[i.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[i.jsxs("span",{className:"text-[#38bdac] font-bold text-base",children:["@",P.name]}),i.jsxs("span",{className:"text-gray-500 text-xs",children:["ID: ",P.id]}),P.label&&i.jsx(Fe,{variant:"secondary",className:"bg-purple-500/20 text-purple-300 border-purple-500/30 text-[10px]",children:P.label})]}),i.jsx(re,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await Yr(`/api/db/persons?personId=${P.id}`),Ke()},children:i.jsx(er,{className:"w-3 h-3"})})]},P.id)),Sn.length===0&&i.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无主人公,添加后可在编辑器中 @提及"})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsx(et,{className:"pb-3",children:i.jsxs(tt,{className:"text-white text-base flex items-center gap-2",children:[i.jsx(mM,{className:"w-4 h-4 text-amber-400"}),"链接标签(编辑器内 #标签 可跳转链接/小程序)"]})}),i.jsxs(Te,{className:"space-y-3",children:[i.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"标签ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",placeholder:"如 team01",value:jt.tagId,onChange:P=>Cn({...jt,tagId:P.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"显示文字"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 神仙团队",value:jt.label,onChange:P=>Cn({...jt,label:P.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"类型"}),i.jsxs(ec,{value:jt.type,onValueChange:P=>Cn({...jt,type:P}),children:[i.jsx(zo,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",children:i.jsx(tc,{})}),i.jsxs($o,{children:[i.jsx(Ws,{value:"url",children:"网页链接"}),i.jsx(Ws,{value:"miniprogram",children:"小程序"})]})]})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:jt.type==="url"?"URL地址":"小程序AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-40",placeholder:jt.type==="url"?"https://...":"wx...",value:jt.type==="url"?jt.url:jt.appId,onChange:P=>{jt.type==="url"?Cn({...jt,url:P.target.value}):Cn({...jt,appId:P.target.value})}})]}),jt.type==="miniprogram"&&i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-400 text-xs",children:"页面路径"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"pages/index/index",value:jt.pagePath,onChange:P=>Cn({...jt,pagePath:P.target.value})})]}),i.jsxs(re,{size:"sm",className:"bg-amber-500 hover:bg-amber-600 text-white h-8",onClick:async()=>{if(!jt.tagId||!jt.label)return alert("标签ID和显示文字必填");const P={...jt};P.type==="miniprogram"&&P.appId&&(P.url=`weixin://dl/business/?appid=${P.appId}&path=${P.pagePath}`),await ht("/api/db/link-tags",P),Cn({tagId:"",label:"",url:"",type:"url",appId:"",pagePath:""}),Ze()},children:[i.jsx(Lt,{className:"w-3 h-3 mr-1"}),"添加"]})]}),i.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[Es.map(P=>i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded px-3 py-2",children:[i.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[i.jsxs("span",{className:"text-amber-400 font-bold text-base",children:["#",P.label]}),i.jsx(Fe,{variant:"secondary",className:"bg-gray-700 text-gray-300 text-[10px]",children:P.type==="url"?"网页":"小程序"}),i.jsxs("a",{href:P.url,target:"_blank",rel:"noreferrer",className:"text-blue-400 text-xs truncate max-w-[250px] hover:underline flex items-center gap-1",children:[P.url," ",i.jsx(Xs,{className:"w-3 h-3 shrink-0"})]})]}),i.jsx(re,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await Yr(`/api/db/link-tags?tagId=${P.id}`),Ze()},children:i.jsx(er,{className:"w-3 h-3"})})]},P.id)),Es.length===0&&i.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无链接标签,添加后可在编辑器中使用 #标签 跳转"})]})]})]})]})]})]})}const Ks={name:"卡若",avatar:"K",avatarImg:"",title:"Soul派对房主理人 · 私域运营专家",bio:'每天早上6点到9点,在Soul派对房分享真实的创业故事。专注私域运营与项目变现,用"云阿米巴"模式帮助创业者构建可持续的商业体系。',stats:[{label:"商业案例",value:"62"},{label:"连续直播",value:"365天"},{label:"派对分享",value:"1000+"}],highlights:["5年私域运营经验","帮助100+品牌从0到1增长","连续创业者,擅长商业模式设计"]};function iN(t){return Array.isArray(t)?t.map(e=>e&&typeof e=="object"&&"label"in e&&"value"in e?{label:String(e.label),value:String(e.value)}:{label:"",value:""}).filter(e=>e.label||e.value):Ks.stats}function aN(t){return Array.isArray(t)?t.map(e=>typeof e=="string"?e:String(e??"")).filter(Boolean):Ks.highlights}function HB(){const[t,e]=b.useState(Ks),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(!1),u=b.useRef(null);b.useEffect(()=>{Be("/api/admin/author-settings").then(k=>{const E=k==null?void 0:k.data;E&&typeof E=="object"&&e({name:String(E.name??Ks.name),avatar:String(E.avatar??Ks.avatar),avatarImg:String(E.avatarImg??""),title:String(E.title??Ks.title),bio:String(E.bio??Ks.bio),stats:iN(E.stats).length?iN(E.stats):Ks.stats,highlights:aN(E.highlights).length?aN(E.highlights):Ks.highlights})}).catch(console.error).finally(()=>r(!1))},[]);const h=async()=>{a(!0);try{const k={name:t.name,avatar:t.avatar||"K",avatarImg:t.avatarImg,title:t.title,bio:t.bio,stats:t.stats.filter(M=>M.label||M.value),highlights:t.highlights.filter(Boolean)},E=await ht("/api/admin/author-settings",k);if(!E||E.success===!1){alert("保存失败: "+(E&&typeof E=="object"&&"error"in E?E.error:""));return}a(!1);const C=document.createElement("div");C.className="fixed top-4 right-4 z-50 px-4 py-2 rounded-lg bg-[#38bdac] text-white text-sm shadow-lg",C.textContent="作者设置已保存",document.body.appendChild(C),setTimeout(()=>C.remove(),2e3)}catch(k){console.error(k),alert("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{a(!1)}},f=async k=>{var C;const E=(C=k.target.files)==null?void 0:C[0];if(E){c(!0);try{const M=new FormData;M.append("file",E),M.append("folder","avatars");const D=kx(),F={};D&&(F.Authorization=`Bearer ${D}`);const I=await(await fetch(Yo("/api/upload"),{method:"POST",body:M,credentials:"include",headers:F})).json();I!=null&&I.success&&(I!=null&&I.url)?e(A=>({...A,avatarImg:I.url})):alert("上传失败: "+((I==null?void 0:I.error)||"未知错误"))}catch(M){console.error(M),alert("上传失败")}finally{c(!1),u.current&&(u.current.value="")}}},m=()=>e(k=>({...k,stats:[...k.stats,{label:"",value:""}]})),g=k=>e(E=>({...E,stats:E.stats.filter((C,M)=>M!==k)})),y=(k,E,C)=>e(M=>({...M,stats:M.stats.map((D,F)=>F===k?{...D,[E]:C}:D)})),v=()=>e(k=>({...k,highlights:[...k.highlights,""]})),j=k=>e(E=>({...E,highlights:E.highlights.filter((C,M)=>M!==k)})),w=(k,E)=>e(C=>({...C,highlights:C.highlights.map((M,D)=>D===k?E:M)}));return n?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Wo,{className:"w-5 h-5 text-[#38bdac]"}),"作者详情"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置小程序「关于作者」页展示的作者信息,包括头像、简介、统计数据与亮点标签。"})]}),i.jsxs(re,{onClick:h,disabled:s||n,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),s?"保存中...":"保存"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"flex items-center gap-2 text-white",children:[i.jsx(Wo,{className:"w-4 h-4 text-[#38bdac]"}),"基本信息"]}),i.jsx(It,{className:"text-gray-400",children:"作者姓名、头像、头衔与个人简介,将展示在「关于作者」页顶部。"})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"姓名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.name,onChange:k=>e(E=>({...E,name:k.target.value})),placeholder:"卡若"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首字母占位(无头像时显示)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white w-20",value:t.avatar,onChange:k=>e(E=>({...E,avatar:k.target.value.slice(0,1)||"K"})),placeholder:"K"})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(LN,{className:"w-3 h-3 text-[#38bdac]"}),"头像图片"]}),i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:t.avatarImg,onChange:k=>e(E=>({...E,avatarImg:k.target.value})),placeholder:"上传或粘贴 URL,如 /uploads/avatars/xxx.png"}),i.jsx("input",{ref:u,type:"file",accept:"image/*",className:"hidden",onChange:f}),i.jsxs(re,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:o,onClick:()=>{var k;return(k=u.current)==null?void 0:k.click()},children:[i.jsx(Hu,{className:"w-4 h-4 mr-2"}),o?"上传中...":"上传"]})]}),t.avatarImg&&i.jsx("div",{className:"mt-2",children:i.jsx("img",{src:t.avatarImg.startsWith("http")?t.avatarImg:Yo(t.avatarImg),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"头衔"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.title,onChange:k=>e(E=>({...E,title:k.target.value})),placeholder:"Soul派对房主理人 · 私域运营专家"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"个人简介"}),i.jsx(dl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[120px]",value:t.bio,onChange:k=>e(E=>({...E,bio:k.target.value})),placeholder:"每天早上6点到9点..."})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsx(tt,{className:"text-white",children:"统计数据"}),i.jsx(It,{className:"text-gray-400",children:"展示在作者卡片中的数字指标,如「商业案例 62」「连续直播 365天」。第一个「商业案例」的值可由书籍统计自动更新。"})]}),i.jsxs(Te,{className:"space-y-3",children:[t.stats.map((k,E)=>i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.label,onChange:C=>y(E,"label",C.target.value),placeholder:"标签"}),i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.value,onChange:C=>y(E,"value",C.target.value),placeholder:"数值"}),i.jsx(re,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>g(E),children:i.jsx(er,{className:"w-4 h-4"})})]},E)),i.jsxs(re,{variant:"outline",size:"sm",onClick:m,className:"border-gray-600 text-gray-400",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"添加统计项"]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsx(tt,{className:"text-white",children:"亮点标签"}),i.jsx(It,{className:"text-gray-400",children:"作者优势或成就的简短描述,以标签形式展示。"})]}),i.jsxs(Te,{className:"space-y-3",children:[t.highlights.map((k,E)=>i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k,onChange:C=>w(E,C.target.value),placeholder:"5年私域运营经验"}),i.jsx(re,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>j(E),children:i.jsx(er,{className:"w-4 h-4"})})]},E)),i.jsxs(re,{variant:"outline",size:"sm",onClick:v,className:"border-gray-600 text-gray-400",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"添加亮点"]})]})]})]})]})}function WB(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o]=b.useState(10),[c,u]=b.useState(0),[h,f]=b.useState(""),m=$x(h,300),[g,y]=b.useState(!0),[v,j]=b.useState(null),[w,k]=b.useState(!1),[E,C]=b.useState(null),[M,D]=b.useState(""),[F,R]=b.useState(""),[I,A]=b.useState(""),[O,W]=b.useState("admin"),[X,q]=b.useState("active"),[Z,_]=b.useState(!1);async function $(){var H;y(!0),j(null);try{const ue=new URLSearchParams({page:String(s),pageSize:String(o)});m.trim()&&ue.set("search",m.trim());const U=await Be(`/api/admin/users?${ue}`);U!=null&&U.success?(e(U.records||[]),r(U.total??0),u(U.totalPages??0)):j(U.error||"加载失败")}catch(ue){const U=ue;j(U.status===403?"无权限访问":((H=U==null?void 0:U.data)==null?void 0:H.error)||"加载失败"),e([])}finally{y(!1)}}b.useEffect(()=>{$()},[s,o,m]);const oe=()=>{C(null),D(""),R(""),A(""),W("admin"),q("active"),k(!0)},V=H=>{C(H),D(H.username),R(""),A(H.name||""),W(H.role==="super_admin"?"super_admin":"admin"),q(H.status==="disabled"?"disabled":"active"),k(!0)},ae=async()=>{var H;if(!M.trim()){j("用户名不能为空");return}if(!E&&!F){j("新建时密码必填,至少 6 位");return}if(F&&F.length<6){j("密码至少 6 位");return}j(null),_(!0);try{if(E){const ue=await Rt("/api/admin/users",{id:E.id,password:F||void 0,name:I.trim(),role:O,status:X});ue!=null&&ue.success?(k(!1),$()):j((ue==null?void 0:ue.error)||"保存失败")}else{const ue=await ht("/api/admin/users",{username:M.trim(),password:F,name:I.trim(),role:O});ue!=null&&ue.success?(k(!1),$()):j((ue==null?void 0:ue.error)||"保存失败")}}catch(ue){const U=ue;j(((H=U==null?void 0:U.data)==null?void 0:H.error)||"保存失败")}finally{_(!1)}},Y=async H=>{var ue;if(confirm("确定删除该管理员?"))try{const U=await Yr(`/api/admin/users?id=${H}`);U!=null&&U.success?$():j((U==null?void 0:U.error)||"删除失败")}catch(U){const he=U;j(((ue=he==null?void 0:he.data)==null?void 0:ue.error)||"删除失败")}},L=H=>{if(!H)return"-";try{const ue=new Date(H);return isNaN(ue.getTime())?H:ue.toLocaleString("zh-CN")}catch{return H}};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Nx,{className:"w-5 h-5 text-[#38bdac]"}),"管理员用户"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"后台登录账号管理,仅超级管理员可操作"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(ce,{placeholder:"搜索用户名/昵称",value:h,onChange:H=>f(H.target.value),className:"w-48 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500"}),i.jsx(re,{variant:"outline",size:"sm",onClick:$,disabled:g,className:"border-gray-600 text-gray-300",children:i.jsx(qe,{className:`w-4 h-4 ${g?"animate-spin":""}`})}),i.jsxs(re,{onClick:oe,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"新增管理员"]})]})]}),v&&i.jsxs("div",{className:"mb-4 p-3 rounded-lg bg-red-500/10 border border-red-500/20 text-red-400 text-sm flex justify-between items-center",children:[i.jsx("span",{children:v}),i.jsx("button",{type:"button",onClick:()=>j(null),className:"text-red-400 hover:text-red-300",children:"×"})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-0",children:g?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(i.Fragment,{children:[i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"ID"}),i.jsx(ke,{className:"text-gray-400",children:"用户名"}),i.jsx(ke,{className:"text-gray-400",children:"昵称"}),i.jsx(ke,{className:"text-gray-400",children:"角色"}),i.jsx(ke,{className:"text-gray-400",children:"状态"}),i.jsx(ke,{className:"text-gray-400",children:"创建时间"}),i.jsx(ke,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(pr,{children:[t.map(H=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(ve,{className:"text-gray-300",children:H.id}),i.jsx(ve,{className:"text-white font-medium",children:H.username}),i.jsx(ve,{className:"text-gray-400",children:H.name||"-"}),i.jsx(ve,{children:i.jsx(Fe,{variant:"outline",className:H.role==="super_admin"?"border-amber-500/50 text-amber-400":"border-gray-600 text-gray-400",children:H.role==="super_admin"?"超级管理员":"管理员"})}),i.jsx(ve,{children:i.jsx(Fe,{variant:"outline",className:H.status==="active"?"border-[#38bdac]/50 text-[#38bdac]":"border-gray-500 text-gray-500",children:H.status==="active"?"正常":"已禁用"})}),i.jsx(ve,{className:"text-gray-500 text-sm",children:L(H.createdAt)}),i.jsxs(ve,{className:"text-right",children:[i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>V(H),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(bt,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>Y(H.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(vn,{className:"w-4 h-4"})})]})]},H.id)),t.length===0&&!g&&i.jsx(ct,{children:i.jsx(ve,{colSpan:7,className:"text-center py-12 text-gray-500",children:v==="无权限访问"?"仅超级管理员可查看":"暂无管理员"})})]})]}),c>1&&i.jsx("div",{className:"p-4 border-t border-gray-700/50",children:i.jsx(Zr,{page:s,pageSize:o,total:n,totalPages:c,onPageChange:a})})]})})}),i.jsx(Qt,{open:w,onOpenChange:k,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[i.jsx(Xt,{children:i.jsx(Zt,{className:"text-white",children:E?"编辑管理员":"新增管理员"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"用户名"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"登录用户名",value:M,onChange:H=>D(H.target.value),disabled:!!E}),E&&i.jsx("p",{className:"text-xs text-gray-500",children:"用户名不可修改"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:E?"新密码(留空不改)":"密码"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:E?"留空表示不修改":"至少 6 位",value:F,onChange:H=>R(H.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"昵称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"显示名称",value:I,onChange:H=>A(H.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色"}),i.jsxs("select",{value:O,onChange:H=>W(H.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[i.jsx("option",{value:"admin",children:"管理员"}),i.jsx("option",{value:"super_admin",children:"超级管理员"})]})]}),E&&i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"状态"}),i.jsxs("select",{value:X,onChange:H=>q(H.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[i.jsx("option",{value:"active",children:"正常"}),i.jsx("option",{value:"disabled",children:"禁用"})]})]})]}),i.jsxs(bn,{children:[i.jsxs(re,{variant:"outline",onClick:()=>k(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(re,{onClick:ae,disabled:Z,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),Z?"保存中...":"保存"]})]})]})})]})}const UB={appId:"wxb8bbb2b10dec74aa",withdrawSubscribeTmplId:"u3MbZGPRkrZIk-I7QdpwzFxnO_CeQPaCWF2FkiIablE",mchId:"1318592501",minWithdraw:10},KB={name:"卡若",startDate:"2025年10月15日",bio:"连续创业者,私域运营专家,每天早上6-9点在Soul派对房分享真实商业故事",liveTime:"06:00-09:00",platform:"Soul派对房",description:"连续创业者,私域运营专家"},qB={sectionPrice:1,baseBookPrice:9.9,distributorShare:90,authorInfo:{...KB}},GB={matchEnabled:!0,referralEnabled:!0,searchEnabled:!0,aboutEnabled:!0},JB=["system","author","admin"];function YB(){const[t,e]=MN(),n=t.get("tab")??"system",r=JB.includes(n)?n:"system",[s,a]=b.useState(qB),[o,c]=b.useState(GB),[u,h]=b.useState(UB),[f,m]=b.useState(!1),[g,y]=b.useState(!0),[v,j]=b.useState(!1),[w,k]=b.useState(""),[E,C]=b.useState(""),[M,D]=b.useState(!1),[F,R]=b.useState(!1),I=(q,Z,_=!1)=>{k(q),C(Z),D(_),j(!0)};b.useEffect(()=>{(async()=>{try{const Z=await Be("/api/admin/settings");if(!Z||Z.success===!1)return;if(Z.featureConfig&&Object.keys(Z.featureConfig).length&&c(_=>({..._,...Z.featureConfig})),Z.mpConfig&&typeof Z.mpConfig=="object"&&h(_=>({..._,...Z.mpConfig})),Z.siteSettings&&typeof Z.siteSettings=="object"){const _=Z.siteSettings;a($=>({...$,...typeof _.sectionPrice=="number"&&{sectionPrice:_.sectionPrice},...typeof _.baseBookPrice=="number"&&{baseBookPrice:_.baseBookPrice},...typeof _.distributorShare=="number"&&{distributorShare:_.distributorShare},..._.authorInfo&&typeof _.authorInfo=="object"&&{authorInfo:{...$.authorInfo,..._.authorInfo}}}))}}catch(Z){console.error("Load settings error:",Z)}finally{y(!1)}})()},[]);const A=async(q,Z)=>{R(!0);try{const _=await ht("/api/admin/settings",{featureConfig:q});if(!_||_.success===!1){Z(),I("保存失败",(_==null?void 0:_.error)??"未知错误",!0);return}I("已保存","功能开关已更新,相关入口将随之显示或隐藏。")}catch(_){console.error("Save feature config error:",_),Z(),I("保存失败",_ instanceof Error?_.message:String(_),!0)}finally{R(!1)}},O=(q,Z)=>{const _=o,$={..._,[q]:Z};c($),A($,()=>c(_))},W=async()=>{m(!0);try{const q=await ht("/api/admin/settings",{featureConfig:o,siteSettings:{sectionPrice:s.sectionPrice,baseBookPrice:s.baseBookPrice,distributorShare:s.distributorShare,authorInfo:s.authorInfo},mpConfig:{...u,appId:u.appId||"",withdrawSubscribeTmplId:u.withdrawSubscribeTmplId||"",mchId:u.mchId||"",minWithdraw:typeof u.minWithdraw=="number"?u.minWithdraw:10}});if(!q||q.success===!1){I("保存失败",(q==null?void 0:q.error)??"未知错误",!0);return}I("已保存","设置已保存成功。")}catch(q){console.error("Save settings error:",q),I("保存失败",q instanceof Error?q.message:String(q),!0)}finally{m(!1)}},X=q=>{e(q==="system"?{}:{tab:q})};return g?i.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"系统设置"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置全站基础参数与开关"})]}),r==="system"&&i.jsxs(re,{onClick:W,disabled:f,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),f?"保存中...":"保存设置"]})]}),i.jsxs(Hc,{value:r,onValueChange:X,className:"w-full",children:[i.jsxs(cl,{className:"mb-6 bg-[#0f2137] border border-gray-700/50 p-1",children:[i.jsxs(en,{value:"system",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(Da,{className:"w-4 h-4 mr-2"}),"系统设置"]}),i.jsxs(en,{value:"author",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(hm,{className:"w-4 h-4 mr-2"}),"作者详情"]}),i.jsxs(en,{value:"admin",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[i.jsx(Nx,{className:"w-4 h-4 mr-2"}),"管理员"]})]}),i.jsx(tn,{value:"system",className:"mt-0",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(hm,{className:"w-5 h-5 text-[#38bdac]"}),"关于作者"]}),i.jsx(It,{className:"text-gray-400",children:'配置作者信息,将在"关于作者"页面显示'})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"author-name",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(hm,{className:"w-3 h-3"}),"主理人名称"]}),i.jsx(ce,{id:"author-name",className:"bg-[#0a1628] border-gray-700 text-white",value:s.authorInfo.name??"",onChange:q=>a(Z=>({...Z,authorInfo:{...Z.authorInfo,name:q.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"start-date",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Bu,{className:"w-3 h-3"}),"开播日期"]}),i.jsx(ce,{id:"start-date",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 2025年10月15日",value:s.authorInfo.startDate??"",onChange:q=>a(Z=>({...Z,authorInfo:{...Z.authorInfo,startDate:q.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"live-time",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(Bu,{className:"w-3 h-3"}),"直播时间"]}),i.jsx(ce,{id:"live-time",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 06:00-09:00",value:s.authorInfo.liveTime??"",onChange:q=>a(Z=>({...Z,authorInfo:{...Z.authorInfo,liveTime:q.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"platform",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(_N,{className:"w-3 h-3"}),"直播平台"]}),i.jsx(ce,{id:"platform",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: Soul派对房",value:s.authorInfo.platform??"",onChange:q=>a(Z=>({...Z,authorInfo:{...Z.authorInfo,platform:q.target.value}}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{htmlFor:"description",className:"text-gray-300 flex items-center gap-1",children:[i.jsx(zr,{className:"w-3 h-3"}),"简介描述"]}),i.jsx(ce,{id:"description",className:"bg-[#0a1628] border-gray-700 text-white",value:s.authorInfo.description??"",onChange:q=>a(Z=>({...Z,authorInfo:{...Z.authorInfo,description:q.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"bio",className:"text-gray-300",children:"详细介绍"}),i.jsx(dl,{id:"bio",className:"bg-[#0a1628] border-gray-700 text-white min-h-[100px]",placeholder:"输入作者详细介绍...",value:s.authorInfo.bio??"",onChange:q=>a(Z=>({...Z,authorInfo:{...Z.authorInfo,bio:q.target.value}}))})]}),i.jsxs("div",{className:"mt-4 p-4 rounded-xl bg-[#0a1628] border border-[#38bdac]/30",children:[i.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"预览效果"}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-[#00CED1] to-[#20B2AA] flex items-center justify-center text-xl font-bold text-white",children:(s.authorInfo.name??"K").charAt(0)}),i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-semibold",children:s.authorInfo.name}),i.jsx("p",{className:"text-gray-400 text-xs",children:s.authorInfo.description}),i.jsxs("p",{className:"text-[#38bdac] text-xs mt-1",children:["每日 ",s.authorInfo.liveTime," · ",s.authorInfo.platform]})]})]})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Vu,{className:"w-5 h-5 text-[#38bdac]"}),"价格设置"]}),i.jsx(It,{className:"text-gray-400",children:"配置书籍和章节的定价"})]}),i.jsx(Te,{className:"space-y-4",children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单节价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:s.sectionPrice,onChange:q=>a(Z=>({...Z,sectionPrice:Number.parseFloat(q.target.value)||1}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"整本价格 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:s.baseBookPrice,onChange:q=>a(Z=>({...Z,baseBookPrice:Number.parseFloat(q.target.value)||9.9}))})]})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(kc,{className:"w-5 h-5 text-[#38bdac]"}),"小程序配置"]}),i.jsx(It,{className:"text-gray-400",children:"订阅消息模板、支付商户号等,小程序从 /api/miniprogram/config 读取(API 地址由 app.js baseUrl 控制)"})]}),i.jsx(Te,{className:"space-y-4",children:i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"小程序 AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"wxb8bbb2b10dec74aa",value:u.appId??"",onChange:q=>h(Z=>({...Z,appId:q.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"提现订阅模板 ID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"用户申请提现时需授权",value:u.withdrawSubscribeTmplId??"",onChange:q=>h(Z=>({...Z,withdrawSubscribeTmplId:q.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"微信支付商户号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"1318592501",value:u.mchId??"",onChange:q=>h(Z=>({...Z,mchId:q.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"最低提现金额 (元)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:u.minWithdraw??10,onChange:q=>h(Z=>({...Z,minWithdraw:Number.parseFloat(q.target.value)||10}))})]})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Da,{className:"w-5 h-5 text-[#38bdac]"}),"功能开关"]}),i.jsx(It,{className:"text-gray-400",children:"控制各个功能模块的显示/隐藏"})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Nn,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"match-enabled",className:"text-white font-medium cursor-pointer",children:"找伙伴功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制小程序和Web端的找伙伴功能显示"})]}),i.jsx(yt,{id:"match-enabled",checked:o.matchEnabled,disabled:F,onCheckedChange:q=>O("matchEnabled",q)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(iM,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"referral-enabled",className:"text-white font-medium cursor-pointer",children:"推广功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制推广中心的显示(我的页面入口)"})]}),i.jsx(yt,{id:"referral-enabled",checked:o.referralEnabled,disabled:F,onCheckedChange:q=>O("referralEnabled",q)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(zr,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"search-enabled",className:"text-white font-medium cursor-pointer",children:"搜索功能"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制首页搜索栏的显示"})]}),i.jsx(yt,{id:"search-enabled",checked:o.searchEnabled,disabled:F,onCheckedChange:q=>O("searchEnabled",q)})]}),i.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(Da,{className:"w-4 h-4 text-[#38bdac]"}),i.jsx(te,{htmlFor:"about-enabled",className:"text-white font-medium cursor-pointer",children:"关于页面"})]}),i.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制关于页面的访问"})]}),i.jsx(yt,{id:"about-enabled",checked:o.aboutEnabled,disabled:F,onCheckedChange:q=>O("aboutEnabled",q)})]})]}),i.jsx("div",{className:"p-3 rounded-lg bg-blue-500/10 border border-blue-500/30",children:i.jsx("p",{className:"text-xs text-blue-300",children:"💡 关闭功能后,相关入口会自动隐藏。建议在功能开发完成后再开启。"})})]})]})]})}),i.jsx(tn,{value:"author",className:"mt-0",children:i.jsx(HB,{})}),i.jsx(tn,{value:"admin",className:"mt-0",children:i.jsx(WB,{})})]}),i.jsx(Qt,{open:v,onOpenChange:j,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white",showCloseButton:!0,children:[i.jsxs(Xt,{children:[i.jsx(Zt,{className:M?"text-red-400":"text-[#38bdac]",children:w}),i.jsx(EI,{className:"text-gray-400 whitespace-pre-wrap pt-2",children:E})]}),i.jsx(bn,{className:"mt-4",children:i.jsx(re,{onClick:()=>j(!1),className:M?"bg-gray-600 hover:bg-gray-500":"bg-[#38bdac] hover:bg-[#2da396]",children:"确定"})})]})})]})}const oN={wechat:{enabled:!0,qrCode:"/images/wechat-pay.png",account:"卡若",websiteAppId:"",merchantId:"",groupQrCode:"/images/party-group-qr.png"},alipay:{enabled:!0,qrCode:"/images/alipay.png",account:"卡若",partnerId:"",securityKey:""},usdt:{enabled:!1,network:"TRC20",address:"",exchangeRate:7.2},paypal:{enabled:!1,email:"",exchangeRate:7.2}};function QB(){const[t,e]=b.useState(!1),[n,r]=b.useState(oN),[s,a]=b.useState(""),o=async()=>{e(!0);try{const k=await Be("/api/config");k!=null&&k.paymentMethods&&r({...oN,...k.paymentMethods})}catch(k){console.error(k)}finally{e(!1)}};b.useEffect(()=>{o()},[]);const c=async()=>{e(!0);try{await ht("/api/db/config",{key:"payment_methods",value:n,description:"支付方式配置"}),alert("配置已保存!")}catch(k){console.error("保存失败:",k),alert("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{e(!1)}},u=(k,E)=>{navigator.clipboard.writeText(k),a(E),setTimeout(()=>a(""),2e3)},h=(k,E)=>{r(C=>({...C,wechat:{...C.wechat,[k]:E}}))},f=(k,E)=>{r(C=>({...C,alipay:{...C.alipay,[k]:E}}))},m=(k,E)=>{r(C=>({...C,usdt:{...C.usdt,[k]:E}}))},g=(k,E)=>{r(C=>({...C,paypal:{...C.paypal,[k]:E}}))},y=n.wechat,v=n.alipay,j=n.usdt,w=n.paypal;return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h1",{className:"text-2xl font-bold mb-2 text-white",children:"支付配置"}),i.jsx("p",{className:"text-gray-400",children:"配置微信、支付宝、USDT、PayPal等支付参数"})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(re,{variant:"outline",onClick:o,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${t?"animate-spin":""}`}),"同步配置"]}),i.jsxs(re,{onClick:c,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),"保存配置"]})]})]}),i.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(IN,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),i.jsxs("div",{className:"text-sm",children:[i.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"如何获取微信群跳转链接?"}),i.jsxs("ol",{className:"text-[#07C160]/80 space-y-1 list-decimal list-inside",children:[i.jsx("li",{children:"打开微信,进入目标微信群"}),i.jsx("li",{children:'点击右上角"..." → "群二维码"'}),i.jsx("li",{children:'点击右上角"..." → "发送到电脑"'}),i.jsx("li",{children:"在电脑上保存二维码图片,上传到图床获取URL"}),i.jsx("li",{children:"或使用草料二维码等工具解析二维码获取链接"})]}),i.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"提示:微信群二维码7天后失效,建议使用活码工具"})]})]})}),i.jsxs(Hc,{defaultValue:"wechat",className:"space-y-6",children:[i.jsxs(cl,{className:"bg-[#0f2137] border border-gray-700/50 p-1 grid grid-cols-4 w-full",children:[i.jsxs(en,{value:"wechat",className:"data-[state=active]:bg-[#07C160]/20 data-[state=active]:text-[#07C160] text-gray-400",children:[i.jsx(kc,{className:"w-4 h-4 mr-2"}),"微信"]}),i.jsxs(en,{value:"alipay",className:"data-[state=active]:bg-[#1677FF]/20 data-[state=active]:text-[#1677FF] text-gray-400",children:[i.jsx(Tb,{className:"w-4 h-4 mr-2"}),"支付宝"]}),i.jsxs(en,{value:"usdt",className:"data-[state=active]:bg-[#26A17B]/20 data-[state=active]:text-[#26A17B] text-gray-400",children:[i.jsx(Cb,{className:"w-4 h-4 mr-2"}),"USDT"]}),i.jsxs(en,{value:"paypal",className:"data-[state=active]:bg-[#003087]/20 data-[state=active]:text-[#169BD7] text-gray-400",children:[i.jsx(mg,{className:"w-4 h-4 mr-2"}),"PayPal"]})]}),i.jsx(tn,{value:"wechat",className:"space-y-4",children:i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(tt,{className:"text-[#07C160] flex items-center gap-2",children:[i.jsx(kc,{className:"w-5 h-5"}),"微信支付配置"]}),i.jsx(It,{className:"text-gray-400",children:"配置微信支付参数和跳转链接"})]}),i.jsx(yt,{checked:!!y.enabled,onCheckedChange:k=>h("enabled",k)})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"网站AppID"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.websiteAppId??""),onChange:k=>h("websiteAppId",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"商户号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.merchantId??""),onChange:k=>h("merchantId",k.target.value)})]})]}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[i.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[i.jsx(Xs,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置(核心功能)"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"微信收款码/支付链接"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://收款码图片URL 或 weixin://支付链接",value:String(y.qrCode??""),onChange:k=>h("qrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户点击微信支付后显示的二维码图片URL"})]}),i.jsxs("div",{className:"space-y-2 bg-[#07C160]/5 p-4 rounded-xl border border-[#07C160]/20",children:[i.jsx(te,{className:"text-[#07C160] font-medium",children:"微信群跳转链接(支付成功后跳转)"}),i.jsx(ce,{className:"bg-[#0a1628] border-[#07C160]/30 text-white placeholder:text-gray-500",placeholder:"https://weixin.qq.com/g/... 或微信群二维码图片URL",value:String(y.groupQrCode??""),onChange:k=>h("groupQrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-[#07C160]/70",children:"用户支付成功后将自动跳转到此链接,进入指定微信群"})]})]})]})]})}),i.jsx(tn,{value:"alipay",className:"space-y-4",children:i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(tt,{className:"text-[#1677FF] flex items-center gap-2",children:[i.jsx(Tb,{className:"w-5 h-5"}),"支付宝配置"]}),i.jsx(It,{className:"text-gray-400",children:"已加载真实支付宝参数"})]}),i.jsx(yt,{checked:!!v.enabled,onCheckedChange:k=>f("enabled",k)})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"合作者身份 (PID)"}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.partnerId??""),onChange:k=>f("partnerId",k.target.value)}),i.jsx(re,{size:"icon",variant:"outline",className:"border-gray-700 bg-transparent",onClick:()=>u(String(v.partnerId??""),"pid"),children:s==="pid"?i.jsx(Wh,{className:"w-4 h-4 text-green-500"}):i.jsx(ON,{className:"w-4 h-4 text-gray-400"})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"安全校验码 (Key)"}),i.jsx(ce,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.securityKey??""),onChange:k=>f("securityKey",k.target.value)})]})]}),i.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[i.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[i.jsx(Xs,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置"]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"支付宝收款码/跳转链接"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://qr.alipay.com/... 或收款码图片URL",value:String(v.qrCode??""),onChange:k=>f("qrCode",k.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户点击支付宝支付后显示的二维码"})]})]})]})]})}),i.jsx(tn,{value:"usdt",className:"space-y-4",children:i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(tt,{className:"text-[#26A17B] flex items-center gap-2",children:[i.jsx(Cb,{className:"w-5 h-5"}),"USDT配置"]}),i.jsx(It,{className:"text-gray-400",children:"配置加密货币收款地址"})]}),i.jsx(yt,{checked:!!j.enabled,onCheckedChange:k=>m("enabled",k)})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"网络类型"}),i.jsxs("select",{className:"w-full bg-[#0a1628] border border-gray-700 text-white rounded-md p-2",value:String(j.network??"TRC20"),onChange:k=>m("network",k.target.value),children:[i.jsx("option",{value:"TRC20",children:"TRC20 (波场)"}),i.jsx("option",{value:"ERC20",children:"ERC20 (以太坊)"}),i.jsx("option",{value:"BEP20",children:"BEP20 (币安链)"})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"收款地址"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",placeholder:"T... (TRC20地址)",value:String(j.address??""),onChange:k=>m("address",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(j.exchangeRate)??7.2,onChange:k=>m("exchangeRate",Number.parseFloat(k.target.value)||7.2)})]})]})]})}),i.jsx(tn,{value:"paypal",className:"space-y-4",children:i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{className:"flex flex-row items-center justify-between pb-2",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs(tt,{className:"text-[#169BD7] flex items-center gap-2",children:[i.jsx(mg,{className:"w-5 h-5"}),"PayPal配置"]}),i.jsx(It,{className:"text-gray-400",children:"配置PayPal收款账户"})]}),i.jsx(yt,{checked:!!w.enabled,onCheckedChange:k=>g("enabled",k)})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"PayPal邮箱"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"your@email.com",value:String(w.email??""),onChange:k=>g("email",k.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(w.exchangeRate)??7.2,onChange:k=>g("exchangeRate",Number(k.target.value)||7.2)})]})]})]})})]})]})}const XB={siteName:"卡若日记",siteTitle:"一场SOUL的创业实验场",siteDescription:"来自Soul派对房的真实商业故事",logo:"/logo.png",favicon:"/favicon.ico",primaryColor:"#00CED1"},ZB={home:{enabled:!0,label:"首页"},chapters:{enabled:!0,label:"目录"},match:{enabled:!0,label:"匹配"},my:{enabled:!0,label:"我的"}},eV={homeTitle:"一场SOUL的创业实验场",homeSubtitle:"来自Soul派对房的真实商业故事",chaptersTitle:"我要看",matchTitle:"语音匹配",myTitle:"我的",aboutTitle:"关于作者"};function tV(){const[t,e]=b.useState({siteConfig:{...XB},menuConfig:{...ZB},pageConfig:{...eV}}),[n,r]=b.useState(!1),[s,a]=b.useState(!1);b.useEffect(()=>{Be("/api/config").then(f=>{f!=null&&f.siteConfig&&e(m=>({...m,siteConfig:{...m.siteConfig,...f.siteConfig}})),f!=null&&f.menuConfig&&e(m=>({...m,menuConfig:{...m.menuConfig,...f.menuConfig}})),f!=null&&f.pageConfig&&e(m=>({...m,pageConfig:{...m.pageConfig,...f.pageConfig}}))}).catch(console.error)},[]);const o=async()=>{a(!0);try{await ht("/api/db/config",{key:"site_config",value:t.siteConfig,description:"网站基础配置"}),await ht("/api/db/config",{key:"menu_config",value:t.menuConfig,description:"底部菜单配置"}),await ht("/api/db/config",{key:"page_config",value:t.pageConfig,description:"页面标题配置"}),r(!0),setTimeout(()=>r(!1),2e3),alert("配置已保存")}catch(f){console.error(f),alert("保存失败: "+(f instanceof Error?f.message:String(f)))}finally{a(!1)}},c=t.siteConfig,u=t.menuConfig,h=t.pageConfig;return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"网站配置"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置网站名称、图标、菜单和页面标题"})]}),i.jsxs(re,{onClick:o,disabled:s,className:`${n?"bg-green-500":"bg-[#00CED1]"} hover:bg-[#20B2AA] text-white transition-colors`,children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),s?"保存中...":n?"已保存":"保存设置"]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(mg,{className:"w-5 h-5 text-[#00CED1]"}),"网站基础信息"]}),i.jsx(It,{className:"text-gray-400",children:"配置网站名称、标题和描述"})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-name",className:"text-gray-300",children:"网站名称"}),i.jsx(ce,{id:"site-name",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteName??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteName:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-title",className:"text-gray-300",children:"网站标题"}),i.jsx(ce,{id:"site-title",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteTitle??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteTitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"site-desc",className:"text-gray-300",children:"网站描述"}),i.jsx(ce,{id:"site-desc",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteDescription??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteDescription:f.target.value}}))})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"logo",className:"text-gray-300",children:"Logo地址"}),i.jsx(ce,{id:"logo",className:"bg-[#0a1628] border-gray-700 text-white",value:c.logo??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,logo:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{htmlFor:"favicon",className:"text-gray-300",children:"Favicon地址"}),i.jsx(ce,{id:"favicon",className:"bg-[#0a1628] border-gray-700 text-white",value:c.favicon??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,favicon:f.target.value}}))})]})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(QM,{className:"w-5 h-5 text-[#00CED1]"}),"主题颜色"]}),i.jsx(It,{className:"text-gray-400",children:"配置网站主题色"})]}),i.jsx(Te,{children:i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("div",{className:"space-y-2 flex-1",children:[i.jsx(te,{htmlFor:"primary-color",className:"text-gray-300",children:"主色调"}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(ce,{id:"primary-color",type:"color",className:"w-16 h-10 bg-[#0a1628] border-gray-700 cursor-pointer p-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white flex-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))})]})]}),i.jsx("div",{className:"w-24 h-24 rounded-xl flex items-center justify-center text-white font-bold",style:{backgroundColor:c.primaryColor??"#00CED1"},children:"预览"})]})})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(WM,{className:"w-5 h-5 text-[#00CED1]"}),"底部菜单配置"]}),i.jsx(It,{className:"text-gray-400",children:"控制底部导航栏菜单的显示和名称"})]}),i.jsx(Te,{className:"space-y-4",children:Object.entries(u).map(([f,m])=>i.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg",children:[i.jsxs("div",{className:"flex items-center gap-4 flex-1",children:[i.jsx(yt,{checked:(m==null?void 0:m.enabled)??!0,onCheckedChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,enabled:g}}}))}),i.jsx("span",{className:"text-gray-300 w-16 capitalize",children:f}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white max-w-[200px]",value:(m==null?void 0:m.label)??"",onChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,label:g.target.value}}}))})]}),i.jsx("span",{className:`text-sm ${m!=null&&m.enabled?"text-green-400":"text-gray-500"}`,children:m!=null&&m.enabled?"显示":"隐藏"})]},f))})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(nM,{className:"w-5 h-5 text-[#00CED1]"}),"页面标题配置"]}),i.jsx(It,{className:"text-gray-400",children:"配置各个页面的标题和副标题"})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"首页副标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeSubtitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeSubtitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"目录页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.chaptersTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,chaptersTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.matchTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,matchTitle:f.target.value}}))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"我的页标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.myTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,myTitle:f.target.value}}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"关于作者标题"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.aboutTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,aboutTitle:f.target.value}}))})]})]})]})]})]})]})}function nV(){const[t,e]=b.useState(""),[n,r]=b.useState(""),[s,a]=b.useState(""),[o,c]=b.useState({}),u=async()=>{var y,v,j,w;try{const k=await Be("/api/config"),E=(v=(y=k==null?void 0:k.liveQRCodes)==null?void 0:y[0])==null?void 0:v.urls;Array.isArray(E)&&e(E.join(` -`));const C=(w=(j=k==null?void 0:k.paymentMethods)==null?void 0:j.wechat)==null?void 0:w.groupQrCode;C&&r(C),c({paymentMethods:k==null?void 0:k.paymentMethods,liveQRCodes:k==null?void 0:k.liveQRCodes})}catch(k){console.error(k)}};b.useEffect(()=>{u()},[]);const h=(y,v)=>{navigator.clipboard.writeText(y),a(v),setTimeout(()=>a(""),2e3)},f=async()=>{try{const y=t.split(` -`).map(j=>j.trim()).filter(Boolean),v=[...o.liveQRCodes||[]];v[0]?v[0].urls=y:v.push({id:"live-1",name:"微信群活码",urls:y,clickCount:0}),await ht("/api/db/config",{key:"live_qr_codes",value:v,description:"群活码配置"}),alert("群活码配置已保存!"),await u()}catch(y){console.error(y),alert("保存失败: "+(y instanceof Error?y.message:String(y)))}},m=async()=>{var y;try{await ht("/api/db/config",{key:"payment_methods",value:{...o.paymentMethods||{},wechat:{...((y=o.paymentMethods)==null?void 0:y.wechat)||{},groupQrCode:n}},description:"支付方式配置"}),alert("微信群链接已保存!用户支付成功后将自动跳转"),await u()}catch(v){console.error(v),alert("保存失败: "+(v instanceof Error?v.message:String(v)))}},g=()=>{n?window.open(n,"_blank"):alert("请先配置微信群链接")};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"mb-8",children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"微信群活码管理"}),i.jsx("p",{className:"text-gray-400 mt-1",children:"配置微信群跳转链接,用户支付后自动跳转加群"})]}),i.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(IN,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),i.jsxs("div",{className:"text-sm",children:[i.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"微信群活码配置指南"}),i.jsxs("div",{className:"text-[#07C160]/80 space-y-2",children:[i.jsx("p",{className:"font-medium",children:"方法一:使用草料活码(推荐)"}),i.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[i.jsx("li",{children:"访问草料二维码创建活码"}),i.jsx("li",{children:"上传微信群二维码图片,生成永久链接"}),i.jsx("li",{children:"复制生成的短链接填入下方配置"}),i.jsx("li",{children:"群满后可直接在草料后台更换新群码,链接不变"})]}),i.jsx("p",{className:"font-medium mt-3",children:"方法二:直接使用微信群链接"}),i.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[i.jsx("li",{children:'微信打开目标群 → 右上角"..." → 群二维码'}),i.jsx("li",{children:"长按二维码 → 识别二维码 → 复制链接"})]}),i.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"注意:微信原生群二维码7天后失效,建议使用草料活码"})]})]})]})}),i.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-[#07C160] flex items-center gap-2",children:[i.jsx(Mb,{className:"w-5 h-5"}),"支付成功跳转链接(核心配置)"]}),i.jsx(It,{className:"text-gray-400",children:"用户支付完成后自动跳转到此链接,进入指定微信群"})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(gg,{className:"w-4 h-4"}),"微信群链接 / 活码链接"]}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(ce,{placeholder:"https://cli.im/xxxxx 或 https://weixin.qq.com/g/...",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",value:n,onChange:y=>r(y.target.value)}),i.jsx(re,{variant:"outline",size:"icon",className:"border-gray-700 bg-transparent hover:bg-gray-700/50",onClick:()=>h(n,"group"),children:s==="group"?i.jsx(Wh,{className:"w-4 h-4 text-green-500"}):i.jsx(ON,{className:"w-4 h-4 text-gray-400"})})]}),i.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[i.jsx(Xs,{className:"w-3 h-3"}),"支持格式:草料短链、微信群链接(https://weixin.qq.com/g/...)、企业微信链接等"]})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(re,{onClick:m,className:"flex-1 bg-[#07C160] hover:bg-[#06AD51] text-white",children:[i.jsx(Hu,{className:"w-4 h-4 mr-2"}),"保存配置"]}),i.jsxs(re,{onClick:g,variant:"outline",className:"border-[#07C160] text-[#07C160] hover:bg-[#07C160]/10 bg-transparent",children:[i.jsx(Xs,{className:"w-4 h-4 mr-2"}),"测试跳转"]})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Mb,{className:"w-5 h-5 text-[#38bdac]"}),"多群轮换(高级配置)"]}),i.jsx(It,{className:"text-gray-400",children:"配置多个群链接,系统自动轮换分配,避免单群满员"})]}),i.jsxs(Te,{className:"space-y-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[i.jsx(gg,{className:"w-4 h-4"}),"多个群链接(每行一个)"]}),i.jsx(dl,{placeholder:"https://cli.im/group1\\nhttps://cli.im/group2",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 min-h-[120px] font-mono text-sm",value:t,onChange:y=>e(y.target.value)}),i.jsx("p",{className:"text-xs text-gray-500",children:"每行填写一个群链接,系统将按顺序或随机分配"})]}),i.jsxs("div",{className:"flex items-center justify-between p-3 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[i.jsx("span",{className:"text-sm text-gray-400",children:"已配置群数量"}),i.jsxs("span",{className:"font-bold text-[#38bdac]",children:[t.split(` -`).filter(Boolean).length," 个"]})]}),i.jsxs(re,{onClick:f,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Hu,{className:"w-4 h-4 mr-2"}),"保存多群配置"]})]})]})]}),i.jsxs("div",{className:"mt-6 bg-[#0f2137] rounded-xl p-4 border border-gray-700/50",children:[i.jsx("h4",{className:"text-white font-medium mb-3",children:"常见问题"}),i.jsxs("div",{className:"space-y-3 text-sm",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-[#38bdac]",children:"Q: 为什么推荐使用草料活码?"}),i.jsx("p",{className:"text-gray-400",children:"A: 草料活码是永久链接,群满后可直接在后台更换新群码,无需修改网站配置。微信原生群码7天失效。"})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-[#38bdac]",children:"Q: 支付后没有跳转怎么办?"}),i.jsx("p",{className:"text-gray-400",children:"A: 1) 检查链接是否正确填写 2) 部分浏览器可能拦截弹窗,用户需手动允许 3) 建议使用https开头的链接"})]})]})]})]})}const lN={matchTypes:[{id:"partner",label:"创业合伙",matchLabel:"创业伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10}},rV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function sV(){const[t,e]=b.useState(lN),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(!1),[u,h]=b.useState(null),[f,m]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),g=async()=>{r(!0);try{const C=await Be("/api/db/config/full?key=match_config"),M=(C==null?void 0:C.data)??(C==null?void 0:C.config);M&&e({...lN,...M})}catch(C){console.error("加载匹配配置失败:",C)}finally{r(!1)}};b.useEffect(()=>{g()},[]);const y=async()=>{a(!0);try{const C=await ht("/api/db/config",{key:"match_config",value:t,description:"匹配功能配置"});C&&C.success!==!1?alert("配置保存成功!"):alert("保存失败: "+(C&&typeof C=="object"&&"error"in C?C.error:"未知错误"))}catch(C){console.error("保存配置失败:",C),alert("保存失败")}finally{a(!1)}},v=C=>{h(C),m({id:C.id,label:C.label,matchLabel:C.matchLabel,icon:C.icon,matchFromDB:C.matchFromDB,showJoinAfterMatch:C.showJoinAfterMatch,price:C.price,enabled:C.enabled}),c(!0)},j=()=>{h(null),m({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),c(!0)},w=()=>{if(!f.id||!f.label){alert("请填写类型ID和名称");return}const C=[...t.matchTypes];if(u){const M=C.findIndex(D=>D.id===u.id);M!==-1&&(C[M]={...f})}else{if(C.some(M=>M.id===f.id)){alert("类型ID已存在");return}C.push({...f})}e({...t,matchTypes:C}),c(!1)},k=C=>{confirm("确定要删除这个匹配类型吗?")&&e({...t,matchTypes:t.matchTypes.filter(M=>M.id!==C)})},E=C=>{e({...t,matchTypes:t.matchTypes.map(M=>M.id===C?{...M,enabled:!M.enabled}:M)})};return i.jsxs("div",{className:"p-8 w-full space-y-6",children:[i.jsxs("div",{className:"flex justify-between items-center",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Da,{className:"w-6 h-6 text-[#38bdac]"}),"匹配功能配置"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"管理找伙伴功能的匹配类型和价格"})]}),i.jsxs("div",{className:"flex gap-3",children:[i.jsxs(re,{variant:"outline",onClick:g,disabled:n,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]}),i.jsxs(re,{onClick:y,disabled:s,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),s?"保存中...":"保存配置"]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Fi,{className:"w-5 h-5 text-yellow-400"}),"基础设置"]}),i.jsx(It,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),i.jsxs(Te,{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.freeMatchLimit,onChange:C=>e({...t,freeMatchLimit:parseInt(C.target.value,10)||0})}),i.jsx("p",{className:"text-xs text-gray-500",children:"用户每天可免费匹配的次数"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:t.matchPrice,onChange:C=>e({...t,matchPrice:parseFloat(C.target.value)||1})}),i.jsx("p",{className:"text-xs text-gray-500",children:"免费次数用完后的单次匹配价格"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),i.jsx(ce,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.settings.maxMatchesPerDay,onChange:C=>e({...t,settings:{...t.settings,maxMatchesPerDay:parseInt(C.target.value,10)||10}})}),i.jsx("p",{className:"text-xs text-gray-500",children:"包含免费和付费的总次数"})]})]}),i.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:t.settings.enableFreeMatches,onCheckedChange:C=>e({...t,settings:{...t.settings,enableFreeMatches:C}})}),i.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:t.settings.enablePaidMatches,onCheckedChange:C=>e({...t,settings:{...t.settings,enablePaidMatches:C}})}),i.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(et,{className:"flex flex-row items-center justify-between",children:[i.jsxs("div",{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Nn,{className:"w-5 h-5 text-[#38bdac]"}),"匹配类型管理"]}),i.jsx(It,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),i.jsxs(re,{onClick:j,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-1"}),"添加类型"]})]}),i.jsx(Te,{children:i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"图标"}),i.jsx(ke,{className:"text-gray-400",children:"类型ID"}),i.jsx(ke,{className:"text-gray-400",children:"显示名称"}),i.jsx(ke,{className:"text-gray-400",children:"匹配标签"}),i.jsx(ke,{className:"text-gray-400",children:"价格"}),i.jsx(ke,{className:"text-gray-400",children:"数据库匹配"}),i.jsx(ke,{className:"text-gray-400",children:"状态"}),i.jsx(ke,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsx(pr,{children:t.matchTypes.map(C=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(ve,{children:i.jsx("span",{className:"text-2xl",children:C.icon})}),i.jsx(ve,{className:"font-mono text-gray-300",children:C.id}),i.jsx(ve,{className:"text-white font-medium",children:C.label}),i.jsx(ve,{className:"text-gray-300",children:C.matchLabel}),i.jsx(ve,{children:i.jsxs(Fe,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",C.price]})}),i.jsx(ve,{children:C.matchFromDB?i.jsx(Fe,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):i.jsx(Fe,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),i.jsx(ve,{children:i.jsx(yt,{checked:C.enabled,onCheckedChange:()=>E(C.id)})}),i.jsx(ve,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>v(C),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(bt,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>k(C.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(vn,{className:"w-4 h-4"})})]})})]},C.id))})]})})]}),i.jsx(Qt,{open:o,onOpenChange:c,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[u?i.jsx(bt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Lt,{className:"w-5 h-5 text-[#38bdac]"}),u?"编辑匹配类型":"添加匹配类型"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:f.id,onChange:C=>m({...f,id:C.target.value}),disabled:!!u})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"图标"}),i.jsx("div",{className:"flex gap-1 flex-wrap",children:rV.map(C=>i.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${f.icon===C?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>m({...f,icon:C}),children:C},C))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"显示名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业合伙",value:f.label,onChange:C=>m({...f,label:C.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配标签"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业伙伴",value:f.matchLabel,onChange:C=>m({...f,matchLabel:C.target.value})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:f.price,onChange:C=>m({...f,price:parseFloat(C.target.value)||1})})]}),i.jsxs("div",{className:"flex gap-6 pt-2",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:f.matchFromDB,onCheckedChange:C=>m({...f,matchFromDB:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:f.showJoinAfterMatch,onCheckedChange:C=>m({...f,showJoinAfterMatch:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:f.enabled,onCheckedChange:C=>m({...f,enabled:C})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",onClick:()=>c(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsxs(re,{onClick:w,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),"保存"]})]})]})})]})}const cN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function iV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null);async function v(){m(!0),y(null);try{const w=new URLSearchParams({page:String(s),pageSize:String(o)});u&&w.set("matchType",u);const k=await Be(`/api/db/match-records?${w}`);k!=null&&k.success?(e(k.records||[]),r(k.total??0)):y("加载匹配记录失败")}catch(w){console.error("加载匹配记录失败",w),y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{v()},[s,u]);const j=Math.ceil(n/o)||1;return i.jsxs("div",{className:"p-8 w-full",children:[g&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:g}),i.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-bold text-white",children:"匹配记录"}),i.jsxs("p",{className:"text-gray-400 mt-1",children:["找伙伴匹配统计,共 ",n," 条记录"]})]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("select",{value:u,onChange:w=>{h(w.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"",children:"全部类型"}),Object.entries(cN).map(([w,k])=>i.jsx("option",{value:w,children:k},w))]}),i.jsxs("button",{type:"button",onClick:v,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${f?"animate-spin":""}`}),"刷新"]})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Te,{className:"p-0",children:f?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"发起人"}),i.jsx(ke,{className:"text-gray-400",children:"匹配到"}),i.jsx(ke,{className:"text-gray-400",children:"类型"}),i.jsx(ke,{className:"text-gray-400",children:"联系方式"}),i.jsx(ke,{className:"text-gray-400",children:"匹配时间"})]})}),i.jsxs(pr,{children:[t.map(w=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(ve,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[w.userAvatar?i.jsx("img",{src:w.userAvatar,alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const E=k.currentTarget.nextElementSibling;E&&E.classList.remove("hidden")}}):null,i.jsx("span",{className:w.userAvatar?"hidden":"",children:(w.userNickname||w.userId||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white",children:w.userNickname||w.userId}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[w.userId.slice(0,16),"..."]})]})]})}),i.jsx(ve,{children:i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[w.matchedUserAvatar?i.jsx("img",{src:w.matchedUserAvatar,alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const E=k.currentTarget.nextElementSibling;E&&E.classList.remove("hidden")}}):null,i.jsx("span",{className:w.matchedUserAvatar?"hidden":"",children:(w.matchedNickname||w.matchedUserId||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white",children:w.matchedNickname||w.matchedUserId}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[w.matchedUserId.slice(0,16),"..."]})]})]})}),i.jsx(ve,{children:i.jsx(Fe,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:cN[w.matchType]||w.matchType})}),i.jsxs(ve,{className:"text-gray-400 text-sm",children:[w.phone&&i.jsxs("div",{children:["📱 ",w.phone]}),w.wechatId&&i.jsxs("div",{children:["💬 ",w.wechatId]}),!w.phone&&!w.wechatId&&"-"]}),i.jsx(ve,{className:"text-gray-400",children:w.createdAt?new Date(w.createdAt).toLocaleString():"-"})]},w.id)),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),i.jsx(Zr,{page:s,totalPages:j,total:n,pageSize:o,onPageChange:a,onPageSizeChange:w=>{c(w),a(1)}})]})})})]})}function aV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState(!1),[o,c]=b.useState(null),[u,h]=b.useState(""),[f,m]=b.useState(0),[g,y]=b.useState(!1);async function v(){r(!0);try{const C=await Be("/api/db/vip-roles");C!=null&&C.success&&C.data&&e(C.data)}catch(C){console.error("Load roles error:",C)}finally{r(!1)}}b.useEffect(()=>{v()},[]);const j=()=>{c(null),h(""),m(t.length>0?Math.max(...t.map(C=>C.sort))+1:0),a(!0)},w=C=>{c(C),h(C.name),m(C.sort),a(!0)},k=async()=>{if(!u.trim()){alert("角色名称不能为空");return}y(!0);try{if(o){const C=await Rt("/api/db/vip-roles",{id:o.id,name:u.trim(),sort:f});C!=null&&C.success?(a(!1),v()):alert("更新失败: "+(C==null?void 0:C.error))}else{const C=await ht("/api/db/vip-roles",{name:u.trim(),sort:f});C!=null&&C.success?(a(!1),v()):alert("新增失败: "+(C==null?void 0:C.error))}}catch(C){console.error("Save error:",C),alert("保存失败")}finally{y(!1)}},E=async C=>{if(confirm("确定删除该角色?已设置该角色的 VIP 用户将保留角色名称。"))try{const M=await Yr(`/api/db/vip-roles?id=${C}`);M!=null&&M.success?v():alert("删除失败: "+(M==null?void 0:M.error))}catch(M){console.error("Delete error:",M),alert("删除失败")}};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Aa,{className:"w-5 h-5 text-amber-400"}),"VIP 角色管理"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"超级个体固定角色,在「设置 VIP」时可选择或手动填写"})]}),i.jsxs(re,{onClick:j,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"新增角色"]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"ID"}),i.jsx(ke,{className:"text-gray-400",children:"角色名称"}),i.jsx(ke,{className:"text-gray-400",children:"排序"}),i.jsx(ke,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(pr,{children:[t.map(C=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(ve,{className:"text-gray-300",children:C.id}),i.jsx(ve,{className:"text-white",children:C.name}),i.jsx(ve,{className:"text-gray-400",children:C.sort}),i.jsxs(ve,{className:"text-right",children:[i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>w(C),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(bt,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>E(C.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(vn,{className:"w-4 h-4"})})]})]},C.id)),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无角色,点击「新增角色」添加"})})]})]})})}),i.jsx(Qt,{open:s,onOpenChange:a,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[i.jsx(Xt,{children:i.jsx(Zt,{className:"text-white",children:o?"编辑角色":"新增角色"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"角色名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:创始人、投资人",value:u,onChange:C=>h(C.target.value)})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序(下拉展示顺序,越小越前)"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:f,onChange:C=>m(parseInt(C.target.value,10)||0)})]})]}),i.jsxs(bn,{children:[i.jsxs(re,{variant:"outline",onClick:()=>a(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(re,{onClick:k,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),g?"保存中...":"保存"]})]})]})})]})}function NE({embedded:t=!1}){const[e,n]=b.useState([]),[r,s]=b.useState(!0),[a,o]=b.useState(!1),[c,u]=b.useState(null),[h,f]=b.useState({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:0,enabled:!0}),[m,g]=b.useState(!1),[y,v]=b.useState(!1),j=b.useRef(null),w=async I=>{var O;const A=(O=I.target.files)==null?void 0:O[0];if(A){v(!0);try{const W=new FormData;W.append("file",A),W.append("folder","mentors");const X=kx(),q={};X&&(q.Authorization=`Bearer ${X}`);const _=await(await fetch(Yo("/api/upload"),{method:"POST",body:W,credentials:"include",headers:q})).json();_!=null&&_.success&&(_!=null&&_.url)?f($=>({...$,avatar:_.url})):alert("上传失败: "+((_==null?void 0:_.error)||"未知错误"))}catch(W){console.error(W),alert("上传失败")}finally{v(!1),j.current&&(j.current.value="")}}};async function k(){s(!0);try{const I=await Be("/api/db/mentors");I!=null&&I.success&&I.data&&n(I.data)}catch(I){console.error("Load mentors error:",I)}finally{s(!1)}}b.useEffect(()=>{k()},[]);const E=()=>{f({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:e.length>0?Math.max(...e.map(I=>I.sort))+1:0,enabled:!0})},C=()=>{u(null),E(),o(!0)},M=I=>{u(I),f({name:I.name,avatar:I.avatar||"",intro:I.intro||"",tags:I.tags||"",priceSingle:I.priceSingle!=null?String(I.priceSingle):"",priceHalfYear:I.priceHalfYear!=null?String(I.priceHalfYear):"",priceYear:I.priceYear!=null?String(I.priceYear):"",quote:I.quote||"",whyFind:I.whyFind||"",offering:I.offering||"",judgmentStyle:I.judgmentStyle||"",sort:I.sort,enabled:I.enabled??!0}),o(!0)},D=async()=>{if(!h.name.trim()){alert("导师姓名不能为空");return}g(!0);try{const I=O=>O===""?void 0:parseFloat(O),A={name:h.name.trim(),avatar:h.avatar.trim()||void 0,intro:h.intro.trim()||void 0,tags:h.tags.trim()||void 0,priceSingle:I(h.priceSingle),priceHalfYear:I(h.priceHalfYear),priceYear:I(h.priceYear),quote:h.quote.trim()||void 0,whyFind:h.whyFind.trim()||void 0,offering:h.offering.trim()||void 0,judgmentStyle:h.judgmentStyle.trim()||void 0,sort:h.sort,enabled:h.enabled};if(c){const O=await Rt("/api/db/mentors",{id:c.id,...A});O!=null&&O.success?(o(!1),k()):alert("更新失败: "+(O==null?void 0:O.error))}else{const O=await ht("/api/db/mentors",A);O!=null&&O.success?(o(!1),k()):alert("新增失败: "+(O==null?void 0:O.error))}}catch(I){console.error("Save error:",I),alert("保存失败")}finally{g(!1)}},F=async I=>{if(confirm("确定删除该导师?"))try{const A=await Yr(`/api/db/mentors?id=${I}`);A!=null&&A.success?k():alert("删除失败: "+(A==null?void 0:A.error))}catch(A){console.error("Delete error:",A),alert("删除失败")}},R=I=>I!=null?`¥${I}`:"-";return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Nn,{className:"w-5 h-5 text-[#38bdac]"}),"导师管理"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师列表,支持每个导师独立配置单次/半年/年度价格"})]}),i.jsxs(re,{onClick:C,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-2"}),"新增导师"]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-0",children:r?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"ID"}),i.jsx(ke,{className:"text-gray-400",children:"姓名"}),i.jsx(ke,{className:"text-gray-400",children:"简介"}),i.jsx(ke,{className:"text-gray-400",children:"单次"}),i.jsx(ke,{className:"text-gray-400",children:"半年"}),i.jsx(ke,{className:"text-gray-400",children:"年度"}),i.jsx(ke,{className:"text-gray-400",children:"排序"}),i.jsx(ke,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsxs(pr,{children:[e.map(I=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(ve,{className:"text-gray-300",children:I.id}),i.jsx(ve,{className:"text-white",children:I.name}),i.jsx(ve,{className:"text-gray-400 max-w-[200px] truncate",children:I.intro||"-"}),i.jsx(ve,{className:"text-gray-400",children:R(I.priceSingle)}),i.jsx(ve,{className:"text-gray-400",children:R(I.priceHalfYear)}),i.jsx(ve,{className:"text-gray-400",children:R(I.priceYear)}),i.jsx(ve,{className:"text-gray-400",children:I.sort}),i.jsxs(ve,{className:"text-right",children:[i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>M(I),className:"text-gray-400 hover:text-[#38bdac]",children:i.jsx(bt,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>F(I.id),className:"text-gray-400 hover:text-red-400",children:i.jsx(vn,{className:"w-4 h-4"})})]})]},I.id)),e.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:8,className:"text-center py-12 text-gray-500",children:"暂无导师,点击「新增导师」添加"})})]})]})})}),i.jsx(Qt,{open:a,onOpenChange:o,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg max-h-[90vh] overflow-y-auto",children:[i.jsx(Xt,{children:i.jsx(Zt,{className:"text-white",children:c?"编辑导师":"新增导师"})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"姓名 *"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:卡若",value:h.name,onChange:I=>f(A=>({...A,name:I.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"排序"}),i.jsx(ce,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:h.sort,onChange:I=>f(A=>({...A,sort:parseInt(I.target.value,10)||0}))})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"头像"}),i.jsxs("div",{className:"flex gap-3 items-center",children:[i.jsx(ce,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:h.avatar,onChange:I=>f(A=>({...A,avatar:I.target.value})),placeholder:"点击上传或粘贴图片地址"}),i.jsx("input",{ref:j,type:"file",accept:"image/*",className:"hidden",onChange:w}),i.jsxs(re,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:y,onClick:()=>{var I;return(I=j.current)==null?void 0:I.click()},children:[i.jsx(Hu,{className:"w-4 h-4 mr-2"}),y?"上传中...":"上传"]})]}),h.avatar&&i.jsx("div",{className:"mt-2",children:i.jsx("img",{src:h.avatar.startsWith("http")?h.avatar:Yo(h.avatar),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"简介"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:结构判断型咨询 · Decision > Execution",value:h.intro,onChange:I=>f(A=>({...A,intro:I.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"技能标签(逗号分隔)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:项目结构判断、风险止损、人×项目匹配",value:h.tags,onChange:I=>f(A=>({...A,tags:I.target.value}))})]}),i.jsxs("div",{className:"border-t border-gray-700 pt-4",children:[i.jsx(te,{className:"text-gray-300 block mb-2",children:"价格配置(每个导师独立)"}),i.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"单次咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"980",value:h.priceSingle,onChange:I=>f(A=>({...A,priceSingle:I.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"半年咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"19800",value:h.priceHalfYear,onChange:I=>f(A=>({...A,priceHalfYear:I.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"年度咨询 ¥"}),i.jsx(ce,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"29800",value:h.priceYear,onChange:I=>f(A=>({...A,priceYear:I.target.value}))})]})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"引言"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:大多数人失败,不是因为不努力...",value:h.quote,onChange:I=>f(A=>({...A,quote:I.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"为什么找(文本)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.whyFind,onChange:I=>f(A=>({...A,whyFind:I.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"提供什么(文本)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.offering,onChange:I=>f(A=>({...A,offering:I.target.value}))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"判断风格(逗号分隔)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:冷静、克制、偏风险视角",value:h.judgmentStyle,onChange:I=>f(A=>({...A,judgmentStyle:I.target.value}))})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("input",{type:"checkbox",id:"enabled",checked:h.enabled,onChange:I=>f(A=>({...A,enabled:I.target.checked})),className:"rounded border-gray-600 bg-[#0a1628]"}),i.jsx(te,{htmlFor:"enabled",className:"text-gray-300 cursor-pointer",children:"上架(小程序可见)"})]})]}),i.jsxs(bn,{children:[i.jsxs(re,{variant:"outline",onClick:()=>o(!1),className:"border-gray-600 text-gray-300",children:[i.jsx(er,{className:"w-4 h-4 mr-2"}),"取消"]}),i.jsxs(re,{onClick:D,disabled:m,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"}),m?"保存中...":"保存"]})]})]})})]})}function oV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState("");async function o(){r(!0);try{const h=s?`/api/db/mentor-consultations?status=${s}`:"/api/db/mentor-consultations",f=await Be(h);f!=null&&f.success&&f.data&&e(f.data)}catch(h){console.error("Load consultations error:",h)}finally{r(!1)}}b.useEffect(()=>{o()},[s]);const c={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},u={single:"单次",half_year:"半年",year:"年度"};return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex justify-between items-center mb-8",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Bu,{className:"w-5 h-5 text-[#38bdac]"}),"导师预约列表"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师咨询预约记录"})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("select",{value:s,onChange:h=>a(h.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[i.jsx("option",{value:"",children:"全部状态"}),Object.entries(c).map(([h,f])=>i.jsx("option",{value:h,children:f},h))]}),i.jsxs(re,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"ID"}),i.jsx(ke,{className:"text-gray-400",children:"用户ID"}),i.jsx(ke,{className:"text-gray-400",children:"导师ID"}),i.jsx(ke,{className:"text-gray-400",children:"类型"}),i.jsx(ke,{className:"text-gray-400",children:"金额"}),i.jsx(ke,{className:"text-gray-400",children:"状态"}),i.jsx(ke,{className:"text-gray-400",children:"创建时间"})]})}),i.jsxs(pr,{children:[t.map(h=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(ve,{className:"text-gray-300",children:h.id}),i.jsx(ve,{className:"text-gray-400",children:h.userId}),i.jsx(ve,{className:"text-gray-400",children:h.mentorId}),i.jsx(ve,{className:"text-gray-400",children:u[h.consultationType]||h.consultationType}),i.jsxs(ve,{className:"text-white",children:["¥",h.amount]}),i.jsx(ve,{className:"text-gray-400",children:c[h.status]||h.status}),i.jsx(ve,{className:"text-gray-500 text-sm",children:h.createdAt})]},h.id)),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}const lc={poolSource:["vip"],requirePhone:!0,requireNickname:!0,requireAvatar:!1,requireBusiness:!1},dN={matchTypes:[{id:"partner",label:"找伙伴",matchLabel:"找伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10},poolSettings:lc},lV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function cV(){const t=sa(),[e,n]=b.useState(dN),[r,s]=b.useState(!0),[a,o]=b.useState(!1),[c,u]=b.useState(!1),[h,f]=b.useState(null),[m,g]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),[y,v]=b.useState(null),[j,w]=b.useState(!1),k=async()=>{w(!0);try{const A=await Be("/api/db/match-pool-counts");A!=null&&A.success&&A.data&&v(A.data)}catch(A){console.error("加载池子人数失败:",A)}finally{w(!1)}},E=async()=>{s(!0);try{const A=await Be("/api/db/config/full?key=match_config"),O=(A==null?void 0:A.data)??(A==null?void 0:A.config);if(O){let W=O.poolSettings??lc;W.poolSource&&!Array.isArray(W.poolSource)&&(W={...W,poolSource:[W.poolSource]}),n({...dN,...O,poolSettings:W})}}catch(A){console.error("加载匹配配置失败:",A)}finally{s(!1)}};b.useEffect(()=>{E(),k()},[]);const C=async()=>{o(!0);try{const A=await ht("/api/db/config",{key:"match_config",value:e,description:"匹配功能配置"});alert((A==null?void 0:A.success)!==!1?"配置保存成功!":"保存失败: "+((A==null?void 0:A.error)||"未知错误"))}catch(A){console.error(A),alert("保存失败")}finally{o(!1)}},M=A=>{f(A),g({...A}),u(!0)},D=()=>{f(null),g({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),u(!0)},F=()=>{if(!m.id||!m.label){alert("请填写类型ID和名称");return}const A=[...e.matchTypes];if(h){const O=A.findIndex(W=>W.id===h.id);O!==-1&&(A[O]={...m})}else{if(A.some(O=>O.id===m.id)){alert("类型ID已存在");return}A.push({...m})}n({...e,matchTypes:A}),u(!1)},R=A=>{confirm("确定要删除这个匹配类型吗?")&&n({...e,matchTypes:e.matchTypes.filter(O=>O.id!==A)})},I=A=>{n({...e,matchTypes:e.matchTypes.map(O=>O.id===A?{...O,enabled:!O.enabled}:O)})};return i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"flex justify-end gap-3",children:[i.jsxs(re,{variant:"outline",onClick:E,disabled:r,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${r?"animate-spin":""}`})," 刷新"]}),i.jsxs(re,{onClick:C,disabled:a,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"})," ",a?"保存中...":"保存配置"]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(DN,{className:"w-5 h-5 text-blue-400"})," 匹配池选择"]}),i.jsx(It,{className:"text-gray-400",children:"选择匹配的用户池和完善程度要求,只有满足条件的用户才可被匹配到"})]}),i.jsxs(Te,{className:"space-y-6",children:[i.jsxs("div",{className:"space-y-3",children:[i.jsx(te,{className:"text-gray-300",children:"匹配来源池"}),i.jsx("p",{className:"text-gray-500 text-xs",children:"可同时勾选多个池子(取并集匹配)"}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:[{value:"vip",label:"超级个体(VIP会员)",desc:"付费 ¥1980 的VIP会员",icon:"👑",countKey:"vip"},{value:"complete",label:"完善资料用户",desc:"符合下方完善度要求的用户",icon:"✅",countKey:"complete"},{value:"all",label:"全部用户",desc:"所有已注册用户",icon:"👥",countKey:"all"}].map(A=>{const O=e.poolSettings??lc,X=(Array.isArray(O.poolSource)?O.poolSource:[O.poolSource]).includes(A.value),q=y==null?void 0:y[A.countKey],Z=()=>{const _=Array.isArray(O.poolSource)?[...O.poolSource]:[O.poolSource],$=X?_.filter(oe=>oe!==A.value):[..._,A.value];$.length===0&&$.push(A.value),n({...e,poolSettings:{...O,poolSource:$}})};return i.jsxs("button",{type:"button",onClick:Z,className:`p-4 rounded-lg border text-left transition-all ${X?"border-[#38bdac] bg-[#38bdac]/10":"border-gray-700 bg-[#0a1628] hover:border-gray-600"}`,children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:`w-5 h-5 rounded border-2 flex items-center justify-center text-xs ${X?"border-[#38bdac] bg-[#38bdac] text-white":"border-gray-600"}`,children:X&&"✓"}),i.jsx("span",{className:"text-xl",children:A.icon}),i.jsx("span",{className:`text-sm font-medium ${X?"text-[#38bdac]":"text-gray-300"}`,children:A.label})]}),i.jsxs("span",{className:"text-lg font-bold text-white",children:[j?"...":q??"-",i.jsx("span",{className:"text-xs text-gray-500 font-normal ml-1",children:"人"})]})]}),i.jsx("p",{className:"text-gray-500 text-xs mt-2",children:A.desc}),i.jsx("span",{role:"link",tabIndex:0,onClick:_=>{_.stopPropagation(),t(`/users?pool=${A.value}`)},onKeyDown:_=>{_.key==="Enter"&&(_.stopPropagation(),t(`/users?pool=${A.value}`))},className:"text-[#38bdac] text-xs mt-2 inline-block hover:underline cursor-pointer",children:"查看用户列表 →"})]},A.value)})})]}),i.jsxs("div",{className:"space-y-3 pt-4 border-t border-gray-700/50",children:[i.jsx(te,{className:"text-gray-300",children:"用户资料完善要求(被匹配用户必须满足以下条件)"}),i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{key:"requirePhone",label:"有手机号",icon:"📱"},{key:"requireNickname",label:"有昵称",icon:"👤"},{key:"requireAvatar",label:"有头像",icon:"🖼️"},{key:"requireBusiness",label:"有业务需求",icon:"💼"}].map(A=>{const W=(e.poolSettings??lc)[A.key];return i.jsxs("div",{className:"flex items-center gap-3 bg-[#0a1628] rounded-lg p-3",children:[i.jsx(yt,{checked:W,onCheckedChange:X=>n({...e,poolSettings:{...e.poolSettings??lc,[A.key]:X}})}),i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx("span",{children:A.icon}),i.jsx(te,{className:"text-gray-300 text-sm",children:A.label})]})]},A.key)})})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(et,{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Fi,{className:"w-5 h-5 text-yellow-400"})," 基础设置"]}),i.jsx(It,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),i.jsxs(Te,{className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),i.jsx(ce,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.freeMatchLimit,onChange:A=>n({...e,freeMatchLimit:parseInt(A.target.value,10)||0})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:e.matchPrice,onChange:A=>n({...e,matchPrice:parseFloat(A.target.value)||1})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),i.jsx(ce,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.settings.maxMatchesPerDay,onChange:A=>n({...e,settings:{...e.settings,maxMatchesPerDay:parseInt(A.target.value,10)||10}})})]})]}),i.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:e.settings.enableFreeMatches,onCheckedChange:A=>n({...e,settings:{...e.settings,enableFreeMatches:A}})}),i.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:e.settings.enablePaidMatches,onCheckedChange:A=>n({...e,settings:{...e.settings,enablePaidMatches:A}})}),i.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:[i.jsxs(et,{className:"flex flex-row items-center justify-between",children:[i.jsxs("div",{children:[i.jsxs(tt,{className:"text-white flex items-center gap-2",children:[i.jsx(Nn,{className:"w-5 h-5 text-[#38bdac]"})," 匹配类型管理"]}),i.jsx(It,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),i.jsxs(re,{onClick:D,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(Lt,{className:"w-4 h-4 mr-1"})," 添加类型"]})]}),i.jsx(Te,{children:i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"图标"}),i.jsx(ke,{className:"text-gray-400",children:"类型ID"}),i.jsx(ke,{className:"text-gray-400",children:"显示名称"}),i.jsx(ke,{className:"text-gray-400",children:"匹配标签"}),i.jsx(ke,{className:"text-gray-400",children:"价格"}),i.jsx(ke,{className:"text-gray-400",children:"数据库匹配"}),i.jsx(ke,{className:"text-gray-400",children:"状态"}),i.jsx(ke,{className:"text-right text-gray-400",children:"操作"})]})}),i.jsx(pr,{children:e.matchTypes.map(A=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(ve,{children:i.jsx("span",{className:"text-2xl",children:A.icon})}),i.jsx(ve,{className:"font-mono text-gray-300",children:A.id}),i.jsx(ve,{className:"text-white font-medium",children:A.label}),i.jsx(ve,{className:"text-gray-300",children:A.matchLabel}),i.jsx(ve,{children:i.jsxs(Fe,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",A.price]})}),i.jsx(ve,{children:A.matchFromDB?i.jsx(Fe,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):i.jsx(Fe,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),i.jsx(ve,{children:i.jsx(yt,{checked:A.enabled,onCheckedChange:()=>I(A.id)})}),i.jsx(ve,{className:"text-right",children:i.jsxs("div",{className:"flex items-center justify-end gap-1",children:[i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>M(A),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:i.jsx(bt,{className:"w-4 h-4"})}),i.jsx(re,{variant:"ghost",size:"sm",onClick:()=>R(A.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:i.jsx(vn,{className:"w-4 h-4"})})]})})]},A.id))})]})})]}),i.jsx(Qt,{open:c,onOpenChange:u,children:i.jsxs(Ut,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[i.jsx(Xt,{children:i.jsxs(Zt,{className:"text-white flex items-center gap-2",children:[h?i.jsx(bt,{className:"w-5 h-5 text-[#38bdac]"}):i.jsx(Lt,{className:"w-5 h-5 text-[#38bdac]"}),h?"编辑匹配类型":"添加匹配类型"]})}),i.jsxs("div",{className:"space-y-4 py-4",children:[i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:m.id,onChange:A=>g({...m,id:A.target.value}),disabled:!!h})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"图标"}),i.jsx("div",{className:"flex gap-1 flex-wrap",children:lV.map(A=>i.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${m.icon===A?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>g({...m,icon:A}),children:A},A))})]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"显示名称"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.label,onChange:A=>g({...m,label:A.target.value})})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"匹配标签"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.matchLabel,onChange:A=>g({...m,matchLabel:A.target.value})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),i.jsx(ce,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:m.price,onChange:A=>g({...m,price:parseFloat(A.target.value)||1})})]}),i.jsxs("div",{className:"flex gap-6 pt-2",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:m.matchFromDB,onCheckedChange:A=>g({...m,matchFromDB:A})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:m.showJoinAfterMatch,onCheckedChange:A=>g({...m,showJoinAfterMatch:A})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(yt,{checked:m.enabled,onCheckedChange:A=>g({...m,enabled:A})}),i.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),i.jsxs(bn,{children:[i.jsx(re,{variant:"outline",onClick:()=>u(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),i.jsxs(re,{onClick:F,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-4 h-4 mr-2"})," 保存"]})]})]})})]})}const uN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function dV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null),[v,j]=b.useState(null);async function w(){m(!0),y(null);try{const C=new URLSearchParams({page:String(s),pageSize:String(o)});u&&C.set("matchType",u);const M=await Be(`/api/db/match-records?${C}`);M!=null&&M.success?(e(M.records||[]),r(M.total??0)):y("加载匹配记录失败")}catch{y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{w()},[s,u]);const k=Math.ceil(n/o)||1,E=({userId:C,nickname:M,avatar:D})=>i.jsxs("div",{className:"flex items-center gap-3 cursor-pointer group",onClick:()=>j(C),children:[i.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[D?i.jsx("img",{src:D,alt:"",className:"w-full h-full object-cover",onError:F=>{F.currentTarget.style.display="none"}}):null,i.jsx("span",{className:D?"hidden":"",children:(M||C||"?").charAt(0)})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-white group-hover:text-[#38bdac] transition-colors",children:M||C}),i.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[C==null?void 0:C.slice(0,16),(C==null?void 0:C.length)>16?"...":""]})]})]});return i.jsxs("div",{children:[g&&i.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[i.jsx("span",{children:g}),i.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("p",{className:"text-gray-400",children:["共 ",n," 条匹配记录 · 点击用户名查看详情"]}),i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("select",{value:u,onChange:C=>{h(C.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[i.jsx("option",{value:"",children:"全部类型"}),Object.entries(uN).map(([C,M])=>i.jsx("option",{value:C,children:M},C))]}),i.jsxs("button",{type:"button",onClick:w,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${f?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Te,{className:"p-0",children:f?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"发起人"}),i.jsx(ke,{className:"text-gray-400",children:"匹配到"}),i.jsx(ke,{className:"text-gray-400",children:"类型"}),i.jsx(ke,{className:"text-gray-400",children:"联系方式"}),i.jsx(ke,{className:"text-gray-400",children:"匹配时间"})]})}),i.jsxs(pr,{children:[t.map(C=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(ve,{children:i.jsx(E,{userId:C.userId,nickname:C.userNickname,avatar:C.userAvatar})}),i.jsx(ve,{children:C.matchedUserId?i.jsx(E,{userId:C.matchedUserId,nickname:C.matchedNickname,avatar:C.matchedUserAvatar}):i.jsx("span",{className:"text-gray-500",children:"—"})}),i.jsx(ve,{children:i.jsx(Fe,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:uN[C.matchType]||C.matchType})}),i.jsxs(ve,{className:"text-sm",children:[C.phone&&i.jsxs("div",{className:"text-green-400",children:["📱 ",C.phone]}),C.wechatId&&i.jsxs("div",{className:"text-blue-400",children:["💬 ",C.wechatId]}),!C.phone&&!C.wechatId&&i.jsx("span",{className:"text-gray-600",children:"-"})]}),i.jsx(ve,{className:"text-gray-400",children:C.createdAt?new Date(C.createdAt).toLocaleString():"-"})]},C.id)),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),i.jsx(Zr,{page:s,totalPages:k,total:n,pageSize:o,onPageChange:a,onPageSizeChange:C=>{c(C),a(1)}})]})})}),i.jsx(zx,{open:!!v,onClose:()=>j(null),userId:v,onUserUpdated:w})]})}function uV(){const[t,e]=b.useState("records");return i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("button",{type:"button",onClick:()=>e("records"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="records"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配记录"}),i.jsx("button",{type:"button",onClick:()=>e("pool"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="pool"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配池设置"})]}),t==="records"&&i.jsx(dV,{}),t==="pool"&&i.jsx(cV,{})]})}const hN={investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function hV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0),[f,m]=b.useState("investor"),[g,y]=b.useState(null);async function v(){h(!0);try{const E=new URLSearchParams({page:String(s),pageSize:String(o),matchType:f}),C=await Be(`/api/db/match-records?${E}`);C!=null&&C.success&&(e(C.records||[]),r(C.total??0))}catch(E){console.error(E)}finally{h(!1)}}b.useEffect(()=>{v()},[s,f]);const j=async E=>{if(!E.phone&&!E.wechatId){alert("该记录无联系方式,无法推送到存客宝");return}y(E.id);try{const C=await ht("/api/ckb/join",{type:E.matchType||"investor",phone:E.phone||"",wechat:E.wechatId||"",userId:E.userId,name:E.userNickname||""});alert((C==null?void 0:C.message)||(C!=null&&C.success?"推送成功":"推送失败"))}catch(C){alert("推送失败: "+(C instanceof Error?C.message:"网络错误"))}finally{y(null)}},w=Math.ceil(n/o)||1,k=E=>!!(E.phone||E.wechatId);return i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400",children:"点击获客:有人填写手机号/微信号的直接显示,可一键推送到存客宝"}),i.jsxs("p",{className:"text-gray-500 text-xs mt-1",children:["共 ",n," 条记录 — 有联系方式的可触发存客宝添加好友"]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("select",{value:f,onChange:E=>{m(E.target.value),a(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:Object.entries(hN).map(([E,C])=>i.jsx("option",{value:E,children:C},E))}),i.jsxs(re,{onClick:v,disabled:u,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${u?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Te,{className:"p-0",children:u?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"发起人"}),i.jsx(ke,{className:"text-gray-400",children:"匹配到"}),i.jsx(ke,{className:"text-gray-400",children:"类型"}),i.jsx(ke,{className:"text-gray-400",children:"联系方式"}),i.jsx(ke,{className:"text-gray-400",children:"时间"}),i.jsx(ke,{className:"text-gray-400 text-right",children:"操作"})]})}),i.jsxs(pr,{children:[t.map(E=>{var C,M;return i.jsxs(ct,{className:`border-gray-700/50 ${k(E)?"hover:bg-[#0a1628]":"opacity-60"}`,children:[i.jsx(ve,{className:"text-white",children:E.userNickname||((C=E.userId)==null?void 0:C.slice(0,12))}),i.jsx(ve,{className:"text-white",children:E.matchedNickname||((M=E.matchedUserId)==null?void 0:M.slice(0,12))}),i.jsx(ve,{children:i.jsx(Fe,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:hN[E.matchType]||E.matchType})}),i.jsxs(ve,{className:"text-sm",children:[E.phone&&i.jsxs("div",{className:"text-green-400",children:["📱 ",E.phone]}),E.wechatId&&i.jsxs("div",{className:"text-blue-400",children:["💬 ",E.wechatId]}),!E.phone&&!E.wechatId&&i.jsx("span",{className:"text-gray-600",children:"无联系方式"})]}),i.jsx(ve,{className:"text-gray-400 text-sm",children:E.createdAt?new Date(E.createdAt).toLocaleString():"-"}),i.jsx(ve,{className:"text-right",children:k(E)?i.jsxs(re,{size:"sm",onClick:()=>j(E),disabled:g===E.id,className:"bg-[#38bdac] hover:bg-[#2da396] text-white text-xs h-7 px-3",children:[i.jsx(mA,{className:"w-3 h-3 mr-1"}),g===E.id?"推送中...":"推送CKB"]}):i.jsx("span",{className:"text-gray-600 text-xs",children:"—"})})]},E.id)}),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:6,className:"text-center py-12 text-gray-500",children:"暂无记录"})})]})]}),i.jsx(Zr,{page:s,totalPages:w,total:n,pageSize:o,onPageChange:a,onPageSizeChange:E=>{c(E),a(1)}})]})})})]})}const fN={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},fV={single:"单次",half_year:"半年",year:"年度"};function pV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[s,a]=b.useState("");async function o(){r(!0);try{const c=s?`/api/db/mentor-consultations?status=${s}`:"/api/db/mentor-consultations",u=await Be(c);u!=null&&u.success&&u.data&&e(u.data)}catch(c){console.error(c)}finally{r(!1)}}return b.useEffect(()=>{o()},[s]),i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsx("p",{className:"text-gray-400",children:"导师咨询预约记录"}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs("select",{value:s,onChange:c=>a(c.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[i.jsx("option",{value:"",children:"全部状态"}),Object.entries(fN).map(([c,u])=>i.jsx("option",{value:c,children:u},c))]}),i.jsxs(re,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`})," 刷新"]})]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50",children:i.jsx(Te,{className:"p-0",children:n?i.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"ID"}),i.jsx(ke,{className:"text-gray-400",children:"用户ID"}),i.jsx(ke,{className:"text-gray-400",children:"导师ID"}),i.jsx(ke,{className:"text-gray-400",children:"类型"}),i.jsx(ke,{className:"text-gray-400",children:"金额"}),i.jsx(ke,{className:"text-gray-400",children:"状态"}),i.jsx(ke,{className:"text-gray-400",children:"创建时间"})]})}),i.jsxs(pr,{children:[t.map(c=>i.jsxs(ct,{className:"border-gray-700/50",children:[i.jsx(ve,{className:"text-gray-300",children:c.id}),i.jsx(ve,{className:"text-gray-400",children:c.userId}),i.jsx(ve,{className:"text-gray-400",children:c.mentorId}),i.jsx(ve,{className:"text-gray-400",children:fV[c.consultationType]||c.consultationType}),i.jsxs(ve,{className:"text-white",children:["¥",c.amount]}),i.jsx(ve,{className:"text-gray-400",children:fN[c.status]||c.status}),i.jsx(ve,{className:"text-gray-500 text-sm",children:c.createdAt?new Date(c.createdAt).toLocaleString():"-"})]},c.id)),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}function mV(){const[t,e]=b.useState("booking");return i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"flex gap-2",children:[i.jsx("button",{type:"button",onClick:()=>e("booking"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="booking"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"预约记录"}),i.jsx("button",{type:"button",onClick:()=>e("manage"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="manage"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"导师管理"})]}),t==="booking"&&i.jsx(pV,{}),t==="manage"&&i.jsx("div",{className:"-mx-8",children:i.jsx(NE,{embedded:!0})})]})}function gV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[s,a]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0);async function f(){h(!0);try{const g=new URLSearchParams({page:String(s),pageSize:String(o),matchType:"team"}),y=await Be(`/api/db/match-records?${g}`);y!=null&&y.success&&(e(y.records||[]),r(y.total??0))}catch(g){console.error(g)}finally{h(!1)}}b.useEffect(()=>{f()},[s]);const m=Math.ceil(n/o)||1;return i.jsxs("div",{children:[i.jsxs("div",{className:"flex justify-between items-center mb-4",children:[i.jsxs("div",{children:[i.jsxs("p",{className:"text-gray-400",children:["团队招募匹配记录,共 ",n," 条"]}),i.jsx("p",{className:"text-gray-500 text-xs mt-1",children:"用户通过「团队招募」提交联系方式到存客宝"})]}),i.jsxs("button",{type:"button",onClick:f,disabled:u,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[i.jsx(qe,{className:`w-4 h-4 ${u?"animate-spin":""}`})," 刷新"]})]}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:i.jsx(Te,{className:"p-0",children:u?i.jsxs("div",{className:"flex justify-center py-12",children:[i.jsx(qe,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),i.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):i.jsxs(i.Fragment,{children:[i.jsxs(hr,{children:[i.jsx(fr,{children:i.jsxs(ct,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[i.jsx(ke,{className:"text-gray-400",children:"发起人"}),i.jsx(ke,{className:"text-gray-400",children:"匹配到"}),i.jsx(ke,{className:"text-gray-400",children:"联系方式"}),i.jsx(ke,{className:"text-gray-400",children:"时间"})]})}),i.jsxs(pr,{children:[t.map(g=>i.jsxs(ct,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[i.jsx(ve,{className:"text-white",children:g.userNickname||g.userId}),i.jsx(ve,{className:"text-white",children:g.matchedNickname||g.matchedUserId}),i.jsxs(ve,{className:"text-gray-400 text-sm",children:[g.phone&&i.jsxs("div",{children:["📱 ",g.phone]}),g.wechatId&&i.jsxs("div",{children:["💬 ",g.wechatId]}),!g.phone&&!g.wechatId&&"-"]}),i.jsx(ve,{className:"text-gray-400",children:g.createdAt?new Date(g.createdAt).toLocaleString():"-"})]},g.id)),t.length===0&&i.jsx(ct,{children:i.jsx(ve,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无团队招募记录"})})]})]}),i.jsx(Zr,{page:s,totalPages:m,total:n,pageSize:o,onPageChange:a,onPageSizeChange:g=>{c(g),a(1)}})]})})})]})}const pN={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"},mN={partner:"⭐",investor:"👥",mentor:"❤️",team:"🎮"};function xV({onSwitchTab:t,onOpenCKB:e}={}){const n=sa(),[r,s]=b.useState(null),[a,o]=b.useState(null),[c,u]=b.useState(!0),h=b.useCallback(async()=>{var m,g;u(!0);try{const[y,v]=await Promise.allSettled([Be("/api/db/match-records?stats=true"),Be("/api/db/ckb-plan-stats")]);if(y.status==="fulfilled"&&((m=y.value)!=null&&m.success)&&y.value.data){let j=y.value.data;if(j.totalMatches>0&&(!j.uniqueUsers||j.uniqueUsers===0))try{const w=await Be("/api/db/match-records?page=1&pageSize=200");if(w!=null&&w.success&&w.records){const k=new Set(w.records.map(E=>E.userId).filter(Boolean));j={...j,uniqueUsers:k.size}}}catch{}s(j)}v.status==="fulfilled"&&((g=v.value)!=null&&g.success)&&v.value.data&&o(v.value.data)}catch(y){console.error("加载统计失败:",y)}finally{u(!1)}},[]);b.useEffect(()=>{h()},[h]);const f=m=>c?"—":String(m??0);return i.jsxs("div",{className:"space-y-8",children:[i.jsxs("div",{children:[i.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[i.jsx(Nn,{className:"w-5 h-5 text-[#38bdac]"})," 找伙伴数据"]}),i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5",children:[i.jsx(Ee,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-[#38bdac]/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"总匹配次数"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.totalMatches)}),i.jsxs("p",{className:"text-[#38bdac] text-xs mt-3 flex items-center gap-1",children:[i.jsx(Xs,{className:"w-3 h-3"})," 查看匹配记录"]})]})}),i.jsx(Ee,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-yellow-500/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"今日匹配"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.todayMatches)}),i.jsxs("p",{className:"text-yellow-400/60 text-xs mt-3 flex items-center gap-1",children:[i.jsx(Fi,{className:"w-3 h-3"})," 今日实时"]})]})}),i.jsx(Ee,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-blue-500/60 transition-all",onClick:()=>n("/users"),children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"匹配用户数"}),i.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.uniqueUsers)}),i.jsxs("p",{className:"text-blue-400/60 text-xs mt-3 flex items-center gap-1",children:[i.jsx(Xs,{className:"w-3 h-3"})," 查看用户管理"]})]})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/40",children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"人均匹配"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":r!=null&&r.uniqueUsers?(r.totalMatches/r.uniqueUsers).toFixed(1):"0"})]})}),i.jsx(Ee,{className:"bg-[#0f2137] border-gray-700/40",children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"付费匹配次数"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:f(r==null?void 0:r.paidMatchCount)})]})})]})]}),(r==null?void 0:r.byType)&&r.byType.length>0&&i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-semibold text-white mb-4",children:"各类型匹配分布"}),i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:r.byType.map(m=>{const g=r.totalMatches>0?m.count/r.totalMatches*100:0;return i.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/40 rounded-xl p-5",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[i.jsx("span",{className:"text-2xl",children:mN[m.matchType]||"📊"}),i.jsx("span",{className:"text-gray-300 font-medium",children:pN[m.matchType]||m.matchType})]}),i.jsx("p",{className:"text-3xl font-bold text-white mb-2",children:m.count}),i.jsx("div",{className:"w-full h-2 bg-gray-700/50 rounded-full overflow-hidden",children:i.jsx("div",{className:"h-full bg-[#38bdac] rounded-full transition-all",style:{width:`${Math.min(g,100)}%`}})}),i.jsxs("p",{className:"text-gray-500 text-xs mt-1.5",children:[g.toFixed(1),"%"]})]},m.matchType)})})]}),i.jsxs("div",{children:[i.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[i.jsx(Gs,{className:"w-5 h-5 text-orange-400"})," AI 获客数据"]}),i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5 mb-6",children:[i.jsx(Ee,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("submitted"),children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"已提交线索"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(a==null?void 0:a.ckbTotal)??0}),i.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),i.jsx(Ee,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("contact"),children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"有联系方式"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(a==null?void 0:a.withContact)??0}),i.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),i.jsx(Ee,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("test"),children:i.jsxs(Te,{className:"p-6",children:[i.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"AI 添加进度"}),i.jsx("p",{className:"text-xl font-bold text-orange-400",children:"查看详情 →"}),i.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"添加成功率 · 回复率 · API 文档"})]})})]}),(a==null?void 0:a.byType)&&a.byType.length>0&&i.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 mb-6",children:a.byType.map(m=>i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-lg p-4 flex items-center gap-3",children:[i.jsx("span",{className:"text-xl",children:mN[m.matchType]||"📋"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 text-xs",children:pN[m.matchType]||m.matchType}),i.jsx("p",{className:"text-xl font-bold text-white",children:m.total})]})]},m.matchType))})]})]})}const yV=["partner","investor","mentor","team"],ag=[{key:"join_partner",label:"找伙伴场景"},{key:"join_investor",label:"资源对接场景"},{key:"join_mentor",label:"导师顾问场景"},{key:"join_team",label:"团队招募场景"},{key:"match",label:"匹配上报"},{key:"lead",label:"链接卡若"}],gN=`# 场景获客接口摘要 -- 地址:POST /v1/api/scenarios -- 必填:apiKey、sign、timestamp -- 主标识:phone 或 wechatId 至少一项 -- 可选:name、source、remark、tags、siteTags、portrait -- 签名:排除 sign/apiKey/portrait,键名升序拼接值后双重 MD5 -- 成功:code=200,message=新增成功 或 已存在`;function vV({initialTab:t="overview"}){const[e,n]=b.useState(t),[r,s]=b.useState("13800000000"),[a,o]=b.useState(""),[c,u]=b.useState(""),[h,f]=b.useState(gN),[m,g]=b.useState(!1),[y,v]=b.useState(!1),[j,w]=b.useState([]),[k,E]=b.useState([]),[C,M]=b.useState({}),[D,F]=b.useState([{endpoint:"/api/ckb/join",label:"找伙伴",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"资源对接",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"导师顾问",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"团队招募",method:"POST",status:"idle"},{endpoint:"/api/ckb/match",label:"匹配上报",method:"POST",status:"idle"},{endpoint:"/api/miniprogram/ckb/lead",label:"链接卡若",method:"POST",status:"idle"},{endpoint:"/api/match/config",label:"匹配配置",method:"GET",status:"idle"}]),R=b.useMemo(()=>{const _={};return ag.forEach($=>{_[$.key]=C[$.key]||{apiUrl:"https://ckbapi.quwanzhi.com/v1/api/scenarios",apiKey:"fyngh-ecy9h-qkdae-epwd5-rz6kd",source:"",tags:"",siteTags:"创业实验APP",notes:""}}),_},[C]),I=_=>{const $=r.trim(),oe=a.trim();return _<=3?{type:yV[_],phone:$||void 0,wechat:oe||void 0,userId:"admin_test",name:"后台测试"}:_===4?{matchType:"partner",phone:$||void 0,wechat:oe||void 0,userId:"admin_test",nickname:"后台测试",matchedUser:{id:"test",nickname:"测试",matchScore:88}}:_===5?{phone:$||void 0,wechatId:oe||void 0,userId:"admin_test",name:"后台测试"}:{}};async function A(){v(!0);try{const[_,$,oe]=await Promise.all([Be("/api/db/config/full?key=ckb_config"),Be("/api/db/ckb-leads?mode=submitted&page=1&pageSize=50"),Be("/api/db/ckb-leads?mode=contact&page=1&pageSize=50")]),V=_==null?void 0:_.data;V!=null&&V.routes&&M(V.routes),V!=null&&V.docNotes&&u(V.docNotes),V!=null&&V.docContent&&f(V.docContent),$!=null&&$.success&&w($.records||[]),oe!=null&&oe.success&&E(oe.records||[])}finally{v(!1)}}b.useEffect(()=>{n(t)},[t]),b.useEffect(()=>{A()},[]);async function O(){g(!0);try{const _=await ht("/api/db/config",{key:"ckb_config",value:{routes:R,docNotes:c,docContent:h},description:"存客宝接口配置"});alert((_==null?void 0:_.success)!==!1?"存客宝配置已保存":`保存失败: ${(_==null?void 0:_.error)||"未知错误"}`)}catch(_){alert(`保存失败: ${_ instanceof Error?_.message:"网络错误"}`)}finally{g(!1)}}const W=(_,$)=>{M(oe=>({...oe,[_]:{...R[_],...$}}))},X=async _=>{const $=D[_];if($.method==="POST"&&!r.trim()&&!a.trim()){alert("请填写测试手机号");return}const oe=[...D];oe[_]={...$,status:"testing",message:void 0,responseTime:void 0},F(oe);const V=performance.now();try{const ae=$.method==="GET"?await Be($.endpoint):await ht($.endpoint,I(_)),Y=Math.round(performance.now()-V),L=(ae==null?void 0:ae.message)||"",H=(ae==null?void 0:ae.success)===!0||L.includes("已存在")||L.includes("已加入")||L.includes("已提交"),ue=[...D];ue[_]={...$,status:H?"success":"error",message:L||(H?"正常":"异常"),responseTime:Y},F(ue),await A()}catch(ae){const Y=Math.round(performance.now()-V),L=[...D];L[_]={...$,status:"error",message:ae instanceof Error?ae.message:"失败",responseTime:Y},F(L)}},q=async()=>{if(!r.trim()&&!a.trim()){alert("请填写测试手机号");return}for(let _=0;_i.jsx("div",{className:"overflow-auto rounded-lg border border-gray-700/30",children:i.jsxs("table",{className:"w-full text-sm",children:[i.jsx("thead",{className:"bg-[#0a1628] text-gray-400",children:i.jsxs("tr",{children:[i.jsx("th",{className:"text-left px-4 py-3",children:"发起人"}),i.jsx("th",{className:"text-left px-4 py-3",children:"类型"}),i.jsx("th",{className:"text-left px-4 py-3",children:"手机号"}),i.jsx("th",{className:"text-left px-4 py-3",children:"微信号"}),i.jsx("th",{className:"text-left px-4 py-3",children:"时间"})]})}),i.jsx("tbody",{children:_.length===0?i.jsx("tr",{children:i.jsx("td",{colSpan:5,className:"text-center py-10 text-gray-500",children:$})}):_.map(oe=>i.jsxs("tr",{className:"border-t border-gray-700/30",children:[i.jsx("td",{className:"px-4 py-3 text-white",children:oe.userNickname||oe.userId}),i.jsx("td",{className:"px-4 py-3 text-gray-300",children:oe.matchType}),i.jsx("td",{className:"px-4 py-3 text-green-400",children:oe.phone||"—"}),i.jsx("td",{className:"px-4 py-3 text-blue-400",children:oe.wechatId||"—"}),i.jsx("td",{className:"px-4 py-3 text-gray-400",children:oe.createdAt?new Date(oe.createdAt).toLocaleString():"—"})]},oe.id))})]})});return i.jsx(Ee,{className:"bg-[#0f2137] border-orange-500/30 mb-6",children:i.jsxs(Te,{className:"p-5",children:[i.jsxs("div",{className:"flex items-center justify-between mb-4",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("h3",{className:"text-white font-semibold",children:"存客宝工作台"}),i.jsx(Fe,{className:"bg-orange-500/20 text-orange-400 border-0 text-xs",children:"CKB"}),i.jsxs("button",{type:"button",onClick:()=>n("doc"),className:"text-orange-400/60 text-xs hover:text-orange-400 flex items-center gap-1",children:[i.jsx(Xs,{className:"w-3 h-3"})," API 文档"]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsxs(re,{onClick:()=>A(),variant:"outline",size:"sm",className:"border-gray-700 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[i.jsx(qe,{className:`w-3.5 h-3.5 mr-1 ${y?"animate-spin":""}`})," 刷新"]}),i.jsxs(re,{onClick:O,disabled:m,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[i.jsx(rn,{className:"w-3.5 h-3.5 mr-1"})," ",m?"保存中...":"保存配置"]})]})]}),i.jsx("div",{className:"flex flex-wrap gap-2 mb-5",children:[["overview","概览"],["submitted","已提交线索"],["contact","有联系方式"],["config","场景配置"],["test","接口测试"],["doc","API 文档"]].map(([_,$])=>i.jsx("button",{type:"button",onClick:()=>n(_),className:`px-4 py-2 rounded-lg text-sm transition-colors ${e===_?"bg-orange-500 text-white":"bg-[#0a1628] text-gray-400 hover:text-white"}`,children:$},_))}),e==="overview"&&i.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"已提交线索"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:j.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"有联系方式"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:k.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"场景配置数"}),i.jsx("p",{className:"text-3xl font-bold text-white",children:ag.length})]}),i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[i.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"文档备注"}),i.jsx("p",{className:"text-sm text-gray-300 line-clamp-3",children:c||"未填写"})]})]}),e==="submitted"&&Z(j,"暂无已提交线索"),e==="contact"&&Z(k,"暂无有联系方式线索"),e==="config"&&i.jsx("div",{className:"space-y-4",children:ag.map(_=>i.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-4",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("h4",{className:"text-white font-medium",children:_.label}),i.jsx(Fe,{className:"bg-orange-500/20 text-orange-300 border-0 text-xs",children:_.key})]}),i.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"API 地址"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[_.key].apiUrl,onChange:$=>W(_.key,{apiUrl:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"API Key"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[_.key].apiKey,onChange:$=>W(_.key,{apiKey:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"Source"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[_.key].source,onChange:$=>W(_.key,{source:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"Tags"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[_.key].tags,onChange:$=>W(_.key,{tags:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"SiteTags"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[_.key].siteTags,onChange:$=>W(_.key,{siteTags:$.target.value})})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"说明备注"}),i.jsx(ce,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:R[_.key].notes,onChange:$=>W(_.key,{notes:$.target.value})})]})]})]},_.key))}),e==="test"&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex gap-3 mb-4",children:[i.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i.jsx(kc,{className:"w-4 h-4 text-gray-500 shrink-0"}),i.jsxs("div",{className:"flex-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"测试手机号"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:r,onChange:_=>s(_.target.value)})]})]}),i.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[i.jsx("span",{className:"text-gray-500 text-sm shrink-0",children:"💬"}),i.jsxs("div",{className:"flex-1",children:[i.jsx(te,{className:"text-gray-500 text-xs",children:"微信号(可选)"}),i.jsx(ce,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:a,onChange:_=>o(_.target.value)})]})]}),i.jsx("div",{className:"flex items-end",children:i.jsxs(re,{onClick:q,className:"bg-orange-500 hover:bg-orange-600 text-white",children:[i.jsx(Fi,{className:"w-3.5 h-3.5 mr-1"})," 全部测试"]})})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-2",children:D.map((_,$)=>i.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg px-3 py-2 border border-gray-700/30",children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[_.status==="idle"&&i.jsx("div",{className:"w-2 h-2 rounded-full bg-gray-600 shrink-0"}),_.status==="testing"&&i.jsx(qe,{className:"w-3 h-3 text-yellow-400 animate-spin shrink-0"}),_.status==="success"&&i.jsx(hg,{className:"w-3 h-3 text-green-400 shrink-0"}),_.status==="error"&&i.jsx(PN,{className:"w-3 h-3 text-red-400 shrink-0"}),i.jsx("span",{className:"text-white text-xs truncate",children:_.label})]}),i.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[_.responseTime!==void 0&&i.jsxs("span",{className:"text-gray-600 text-[10px]",children:[_.responseTime,"ms"]}),i.jsx("button",{type:"button",onClick:()=>X($),disabled:_.status==="testing",className:"text-orange-400/60 hover:text-orange-400 text-[10px] disabled:opacity-50",children:"测试"})]})]},`${_.endpoint}-${$}`))})]}),e==="doc"&&i.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[i.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[i.jsxs("div",{className:"flex items-center justify-between mb-3",children:[i.jsx("h4",{className:"text-white text-sm font-medium",children:"场景获客 API 摘要"}),i.jsxs("a",{href:"https://ckbapi.quwanzhi.com/v1/api/scenarios",target:"_blank",rel:"noreferrer",className:"text-orange-400/70 hover:text-orange-400 text-xs flex items-center gap-1",children:[i.jsx(Xs,{className:"w-3 h-3"})," 打开外链"]})]}),i.jsx("pre",{className:"whitespace-pre-wrap text-xs text-gray-400 leading-6",children:h||gN})]}),i.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[i.jsx("h4",{className:"text-white text-sm font-medium mb-3",children:"说明备注(可编辑)"}),i.jsx("textarea",{className:"w-full min-h-[260px] bg-[#0f2137] border border-gray-700 rounded-md text-sm text-gray-300 p-3 outline-none focus:border-orange-500/50 resize-y",value:c,onChange:_=>u(_.target.value),placeholder:"记录 Token、入口差异、回复率统计规则、对接约定等。"})]})]})]})})}const bV=[{id:"stats",label:"数据统计",icon:AT},{id:"partner",label:"找伙伴",icon:Nn},{id:"resource",label:"资源对接",icon:fM},{id:"mentor",label:"导师预约",icon:dM},{id:"team",label:"团队招募",icon:yg}];function wV(){const[t,e]=b.useState("stats"),[n,r]=b.useState(!1),[s,a]=b.useState("overview");return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"mb-6 flex items-start justify-between gap-4",children:[i.jsxs("div",{children:[i.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[i.jsx(Nn,{className:"w-6 h-6 text-[#38bdac]"}),"找伙伴"]}),i.jsx("p",{className:"text-gray-400 mt-1",children:"数据统计、匹配池与记录、资源对接、导师预约、团队招募"})]}),i.jsxs(re,{type:"button",variant:"outline",onClick:()=>r(o=>!o),className:"border-orange-500/40 text-orange-300 hover:bg-orange-500/10 bg-transparent",children:[i.jsx(Gs,{className:"w-4 h-4 mr-2"}),"存客宝"]})]}),n&&i.jsx(vV,{initialTab:s}),i.jsx("div",{className:"flex flex-wrap gap-1 mb-6 bg-[#0f2137] rounded-lg p-1 border border-gray-700/50",children:bV.map(o=>{const c=t===o.id;return i.jsxs("button",{type:"button",onClick:()=>e(o.id),className:`flex items-center gap-2 px-5 py-2.5 rounded-md text-sm font-medium transition-all ${c?"bg-[#38bdac] text-white shadow-lg":"text-gray-400 hover:text-white hover:bg-gray-700/50"}`,children:[i.jsx(o.icon,{className:"w-4 h-4"}),o.label]},o.id)})}),t==="stats"&&i.jsx(xV,{onSwitchTab:o=>e(o),onOpenCKB:o=>{a(o||"overview"),r(!0)}}),t==="partner"&&i.jsx(uV,{}),t==="resource"&&i.jsx(hV,{}),t==="mentor"&&i.jsx(mV,{}),t==="team"&&i.jsx(gV,{})]})}function NV(){return i.jsxs("div",{className:"p-8 w-full",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-8",children:[i.jsx(Gs,{className:"w-8 h-8 text-[#38bdac]"}),i.jsx("h1",{className:"text-2xl font-bold text-white",children:"API 接口文档"})]}),i.jsx("p",{className:"text-gray-400 mb-6",children:"API 风格:RESTful · 版本 v1.0 · 基础路径 /api · 简单、清晰、易用。"}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(et,{children:i.jsx(tt,{className:"text-white",children:"1. 接口总览"})}),i.jsxs(Te,{className:"space-y-4 text-sm",children:[i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 mb-2",children:"接口分类"}),i.jsxs("ul",{className:"space-y-1 text-gray-300 font-mono",children:[i.jsx("li",{children:"/api/book — 书籍内容(章节列表、内容获取、同步)"}),i.jsx("li",{children:"/api/payment — 支付系统(订单创建、回调、状态查询)"}),i.jsx("li",{children:"/api/referral — 分销系统(邀请码、收益、提现)"}),i.jsx("li",{children:"/api/user — 用户系统(登录、注册、信息更新)"}),i.jsx("li",{children:"/api/match — 匹配系统(寻找匹配、匹配历史)"}),i.jsx("li",{children:"/api/admin — 管理后台(内容/订单/用户/分销管理)"}),i.jsx("li",{children:"/api/config — 配置系统"})]})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-gray-400 mb-2",children:"认证方式"}),i.jsx("p",{className:"text-gray-300",children:"用户:Cookie session_id(可选)"}),i.jsx("p",{className:"text-gray-300",children:"管理端:Authorization: Bearer admin-token-secret"})]})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(et,{children:i.jsx(tt,{className:"text-white",children:"2. 书籍内容"})}),i.jsxs(Te,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"GET /api/book/all-chapters — 获取所有章节"}),i.jsx("p",{children:"GET /api/book/chapter/:id — 获取单章内容"}),i.jsx("p",{children:"POST /api/book/sync — 同步章节(需管理员认证)"})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(et,{children:i.jsx(tt,{className:"text-white",children:"3. 支付"})}),i.jsxs(Te,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"POST /api/payment/create-order — 创建订单"}),i.jsx("p",{children:"POST /api/payment/alipay/notify — 支付宝回调"}),i.jsx("p",{children:"POST /api/payment/wechat/notify — 微信回调"})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(et,{children:i.jsx(tt,{className:"text-white",children:"4. 分销与用户"})}),i.jsxs(Te,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"/api/referral/* — 邀请码、收益查询、提现"}),i.jsx("p",{children:"/api/user/* — 登录、注册、信息更新"}),i.jsx("p",{children:"/api/match/* — 匹配、匹配历史"})]})]}),i.jsxs(Ee,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[i.jsx(et,{children:i.jsx(tt,{className:"text-white",children:"5. 管理后台"})}),i.jsxs(Te,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[i.jsx("p",{children:"GET/POST /api/admin/referral-settings — 推广/分销设置(含 VIP 配置)"}),i.jsx("p",{children:"GET /api/db/users、/api/db/book — 用户与章节数据"}),i.jsx("p",{children:"GET /api/orders — 订单列表"})]})]}),i.jsx("p",{className:"text-gray-500 text-xs",children:"完整说明见项目内 开发文档/5、接口/API接口完整文档.md"})]})}function jV(){const t=ra();return i.jsx("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-8",children:i.jsxs("div",{className:"text-center max-w-md",children:[i.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-red-500/20 text-red-400 mb-6",children:i.jsx(zT,{className:"w-10 h-10"})}),i.jsx("h1",{className:"text-4xl font-bold text-white mb-2",children:"404"}),i.jsx("p",{className:"text-gray-400 mb-1",children:"页面不存在"}),i.jsx("p",{className:"text-sm text-gray-500 font-mono mb-8 break-all",children:t.pathname}),i.jsx(re,{asChild:!0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:i.jsxs(ug,{to:"/",children:[i.jsx(jM,{className:"w-4 h-4 mr-2"}),"返回首页"]})})]})})}function kV(){return i.jsxs(iT,{children:[i.jsx(Mt,{path:"/login",element:i.jsx(HR,{})}),i.jsxs(Mt,{path:"/",element:i.jsx(KA,{}),children:[i.jsx(Mt,{index:!0,element:i.jsx(um,{to:"/dashboard",replace:!0})}),i.jsx(Mt,{path:"dashboard",element:i.jsx(ZI,{})}),i.jsx(Mt,{path:"orders",element:i.jsx(eP,{})}),i.jsx(Mt,{path:"users",element:i.jsx(tP,{})}),i.jsx(Mt,{path:"distribution",element:i.jsx(jP,{})}),i.jsx(Mt,{path:"withdrawals",element:i.jsx(kP,{})}),i.jsx(Mt,{path:"content",element:i.jsx(VB,{})}),i.jsx(Mt,{path:"referral-settings",element:i.jsx(vk,{})}),i.jsx(Mt,{path:"author-settings",element:i.jsx(um,{to:"/settings?tab=author",replace:!0})}),i.jsx(Mt,{path:"admin-users",element:i.jsx(um,{to:"/settings?tab=admin",replace:!0})}),i.jsx(Mt,{path:"vip-roles",element:i.jsx(aV,{})}),i.jsx(Mt,{path:"mentors",element:i.jsx(NE,{})}),i.jsx(Mt,{path:"mentor-consultations",element:i.jsx(oV,{})}),i.jsx(Mt,{path:"settings",element:i.jsx(YB,{})}),i.jsx(Mt,{path:"payment",element:i.jsx(QB,{})}),i.jsx(Mt,{path:"site",element:i.jsx(tV,{})}),i.jsx(Mt,{path:"qrcodes",element:i.jsx(nV,{})}),i.jsx(Mt,{path:"find-partner",element:i.jsx(wV,{})}),i.jsx(Mt,{path:"match",element:i.jsx(sV,{})}),i.jsx(Mt,{path:"match-records",element:i.jsx(iV,{})}),i.jsx(Mt,{path:"api-doc",element:i.jsx(NV,{})})]}),i.jsx(Mt,{path:"*",element:i.jsx(jV,{})})]})}d3.createRoot(document.getElementById("root")).render(i.jsx(b.StrictMode,{children:i.jsx(fT,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:i.jsx(kV,{})})})); diff --git a/soul-admin/dist/assets/index-hM2iAGkr.css b/soul-admin/dist/assets/index-hM2iAGkr.css deleted file mode 100644 index d94e0466..00000000 --- a/soul-admin/dist/assets/index-hM2iAGkr.css +++ /dev/null @@ -1 +0,0 @@ -.rich-editor-wrapper{border:1px solid #374151;border-radius:.5rem;background:#0a1628;overflow:hidden}.rich-editor-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid #374151;background:#0f1d32;flex-wrap:wrap}.toolbar-group{display:flex;align-items:center;gap:1px}.toolbar-divider{width:1px;height:20px;background:#374151;margin:0 4px}.rich-editor-toolbar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer;transition:all .15s}.rich-editor-toolbar button:hover{background:#1f2937;color:#d1d5db}.rich-editor-toolbar button.is-active{background:#38bdac33;color:#38bdac}.rich-editor-toolbar button:disabled{opacity:.3;cursor:not-allowed}.link-tag-select{background:#0a1628;border:1px solid #374151;color:#d1d5db;font-size:12px;padding:2px 6px;border-radius:4px;cursor:pointer;max-width:160px}.link-input-bar{display:flex;align-items:center;gap:4px;padding:4px 8px;border-bottom:1px solid #374151;background:#0f1d32}.link-input{flex:1;background:#0a1628;border:1px solid #374151;color:#fff;padding:4px 8px;border-radius:4px;font-size:13px}.link-confirm,.link-remove{padding:4px 10px;border-radius:4px;border:none;font-size:12px;cursor:pointer}.link-confirm{background:#38bdac;color:#fff}.link-remove{background:#374151;color:#9ca3af}.rich-editor-content{min-height:300px;max-height:500px;overflow-y:auto;padding:12px 16px;color:#e5e7eb;font-size:14px;line-height:1.7}.rich-editor-content:focus{outline:none}.rich-editor-content h1{font-size:1.5em;font-weight:700;margin:.8em 0 .4em;color:#fff}.rich-editor-content h2{font-size:1.3em;font-weight:600;margin:.7em 0 .3em;color:#fff}.rich-editor-content h3{font-size:1.15em;font-weight:600;margin:.6em 0 .3em;color:#fff}.rich-editor-content p{margin:.4em 0}.rich-editor-content strong{color:#fff}.rich-editor-content code{background:#1f2937;padding:2px 6px;border-radius:3px;font-size:.9em;color:#38bdac}.rich-editor-content pre{background:#1f2937;padding:12px;border-radius:6px;overflow-x:auto;margin:.6em 0}.rich-editor-content blockquote{border-left:3px solid #38bdac;padding-left:12px;margin:.6em 0;color:#9ca3af}.rich-editor-content ul,.rich-editor-content ol{padding-left:1.5em;margin:.4em 0}.rich-editor-content li{margin:.2em 0}.rich-editor-content hr{border:none;border-top:1px solid #374151;margin:1em 0}.rich-editor-content img{max-width:100%;border-radius:6px;margin:.5em 0}.rich-editor-content a,.rich-link{color:#38bdac;text-decoration:underline;cursor:pointer}.rich-editor-content table{border-collapse:collapse;width:100%;margin:.5em 0}.rich-editor-content th,.rich-editor-content td{border:1px solid #374151;padding:6px 10px;text-align:left}.rich-editor-content th{background:#1f2937;font-weight:600}.rich-editor-content .ProseMirror-placeholder:before{content:attr(data-placeholder);color:#6b7280;float:left;height:0;pointer-events:none}.mention-tag{background:#38bdac26;color:#38bdac;border-radius:4px;padding:1px 4px;font-weight:500}.link-tag-node{background:#ffd7001f;color:gold;border-radius:4px;padding:1px 4px;font-weight:500;cursor:default;-webkit-user-select:all;user-select:all}.mention-popup{position:fixed;z-index:9999;background:#1a2638;border:1px solid #374151;border-radius:8px;padding:4px;min-width:180px;max-height:240px;overflow-y:auto;box-shadow:0 4px 20px #0006}.mention-item{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-radius:4px;cursor:pointer;color:#d1d5db;font-size:13px}.mention-item:hover,.mention-item.is-selected{background:#38bdac26;color:#38bdac}.mention-name{font-weight:500}.mention-id{font-size:11px;color:#6b7280}.bubble-menu{display:flex;gap:2px;background:#1a2638;border:1px solid #374151;border-radius:6px;padding:4px;box-shadow:0 4px 12px #0000004d}.bubble-menu button{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer}.bubble-menu button:hover{background:#1f2937;color:#d1d5db}.bubble-menu button.is-active{color:#38bdac}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-2\.5{top:calc(var(--spacing)*-2.5)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-4{top:calc(var(--spacing)*4)}.top-16{top:calc(var(--spacing)*16)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\/4{right:25%}.right-4{right:calc(var(--spacing)*4)}.bottom-1\/4{bottom:25%}.-left-2\.5{left:calc(var(--spacing)*-2.5)}.left-0{left:calc(var(--spacing)*0)}.left-1\/4{left:25%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.-mx-8{margin-inline:calc(var(--spacing)*-8)}.mx-20{margin-inline:calc(var(--spacing)*20)}.mx-auto{margin-inline:auto}.-mt-6{margin-top:calc(var(--spacing)*-6)}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.h-0\.5{height:calc(var(--spacing)*.5)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-96{height:calc(var(--spacing)*96)}.h-\[75vh\]{height:75vh}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[250px\]{max-height:250px}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\[2rem\]{min-height:2rem}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.min-h-\[60vh\]{min-height:60vh}.min-h-\[80px\]{min-height:80px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[260px\]{min-height:260px}.min-h-\[400px\]{min-height:400px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0\.5{width:calc(var(--spacing)*.5)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-36{width:calc(var(--spacing)*36)}.w-44{width:calc(var(--spacing)*44)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[100px\]{max-width:100px}.max-w-\[120px\]{max-width:120px}.max-w-\[140px\]{max-width:140px}.max-w-\[180px\]{max-width:180px}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[60px\]{min-width:60px}.min-w-\[120px\]{min-width:120px}.min-w-\[1024px\]{min-width:1024px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.scale-\[0\.98\]{scale:.98}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[40px_40px_1fr_80px_80px_80px_60px\]{grid-template-columns:40px 40px 1fr 80px 80px 80px 60px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}:where(.divide-gray-700\/50>:not(:last-child)){border-color:#36415380}@supports (color:color-mix(in lab,red,red)){:where(.divide-gray-700\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}:where(.divide-white\/5>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:where(.divide-white\/5>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-\[\#07C160\]{border-color:#07c160}.border-\[\#07C160\]\/20{border-color:#07c16033}.border-\[\#07C160\]\/30{border-color:#07c1604d}.border-\[\#38bdac\]{border-color:#38bdac}.border-\[\#38bdac\]\/20{border-color:#38bdac33}.border-\[\#38bdac\]\/30{border-color:#38bdac4d}.border-\[\#38bdac\]\/40{border-color:#38bdac66}.border-\[\#38bdac\]\/50{border-color:#38bdac80}.border-amber-500\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/30{border-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.border-amber-500\/40{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/40{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.border-amber-500\/50{border-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/50{border-color:color-mix(in oklab,var(--color-amber-500)50%,transparent)}}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/30{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.border-blue-500\/40{border-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/40{border-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.border-blue-500\/50{border-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.border-cyan-500\/30{border-color:#00b7d74d}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/30{border-color:color-mix(in oklab,var(--color-cyan-500)30%,transparent)}}.border-cyan-500\/40{border-color:#00b7d766}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/40{border-color:color-mix(in oklab,var(--color-cyan-500)40%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-500\/30{border-color:#6a72824d}@supports (color:color-mix(in lab,red,red)){.border-gray-500\/30{border-color:color-mix(in oklab,var(--color-gray-500)30%,transparent)}}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\/30{border-color:#3641534d}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/30{border-color:color-mix(in oklab,var(--color-gray-700)30%,transparent)}}.border-gray-700\/40{border-color:#36415366}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/40{border-color:color-mix(in oklab,var(--color-gray-700)40%,transparent)}}.border-gray-700\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-green-500\/30{border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.border-green-500\/30{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.border-green-500\/40{border-color:#00c75866}@supports (color:color-mix(in lab,red,red)){.border-green-500\/40{border-color:color-mix(in oklab,var(--color-green-500)40%,transparent)}}.border-orange-500\/20{border-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/20{border-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.border-orange-500\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/30{border-color:color-mix(in oklab,var(--color-orange-500)30%,transparent)}}.border-orange-500\/40{border-color:#fe6e0066}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/40{border-color:color-mix(in oklab,var(--color-orange-500)40%,transparent)}}.border-orange-500\/50{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/50{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.border-purple-500\/20{border-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/20{border-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.border-purple-500\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/30{border-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.border-purple-500\/40{border-color:#ac4bff66}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/40{border-color:color-mix(in oklab,var(--color-purple-500)40%,transparent)}}.border-red-500\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-red-500\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.border-red-500\/30{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.border-red-500\/50{border-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.border-red-500\/50{border-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.border-transparent{border-color:#0000}.border-white\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-yellow-500\/30{border-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/30{border-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.border-yellow-500\/40{border-color:#edb20066}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/40{border-color:color-mix(in oklab,var(--color-yellow-500)40%,transparent)}}.bg-\[\#0a1628\]{background-color:#0a1628}.bg-\[\#0a1628\]\/50{background-color:#0a162880}.bg-\[\#0d1f35\]{background-color:#0d1f35}.bg-\[\#0f2137\]{background-color:#0f2137}.bg-\[\#00CED1\]{background-color:#00ced1}.bg-\[\#1C1C1E\]{background-color:#1c1c1e}.bg-\[\#07C160\]{background-color:#07c160}.bg-\[\#07C160\]\/5{background-color:#07c1600d}.bg-\[\#07C160\]\/10{background-color:#07c1601a}.bg-\[\#38bdac\]{background-color:#38bdac}.bg-\[\#38bdac\]\/5{background-color:#38bdac0d}.bg-\[\#38bdac\]\/10{background-color:#38bdac1a}.bg-\[\#38bdac\]\/15{background-color:#38bdac26}.bg-\[\#38bdac\]\/20{background-color:#38bdac33}.bg-\[\#38bdac\]\/30{background-color:#38bdac4d}.bg-\[\#38bdac\]\/60{background-color:#38bdac99}.bg-\[\#38bdac\]\/80{background-color:#38bdaccc}.bg-\[\#162840\]{background-color:#162840}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-amber-500\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\/90{background-color:color-mix(in oklab,var(--color-black)90%,transparent)}}.bg-blue-500\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\/20{background-color:#00b7d733}@supports (color:color-mix(in lab,red,red)){.bg-cyan-500\/20{background-color:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-500\/20{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.bg-gray-500\/20{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-600\/50{background-color:#4a556580}@supports (color:color-mix(in lab,red,red)){.bg-gray-600\/50{background-color:color-mix(in oklab,var(--color-gray-600)50%,transparent)}}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-700\/50{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.bg-gray-700\/50{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/20{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/20{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/10{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.bg-orange-500\/20{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/20{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-yellow-500\/20{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.bg-yellow-500\/20{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\[\#0f2137\]{--tw-gradient-from:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#00CED1\]{--tw-gradient-from:#00ced1;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#38bdac\]\/10{--tw-gradient-from:oklab(72.378% -.11483 -.0053193/.1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500\/20{--tw-gradient-from:#3080ff33}@supports (color:color-mix(in lab,red,red)){.from-blue-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.from-blue-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-cyan-500\/20{--tw-gradient-from:#00b7d733}@supports (color:color-mix(in lab,red,red)){.from-cyan-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.from-cyan-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-500\/20{--tw-gradient-from:#00c75833}@supports (color:color-mix(in lab,red,red)){.from-green-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.from-green-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500\/20{--tw-gradient-from:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.from-purple-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.from-purple-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-500\/20{--tw-gradient-from:#edb20033}@supports (color:color-mix(in lab,red,red)){.from-yellow-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.from-yellow-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-\[\#38bdac\]\/30{--tw-gradient-via:oklab(72.378% -.11483 -.0053193/.3);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-\[\#0f2137\]{--tw-gradient-to:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#20B2AA\]{--tw-gradient-to:#20b2aa;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#162d4a\]{--tw-gradient-to:#162d4a;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-amber-500\/20{--tw-gradient-to:#f99c0033}@supports (color:color-mix(in lab,red,red)){.to-amber-500\/20{--tw-gradient-to:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.to-amber-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-500\/5{--tw-gradient-to:#00b7d70d}@supports (color:color-mix(in lab,red,red)){.to-cyan-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-cyan-500)5%,transparent)}}.to-cyan-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-500\/5{--tw-gradient-to:#00c7580d}@supports (color:color-mix(in lab,red,red)){.to-green-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-green-500)5%,transparent)}}.to-green-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500\/5{--tw-gradient-to:#ac4bff0d}@supports (color:color-mix(in lab,red,red)){.to-purple-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-purple-500)5%,transparent)}}.to-purple-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-500\/5{--tw-gradient-to:#edb2000d}@supports (color:color-mix(in lab,red,red)){.to-yellow-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-yellow-500)5%,transparent)}}.to-yellow-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-amber-400{fill:var(--color-amber-400)}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.py-20{padding-block:calc(var(--spacing)*20)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-0\.5{padding-top:calc(var(--spacing)*.5)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#00CED1\]{color:#00ced1}.text-\[\#07C160\]{color:#07c160}.text-\[\#07C160\]\/60{color:#07c16099}.text-\[\#07C160\]\/70{color:#07c160b3}.text-\[\#07C160\]\/80{color:#07c160cc}.text-\[\#26A17B\]{color:#26a17b}.text-\[\#38bdac\]{color:#38bdac}.text-\[\#38bdac\]\/30{color:#38bdac4d}.text-\[\#38bdac\]\/40{color:#38bdac66}.text-\[\#169BD7\]{color:#169bd7}.text-\[\#1677FF\]{color:#1677ff}.text-\[\#FFD700\]{color:gold}.text-amber-200{color:var(--color-amber-200)}.text-amber-400{color:var(--color-amber-400)}.text-amber-400\/30{color:#fcbb004d}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/30{color:color-mix(in oklab,var(--color-amber-400)30%,transparent)}}.text-amber-400\/90{color:#fcbb00e6}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/90{color:color-mix(in oklab,var(--color-amber-400)90%,transparent)}}.text-black{color:var(--color-black)}.text-blue-300{color:var(--color-blue-300)}.text-blue-300\/60{color:#90c5ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-300\/60{color:color-mix(in oklab,var(--color-blue-300)60%,transparent)}}.text-blue-400{color:var(--color-blue-400)}.text-blue-400\/60{color:#54a2ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-400\/60{color:color-mix(in oklab,var(--color-blue-400)60%,transparent)}}.text-cyan-400{color:var(--color-cyan-400)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-orange-300{color:var(--color-orange-300)}.text-orange-300\/60{color:#ffb96d99}@supports (color:color-mix(in lab,red,red)){.text-orange-300\/60{color:color-mix(in oklab,var(--color-orange-300)60%,transparent)}}.text-orange-400{color:var(--color-orange-400)}.text-orange-400\/60{color:#ff8b1a99}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/60{color:color-mix(in oklab,var(--color-orange-400)60%,transparent)}}.text-orange-400\/70{color:#ff8b1ab3}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/70{color:color-mix(in oklab,var(--color-orange-400)70%,transparent)}}.text-orange-400\/80{color:#ff8b1acc}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/80{color:color-mix(in oklab,var(--color-orange-400)80%,transparent)}}.text-purple-300{color:var(--color-purple-300)}.text-purple-400{color:var(--color-purple-400)}.text-red-400{color:var(--color-red-400)}.text-white{color:var(--color-white)}.text-white\/40{color:#fff6}@supports (color:color-mix(in lab,red,red)){.text-white\/40{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.text-white\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){.text-white\/60{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-400\/60{color:#fac80099}@supports (color:color-mix(in lab,red,red)){.text-yellow-400\/60{color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.text-yellow-500\/70{color:#edb200b3}@supports (color:color-mix(in lab,red,red)){.text-yellow-500\/70{color:color-mix(in oklab,var(--color-yellow-500)70%,transparent)}}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline\!{text-decoration-line:underline!important}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[\#38bdac\]\/20{--tw-shadow-color:#38bdac33}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/20{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.2) var(--tw-shadow-alpha),transparent)}}.shadow-\[\#38bdac\]\/30{--tw-shadow-color:#38bdac4d}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/30{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.3) var(--tw-shadow-alpha),transparent)}}.ring-\[\#38bdac\]{--tw-ring-color:#38bdac}.ring-\[\#38bdac\]\/40{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.4)}.ring-\[\#38bdac\]\/50{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.5)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter\!{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition\!{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.group-hover\:text-\[\#38bdac\]:is(:where(.group):hover *){color:#38bdac}.group-hover\:text-gray-400:is(:where(.group):hover *){color:var(--color-gray-400)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.placeholder\:text-gray-500::placeholder{color:var(--color-gray-500)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\:border-\[\#38bdac\]\/30:hover{border-color:#38bdac4d}.hover\:border-\[\#38bdac\]\/50:hover{border-color:#38bdac80}.hover\:border-\[\#38bdac\]\/60:hover{border-color:#38bdac99}.hover\:border-amber-500\/40:hover{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.hover\:border-amber-500\/40:hover{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.hover\:border-blue-500\/60:hover{border-color:#3080ff99}@supports (color:color-mix(in lab,red,red)){.hover\:border-blue-500\/60:hover{border-color:color-mix(in oklab,var(--color-blue-500)60%,transparent)}}.hover\:border-gray-500:hover{border-color:var(--color-gray-500)}.hover\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\:border-orange-500\/50:hover{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.hover\:border-orange-500\/50:hover{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.hover\:border-yellow-500\/60:hover{border-color:#edb20099}@supports (color:color-mix(in lab,red,red)){.hover\:border-yellow-500\/60:hover{border-color:color-mix(in oklab,var(--color-yellow-500)60%,transparent)}}.hover\:bg-\[\#0a1628\]:hover{background-color:#0a1628}.hover\:bg-\[\#1a3050\]:hover{background-color:#1a3050}.hover\:bg-\[\#2da396\]:hover{background-color:#2da396}.hover\:bg-\[\#06AD51\]:hover{background-color:#06ad51}.hover\:bg-\[\#07C160\]\/10:hover{background-color:#07c1601a}.hover\:bg-\[\#20B2AA\]:hover{background-color:#20b2aa}.hover\:bg-\[\#38bdac\]\/10:hover{background-color:#38bdac1a}.hover\:bg-\[\#38bdac\]\/20:hover{background-color:#38bdac33}.hover\:bg-\[\#162840\]:hover{background-color:#162840}.hover\:bg-\[\#162840\]\/30:hover{background-color:#1628404d}.hover\:bg-\[\#162840\]\/50:hover{background-color:#16284080}.hover\:bg-amber-500\/10:hover{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/10:hover{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.hover\:bg-amber-500\/20:hover{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/20:hover{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.hover\:bg-amber-500\/30:hover{background-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/30:hover{background-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.hover\:bg-amber-600:hover{background-color:var(--color-amber-600)}.hover\:bg-blue-400\/10:hover{background-color:#54a2ff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-400\/10:hover{background-color:color-mix(in oklab,var(--color-blue-400)10%,transparent)}}.hover\:bg-blue-500\/20:hover{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-500\/20:hover{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.hover\:bg-gray-500:hover{background-color:var(--color-gray-500)}.hover\:bg-gray-500\/20:hover{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-500\/20:hover{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.hover\:bg-gray-700\/50:hover{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-700\/50:hover{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-green-500\/20:hover{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/20:hover{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-orange-500\/10:hover{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/10:hover{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.hover\:bg-orange-500\/20:hover{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/20:hover{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.hover\:bg-orange-600:hover{background-color:var(--color-orange-600)}.hover\:bg-purple-500\/10:hover{background-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/10:hover{background-color:color-mix(in oklab,var(--color-purple-500)10%,transparent)}}.hover\:bg-purple-500\/20:hover{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/20:hover{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.hover\:bg-purple-500\/30:hover{background-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/30:hover{background-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.hover\:bg-red-500\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\:bg-red-500\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\:bg-white\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/5:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:bg-yellow-500\/20:hover{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/20:hover{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.hover\:bg-yellow-500\/30:hover{background-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/30:hover{background-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.hover\:text-\[\#2da396\]:hover{color:#2da396}.hover\:text-\[\#38bdac\]:hover{color:#38bdac}.hover\:text-amber-300:hover{color:var(--color-amber-300)}.hover\:text-amber-400:hover{color:var(--color-amber-400)}.hover\:text-blue-300:hover{color:var(--color-blue-300)}.hover\:text-blue-400:hover{color:var(--color-blue-400)}.hover\:text-gray-300:hover{color:var(--color-gray-300)}.hover\:text-orange-400:hover{color:var(--color-orange-400)}.hover\:text-red-300:hover{color:var(--color-red-300)}.hover\:text-red-400:hover{color:var(--color-red-400)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}}.focus\:border-\[\#38bdac\]:focus{border-color:#38bdac}.focus\:border-orange-500\/50:focus{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.focus\:border-orange-500\/50:focus{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.focus\:bg-\[\#38bdac\]\/20:focus{background-color:#38bdac33}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-\[\#38bdac\]:focus{--tw-ring-color:#38bdac}.focus\:ring-amber-400:focus{--tw-ring-color:var(--color-amber-400)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[\#38bdac\]:focus-visible{--tw-ring-color:#38bdac}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-\[\#0a1628\]:focus-visible{--tw-ring-offset-color:#0a1628}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:cursor-grabbing:active{cursor:grabbing}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=active\]\:bg-\[\#07C160\]\/20[data-state=active]{background-color:#07c16033}.data-\[state\=active\]\:bg-\[\#26A17B\]\/20[data-state=active]{background-color:#26a17b33}.data-\[state\=active\]\:bg-\[\#38bdac\]\/20[data-state=active]{background-color:#38bdac33}.data-\[state\=active\]\:bg-\[\#1677FF\]\/20[data-state=active]{background-color:#1677ff33}.data-\[state\=active\]\:bg-\[\#003087\]\/20[data-state=active]{background-color:#00308733}.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.data-\[state\=active\]\:font-medium[data-state=active]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[state\=active\]\:text-\[\#07C160\][data-state=active]{color:#07c160}.data-\[state\=active\]\:text-\[\#26A17B\][data-state=active]{color:#26a17b}.data-\[state\=active\]\:text-\[\#38bdac\][data-state=active]{color:#38bdac}.data-\[state\=active\]\:text-\[\#169BD7\][data-state=active]{color:#169bd7}.data-\[state\=active\]\:text-\[\#1677FF\][data-state=active]{color:#1677ff}.data-\[state\=active\]\:text-amber-400[data-state=active]{color:var(--color-amber-400)}.data-\[state\=active\]\:text-purple-400[data-state=active]{color:var(--color-purple-400)}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-\[\#38bdac\][data-state=checked]{background-color:#38bdac}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-gray-600[data-state=unchecked]{background-color:var(--color-gray-600)}@media(min-width:40rem){.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:64rem){.lg\:block{display:block}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(min-width:80rem){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}:root{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20% .02 240);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20% .02 240);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(65% .15 180);--primary-foreground:oklch(20% 0 0);--secondary:oklch(27% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27% 0 0);--muted-foreground:oklch(65% 0 0);--accent:oklch(27% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(55% .2 25);--destructive-foreground:oklch(98.5% 0 0);--border:oklch(35% 0 0);--input:oklch(35% 0 0);--ring:oklch(65% .15 180);--radius:.625rem}body{font-family:var(--font-sans);color:var(--foreground);background:#0a1628}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}} diff --git a/soul-admin/dist/assets/index-oS1DBgT7.css b/soul-admin/dist/assets/index-oS1DBgT7.css new file mode 100644 index 00000000..f4133568 --- /dev/null +++ b/soul-admin/dist/assets/index-oS1DBgT7.css @@ -0,0 +1 @@ +.rich-editor-wrapper{border:1px solid #374151;border-radius:.5rem;background:#0a1628;overflow:hidden}.rich-editor-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid #374151;background:#0f1d32;flex-wrap:wrap}.toolbar-group{display:flex;align-items:center;gap:1px}.toolbar-divider{width:1px;height:20px;background:#374151;margin:0 4px}.rich-editor-toolbar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer;transition:all .15s}.rich-editor-toolbar button:hover{background:#1f2937;color:#d1d5db}.rich-editor-toolbar button.is-active{background:#38bdac33;color:#38bdac}.rich-editor-toolbar button:disabled{opacity:.3;cursor:not-allowed}.link-tag-select{background:#0a1628;border:1px solid #374151;color:#d1d5db;font-size:12px;padding:2px 6px;border-radius:4px;cursor:pointer;max-width:160px}.link-input-bar{display:flex;align-items:center;gap:4px;padding:4px 8px;border-bottom:1px solid #374151;background:#0f1d32}.link-input{flex:1;background:#0a1628;border:1px solid #374151;color:#fff;padding:4px 8px;border-radius:4px;font-size:13px}.link-confirm,.link-remove{padding:4px 10px;border-radius:4px;border:none;font-size:12px;cursor:pointer}.link-confirm{background:#38bdac;color:#fff}.link-remove{background:#374151;color:#9ca3af}.rich-editor-content{min-height:300px;max-height:500px;overflow-y:auto;padding:12px 16px;color:#e5e7eb;font-size:14px;line-height:1.7}.rich-editor-content:focus{outline:none}.rich-editor-content h1{font-size:1.5em;font-weight:700;margin:.8em 0 .4em;color:#fff}.rich-editor-content h2{font-size:1.3em;font-weight:600;margin:.7em 0 .3em;color:#fff}.rich-editor-content h3{font-size:1.15em;font-weight:600;margin:.6em 0 .3em;color:#fff}.rich-editor-content p{margin:.4em 0}.rich-editor-content strong{color:#fff}.rich-editor-content code{background:#1f2937;padding:2px 6px;border-radius:3px;font-size:.9em;color:#38bdac}.rich-editor-content pre{background:#1f2937;padding:12px;border-radius:6px;overflow-x:auto;margin:.6em 0}.rich-editor-content blockquote{border-left:3px solid #38bdac;padding-left:12px;margin:.6em 0;color:#9ca3af}.rich-editor-content ul,.rich-editor-content ol{padding-left:1.5em;margin:.4em 0}.rich-editor-content li{margin:.2em 0}.rich-editor-content hr{border:none;border-top:1px solid #374151;margin:1em 0}.rich-editor-content img{max-width:100%;border-radius:6px;margin:.5em 0}.rich-editor-content a,.rich-link{color:#38bdac;text-decoration:underline;cursor:pointer}.rich-editor-content table{border-collapse:collapse;width:100%;margin:.5em 0}.rich-editor-content th,.rich-editor-content td{border:1px solid #374151;padding:6px 10px;text-align:left}.rich-editor-content th{background:#1f2937;font-weight:600}.rich-editor-content .ProseMirror-placeholder:before{content:attr(data-placeholder);color:#6b7280;float:left;height:0;pointer-events:none}.mention-tag{background:#38bdac26;color:#38bdac;border-radius:4px;padding:1px 4px;font-weight:500}.link-tag-node{background:#ffd7001f;color:gold;border-radius:4px;padding:1px 4px;font-weight:500;cursor:default;-webkit-user-select:all;user-select:all}.mention-popup{position:fixed;z-index:9999;background:#1a2638;border:1px solid #374151;border-radius:8px;padding:4px;min-width:180px;max-height:240px;overflow-y:auto;box-shadow:0 4px 20px #0006}.mention-item{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-radius:4px;cursor:pointer;color:#d1d5db;font-size:13px}.mention-item:hover,.mention-item.is-selected{background:#38bdac26;color:#38bdac}.mention-name{font-weight:500}.mention-id{font-size:11px;color:#6b7280}.bubble-menu{display:flex;gap:2px;background:#1a2638;border:1px solid #374151;border-radius:6px;padding:4px;box-shadow:0 4px 12px #0000004d}.bubble-menu button{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer}.bubble-menu button:hover{background:#1f2937;color:#d1d5db}.bubble-menu button.is-active{color:#38bdac}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-2\.5{top:calc(var(--spacing)*-2.5)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-4{top:calc(var(--spacing)*4)}.top-16{top:calc(var(--spacing)*16)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\/4{right:25%}.right-4{right:calc(var(--spacing)*4)}.bottom-1\/4{bottom:25%}.-left-2\.5{left:calc(var(--spacing)*-2.5)}.left-0{left:calc(var(--spacing)*0)}.left-1\/4{left:25%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.-mx-8{margin-inline:calc(var(--spacing)*-8)}.mx-20{margin-inline:calc(var(--spacing)*20)}.mx-auto{margin-inline:auto}.-mt-6{margin-top:calc(var(--spacing)*-6)}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.h-0\.5{height:calc(var(--spacing)*.5)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-96{height:calc(var(--spacing)*96)}.h-\[75vh\]{height:75vh}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[250px\]{max-height:250px}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\[2rem\]{min-height:2rem}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.min-h-\[60vh\]{min-height:60vh}.min-h-\[80px\]{min-height:80px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[260px\]{min-height:260px}.min-h-\[300px\]{min-height:300px}.min-h-\[400px\]{min-height:400px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0\.5{width:calc(var(--spacing)*.5)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-36{width:calc(var(--spacing)*36)}.w-40{width:calc(var(--spacing)*40)}.w-44{width:calc(var(--spacing)*44)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[100px\]{max-width:100px}.max-w-\[120px\]{max-width:120px}.max-w-\[140px\]{max-width:140px}.max-w-\[180px\]{max-width:180px}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[60px\]{min-width:60px}.min-w-\[120px\]{min-width:120px}.min-w-\[1024px\]{min-width:1024px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.scale-\[0\.98\]{scale:.98}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[40px_40px_1fr_80px_80px_80px_60px\]{grid-template-columns:40px 40px 1fr 80px 80px 80px 60px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}:where(.divide-gray-700\/50>:not(:last-child)){border-color:#36415380}@supports (color:color-mix(in lab,red,red)){:where(.divide-gray-700\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}:where(.divide-white\/5>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:where(.divide-white\/5>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-\[\#07C160\]{border-color:#07c160}.border-\[\#07C160\]\/20{border-color:#07c16033}.border-\[\#07C160\]\/30{border-color:#07c1604d}.border-\[\#38bdac\]{border-color:#38bdac}.border-\[\#38bdac\]\/20{border-color:#38bdac33}.border-\[\#38bdac\]\/30{border-color:#38bdac4d}.border-\[\#38bdac\]\/40{border-color:#38bdac66}.border-\[\#38bdac\]\/50{border-color:#38bdac80}.border-amber-500\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/30{border-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.border-amber-500\/40{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/40{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.border-amber-500\/50{border-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/50{border-color:color-mix(in oklab,var(--color-amber-500)50%,transparent)}}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/30{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.border-blue-500\/40{border-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/40{border-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.border-blue-500\/50{border-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.border-cyan-500\/30{border-color:#00b7d74d}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/30{border-color:color-mix(in oklab,var(--color-cyan-500)30%,transparent)}}.border-cyan-500\/40{border-color:#00b7d766}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/40{border-color:color-mix(in oklab,var(--color-cyan-500)40%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-500\/30{border-color:#6a72824d}@supports (color:color-mix(in lab,red,red)){.border-gray-500\/30{border-color:color-mix(in oklab,var(--color-gray-500)30%,transparent)}}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\/30{border-color:#3641534d}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/30{border-color:color-mix(in oklab,var(--color-gray-700)30%,transparent)}}.border-gray-700\/40{border-color:#36415366}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/40{border-color:color-mix(in oklab,var(--color-gray-700)40%,transparent)}}.border-gray-700\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-green-500\/30{border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.border-green-500\/30{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.border-green-500\/40{border-color:#00c75866}@supports (color:color-mix(in lab,red,red)){.border-green-500\/40{border-color:color-mix(in oklab,var(--color-green-500)40%,transparent)}}.border-orange-500\/20{border-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/20{border-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.border-orange-500\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/30{border-color:color-mix(in oklab,var(--color-orange-500)30%,transparent)}}.border-orange-500\/40{border-color:#fe6e0066}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/40{border-color:color-mix(in oklab,var(--color-orange-500)40%,transparent)}}.border-orange-500\/50{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/50{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.border-purple-500\/20{border-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/20{border-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.border-purple-500\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/30{border-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.border-purple-500\/40{border-color:#ac4bff66}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/40{border-color:color-mix(in oklab,var(--color-purple-500)40%,transparent)}}.border-red-500\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-red-500\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.border-red-500\/30{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.border-red-500\/50{border-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.border-red-500\/50{border-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.border-transparent{border-color:#0000}.border-white\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-yellow-500\/30{border-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/30{border-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.border-yellow-500\/40{border-color:#edb20066}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/40{border-color:color-mix(in oklab,var(--color-yellow-500)40%,transparent)}}.bg-\[\#0a1628\]{background-color:#0a1628}.bg-\[\#0a1628\]\/50{background-color:#0a162880}.bg-\[\#0d1f35\]{background-color:#0d1f35}.bg-\[\#0f2137\]{background-color:#0f2137}.bg-\[\#00CED1\]{background-color:#00ced1}.bg-\[\#1C1C1E\]{background-color:#1c1c1e}.bg-\[\#07C160\]{background-color:#07c160}.bg-\[\#07C160\]\/5{background-color:#07c1600d}.bg-\[\#07C160\]\/10{background-color:#07c1601a}.bg-\[\#38bdac\]{background-color:#38bdac}.bg-\[\#38bdac\]\/5{background-color:#38bdac0d}.bg-\[\#38bdac\]\/10{background-color:#38bdac1a}.bg-\[\#38bdac\]\/15{background-color:#38bdac26}.bg-\[\#38bdac\]\/20{background-color:#38bdac33}.bg-\[\#38bdac\]\/30{background-color:#38bdac4d}.bg-\[\#38bdac\]\/60{background-color:#38bdac99}.bg-\[\#38bdac\]\/80{background-color:#38bdaccc}.bg-\[\#162840\]{background-color:#162840}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-amber-500\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\/90{background-color:color-mix(in oklab,var(--color-black)90%,transparent)}}.bg-blue-500\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\/20{background-color:#00b7d733}@supports (color:color-mix(in lab,red,red)){.bg-cyan-500\/20{background-color:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-500\/20{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.bg-gray-500\/20{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-600\/50{background-color:#4a556580}@supports (color:color-mix(in lab,red,red)){.bg-gray-600\/50{background-color:color-mix(in oklab,var(--color-gray-600)50%,transparent)}}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-700\/50{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.bg-gray-700\/50{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/20{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/20{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/10{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.bg-orange-500\/20{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/20{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-yellow-500\/20{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.bg-yellow-500\/20{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\[\#0f2137\]{--tw-gradient-from:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#00CED1\]{--tw-gradient-from:#00ced1;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#38bdac\]\/10{--tw-gradient-from:oklab(72.378% -.11483 -.0053193/.1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500\/20{--tw-gradient-from:#3080ff33}@supports (color:color-mix(in lab,red,red)){.from-blue-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.from-blue-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-cyan-500\/20{--tw-gradient-from:#00b7d733}@supports (color:color-mix(in lab,red,red)){.from-cyan-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.from-cyan-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-500\/20{--tw-gradient-from:#00c75833}@supports (color:color-mix(in lab,red,red)){.from-green-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.from-green-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500\/20{--tw-gradient-from:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.from-purple-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.from-purple-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-500\/20{--tw-gradient-from:#edb20033}@supports (color:color-mix(in lab,red,red)){.from-yellow-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.from-yellow-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-\[\#38bdac\]\/30{--tw-gradient-via:oklab(72.378% -.11483 -.0053193/.3);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-\[\#0f2137\]{--tw-gradient-to:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#20B2AA\]{--tw-gradient-to:#20b2aa;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#162d4a\]{--tw-gradient-to:#162d4a;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-amber-500\/20{--tw-gradient-to:#f99c0033}@supports (color:color-mix(in lab,red,red)){.to-amber-500\/20{--tw-gradient-to:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.to-amber-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-500\/5{--tw-gradient-to:#00b7d70d}@supports (color:color-mix(in lab,red,red)){.to-cyan-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-cyan-500)5%,transparent)}}.to-cyan-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-500\/5{--tw-gradient-to:#00c7580d}@supports (color:color-mix(in lab,red,red)){.to-green-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-green-500)5%,transparent)}}.to-green-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500\/5{--tw-gradient-to:#ac4bff0d}@supports (color:color-mix(in lab,red,red)){.to-purple-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-purple-500)5%,transparent)}}.to-purple-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-500\/5{--tw-gradient-to:#edb2000d}@supports (color:color-mix(in lab,red,red)){.to-yellow-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-yellow-500)5%,transparent)}}.to-yellow-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-amber-400{fill:var(--color-amber-400)}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.py-20{padding-block:calc(var(--spacing)*20)}.py-24{padding-block:calc(var(--spacing)*24)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-0\.5{padding-top:calc(var(--spacing)*.5)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#00CED1\]{color:#00ced1}.text-\[\#07C160\]{color:#07c160}.text-\[\#07C160\]\/60{color:#07c16099}.text-\[\#07C160\]\/70{color:#07c160b3}.text-\[\#07C160\]\/80{color:#07c160cc}.text-\[\#26A17B\]{color:#26a17b}.text-\[\#38bdac\]{color:#38bdac}.text-\[\#38bdac\]\/30{color:#38bdac4d}.text-\[\#38bdac\]\/40{color:#38bdac66}.text-\[\#169BD7\]{color:#169bd7}.text-\[\#1677FF\]{color:#1677ff}.text-\[\#FFD700\]{color:gold}.text-amber-200{color:var(--color-amber-200)}.text-amber-400{color:var(--color-amber-400)}.text-amber-400\/30{color:#fcbb004d}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/30{color:color-mix(in oklab,var(--color-amber-400)30%,transparent)}}.text-amber-400\/90{color:#fcbb00e6}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/90{color:color-mix(in oklab,var(--color-amber-400)90%,transparent)}}.text-black{color:var(--color-black)}.text-blue-300{color:var(--color-blue-300)}.text-blue-300\/60{color:#90c5ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-300\/60{color:color-mix(in oklab,var(--color-blue-300)60%,transparent)}}.text-blue-400{color:var(--color-blue-400)}.text-blue-400\/60{color:#54a2ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-400\/60{color:color-mix(in oklab,var(--color-blue-400)60%,transparent)}}.text-cyan-400{color:var(--color-cyan-400)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-orange-300{color:var(--color-orange-300)}.text-orange-300\/60{color:#ffb96d99}@supports (color:color-mix(in lab,red,red)){.text-orange-300\/60{color:color-mix(in oklab,var(--color-orange-300)60%,transparent)}}.text-orange-400{color:var(--color-orange-400)}.text-orange-400\/60{color:#ff8b1a99}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/60{color:color-mix(in oklab,var(--color-orange-400)60%,transparent)}}.text-orange-400\/70{color:#ff8b1ab3}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/70{color:color-mix(in oklab,var(--color-orange-400)70%,transparent)}}.text-orange-400\/80{color:#ff8b1acc}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/80{color:color-mix(in oklab,var(--color-orange-400)80%,transparent)}}.text-purple-300{color:var(--color-purple-300)}.text-purple-400{color:var(--color-purple-400)}.text-red-400{color:var(--color-red-400)}.text-white{color:var(--color-white)}.text-white\/40{color:#fff6}@supports (color:color-mix(in lab,red,red)){.text-white\/40{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.text-white\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){.text-white\/60{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-400\/60{color:#fac80099}@supports (color:color-mix(in lab,red,red)){.text-yellow-400\/60{color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.text-yellow-500\/70{color:#edb200b3}@supports (color:color-mix(in lab,red,red)){.text-yellow-500\/70{color:color-mix(in oklab,var(--color-yellow-500)70%,transparent)}}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline\!{text-decoration-line:underline!important}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[\#38bdac\]\/20{--tw-shadow-color:#38bdac33}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/20{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.2) var(--tw-shadow-alpha),transparent)}}.shadow-\[\#38bdac\]\/30{--tw-shadow-color:#38bdac4d}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/30{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.3) var(--tw-shadow-alpha),transparent)}}.ring-\[\#38bdac\]{--tw-ring-color:#38bdac}.ring-\[\#38bdac\]\/40{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.4)}.ring-\[\#38bdac\]\/50{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.5)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter\!{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition\!{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.group-hover\:text-\[\#38bdac\]:is(:where(.group):hover *){color:#38bdac}.group-hover\:text-gray-400:is(:where(.group):hover *){color:var(--color-gray-400)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.placeholder\:text-gray-500::placeholder{color:var(--color-gray-500)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\:border-\[\#38bdac\]\/30:hover{border-color:#38bdac4d}.hover\:border-\[\#38bdac\]\/50:hover{border-color:#38bdac80}.hover\:border-\[\#38bdac\]\/60:hover{border-color:#38bdac99}.hover\:border-amber-500\/40:hover{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.hover\:border-amber-500\/40:hover{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.hover\:border-blue-500\/60:hover{border-color:#3080ff99}@supports (color:color-mix(in lab,red,red)){.hover\:border-blue-500\/60:hover{border-color:color-mix(in oklab,var(--color-blue-500)60%,transparent)}}.hover\:border-gray-500:hover{border-color:var(--color-gray-500)}.hover\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\:border-orange-500\/50:hover{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.hover\:border-orange-500\/50:hover{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.hover\:border-yellow-500\/60:hover{border-color:#edb20099}@supports (color:color-mix(in lab,red,red)){.hover\:border-yellow-500\/60:hover{border-color:color-mix(in oklab,var(--color-yellow-500)60%,transparent)}}.hover\:bg-\[\#0a1628\]:hover{background-color:#0a1628}.hover\:bg-\[\#1a3050\]:hover{background-color:#1a3050}.hover\:bg-\[\#2da396\]:hover{background-color:#2da396}.hover\:bg-\[\#06AD51\]:hover{background-color:#06ad51}.hover\:bg-\[\#07C160\]\/10:hover{background-color:#07c1601a}.hover\:bg-\[\#20B2AA\]:hover{background-color:#20b2aa}.hover\:bg-\[\#38bdac\]\/10:hover{background-color:#38bdac1a}.hover\:bg-\[\#38bdac\]\/20:hover{background-color:#38bdac33}.hover\:bg-\[\#162840\]:hover{background-color:#162840}.hover\:bg-\[\#162840\]\/30:hover{background-color:#1628404d}.hover\:bg-\[\#162840\]\/50:hover{background-color:#16284080}.hover\:bg-amber-500\/10:hover{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/10:hover{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.hover\:bg-amber-500\/20:hover{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/20:hover{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.hover\:bg-amber-500\/30:hover{background-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/30:hover{background-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.hover\:bg-amber-600:hover{background-color:var(--color-amber-600)}.hover\:bg-blue-400\/10:hover{background-color:#54a2ff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-400\/10:hover{background-color:color-mix(in oklab,var(--color-blue-400)10%,transparent)}}.hover\:bg-blue-500\/20:hover{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-500\/20:hover{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.hover\:bg-gray-500:hover{background-color:var(--color-gray-500)}.hover\:bg-gray-500\/20:hover{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-500\/20:hover{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.hover\:bg-gray-700\/50:hover{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-700\/50:hover{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-green-500\/20:hover{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/20:hover{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-orange-500\/10:hover{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/10:hover{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.hover\:bg-orange-500\/20:hover{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/20:hover{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.hover\:bg-orange-600:hover{background-color:var(--color-orange-600)}.hover\:bg-purple-500\/10:hover{background-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/10:hover{background-color:color-mix(in oklab,var(--color-purple-500)10%,transparent)}}.hover\:bg-purple-500\/20:hover{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/20:hover{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.hover\:bg-purple-500\/30:hover{background-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/30:hover{background-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.hover\:bg-red-500\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\:bg-red-500\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\:bg-white\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/5:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:bg-yellow-500\/20:hover{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/20:hover{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.hover\:bg-yellow-500\/30:hover{background-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/30:hover{background-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.hover\:text-\[\#2da396\]:hover{color:#2da396}.hover\:text-\[\#38bdac\]:hover{color:#38bdac}.hover\:text-amber-300:hover{color:var(--color-amber-300)}.hover\:text-amber-400:hover{color:var(--color-amber-400)}.hover\:text-blue-300:hover{color:var(--color-blue-300)}.hover\:text-blue-400:hover{color:var(--color-blue-400)}.hover\:text-gray-300:hover{color:var(--color-gray-300)}.hover\:text-orange-400:hover{color:var(--color-orange-400)}.hover\:text-red-300:hover{color:var(--color-red-300)}.hover\:text-red-400:hover{color:var(--color-red-400)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}}.focus\:border-\[\#38bdac\]:focus{border-color:#38bdac}.focus\:border-orange-500\/50:focus{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.focus\:border-orange-500\/50:focus{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.focus\:bg-\[\#38bdac\]\/20:focus{background-color:#38bdac33}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-\[\#38bdac\]:focus{--tw-ring-color:#38bdac}.focus\:ring-amber-400:focus{--tw-ring-color:var(--color-amber-400)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[\#38bdac\]:focus-visible{--tw-ring-color:#38bdac}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-\[\#0a1628\]:focus-visible{--tw-ring-offset-color:#0a1628}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:cursor-grabbing:active{cursor:grabbing}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=active\]\:bg-\[\#07C160\]\/20[data-state=active]{background-color:#07c16033}.data-\[state\=active\]\:bg-\[\#26A17B\]\/20[data-state=active]{background-color:#26a17b33}.data-\[state\=active\]\:bg-\[\#38bdac\]\/20[data-state=active]{background-color:#38bdac33}.data-\[state\=active\]\:bg-\[\#1677FF\]\/20[data-state=active]{background-color:#1677ff33}.data-\[state\=active\]\:bg-\[\#003087\]\/20[data-state=active]{background-color:#00308733}.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.data-\[state\=active\]\:font-medium[data-state=active]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[state\=active\]\:text-\[\#07C160\][data-state=active]{color:#07c160}.data-\[state\=active\]\:text-\[\#26A17B\][data-state=active]{color:#26a17b}.data-\[state\=active\]\:text-\[\#38bdac\][data-state=active]{color:#38bdac}.data-\[state\=active\]\:text-\[\#169BD7\][data-state=active]{color:#169bd7}.data-\[state\=active\]\:text-\[\#1677FF\][data-state=active]{color:#1677ff}.data-\[state\=active\]\:text-amber-400[data-state=active]{color:var(--color-amber-400)}.data-\[state\=active\]\:text-purple-400[data-state=active]{color:var(--color-purple-400)}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-\[\#38bdac\][data-state=checked]{background-color:#38bdac}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-gray-600[data-state=unchecked]{background-color:var(--color-gray-600)}@media(min-width:40rem){.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:64rem){.lg\:block{display:block}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(min-width:80rem){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}:root{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20% .02 240);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20% .02 240);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(65% .15 180);--primary-foreground:oklch(20% 0 0);--secondary:oklch(27% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27% 0 0);--muted-foreground:oklch(65% 0 0);--accent:oklch(27% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(55% .2 25);--destructive-foreground:oklch(98.5% 0 0);--border:oklch(35% 0 0);--input:oklch(35% 0 0);--ring:oklch(65% .15 180);--radius:.625rem}body{font-family:var(--font-sans);color:var(--foreground);background:#0a1628}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}} diff --git a/soul-admin/dist/assets/index-z9Ciz_la.css b/soul-admin/dist/assets/index-z9Ciz_la.css deleted file mode 100644 index 1362fc15..00000000 --- a/soul-admin/dist/assets/index-z9Ciz_la.css +++ /dev/null @@ -1 +0,0 @@ -.rich-editor-wrapper{border:1px solid #374151;border-radius:.5rem;background:#0a1628;overflow:hidden}.rich-editor-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid #374151;background:#0f1d32;flex-wrap:wrap}.toolbar-group{display:flex;align-items:center;gap:1px}.toolbar-divider{width:1px;height:20px;background:#374151;margin:0 4px}.rich-editor-toolbar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer;transition:all .15s}.rich-editor-toolbar button:hover{background:#1f2937;color:#d1d5db}.rich-editor-toolbar button.is-active{background:#38bdac33;color:#38bdac}.rich-editor-toolbar button:disabled{opacity:.3;cursor:not-allowed}.link-tag-select{background:#0a1628;border:1px solid #374151;color:#d1d5db;font-size:12px;padding:2px 6px;border-radius:4px;cursor:pointer;max-width:160px}.link-input-bar{display:flex;align-items:center;gap:4px;padding:4px 8px;border-bottom:1px solid #374151;background:#0f1d32}.link-input{flex:1;background:#0a1628;border:1px solid #374151;color:#fff;padding:4px 8px;border-radius:4px;font-size:13px}.link-confirm,.link-remove{padding:4px 10px;border-radius:4px;border:none;font-size:12px;cursor:pointer}.link-confirm{background:#38bdac;color:#fff}.link-remove{background:#374151;color:#9ca3af}.rich-editor-content{min-height:300px;max-height:500px;overflow-y:auto;padding:12px 16px;color:#e5e7eb;font-size:14px;line-height:1.7}.rich-editor-content:focus{outline:none}.rich-editor-content h1{font-size:1.5em;font-weight:700;margin:.8em 0 .4em;color:#fff}.rich-editor-content h2{font-size:1.3em;font-weight:600;margin:.7em 0 .3em;color:#fff}.rich-editor-content h3{font-size:1.15em;font-weight:600;margin:.6em 0 .3em;color:#fff}.rich-editor-content p{margin:.4em 0}.rich-editor-content strong{color:#fff}.rich-editor-content code{background:#1f2937;padding:2px 6px;border-radius:3px;font-size:.9em;color:#38bdac}.rich-editor-content pre{background:#1f2937;padding:12px;border-radius:6px;overflow-x:auto;margin:.6em 0}.rich-editor-content blockquote{border-left:3px solid #38bdac;padding-left:12px;margin:.6em 0;color:#9ca3af}.rich-editor-content ul,.rich-editor-content ol{padding-left:1.5em;margin:.4em 0}.rich-editor-content li{margin:.2em 0}.rich-editor-content hr{border:none;border-top:1px solid #374151;margin:1em 0}.rich-editor-content img{max-width:100%;border-radius:6px;margin:.5em 0}.rich-editor-content a,.rich-link{color:#38bdac;text-decoration:underline;cursor:pointer}.rich-editor-content table{border-collapse:collapse;width:100%;margin:.5em 0}.rich-editor-content th,.rich-editor-content td{border:1px solid #374151;padding:6px 10px;text-align:left}.rich-editor-content th{background:#1f2937;font-weight:600}.rich-editor-content .ProseMirror-placeholder:before{content:attr(data-placeholder);color:#6b7280;float:left;height:0;pointer-events:none}.mention-tag{background:#38bdac26;color:#38bdac;border-radius:4px;padding:1px 4px;font-weight:500}.mention-popup{position:fixed;z-index:9999;background:#1a2638;border:1px solid #374151;border-radius:8px;padding:4px;min-width:180px;max-height:240px;overflow-y:auto;box-shadow:0 4px 20px #0006}.mention-item{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-radius:4px;cursor:pointer;color:#d1d5db;font-size:13px}.mention-item:hover,.mention-item.is-selected{background:#38bdac26;color:#38bdac}.mention-name{font-weight:500}.mention-id{font-size:11px;color:#6b7280}.bubble-menu{display:flex;gap:2px;background:#1a2638;border:1px solid #374151;border-radius:6px;padding:4px;box-shadow:0 4px 12px #0000004d}.bubble-menu button{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer}.bubble-menu button:hover{background:#1f2937;color:#d1d5db}.bubble-menu button.is-active{color:#38bdac}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-2\.5{top:calc(var(--spacing)*-2.5)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-4{top:calc(var(--spacing)*4)}.top-16{top:calc(var(--spacing)*16)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\/4{right:25%}.right-4{right:calc(var(--spacing)*4)}.bottom-1\/4{bottom:25%}.-left-2\.5{left:calc(var(--spacing)*-2.5)}.left-0{left:calc(var(--spacing)*0)}.left-1\/4{left:25%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.-mx-8{margin-inline:calc(var(--spacing)*-8)}.mx-20{margin-inline:calc(var(--spacing)*20)}.mx-auto{margin-inline:auto}.-mt-6{margin-top:calc(var(--spacing)*-6)}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.h-0\.5{height:calc(var(--spacing)*.5)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-96{height:calc(var(--spacing)*96)}.h-\[75vh\]{height:75vh}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[250px\]{max-height:250px}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.min-h-\[60vh\]{min-height:60vh}.min-h-\[80px\]{min-height:80px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[260px\]{min-height:260px}.min-h-\[300px\]{min-height:300px}.min-h-\[400px\]{min-height:400px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0\.5{width:calc(var(--spacing)*.5)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-36{width:calc(var(--spacing)*36)}.w-40{width:calc(var(--spacing)*40)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[100px\]{max-width:100px}.max-w-\[120px\]{max-width:120px}.max-w-\[140px\]{max-width:140px}.max-w-\[180px\]{max-width:180px}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[60px\]{min-width:60px}.min-w-\[120px\]{min-width:120px}.min-w-\[1024px\]{min-width:1024px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.scale-\[0\.98\]{scale:.98}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[40px_40px_1fr_80px_80px_80px_60px\]{grid-template-columns:40px 40px 1fr 80px 80px 80px 60px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}:where(.divide-gray-700\/50>:not(:last-child)){border-color:#36415380}@supports (color:color-mix(in lab,red,red)){:where(.divide-gray-700\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}:where(.divide-white\/5>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:where(.divide-white\/5>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-\[\#07C160\]{border-color:#07c160}.border-\[\#07C160\]\/20{border-color:#07c16033}.border-\[\#07C160\]\/30{border-color:#07c1604d}.border-\[\#38bdac\]{border-color:#38bdac}.border-\[\#38bdac\]\/20{border-color:#38bdac33}.border-\[\#38bdac\]\/30{border-color:#38bdac4d}.border-\[\#38bdac\]\/40{border-color:#38bdac66}.border-\[\#38bdac\]\/50{border-color:#38bdac80}.border-amber-500\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/30{border-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.border-amber-500\/40{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/40{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.border-amber-500\/50{border-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/50{border-color:color-mix(in oklab,var(--color-amber-500)50%,transparent)}}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/30{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.border-blue-500\/40{border-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/40{border-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.border-blue-500\/50{border-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.border-cyan-500\/30{border-color:#00b7d74d}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/30{border-color:color-mix(in oklab,var(--color-cyan-500)30%,transparent)}}.border-cyan-500\/40{border-color:#00b7d766}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/40{border-color:color-mix(in oklab,var(--color-cyan-500)40%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\/30{border-color:#3641534d}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/30{border-color:color-mix(in oklab,var(--color-gray-700)30%,transparent)}}.border-gray-700\/40{border-color:#36415366}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/40{border-color:color-mix(in oklab,var(--color-gray-700)40%,transparent)}}.border-gray-700\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-green-500\/30{border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.border-green-500\/30{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.border-green-500\/40{border-color:#00c75866}@supports (color:color-mix(in lab,red,red)){.border-green-500\/40{border-color:color-mix(in oklab,var(--color-green-500)40%,transparent)}}.border-orange-500\/20{border-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/20{border-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.border-orange-500\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/30{border-color:color-mix(in oklab,var(--color-orange-500)30%,transparent)}}.border-orange-500\/40{border-color:#fe6e0066}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/40{border-color:color-mix(in oklab,var(--color-orange-500)40%,transparent)}}.border-orange-500\/50{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/50{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.border-purple-500\/20{border-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/20{border-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.border-purple-500\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/30{border-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.border-purple-500\/40{border-color:#ac4bff66}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/40{border-color:color-mix(in oklab,var(--color-purple-500)40%,transparent)}}.border-red-500\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-red-500\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.border-red-500\/30{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.border-red-500\/50{border-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.border-red-500\/50{border-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.border-transparent{border-color:#0000}.border-white\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-yellow-500\/30{border-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/30{border-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.border-yellow-500\/40{border-color:#edb20066}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/40{border-color:color-mix(in oklab,var(--color-yellow-500)40%,transparent)}}.bg-\[\#0a1628\]{background-color:#0a1628}.bg-\[\#0a1628\]\/50{background-color:#0a162880}.bg-\[\#0f2137\]{background-color:#0f2137}.bg-\[\#00CED1\]{background-color:#00ced1}.bg-\[\#1C1C1E\]{background-color:#1c1c1e}.bg-\[\#07C160\]{background-color:#07c160}.bg-\[\#07C160\]\/5{background-color:#07c1600d}.bg-\[\#07C160\]\/10{background-color:#07c1601a}.bg-\[\#38bdac\]{background-color:#38bdac}.bg-\[\#38bdac\]\/5{background-color:#38bdac0d}.bg-\[\#38bdac\]\/10{background-color:#38bdac1a}.bg-\[\#38bdac\]\/15{background-color:#38bdac26}.bg-\[\#38bdac\]\/20{background-color:#38bdac33}.bg-\[\#38bdac\]\/30{background-color:#38bdac4d}.bg-\[\#38bdac\]\/60{background-color:#38bdac99}.bg-\[\#38bdac\]\/80{background-color:#38bdaccc}.bg-\[\#162840\]{background-color:#162840}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-amber-500\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\/90{background-color:color-mix(in oklab,var(--color-black)90%,transparent)}}.bg-blue-500\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\/20{background-color:#00b7d733}@supports (color:color-mix(in lab,red,red)){.bg-cyan-500\/20{background-color:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-500\/20{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.bg-gray-500\/20{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-600\/50{background-color:#4a556580}@supports (color:color-mix(in lab,red,red)){.bg-gray-600\/50{background-color:color-mix(in oklab,var(--color-gray-600)50%,transparent)}}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-700\/50{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.bg-gray-700\/50{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/20{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/20{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/10{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.bg-orange-500\/20{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/20{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-yellow-500\/20{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.bg-yellow-500\/20{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\[\#0f2137\]{--tw-gradient-from:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#00CED1\]{--tw-gradient-from:#00ced1;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#38bdac\]\/10{--tw-gradient-from:oklab(72.378% -.11483 -.0053193/.1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500\/20{--tw-gradient-from:#3080ff33}@supports (color:color-mix(in lab,red,red)){.from-blue-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.from-blue-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-cyan-500\/20{--tw-gradient-from:#00b7d733}@supports (color:color-mix(in lab,red,red)){.from-cyan-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.from-cyan-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-500\/20{--tw-gradient-from:#00c75833}@supports (color:color-mix(in lab,red,red)){.from-green-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.from-green-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500\/20{--tw-gradient-from:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.from-purple-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.from-purple-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-500\/20{--tw-gradient-from:#edb20033}@supports (color:color-mix(in lab,red,red)){.from-yellow-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.from-yellow-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-\[\#38bdac\]\/30{--tw-gradient-via:oklab(72.378% -.11483 -.0053193/.3);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-\[\#0f2137\]{--tw-gradient-to:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#20B2AA\]{--tw-gradient-to:#20b2aa;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#162d4a\]{--tw-gradient-to:#162d4a;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-amber-500\/20{--tw-gradient-to:#f99c0033}@supports (color:color-mix(in lab,red,red)){.to-amber-500\/20{--tw-gradient-to:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.to-amber-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-500\/5{--tw-gradient-to:#00b7d70d}@supports (color:color-mix(in lab,red,red)){.to-cyan-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-cyan-500)5%,transparent)}}.to-cyan-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-500\/5{--tw-gradient-to:#00c7580d}@supports (color:color-mix(in lab,red,red)){.to-green-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-green-500)5%,transparent)}}.to-green-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500\/5{--tw-gradient-to:#ac4bff0d}@supports (color:color-mix(in lab,red,red)){.to-purple-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-purple-500)5%,transparent)}}.to-purple-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-500\/5{--tw-gradient-to:#edb2000d}@supports (color:color-mix(in lab,red,red)){.to-yellow-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-yellow-500)5%,transparent)}}.to-yellow-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-amber-400{fill:var(--color-amber-400)}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.py-20{padding-block:calc(var(--spacing)*20)}.py-24{padding-block:calc(var(--spacing)*24)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#00CED1\]{color:#00ced1}.text-\[\#07C160\]{color:#07c160}.text-\[\#07C160\]\/60{color:#07c16099}.text-\[\#07C160\]\/70{color:#07c160b3}.text-\[\#07C160\]\/80{color:#07c160cc}.text-\[\#26A17B\]{color:#26a17b}.text-\[\#38bdac\]{color:#38bdac}.text-\[\#38bdac\]\/30{color:#38bdac4d}.text-\[\#38bdac\]\/40{color:#38bdac66}.text-\[\#169BD7\]{color:#169bd7}.text-\[\#1677FF\]{color:#1677ff}.text-\[\#FFD700\]{color:gold}.text-amber-200{color:var(--color-amber-200)}.text-amber-400{color:var(--color-amber-400)}.text-amber-400\/30{color:#fcbb004d}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/30{color:color-mix(in oklab,var(--color-amber-400)30%,transparent)}}.text-amber-400\/90{color:#fcbb00e6}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/90{color:color-mix(in oklab,var(--color-amber-400)90%,transparent)}}.text-black{color:var(--color-black)}.text-blue-300{color:var(--color-blue-300)}.text-blue-300\/60{color:#90c5ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-300\/60{color:color-mix(in oklab,var(--color-blue-300)60%,transparent)}}.text-blue-400{color:var(--color-blue-400)}.text-blue-400\/60{color:#54a2ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-400\/60{color:color-mix(in oklab,var(--color-blue-400)60%,transparent)}}.text-cyan-400{color:var(--color-cyan-400)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-orange-300{color:var(--color-orange-300)}.text-orange-300\/60{color:#ffb96d99}@supports (color:color-mix(in lab,red,red)){.text-orange-300\/60{color:color-mix(in oklab,var(--color-orange-300)60%,transparent)}}.text-orange-400{color:var(--color-orange-400)}.text-orange-400\/60{color:#ff8b1a99}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/60{color:color-mix(in oklab,var(--color-orange-400)60%,transparent)}}.text-orange-400\/70{color:#ff8b1ab3}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/70{color:color-mix(in oklab,var(--color-orange-400)70%,transparent)}}.text-orange-400\/80{color:#ff8b1acc}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/80{color:color-mix(in oklab,var(--color-orange-400)80%,transparent)}}.text-purple-300{color:var(--color-purple-300)}.text-purple-400{color:var(--color-purple-400)}.text-red-400{color:var(--color-red-400)}.text-white{color:var(--color-white)}.text-white\/40{color:#fff6}@supports (color:color-mix(in lab,red,red)){.text-white\/40{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.text-white\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){.text-white\/60{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-400\/60{color:#fac80099}@supports (color:color-mix(in lab,red,red)){.text-yellow-400\/60{color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.text-yellow-500\/70{color:#edb200b3}@supports (color:color-mix(in lab,red,red)){.text-yellow-500\/70{color:color-mix(in oklab,var(--color-yellow-500)70%,transparent)}}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline\!{text-decoration-line:underline!important}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[\#38bdac\]\/20{--tw-shadow-color:#38bdac33}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/20{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.2) var(--tw-shadow-alpha),transparent)}}.shadow-\[\#38bdac\]\/30{--tw-shadow-color:#38bdac4d}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/30{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.3) var(--tw-shadow-alpha),transparent)}}.ring-\[\#38bdac\]{--tw-ring-color:#38bdac}.ring-\[\#38bdac\]\/40{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.4)}.ring-\[\#38bdac\]\/50{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.5)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter\!{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition\!{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.group-hover\:text-\[\#38bdac\]:is(:where(.group):hover *){color:#38bdac}.group-hover\:text-gray-400:is(:where(.group):hover *){color:var(--color-gray-400)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.placeholder\:text-gray-500::placeholder{color:var(--color-gray-500)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\:border-\[\#38bdac\]\/30:hover{border-color:#38bdac4d}.hover\:border-\[\#38bdac\]\/50:hover{border-color:#38bdac80}.hover\:border-\[\#38bdac\]\/60:hover{border-color:#38bdac99}.hover\:border-amber-500\/40:hover{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.hover\:border-amber-500\/40:hover{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.hover\:border-blue-500\/60:hover{border-color:#3080ff99}@supports (color:color-mix(in lab,red,red)){.hover\:border-blue-500\/60:hover{border-color:color-mix(in oklab,var(--color-blue-500)60%,transparent)}}.hover\:border-gray-500:hover{border-color:var(--color-gray-500)}.hover\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\:border-orange-500\/50:hover{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.hover\:border-orange-500\/50:hover{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.hover\:border-yellow-500\/60:hover{border-color:#edb20099}@supports (color:color-mix(in lab,red,red)){.hover\:border-yellow-500\/60:hover{border-color:color-mix(in oklab,var(--color-yellow-500)60%,transparent)}}.hover\:bg-\[\#0a1628\]:hover{background-color:#0a1628}.hover\:bg-\[\#1a3050\]:hover{background-color:#1a3050}.hover\:bg-\[\#2da396\]:hover{background-color:#2da396}.hover\:bg-\[\#06AD51\]:hover{background-color:#06ad51}.hover\:bg-\[\#07C160\]\/10:hover{background-color:#07c1601a}.hover\:bg-\[\#20B2AA\]:hover{background-color:#20b2aa}.hover\:bg-\[\#38bdac\]\/10:hover{background-color:#38bdac1a}.hover\:bg-\[\#38bdac\]\/20:hover{background-color:#38bdac33}.hover\:bg-\[\#162840\]:hover{background-color:#162840}.hover\:bg-\[\#162840\]\/30:hover{background-color:#1628404d}.hover\:bg-\[\#162840\]\/50:hover{background-color:#16284080}.hover\:bg-amber-500\/10:hover{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/10:hover{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.hover\:bg-amber-500\/20:hover{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/20:hover{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.hover\:bg-amber-500\/30:hover{background-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/30:hover{background-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.hover\:bg-amber-600:hover{background-color:var(--color-amber-600)}.hover\:bg-blue-400\/10:hover{background-color:#54a2ff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-400\/10:hover{background-color:color-mix(in oklab,var(--color-blue-400)10%,transparent)}}.hover\:bg-blue-500\/20:hover{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-500\/20:hover{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.hover\:bg-gray-500:hover{background-color:var(--color-gray-500)}.hover\:bg-gray-500\/20:hover{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-500\/20:hover{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.hover\:bg-gray-700\/50:hover{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-700\/50:hover{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-green-500\/20:hover{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/20:hover{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-orange-500\/10:hover{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/10:hover{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.hover\:bg-orange-500\/20:hover{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/20:hover{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.hover\:bg-orange-600:hover{background-color:var(--color-orange-600)}.hover\:bg-purple-500\/10:hover{background-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/10:hover{background-color:color-mix(in oklab,var(--color-purple-500)10%,transparent)}}.hover\:bg-purple-500\/20:hover{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/20:hover{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.hover\:bg-purple-500\/30:hover{background-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/30:hover{background-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.hover\:bg-red-500\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\:bg-red-500\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\:bg-white\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/5:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:bg-yellow-500\/20:hover{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/20:hover{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.hover\:bg-yellow-500\/30:hover{background-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/30:hover{background-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.hover\:text-\[\#2da396\]:hover{color:#2da396}.hover\:text-\[\#38bdac\]:hover{color:#38bdac}.hover\:text-amber-300:hover{color:var(--color-amber-300)}.hover\:text-amber-400:hover{color:var(--color-amber-400)}.hover\:text-blue-300:hover{color:var(--color-blue-300)}.hover\:text-blue-400:hover{color:var(--color-blue-400)}.hover\:text-gray-300:hover{color:var(--color-gray-300)}.hover\:text-orange-400:hover{color:var(--color-orange-400)}.hover\:text-red-300:hover{color:var(--color-red-300)}.hover\:text-red-400:hover{color:var(--color-red-400)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}}.focus\:border-\[\#38bdac\]:focus{border-color:#38bdac}.focus\:border-orange-500\/50:focus{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.focus\:border-orange-500\/50:focus{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.focus\:bg-\[\#38bdac\]\/20:focus{background-color:#38bdac33}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-\[\#38bdac\]:focus{--tw-ring-color:#38bdac}.focus\:ring-amber-400:focus{--tw-ring-color:var(--color-amber-400)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[\#38bdac\]:focus-visible{--tw-ring-color:#38bdac}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-\[\#0a1628\]:focus-visible{--tw-ring-offset-color:#0a1628}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:cursor-grabbing:active{cursor:grabbing}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=active\]\:bg-\[\#07C160\]\/20[data-state=active]{background-color:#07c16033}.data-\[state\=active\]\:bg-\[\#26A17B\]\/20[data-state=active]{background-color:#26a17b33}.data-\[state\=active\]\:bg-\[\#38bdac\]\/20[data-state=active]{background-color:#38bdac33}.data-\[state\=active\]\:bg-\[\#1677FF\]\/20[data-state=active]{background-color:#1677ff33}.data-\[state\=active\]\:bg-\[\#003087\]\/20[data-state=active]{background-color:#00308733}.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.data-\[state\=active\]\:font-medium[data-state=active]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[state\=active\]\:text-\[\#07C160\][data-state=active]{color:#07c160}.data-\[state\=active\]\:text-\[\#26A17B\][data-state=active]{color:#26a17b}.data-\[state\=active\]\:text-\[\#38bdac\][data-state=active]{color:#38bdac}.data-\[state\=active\]\:text-\[\#169BD7\][data-state=active]{color:#169bd7}.data-\[state\=active\]\:text-\[\#1677FF\][data-state=active]{color:#1677ff}.data-\[state\=active\]\:text-amber-400[data-state=active]{color:var(--color-amber-400)}.data-\[state\=active\]\:text-purple-400[data-state=active]{color:var(--color-purple-400)}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-\[\#38bdac\][data-state=checked]{background-color:#38bdac}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-gray-600[data-state=unchecked]{background-color:var(--color-gray-600)}@media(min-width:40rem){.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:64rem){.lg\:block{display:block}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(min-width:80rem){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}:root{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20% .02 240);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20% .02 240);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(65% .15 180);--primary-foreground:oklch(20% 0 0);--secondary:oklch(27% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27% 0 0);--muted-foreground:oklch(65% 0 0);--accent:oklch(27% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(55% .2 25);--destructive-foreground:oklch(98.5% 0 0);--border:oklch(35% 0 0);--input:oklch(35% 0 0);--ring:oklch(65% .15 180);--radius:.625rem}body{font-family:var(--font-sans);color:var(--foreground);background:#0a1628}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}} diff --git a/soul-admin/dist/index.html b/soul-admin/dist/index.html index 63e92070..497fceaf 100644 --- a/soul-admin/dist/index.html +++ b/soul-admin/dist/index.html @@ -4,8 +4,8 @@ 管理后台 - Soul创业派对 - - + +
    diff --git a/soul-admin/src/pages/api-doc/ApiDocPage.tsx b/soul-admin/src/pages/api-doc/ApiDocPage.tsx index 71196249..3d865be1 100644 --- a/soul-admin/src/pages/api-doc/ApiDocPage.tsx +++ b/soul-admin/src/pages/api-doc/ApiDocPage.tsx @@ -81,7 +81,7 @@ export function ApiDocPage() {

    GET/POST /api/admin/referral-settings — 推广/分销设置(含 VIP 配置)

    GET /api/db/users、/api/db/book — 用户与章节数据

    -

    GET /api/orders — 订单列表

    +

    GET /api/admin/orders — 订单列表

    diff --git a/soul-admin/src/pages/dashboard/DashboardPage.tsx b/soul-admin/src/pages/dashboard/DashboardPage.tsx index 2558facf..ba3dc2c5 100644 --- a/soul-admin/src/pages/dashboard/DashboardPage.tsx +++ b/soul-admin/src/pages/dashboard/DashboardPage.tsx @@ -130,11 +130,9 @@ export function DashboardPage() { } catch (e) { if ((e as Error)?.name !== 'AbortError') { try { - const ordersData = await get('/api/orders?page=1&pageSize=20&status=paid', init) + const ordersData = await get('/api/admin/orders?page=1&pageSize=20&status=paid', init) const orders = ordersData?.orders ?? [] - const paid = orders.filter((p) => - ['paid', 'completed', 'success'].includes(p.status || '') - ) + const paid = orders.filter((p) => ['paid', 'completed', 'success'].includes(p.status || '')) setPurchases(paid.slice(0, 5)) } catch { setPurchases([]) diff --git a/soul-admin/src/pages/distribution/DistributionPage.tsx b/soul-admin/src/pages/distribution/DistributionPage.tsx index e572c70f..3702b34c 100644 --- a/soul-admin/src/pages/distribution/DistributionPage.tsx +++ b/soul-admin/src/pages/distribution/DistributionPage.tsx @@ -195,7 +195,9 @@ export function DistributionPage() { ...(statusFilter !== 'all' && { status: statusFilter }), ...(searchTerm && { search: searchTerm }), }) - const ordersData = await get<{ success?: boolean; orders?: Order[]; total?: number }>(`/api/orders?${params}`) + const ordersData = await get<{ success?: boolean; orders?: Order[]; total?: number }>( + `/api/admin/orders?${params}`, + ) if (ordersData?.success && ordersData.orders) { const enriched = ordersData.orders.map((order) => { const user = usersArr.find((u) => u.id === order.userId) diff --git a/soul-admin/src/pages/orders/OrdersPage.tsx b/soul-admin/src/pages/orders/OrdersPage.tsx index add8d896..b038c047 100644 --- a/soul-admin/src/pages/orders/OrdersPage.tsx +++ b/soul-admin/src/pages/orders/OrdersPage.tsx @@ -1,4 +1,4 @@ -import toast from '@/utils/toast' +import toast from '@/utils/toast' import { useState, useEffect } from 'react' import { Card, CardContent } from '@/components/ui/card' import { Input } from '@/components/ui/input' @@ -78,7 +78,9 @@ export function OrdersPage() { ...(debouncedSearch && { search: debouncedSearch }), }) const [ordersData, usersData] = await Promise.all([ - get<{ success?: boolean; orders?: Purchase[]; total?: number; totalRevenue?: number; todayRevenue?: number }>(`/api/orders?${ordersParams}`), + get<{ success?: boolean; orders?: Purchase[]; total?: number; totalRevenue?: number; todayRevenue?: number }>( + `/api/admin/orders?${ordersParams}`, + ), get<{ success?: boolean; users?: UsersItem[] }>('/api/db/users?page=1&pageSize=500'), ]) if (ordersData?.success) { diff --git a/soul-api/internal/handler/cron.go b/soul-api/internal/handler/cron.go index 71593834..8a2da5a1 100644 --- a/soul-api/internal/handler/cron.go +++ b/soul-api/internal/handler/cron.go @@ -8,6 +8,7 @@ import ( "os" "path/filepath" "strconv" + "strings" "sync" "time" @@ -69,10 +70,53 @@ func RunSyncOrders(ctx context.Context, days int) (synced, total int, err error) } tradeState, transactionID, totalFee, qerr := wechat.QueryOrderByOutTradeNo(ctx, o.OrderSN) if qerr != nil { + // 微信返回「订单不存在」:说明该 out_trade_no 在微信侧已无效,直接将本地订单标记为关闭 + if strings.Contains(qerr.Error(), "ORDER_NOT_EXIST") { + now := time.Now() + if err := db.Model(&o).Updates(map[string]interface{}{ + "status": "closed", + "updated_at": now, + }).Error; err != nil { + syncOrdersLogf("微信提示订单不存在,标记订单 %s 为关闭失败: %v", o.OrderSN, err) + } else { + syncOrdersLogf("微信提示订单不存在,已将本地订单标记为关闭: %s", o.OrderSN) + } + continue + } syncOrdersLogf("查询订单 %s 失败: %v", o.OrderSN, qerr) continue } + // 根据微信支付状态决定本地订单后续处理: + // - SUCCESS:补齐漏单,发放权益 + // - NOTPAY/USERPAYING:在有效期内保持 created,超过一定时间自动标记为关闭 + // - 其他终态(CLOSED、REVOKED、PAYERROR 等):标记为关闭,避免无限轮询 if tradeState != "SUCCESS" { + // 对仍未支付的订单设置超时关闭(避免长时间轮询) + if tradeState == "NOTPAY" || tradeState == "USERPAYING" { + // 超过 30 分钟仍未支付,视为关闭 + if time.Since(o.CreatedAt) > 30*time.Minute { + now := time.Now() + if err := db.Model(&o).Updates(map[string]interface{}{ + "status": "closed", + "updated_at": now, + }).Error; err != nil { + syncOrdersLogf("标记超时未支付订单 %s 为关闭失败: %v", o.OrderSN, err) + } else { + syncOrdersLogf("订单超时未支付,标记为关闭: %s", o.OrderSN) + } + } + continue + } + // 其他非 SUCCESS 状态(如 CLOSED、REVOKED、PAYERROR 等),直接在本地标记为关闭 + now := time.Now() + if err := db.Model(&o).Updates(map[string]interface{}{ + "status": "closed", + "updated_at": now, + }).Error; err != nil { + syncOrdersLogf("标记订单 %s 为关闭状态失败(trade_state=%s): %v", o.OrderSN, tradeState, err) + } else { + syncOrdersLogf("订单在微信已为终态 %s,本地标记为关闭: %s", tradeState, o.OrderSN) + } continue } // 微信已支付,本地未更新 → 补齐 diff --git a/soul-api/internal/handler/match_records.go b/soul-api/internal/handler/match_records.go index e2218fb6..b330fe44 100644 --- a/soul-api/internal/handler/match_records.go +++ b/soul-api/internal/handler/match_records.go @@ -70,8 +70,12 @@ func DBMatchRecordsList(c *gin.Context) { userIDs := make(map[string]bool) for _, r := range records { - userIDs[r.UserID] = true - userIDs[r.MatchedUserID] = true + if r.UserID != "" { + userIDs[r.UserID] = true + } + if r.MatchedUserID != "" { + userIDs[r.MatchedUserID] = true + } } ids := make([]string, 0, len(userIDs)) for id := range userIDs { @@ -105,11 +109,19 @@ func DBMatchRecordsList(c *gin.Context) { if mu != nil && mu.Avatar != nil { matchedUserAvatar = *mu.Avatar } + userNickname := "" + if u != nil { + userNickname = getStr(u.Nickname) + } + matchedNickname := "" + if mu != nil { + matchedNickname = getStr(mu.Nickname) + } out = append(out, gin.H{ "id": r.ID, "userId": r.UserID, "matchedUserId": r.MatchedUserID, "matchType": r.MatchType, "phone": getStr(r.Phone), "wechatId": getStr(r.WechatID), - "userNickname": getStr(u.Nickname), - "matchedNickname": getStr(mu.Nickname), + "userNickname": userNickname, + "matchedNickname": matchedNickname, "userAvatar": userAvatar, "matchedUserAvatar": matchedUserAvatar, "matchScore": r.MatchScore, diff --git a/soul-api/wechat/info.log b/soul-api/wechat/info.log index daa88517..33a6d475 100644 --- a/soul-api/wechat/info.log +++ b/soul-api/wechat/info.log @@ -35586,3 +35586,1453 @@ {"level":"debug","timestamp":"2026-03-11T14:49:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:49:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A0C4CD0610E40718FACDC0552082A82C28E5B404-0\r\nServer: nginx\r\nWechatpay-Nonce: 6515de47a7b218d72f7f6c5bcee8bf33\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QriacvzF6Oe5PgvYI9L511shu4lcz1braLJW0lmKjwVWpHkZWd0HjYb/tb1Vs7gW4f0ENk7Xf339cnvvhOn8TwIEAo4sy14rYtWNh+ko0wc+aG13+SqnRJPTy3Ft3mZ4tRROYDR/RmLxBP39iV092mhSMg/eVbzIaVeRQSVx9NMgyRGLjcpvTBsDSGUbaLET3Y1/Pwkb38wnkVMJhG2EctW6dwbmL6kpUzosOjSQGWowOfNNe5BsPQr0RqjOfeoQ3DfDbp3GpNBNj/auhVMK+iV4HZookCkLn0pxPvyzTxxJcf9gvfOYkggyFDwAKVfrsjAUltcUFoxqDKWHoaf6eg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211749\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309104414306664\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} {"level":"debug","timestamp":"2026-03-11T14:49:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260309174649961512?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fruL8DLIutaNbo7w1zIXqPvkPcWGTjr7\",timestamp=\"1773211749\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XFqMJ8CqKHed1bk3v3bZPSp0LnxZ9qfRsVFcXNKIVk6bgBSEjnTY/qCs2BrsEJkz4gN5wCRuaTmmU/vOZMz/LVHRci/5g6xCQA4LnTaJNDJkEpvmkwd6cGbvv1lIuv/ILAtHzogNS2nUf0eL3W5yKDRh2IY9S+dZNffynzSu+l9Cdrh76eIg3nBzdOULmQuAJywOx+HEAk85AqRchs7xWPQwJRbC/IP/AgHO/Eb0Q/g4rh5gKo1siGiW44jgeAlm6Npj5Vda+CI/ZIrueEi4s823G1FuKzrrJ95W/lbEkKj1E4iIZksnbibuK8QeLHRM8uiao03bEfsndGeLW/l+EQ==\"Accept:*/*} request body:"} {"level":"debug","timestamp":"2026-03-11T14:49:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:49:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A0C4CD0610B501188DC3EDF50120CEB80D28DF8001-0\r\nServer: nginx\r\nWechatpay-Nonce: 69e26a076f23b32d98e713c09cb99931\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GAFfqjIRK+ZVTUPQCVl25ppC+C3zTA3pNnEN/nhn7rHsIOqhvWqZxE/RhK4rLHX20TWadrtOkn22ipPqLMPwpwrqgCv1JrO5J05Jit5kOJfIq1NW/Zl9VOsHnIvNTWsG7YXdHLimXio8O75oSzYm/oLjCVoZMqgA2/EXK03jkeHEpmvmjIxyoMKcYg/ZHlqXgWdPE4/rInOqij/92qeNJa8jDuFQyjcAfnWuweFwGY9OSgKMVGSq6tt93y0qqVmeHIIDpDzu10W9ED2Rn3dLfdZZGMtNWh0jbe2YOWrrIf/WpMhuCcpdb7Fr5tG567UC9JUZAKTXH0obV98qfstUZQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211749\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309174649961512\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260304154055740942?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SUaFaD6pcCVWCcGa7budpogDC3iYz2XF\",timestamp=\"1773211869\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1mU123SFgPWhpZVRo63ZMKMqTsbDnbRpmI9iJ5FZ82nOJjHJlb5B+hLXoZWj+cSxf9maJCBiqXATxaSLNus+CJs3L/EmxrVomhs8R1KXWat7L0DyPqTllPI6a73CHe+et3mDCykJMminm8sEriPZJ7Xs7/XVDBSxs9cfhPpIWD2SuqLBIfLxftWnCA4hQ3xLcr9RGnNGZthMkEhPMXgnP0NOkbuitmchGWLKZYW6e8Q0AxazbFCsPt7XUYx+vjthzcqGNYV8pVTTgh/TzxioCMErhksjetiBt0wzfgmrpX/8bjUrqqep4GgKMGbHwrbXlPoAwfJITa9+KJU6RqYvWQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DCA1C4CD06108D0618C6CEC055209CCF0A28EFA804-0\r\nServer: nginx\r\nWechatpay-Nonce: 5f2ff0ab10e9042c5fd442e106528eca\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WZQMpAmdxkELS1VhtAHDFA//Ku88hbQTCasmZfY8Q4R3I2bA5hh7mXNvOf/h91oGdnxIuk2yjY+0W956pe/87eqfgeotsg6WXAprRSCfxYQISIerVqHBvNPKAo28Sd+hSV+EN3lEVCJyI3Pvg/hD4/2MJ2EboWKnW9fcZzLEK+X8c/+Mb8WZj5zH0Dv57nOiVh0M8oRGLkmBNLI99uoEI0ipVibzruozjIkDM5owKA045R5SF+v/GD0lvfuGIMiyZW4P+cXrLApFm4hh4i9fK/YXjLxIqNSO3J/BBUpZl9hknACdSq3dBwagwGxcvU//N0twp5YqSfToKZGCCSQuWw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211868\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260304154055740942\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122618011316?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uRfdiuH2afSS8RLLXq0sYZoOxPKlFOo7\",timestamp=\"1773211869\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ch0EY1TSHJdeaNTS1t9/8dh5iwYr5pl2wunwMoKdO4pTu8KSfOo6SbW7Ho53Ju25fhFrOfJX7z+u5JhuAw1R87zM4dRnyrqp7FcyfQpOVe+qCZmbujhKfxVcvvOWqxn6uG5MubOZo0MT1T5JFdSsQ6n9oMZtu/GVN/+l0UHn+1xm1mFEB2Mk5z6CI5szGfS57PC49Udv00NzvJ3hO86n56OgawiN31YbnNdHp5qPj6iJI8rOGtCfooTTfz+mx0HrFtCVNkseuaHwZQFWqgkUlo6Y20p/U1mBPkY6OU2dt2F0Dzn9koigIBb5caPvyjQG5lIWWiaqjsSj/rIsO0y+bg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DCA1C4CD0610C90718EB9EECF50120BCA02428B1D305-0\r\nServer: nginx\r\nWechatpay-Nonce: a7a2e0678ab405ffa9f8d3f9e6608b0e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KSQdDRTDTiDhMP2vspRn9PJ3ol99xXTAJAInfgUcSbZUmsuEipP0ww6EV93PDIPLSzcDikgT5eNowf74Q9dxfn/E+EZGsK3ClwPiTl4HC0uBPBOmPfj3WvOU/SSXSbbJkkZsyhr/h+jnxRazGG8hH8Q+fhTyrd6J2wPD+Umgkp9jt+7vnk8WXMUOWAdSHOG0UcIlaBbAqqHWO+z3KEp/S12x5Frl+uNHuTWrlS8TRVzRyEmFR0NgRTP8SM+P59BDrFnNM2qrVdm3XkmwnjQFakn61Pl0COrMua+MUjPuD830mekbh8Md3YytflvyEBxZ3baxKgKa8DMWgc0FDS8zpw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211869\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122618011316\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122645323619?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kpwmO0D1XKJnh7wu5GkPe18sKWyMDunV\",timestamp=\"1773211869\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DSgcR6KpVU3iXeqKa4PiahjijJ949LAH5fXeamZHwPupIXYUIvjao5jZH34jDP55UFZZQh0Xht5TMAbkqTUWI0CYXB19SNDKds9SsZEoIlZEwjJCRbz/YTIWcDdf/wAMHmL553hMycV+8xnO9GhU8LQvIG1qo/L/nfL2O1d1GuUKijIvqciT3Is5e5Uma0Gh0q7v9AMm3MQuqX8m2dr9o6y1y4DA4hW1pdKtmqD/rPXCShHuePwvPKZbuROjAgeJNc3vg9aw0ThR96NupIRlnj37HK1lhfSeyBAnZxWbv7JjJvHRBHPxU980RWy9aTpxzEy/LhBFngPhWda41fpcJQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA1C4CD06109D0118AEB2F8AF0120F69D0D2881B003-0\r\nServer: nginx\r\nWechatpay-Nonce: 83e92720bed7d8b9e7931be9e96a8cf0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ueMR1HIwil5GV0zaSD0XKAofP+XnFB7TYNRLN12Jjm4HZ9VDu03hzry0XFqb4pBf01TdivNiUUGmIdfXoT7vbJo4ThoZUt0+QPvHjJEqjpyjvVddXmQAxFYKeUrzYHSk6XSSNRoRLbDQtwO0RpHj5yk5DwuX8o2Db30WT3CItVVTP6U6AM6y5HumqvgE1GGQuC2SREdbJduDyNARgrfZPp/mco9IxCdRV6oUoFMMVqq3ogU07DDF3q3m0xOkxz4iHX55VcpYqt56kB+GKWeDbm8ehj4z8wDeb3udp6AG9QA+NhfOYCynZzv3vwNLTtUrLanT19icatgJ1SiYJoVcng==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211869\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122645323619\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122645425569?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"oV9iaON7br1IQUPclgftX8lbqbqOSAqV\",timestamp=\"1773211869\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cFnbJenfwRwj2JgzgNq9dFgo2qCpZoP2XEnNz6J49Ie9+BR0wFuOBPsGc3c9sxdT3gT7c47q0yEyLkW2DKfjGi5QWQm5UvFConyAKMPniVVR1+qc4uDbYhsBTnyduJLGnONHBGwQ4CLk/+xIEHyiTvK/oftrJSyaR4qj4AlKMFCL+As6acg2mxbXhf0SrrnHGXpRboUw49fZWvG4/IOJhuupZNE5l8nfhsaboNCx7cZPJthetnDMgJW9EHLXCa3qpsyo7qHywiJ94S9EF1cW92oMX8ltED8UlifaOfOe3zsJNLZeFS/P33wfuGX9MTSIeT/F8SHQi23ECqNC4QI/KA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA1C4CD0610C50218D9DB8C5820D48B4128F6AA03-0\r\nServer: nginx\r\nWechatpay-Nonce: 728237f1f979629018dffc8264cd0f24\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: w/8ZPkmBayzBbxoAdzALeHpN1BAHIRKY7VRi7GJPxmge53ZKfPvZjsBe7eb7e4uwRtopwPxWofNNBLOq8V3ZZB+0E9SZ4KuhemsAA5Ot6tXhrsixTLqAhhgoYd0t4IgGFTGUnVXgvg+e6bUDZHj4XeBUd1vXKS6djo+Qr8PHJNhKP/k5ZAT1B1HjvbxcrDIfXfbarpkOl5H0HuvAy95/Vr5/CR+Vp+eSs8lprvI0zGi2zPzjBD4S6IWLm6GRtGgmsA3WSIwjIQXWBa2CIdC7HpXsZ9N2ZaCFQQL8ismNTyKnpis1v0ETemtlJf20pzzsCT/MK/mcNw7fbDA80mmF2g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211869\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122645425569\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122648193530?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zk9nAjUQWIk7Qjp269Z3DT2XwOFtuVzy\",timestamp=\"1773211869\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"feJdn/k32uwCASjWioAoWuSr8UfQV5kes4eHTNBYTKqvOOgLHXcGW/pV7RxGXLsqW03TBjZIYeX3P4BO3nHsmyx5p9vKSLI/IJ+n6XbGQx9oPbDV51oq4PzIR/LH3uc8ww+rRX3m7XxW7X/IFj3diXTOCBV9H6ogCcEC7d9NRJkd0e5qwqbt5h+jRADY+ZHRK2/hQRsz3aG2NFVwZuHJrp9m8DSHJ1CqvW6h+3aVjw6C4NHOldwC1DnyfuLmKPtrOstIa/4Ljuva6fXjdPxivuhnBTztwzwx3KdfpajJpfNt/rX0cJjQGbxgQOkO0jlK2biFP1ohahN/PqnGLronZg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA1C4CD0610800418B396F5AF0120BAA50E2887BC02-0\r\nServer: nginx\r\nWechatpay-Nonce: 5e700c921e141ee3c8f57c61914f2006\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: x10/dB2M0Di6+JcekrsJLW5XL5USdoakmvwb8Fj7c6PK4/bNN7YmLoPN5HDKlCsV3scOiuuF8/5HiH7PJJAfd1Ad2jIoLQbDN2ikkw3MH5DWuZTRxxfuc1H30tw8+QBRrMSR28Ky44ffhV+kP1VBK4/MKwJ04w81KZDK7dms5lqH55RFUuU5MYjIuGqDs3Dj5D1HpcAkWN8EbU29X2Q8O+wDJFwJG0uNB8MWBEtcdP1vT+HCjA7lm00sbZgKmbIconQS6YiAc2/WWFoiwAwjTIbCxcOIUQ/9ZLazfRIpmt4etTTXzlip+8YH4vJZogrXs+x2A+L8qAJK7USEMm1gfA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211869\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122648193530\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122650224568?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"F0kxOpWBQOUu2zrHr5zU3ju7iVIlg2ft\",timestamp=\"1773211870\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DdI3wTTHaOqs/dfLGYhV3f9q0TV8q6/symcU7DRzX7vmrgjf6aMfQAJktAra8kDbW4nzeD3Gnxzmgqe5G05Pd4XWMpw9O1qT7KPLqSSsDfr6hVZsvt4IZHR3QKJdRBBI8d5khjSP5357W+ZmjNt4fT9GLfYxZb6Un68rbAqfV8sMds5i79pkTxQjuK20dK0QrPoOW//HpEj9Nk7pMv1QnTq7WfWQReoMmalKN6+OL1yCnMC0gkTPzhkxL3a405MJyxxRZnqj0uTIhiRYVVrNQWtR7bxg32y9mpAL8tzbJVq9S37jJYSh/WSyCL8OMZa6GQ91B3vun2ajt2cIef7lxw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA1C4CD0610C40518E5C0EDF50120BEF03928C29805-0\r\nServer: nginx\r\nWechatpay-Nonce: 8089ce899da1a5091bbdd9ce475fe12d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZWQ0oTOwsoU/whS+lEvm+1+HMYGfpKwWUxT+mm9tO+EeQkV5MU18eoBh5LIr/qY57eOVrmJCSY6mIAYo0V8FaqT09RSo982w4wGYyFZwsCty08UnL6kb+ydyaw2Z9Gx2zbn/RTX7mhMH7neFGo4nbfn2lyLAMUxc5wSS0hH2cnaxK7Yh6yVx2KBjNHhS8gsT4YsOjUUolOFGprj1I3+RILX96C1CVPjMxgBU1eAJoBS9meeWS65vYwhHmNkxOBLF1HYMO11RFWQzQ6sgfmkGcQNfIAlO+WbDSLRc0uyY9apmAGqr2R0hdJvqpfArguUAlmQcr1RBhKE6O/XCWItp0A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211869\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122650224568\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122901330248?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LvCXwfC49x5maKKLw0cqKRigsovG9RJY\",timestamp=\"1773211870\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"X/6eYvyQcECJEl/PZZs+Xn7tTgqR5NouI85UdQa5esF7yfXpkUy8WF5r2hxaCPf0PfIrbFHbqpAmU/c5I9pJNji+NRw6y+Dbh61YhxPh9zsi6i9oP9R3DPLarVX4uMpJYpJzu9QYV99tXWiRMYW2KeIA1yJXlkGPS9Ri7HSl8jYBGiUl1XqGBQ0MlR+iywO6jPFFtO3dr1wrAUUVXFDEz5PCYwu2MlOUVWBZHccT51Qiw6PkSEB7lFEWbaxJZdW2LEzuBTSzG3xoQ9xNTqhEQuSBensITF4U19kUwTVrTeowh+ggeQvR3fPk4xaFTsafogOE/3qvyhk51tLDAvNZCA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA1C4CD0610E40618E0B1F8AF0120B4CE1228918406-0\r\nServer: nginx\r\nWechatpay-Nonce: c9339bc8f3b91dfe30369d8286e12846\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aYPlCQi7ItjeKkFIiBVjak9rC7FARCDFrKOq0cCNPgvgTq6uhveP4lnIjIrnl5A9+Vn/dnyBippAFeetAKesQ0vjfL0NgUB4xDvWPHPozuAsHKtCtf3Uy0RSUmIQW3SxkNQ0ZNlRZ+yJnyzDsbIaLgBNeOk62/kG7C/dz3zioGYdB2DeBg9VxpFHy64Lo0j996hD4KHBR7u69E3NDSjD7aM5XmtXmcgGIjjWe/hQAXZl+74V8AKl7UyjdcJjYjBnl9BuIXi146scQ81vgf1bp2QeGIXhm4Aca0Zw3ULFnmrIMdS4Z9fHux0WilVu675klFqIumVwrt6TYgWxR8RTrQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211869\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122901330248\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122904720977?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ahavdnkJWeTydAXX7NF1OJDoyPsuSl5i\",timestamp=\"1773211870\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WSs3mSb+NFgbmLuwfDFqgd0W5V0LAGyvxgxjij7j7yOPcZueJRaG8DC2n7XcjyiQk+H872YwAU0XdT5kcOqqphgRtCL2Gos0TAhYl1hwoRxAs3mzVyIkEXmknu5NeW+oxJagtl/Jd8I8LK1LzLnjTiAEqiHsgkG7u1ftmD1DhMOE0cglyFq6nqsw/14uzcp0TAP4tg2MGwA9VOXKODlYfwbeNT5EL/IaMuPpoAoHQOYTwZPpwz2xyBQIz182cQZydS7Qkof5cWkyZWj1yLYmqLQnLZdUwXDpObvfXG0aJ+AV/iRX6IKfwSEF5NwcBtSzvH4Ts+Z8Jumz1hTMJXhqzQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA1C4CD06102A1880B2F8AF012086B80A289B8902-0\r\nServer: nginx\r\nWechatpay-Nonce: 83f922df831477a21c259d6e5650840c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uv0nfiJt3cvXjUmowALbWyNgARU1MgOCcsqyZuA5h0OqSZArIGEipfC0KyPjMzMiFtmZrK5vgSb0822McyxLtljTCKm7Tme3ddSmcaGMZGiIzS/Adcq5IAKKute8EZSSbFl0p0j1Q7zIbnScce5UROM2rprR+5gDfPJNV7I9SR7yQtDcBbbSJdt5j2E7cW/gKDz9Ykr8AGDKzegNoQfhdX/1c8j8E70wBrRYjh2nr0msxroRrEkuAHFdxsTG+ewlGsF1uz19dZIMb5hPuGuE3rYzAQGZctT9z65nR2/MS830hQBjW5bfTMc+YUYWRhkhLz14J8pHg8M4oY4hxYwjaw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211870\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122904720977\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122905820527?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nNK6ymJpKN45s4Li5ECHcYEMYfaNlRqB\",timestamp=\"1773211870\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"onQxpCXYo4tVy6JPvZUhFwZRIhtIM4+0nrFrz43ZLsjuUzeaUjLnE+VX68/WmCb0GebBrCfq/n2I6G68XoJVyIZBZdJPblEV3CPItdDgaTArPqOJmFbSs4rshjNKuz914COwMpL+qbh8kzgouLSSxQDas3oK3bOhBfFtlEt2IrE8eXTw/kqhWpDQibqx/AqRtqEVLrMtQuvSzJK4ugMSKJ/R6Ugr739bv95cLsQjGSXSX/K6wpZIExyiV32TPHBYxxzxOOnmX3BJDfA4NhVVmpsSTZ1xmbIVGKf6N1K5fUzsipx9OUiAsmW5Am761K8/1BHvCWg0Fx1StGIIWxNNag==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA1C4CD0610E10118ECB2F8AF0120DAEB3F289BDD04-0\r\nServer: nginx\r\nWechatpay-Nonce: 36201e4403be1489709f6d1619d83f5a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DxiAcjm/LUlOpLhZHFyqQrcyAH37DXBX8XIHR6+rtvsfMvKZSL+3dx/xcd3aR9T9hqFatOzF3M55m/3MXT1PhZ8JmZbUPO89F82CZVWgmIrOnZmc0CQHBWUBMgcR3t9nYf8O+/AaGqObQE0iWgci+zt/+Ld8s7sU13i3AXTh46MnHyQmUKw31tpnfMIBhvIksvllpBFhRZDYZkMXrVx1w8U9QJkTHF64v1j/s50kNEcvOVo7L8ARHtZGCxIaybM+i7ZwX01Z6Vgcm0dSHpvivp+L+bn3i6KnUnIFNTo7fkaGJp33x3r1zQndHzAe+xhLu5UhBwy1q9GGn89YhSE6LA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211870\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122905820527\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122906977734?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yyzjztNZoeB5W7EHpmnQVhiyY0yulgNH\",timestamp=\"1773211870\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QzfMm8oF1Xfi20et3AaiceGhDgSQk+bjShOKfN/EKuhXEnD9wtg2SBywnalQNXi4jKP1mPI/6KQUxVq0K+UaMV7nSSLqnYgSetdZ7QxAXvqdxAyVw013Z71vnXt57hEunLoIa9lgc6AzjwX1HWteiM8vfr/2Cw59vzlyCm94bECm2Y1YnWQrKiQOcgLsKl+UIP34puJE3Yse6zQP2Vj7rtXI0JsfvG/y9JaPqiaydUUV4fYwGHgzqJneQhGDARzBLYUifeF4ixfc6cfHmZHJ5PaIiH/jHC9u27+lf9gS+LJ+D6wwElEqpdWW5LXbkkRYcv8gAv1HTUk3Gg5lo8ZaxA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA1C4CD06108D0318A6B7C05520EA8E0428B9FC02-0\r\nServer: nginx\r\nWechatpay-Nonce: 15b54f4ab052c2a93150c082ddf50cae\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RlHAFnNF0fOu2g6WhKJYua2qDPrs9vfi1UPP7K1pUGQShmuHgMJ0hpZfV6DQWd7xz9hMb9uQ9VqMQukCEYM4skYz2WGeaPUxIka7h0jM1wPPsNTt3S0jxF7qMlYLPY/rTGxz3uDfqVHI9jWih2K0wcZCwO+ec3nH4LEZ8DqzIkZ/WEGkgWjQ1VEeDuAm6gyMlB55KmANBl48c1NAYlR4PS3lihXo2ucglfp5JlVUbFYvcL0cZ0Qw6rtnZEWEXS76AWwLjLGH70Jfkj6kc1qZxP7YCcLh4CiUhkB+LWe9/MGIwurHfRn11FxewSWm6+IpPf3sJ/8NWn6sOAuvRmNs/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211870\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122906977734\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122907834387?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yQfE41Y0bZK0sKE2kKpcmx7JjB6UgQkq\",timestamp=\"1773211870\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ej+rnq2Vw0D6keO/YKDLtsZF6YTwSYnlfXRJdnyuZzlAsH9y3VKsM4tCwb4Gk8DRdkT8K0cCXiB1FlNZkgTIcm17UzY4pkbkYVpbPPY5eymw2QrKbNjpJoDWLGYic5mcZchSfyfVyBE+fYdvLAOBEdyDEjvE9oVF6iiw9eNRMSWyA6Y1JBOdfRwo/aMx/yqlOZ11CswKMt3ATmpbMLQsEzpSaONHUOfaMVwZ5bnCPnMf9cZqY+lUzXJQEf+zrxNIDdhL7YIVqKYdV2z0Ddwfz3EtzWM1X4/cLntI8g8V4XCijtoQ+kax4WjIxhujm3Zqy9sUkuHkHtTCiX0+Tj2J0g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA1C4CD0610AA0418B0C8C05520DA9C2A28EC9701-0\r\nServer: nginx\r\nWechatpay-Nonce: b4247b198bc3f17ccda51e9adb78d331\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JJtJcdJF+OnyZ16sr1O7R56OKseIafysfH3FvWeFMmVhk2GiT11MVzVn5fQ3AFCR/3nkfM1RCqFK1nJVWbTTPck7vQCHIpBjPqli/WHDd7CiplMgqtEdIfuxdQubgy9s9IA+eEM9PIidv0aXPRJMvOOW0ZgSPkr+0x3Qa12nYqQtE+GJgaJp6Qlo0tXiu5X46+kbyOt3LcKKxXfsIQr1vx8vmnQe/91kB/NqwlRrpjcd5B8rC5oXikquohC7i0ZsxcRvhujcJxHbf4EcW2ZwopIVeuh/08ncIE7CoBmeboj+g+tVmLHGrAS/RStLN4IMO1YvN+yulpaKr9LaP9sfFA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211870\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122907834387\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122909340729?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cCI7P36hfI1ObrpOFmyQRRxRPr8PoDT0\",timestamp=\"1773211871\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"I8b1IUgoReU/5ecW9vtNwdU6MZRSzX49zYw9zCLiVg3Ru6y1tLtXYqVBECNxzCQI8Dls+xZtICoflFvCccv7j86YieMuNwWXmTw2kAoogSCG2Hf+1z+JuxMpW39oqwz+UKX8ZUvp7sk1V3sLATWSAtrHlGqDmTth/sNCHKZFOxtml3rWIDsTxqZ2E/CENQYTBvs5cWMiCONCqbfEaFxW+iG/hkSRNSrgnRAmcivhqvMYeCeA0wBVtN9dZBf0t1wokiro/mep0/sSs73OwLwtYPyyGBMr9uRKamneox4fs8lZ/+j3Tv22dFA1It+HzWoZg1b9tgdCYYJT1v+ZIMiPxA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA1C4CD0610E80518B89EECF50120EAFD0328EBFA03-0\r\nServer: nginx\r\nWechatpay-Nonce: 8414dc0ec4bfb4fc5c5ce0801585ec8d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qlQn4ivavtatW9Br8l/+yEkGqN0IDszvHyk9/RIzEkoCgGGPGpQza8BUZfE6XoJfA2VZOgihRar/t1i+oA8F9/pIJvrn+/KtHD6BisaipmHNhoUitOYNJvY3YrxJupyLHxedl6fWcIwAGEPtX4GVe1t2S7Unk0wHgBj9n9Ih6ijf+zy+wTjjCs9oJwPUhGvriij2muOJgcaSIRFkoiMsA+rA5hcB2f++BHaELnwIE11bogdtbmNK2FqWPit32OFyMjy/c9W6joHpX6zutnudfmCy6YTwMuZDNy4+hqVIuIm6NkwjjzUSD4t5Zxq+2R+VlDSjxZSGI8PhkiQqnWPd+g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211870\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122909340729\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915016377?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CqlMfFcF4D2sH3EyRIRzLdUVS0eeVJnL\",timestamp=\"1773211871\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Djy7RlWeeFa8ewBHkX3pXj41RZRV7i2IyR76z+ogj5DwN2WAIjVAqGCbVCkKH33g3MyNwgiKGZloBb8it5KGr0DTOhVk12TPCnD58wLgtVUy1kC0eGRJEJusAn7lWs0i3728Oyc3SESIeEeaqwhYPPyAQnPHa2qHZKpK+6xtzxGE7vXZ//0VuPbFbsdkhx2lMDLCPPJpS7VtICE8AqV5fBFTqumzKj4yFMd7q6//mNxFk2VR5mPNKYNhSahKhrnJR/3OOw7S93oz1TZ19IiR7zET3KAgCmq+XoVGKtmDS9SdqMqrdsp+Y54cUP+dB/DNGD6LsvrlkSonJGfQ/9eXog==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA1C4CD06108D0718A3D2DD5C20B2F70A28CF8302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9edcd22222d88bd167269c17b2564d9a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lSjRCurIGxpWcOjbYE5RXvYKHv2CetI4LgZwMG4JMdKCecSxQCiGhI7EGDWXby7rhQMZlrnM0vr5agkqgrXJo/t62wUl14tnFJLdh54c+ZoK8U1anaIO2nu05f1fPBB04kdtof40adlSrTdxmeXFfM8gbKq6xjYBcIr5WewLA890JdA2Nq5Hu1b2IVUmDs8Afdu7yeJRdNoj2jHDdG9bHECio7bT85SqeMx9AIfA/4YVlRPFVeadFqY9D6AuWYTtlvZrfQlwPYtoTSLyXx3cOb3Gf18sxkw7OTOaT4+kmQml1n/iTfTmvHlSDzvUpHzsSrkvn5AYfnCi37PoQGWe4Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211870\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915238098?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"C8JOelEwx8mPmeNBFquUIJ9DOgH8cuqQ\",timestamp=\"1773211871\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"keXv0iQcV/kAoz5Dc4IZl/LtOY37GuK12GjynZaPpB5P+yKKkZ+Od0M+9y0HSEJ85wjWI3JP2PLuXhblX99kSleWGcUm2gEGT/tbQ57DhehRQwPzr4UyBjibvmd6IlsFYcAjR0HInmhUfwcH5jBmh7TWQI19A9QXwIKild9DkJ1t3DOYCmN4wbFeeUmmoPK4dzJ1xjnA6eWL4z7UVpqux+uonrWK7nbAJ5MDi7QVlJT2q9LaonaHwv7ctM2WWMW1sKqfCOMP537ePRY48EWny3IHZhkObYfhV/U+bO/IIOq/9eyM25jY4AbgxPxt0T29rq55GAPiJPImD8rCGjO0Bw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA1C4CD06104B18D8AAC05520CCE50828F98B06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a2ce72c4f544eb8896aa05d673b03c6c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Slx1T4Xs+F/5WfxOnVo1t28pnzb3dt6jXvMVmLkZ23JyC2uO1qWImlgB6TlTaOG2CPwfK7piwXY3Jx144pliGeutLcr6GcLjclhVhEh9pflyhIETGQL+eEV5NjTX2I56RPACuTwkoIY9S1719tl0vo3fV780Z5h3JGlc23rU5FE7czTSfBWyd5GiFJXe6JGG3LYg+Elx3yYB82zCU/0pOtf5IRHFdTyMeMxJptE9FkI2+460L4mvascHIYG2FA3+TL5A9WIkLrch+TthqGxkSsHTBaV6q5MwQT3pY+siSjm9XlKvbveCf8a69zO66qSqsrc9xAlh0cfwJhYUaLKboQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211871\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915241388?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JsjI5pkmy3L5QvzEMdNrFN6a33PgCJXF\",timestamp=\"1773211871\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hFJUNP6g4ZsOgvF4DDT2X6WZxholDVUGuF8XICy1rZveqPI9el7Y6YMLIQQKhZ2ItsMgqn3+76WdK5s7RBkdHY0IedXSONeqP0RRNRekv6W6L7VWUsU9IaW7DjiKRCIPCHw9Lm7yMTrT8+3re4PArE3b6P3SuH4ACUr3LzkXRx21cxp19NcdZshqoLKRubgaJ9LD12Cdy76mHEPZEzI0bzKQ8u81+59VBkX11dGAsyt+xJ+tWCdL966ifOMxkZKRnZSEWQPaIbCYil3O/00uUESnA8QxWeTaIzQBDSfqZO6nd1JU/CQieFExHiU8UrKXhCkExhLUCZthnqmqab5E2w==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA1C4CD0610F30318F2E4F8AF0120E8E60E28B7CA03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9008047986442c5e58e8671834d0deb4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CRPdezYwVUwkkF6osz6OCbFbdSE2YNci3Xk30kpfpUL450TxMpgk5wViltA0Y6EWqaSOVKR4OG4Ud974E0gWySAdrvP2VY2BsYq6sFpt9qrt19wfrBDdPMjPr5WSzLH7UtG9ArMTlciL1rppjN6UvrEqmfTmS3ZRRGhT/KPWz+z0Fyerbb3EQ9Eip4u+VitVTwqgs2o5+fGQtxyh8z0lEtugil0Dd7YekXSVVgR3roypb6dETaGA4YZsdWsv6Ct9o6GMdkOiQfl8ngJRFbhhoNB+FvEnDchT//pdbq+VX5TG2VgZjmxiYcmKuhwJt1f5nDZXZo+XqxBM8q1eoYveiQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211871\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915559376?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zrqgW53ugW74NA29ks50YMKEqpmH2sSb\",timestamp=\"1773211872\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NVVIVVnTYcvHuvbrYw8Vh6PSc73auJaUOrL5TFdKowhMen5H6PPgmq4WGLf86W1wT6qqjqP8gXxB1lBHaoJC3jLBo3Ee9WS+utF+m+q4FZweM0ICeHg0lurDK+3qMs9OR2gJI/mRTXMZjJfegf+mJkuNci8qA/DABOwoRCKyfPCTfhecOXaczfOu7d7FX5Hz5Cd//UagYX75GYQXaLaQ2daPQuAnBAEiUhp116F8ChnEqZOusd3QziRAVS2/wWfBMOFPIzVkm0y99jOPy+Bk9ggjLJkHahep7a9lLSriJpfQcxsMRDUu4nwtwX9YKcgIlgbk2lPUsB47oTenXPPUMQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA1C4CD0610AB0518D0BB8C5820E6D80428CDD804-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4be696ba6471b76b71ae881f0c062525\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: M1ROCGIVzq4mal3pquM7G+HDnKVlRMrVvfvtwW/L9iGBmkdO3vb2/CPEc+lknXRiGcbyZxvoiVxv9pB1/R/U59levYOoFJQq26BIggGOAnKW7CSLEB5slETjql2gQnAnzqOb0I4CIm9q5qCjJ4pyVNrxmuZKokoK3yaVaimxinhOO34kiZdtsMoQWvZpXF5QQl7xKyB2JtR/sVpp5+ScYJuHVTeMiLvYUwuMSO0sFhvUb3jTkszOFlGFKpXqH3Ue/Ib73t4ErK5OR3NUoX5UCX/7Dn+2S37VPjajA5DyrES9AYMmEvZk96jivCbk7G7Vbf95QXrswbuWlFSTxkDVEg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211871\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915577542?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qyVtwnV6zJedlckyPqQOrirzTGYbySz6\",timestamp=\"1773211872\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YqDDOFSuvAQW/QouN6PJKv31rY3x9HPHBWGk1ODCsWTugoXs64D/8c8OwT3azgDJc1AM5032CnXM0G79T2JcqX5I+sjKACEvuIN0/0uUPIuCoq+22pO4dq+rTVdcmdCx4cLGsjDwAzUCAf+Sxkr1qrJDIMwRPmhs3UhdHdHRDw4VyWuP5mMvHa7JMDSYy968OjAD+gO8uayD6nEWTahlc1UmD5EKzJbU49HY2Ot7W7zwp61dlxe4+hK5V0aHQJP7W7+spCGDIGojp0hhZNPiwnUw4vrjlgt9CGGY94XGUGxlWFcqRZUtcL3I7T8NmazjTzvFDa+v5MdG1SMlMmntjA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA1C4CD0610CC061886C18C582092CA3028C81A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f2641f29d6851b2fc607f13734cfe951\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ufy/fN6QQoOe+nr4i7KU/Oe/f6UbkRiTHOz3DsNbW2z7F5bC137HZF7hlMKIFyrbbUebcrVpoAoJRCe8HauisV7eELCGNr1H37lT7n8q8fxZNgUTCAvJ5iEZzAbKCMgSeOWggDctRUYOhcyI+jn874w8yYAxpWeckgWUonnQUnfffqt7PDYbbh9LVxgV0vdFH5piX/S8nRN1/w6LA3r9NOfZC/YoEuo/a3lEVj38MwzlzFI7qmLhmqYZHyLdreB22wgGLAGkIq1zB0zWS8ruICiMHHVtV2Hy5yilS0L3KN++ReVlQlvpLiZmIvKt5VmrJAIPk55ZQVvd9O5CvR0nyQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211871\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915589197?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ndqndlg0yHDtBvquCv5Qn8OoReA7HE7y\",timestamp=\"1773211872\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uYdNPM7TcaIHAUJu9qHMHarxE8+gXoBYEjLQiQLOjV/k55LBWA0HFe5LLK0RDyPNil71uqJhO74lQilFyulYbbOGPlCJIAFc8iudTYNDgbgcPDGZYe2ZcvFWMBQJWwpSfDy/Hlatt2YSlZo6M667z1QP+kF7/RdYkZ/iVRCphDYOeTTr/e2UIyn0HT+Untiz1/KFI/DFpi8963mN0D37F3m/689Ja0jZzrmZOlS/oSMcBpC2a8oIhLNECCikwpVk7GKH1dD9YlKykrGG+UBs0NQe0EepSTulCFLhWxpTvbQZ2zROfMb1MCBeBo44x1EJhiYDNGUVwJKsHWW/hK6MgQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A1C4CD061018188AB5F8AF012084D51728C9BD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 427412954cb8e9ef3e281a348caee754\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LWIluXryimHW0NiY+5mjV2QzthoqJziEwPRFr2zzrjPpGhTljAwFBbqj8xeoyTMQB9VkXBM33sYXMbHNC0Zfn0XPGnrf9ps3Dpn0g42KS4Hamd6D9piJG519rogx+Uvg2FGHA1Nghk17+Ye3gu5Oo/47Q3w7LJVSNkb+N2trFTlUbJPr5W2VA+T0EdsF8wLZF/icT++t+WvWoard9dX2QI+VIuBV5XiRRot42WEK1hV9yhPkVur9ty1Y9y3wosQTYKyjB2jbNfSY6n4o3qbX4VPUZYNsiE8k21IopOeVkWa7lWJrI7CNnoC/z15Qm0iqh0RimJSF6E7PvaR/x/Ejyw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211872\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915656760?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MIBkSWhVv6GilvQ3mg7Zzpcyy25jv8Bm\",timestamp=\"1773211872\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0e1tcXnmBVDNzX8qdzM3T/sFcCXe6idVQoMJxdtUiTD0AQXbMCKmFRRzYOaKkjpgEz9K7LY3PEEoIwktGFJMlgJiUvqRE2olgwtFkZGYn6yhdrrBbaObrFgNeg10+EJ9iWvG66gpcKN9uK+6WUL3tmEFHtCAS1AjNgyL3MAcfYN9U7CRF8w/pgGuiKDzFhzc+BEW/VRGFOu0yRFRLvwNMpQFMse/slP8GwardF29UsXcql8TjMLhYs1D06BGOw9s7QWlXLIre+lTJjpraE+mcfZQrUR6HCq1GQKyWoafHYBZBjuRYe6/cmafl1zzAGDavQ5iFKCjyjsthyoItW+Rgw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A1C4CD0610DD0118FE8CEEAB0120BE9C0F28E87C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ec8e0267ae7c0ebb7f675f1af0bb29d5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WeqC8hbJWazupD9ZSD67vfQrDNfJ52rR+3fdhSxMbv+7I1zUjFhxQGLNK2Yh7+ETPbuQODLb9lbGq036/YyGOxTIQa3ONHeoxVRMj7hqP+48AudKH97LvqRmwDv9rXPF2S7LMDeyfRbmtq1CbG5D3sK19FkE2HJYNiejfuBA3u93TsAemtpzZUFWV1OEfQ4UW3rI4eqdMnD7ZBbbP7kGZ04wAqSpZ/HPbiw20HkKPROkU0KKvtmOHf51e/sZU88Tqq8hqaCVIdthiKtn4UNAsZzrGaFYlxtV3XyJ7qZgYI1QWL2BUhsbzz0LD8H2hvom7iJB2iH2bEQ1YCbDOH6L3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211872\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915685776?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"T7CGSEzXBWAtGzWLRh58yQIvWTfyKYbt\",timestamp=\"1773211872\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dA1g3AYYru+L6qtLSpzr8s8p9jPANy/uyTRDH7oCbrnuE58PNrzgNA84dTUlZfMGyjcizBSLVtQU7sIfqycoAEGp8dAT23Y6WbzM9eOVlgP4qqkXlKqYQi2HwIp+gfF20kt3O4BWbh579F1P0rE9CSDfLMtxF7Rn9zELieUPFAm/HptaMRbpGtT4+3IBXDbiiZW7BPEGPsW3wA4mgo9AAL9I2hjKLwBe/krul0TnzyDsmzRMK+YlNpKrILCevKb4KcF1NAyuP49V9ZO2JzSUEkCxZtvxYEGwIcj+NL8jh1Qm7ZGyRiB9J/he9RgzKb+wtV8lG4hCpdtNV7sgu+qcsA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A1C4CD0610A10318B89EECF50120C49C2F2888C305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8a1d4582a35a6c18dbece986ea290df6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: m95GZ+svrRfo9q9FIhZOb46q6GX3lheDVbTFFjci0xugq2nz2Wv1GwApnyf4CXN3chA1MDn3E0aaY6MMUHQU00ZbLum1ksMx7FBPUT0M3TS3M9LdUlxUmJjtxmxXs4ROyUzyjkSDRVcOd8be6aL31RForsgpeLrE9zCWHEjog5xvLOQcHOFRVFmvRpjLoGikLt5mKMiAEIKjdhkXGjYx3NhM+2rGJhAlg/3Kf0m7vm898cqULEUhVv3tRgC8qXFPsZycqZZZr73Y+9hesFORT9UfFGlmNrtlnGW/odejA+mDHFqdw8mizN8jYCum0ie4Gma4Uv+FcbWF3FKX/x4ppw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211872\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915689368?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"x6g8QEh53VPtzIgyczAT9gSDbAAQLJkD\",timestamp=\"1773211873\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QiOLTPfKaWMcqp+RpLcSSfva9wQ4kmlBAS2skhalnsZT8ft4XMhHNbJ3CMvLtCVGKPngA/hLcJLbEVZuuIAuZ0fHs/xUz/rzM5m8uun0IzVBSSsUtEFd29VJ857VOszIN9uRsYCTCAxjy658C8JgLLn/57fPTJzZzTcTw/Jp6eyITH2Ke7y8lH4mLacW7yT+JtPjhkm5qHqGPCB6p6CdBxFbCb3kitglQB26Aep7GOsedZXiWGhmBdxo1bRKXjAUsfQ4wtReho+K1RWPqr0o8+ykClSlwol/zARntcmqM3y1ktNeIQRQzAp9bE9Q6pWLWNTBLWltMa2MYlV/KCcitA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A1C4CD0610D70418C59F85AB012086A41128F4F701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c24eb97635dc82c2e4c229a049bd7868\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: J85eGmsPu9pjmZyfs6FJc8Rbo1Ai1LTOMyky/z21Q/9WXeAxzRJMOw3Sumv/YCAq+Gsf5zbigv1mfEecI91ssVYa1w6TGPYuwJwDkr61Hj2W9xkkrSFNajjlsN9JTur8grvsYCWiTADdi74glFmqJwSJekQIX078NtSVzfpbAiPUh1eSuyvV34ADfFjAYmUyAeuL13FVoazCKVF3C1MZUzDzpIYCCP+trmgSTWOJdvRl/+HPZgaI3SgR9I5YOiG/4ZKu6jxnX/R0kspepQThC2t/PHze2umOOiakfpvvQVZ849jn6GJqhi2Is9cNv/+WHOIP9kpOxBC/0OWVdhDQFQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211872\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915697397?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VDYI5Wpg5Pp5vKG5itaKw745vdH5triR\",timestamp=\"1773211873\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Buk8RS6qgd56+kCDK91wdnxJ14UYnqFZ03UgGYZzAvnaxteBsoGkMuQ+TW/KoWXPpAczwlVo/GhJ6T7x62SoKzY5UAY3+PWXRBiOfQtlIqLSEY/hJSzq/rbxtj45NJYbj0O1eayzF1oR79NWCkDUlnhk5lBXBECTMk3+hn+75DKn3CQ1nv66KDwFCPkCGzxbTlfzIH/5o0WbCeaR7V334W0X+yRxeu7oAWt25WoI45Lt94bcg45UejWU2l2YqpI1WDB0d0OdWe282IYLzheRERcSNwDM9wAmPIzn0dkEQs0wRUU4iPBrt4gbaHE2+DxUutY2+hsiQB2cBI+XtvemIA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A1C4CD0610820618D59F85AB0120FC963628A7DE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 22a707eeaae1fdf87c8289d6430183ea\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: h2tHJld54OBDce+Upj+eOUxv1I1as2cdLp9QkMPwYzw5becL7vKAnvAP0y0pfbCf4Vq3H3PuewhVlA3MMLaQxLuiSGXaI//oeHiSC5PdLoJj6jiHWMVld1XaLjjSWsKYFlGlH34U4ximBcsqXOvUiFoF5VN2Dv70tbsrrOoyjpTbnVvhKidWrAb3FCKT2a00eWVheqwO68zRSuPqG3asDLV5bsZP3uFOE1BY+idIDKJO9et1S79tK+4ELTah4u9S1vxMKW635BHuy/EK9EmorxLuJJIdp+tMisO3DYTW/7OfHEtqi2BJ6L+GCrEgYMhcPPEnaXHo4peOuP68wddGXQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211872\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939165324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8dHummnKujK798RqPBHgkDqo3tiatB2A\",timestamp=\"1773211873\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GGEwoM5VbMA3yRsQR94G2j7B0jPNLy+zdqRQzNoQp9eJYsde/mCvnOZAA1T21Y1yxfmdwo+KxHvAIbI45YzaV4OvFmS3XNFZd6ZxWtqBtUPLNyk/vRB2IjeRY7yGFKyJM3vfcx9mDUrYPptJlHYL/XF5LuqshhXEX6JU7nP3SojCLOnwdrYO9LWI9tP2YSC7jrO1uxp5TGtyF7hmRx2X1SQMtf2TgK5bzVyeSmVD5s+F3qbt/yV3uceAvXjfVyzRRuoVBw/b36ZeJ/fNnMhs0XEgfCXTPwmFQdZxcnHtgwKowXxiLU4sqH2/9UOUHhwJtKr/rEwMDkf+jEQV6QJ7Cg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A1C4CD0610C40718E1D68C5820FE8E2428CBD004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: beb8ef6e9fa091d6a5e96a4e274861c1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: A04Lsko5sAlC0XkXi48Tt6ZALa3jQ+QNuuElphbaC/eFUE6+9PgpX4zKny0AW9dCiRAWEr/zW0vyVfNu0BlQPHFkT8AmSL1niHSEdl4jknetWYCY7i1NUAHBIiRB8mRY2/ZWGPAa641bEDxCoLiaC2wOZ0ruvHLB+RzMddE2B62ugYM+vui0I9F2Qf05ktfDOR/plyfSpCGa0b/4al+UjvrHDuNJ6Ww5nhHkTUjN+vSr9kbuGv8Ug0szHQN3PktsSF1o/wo9h8m5lE0yCnQ7VU5avJhjWA1N3DWbrvvduOTk7zfniWiQMRPpwbkWpyCHixIszh4ivydUxkbMXnuPdA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211873\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939466673?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bLl6qXaL6n2W422pOS1QcTj4JKhBc1Z7\",timestamp=\"1773211873\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xi1c/2ayLN0WhT3dKiC29X9NAM11vkkOrqj/xMRqwG+UIGXtHAUGzEHkzMdKdLpg+vKOe/lGXdltRQf4qLx0PKiMgOjrSdwZteGIfmjyuOSZWQgeDviW9vDTgoP4SNQOzvaWBLhfS1GxPwzCkPxrgCC4lnzcTrOjX29rTjijmSPZlVlnRs4EKQLi1Ic+vbD0TZ816kprhf4sHER9sAIlWTKBxVHga2tM/+eqB9uySV5QmSYDMbCtvJDphGB/ST/ozULnxFYSVmyxeJfFsvY6pEVtG4DwACIE8JCg2qop/NR/WX6CxHMjtljqq7C8CIghoByRz3DWrQPM/Uo1JaZfWw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A1C4CD06107418EFC7C05520D4DD2928FAEF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8cd179906244cded1d02b6c2ad1a259a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rtS85ArZMen+vvrjw0bOWNws8AJ09hP3ySOFNaoCbWlcuJRedaEqKg8axTEb4B0zHhiz3Iq3InIEZDBG61oVbHp3rK0TuXxHe5mjG51hiqjbtAPXhakVAqHdhHnXcFjhvcLNlz7Km322zMdiIvVWFb6cdR32yfXQvDRuSzi288L9nr87iVGTGjw6HUjTsq4I9OsagDAQL/VGZKB3mfxRXHvmrd0/09S1l4J5/Y2kNtnDYPxTr8Yru4LLUDuc8AtbnlhorEnM+x9yGhaHsEXxSLnLzh5RaDUbgA5dq4k1TJ/QgrRX0fsZ+hVs219lmZz6riUs4lzMysFHH8uBV/NTgA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211873\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939823237?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"675kP1emn43z0f2qSTTNY3PDIkxsRb3c\",timestamp=\"1773211873\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"x0ZalPSeweB4VcENf76nwEZ37PGXkjcyHjODCpUqCNl3dt1YcWV2O2rKWTzQ0s4KXF3P4WJ+vObQXp+VgMFcGGXn0/ZaAS1X5VJmMWAE35v1ENEtjMFWxw4xP8EVhGcfud0YKOV7DYMOzc/4OrFh0mEFe6SQN44ue5okdB1HacxoST90PMZ5bOfx0oQstVZrVwFcvnvqGClwcGW81YTcd/N2SbBsC9zTtxxxICvPN7Ihc5VdH2RXYnc2QYxZteR6CgIPhi1rYDhIZKI94wV43XNVmnx1ZyuOPWq0QiOzn9X6OifgbFLjTzinCddvLuWa1ty2ZcB81YTPLIfhH3aAaQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A1C4CD0610B5021882E6F8AF01208A9B2B28F7C401-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cc4a28191c3780423748b7e1185dd28f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ettEzD/jgNLsxv9nSL8tnj9EndCDK5lhialWYhf7adAinUqssk6BAxpCSdA/4yyaNQAkNYJkvODYAljEeC7b6dSPhOFLYsK8+GlItOHuwhF1nVaxU5PEMje6+muUuwFwkNafab6syKt7H08c9VfBdCzQ4xCmjSwBzMUQRKMnJW/YMDtVPX4/zTmhresSvty1nckjLvGKbXar1n481CtcLtDuGPJg5Wz105JvE76Q9b5q6pxzD6uESmU77TIZ4CFsNyx6PUS4QI4jbSK4eeFRPiCuewJ7+K0+hutgLKmKnkmupLFSpqurnP5CZWeANC7JH6g+W9FRspzKInNXDBv38g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211873\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939926352?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ChMCKK5lTEQLuiarnsE7lVX6ryd5ZeaA\",timestamp=\"1773211873\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oOnYZX/kdFycPRkwZ8qlIOgtYY3iRg+oupS7HZuv4uMfNz1LJx8WTGoqDtrH7WXkEOeNSqKTOcC9/mlEybt5Sk4nZHPYpY+vqGQs0pxvc2zyX51HX66a/9rGc5v0hQduXN0TAc3h1tts37deHWwl7B1lqPtovu3uR9JobRryn/KggD3CwOmZ1/McYcPpjlrtZy/zC6Jkd6OX03jlNrTUekw3z+MTQGBlRPL1JZT7ztr/l+Yp/X8Ja4t44eVgev6diVeCa4/ghm/yceV5JexN+UwX/PHTPrTG6tOpEwk/dG80Ky+pdZ/uPF7ulsT08E9sRkVcmUF+b64yF5vxHdbM4A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A1C4CD0610F90318A699F5AF0120F493242883D804-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b0678d7892916538590dcdcdfd3ffd87\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sqVQDet+PCNYgHCzxyOqgyApZ02PyTsm28ULA3F3ZG3HQV07hezTJDC2IW/AqymPEb+FSbzSf1R91z4sjGKg9w2V5+46JmDsXSe/0f/QJYWBkm2gr1hYwfS+diXRDIOMVaWN54p+E4ifm3zBBP33V/reOoWJXf1aWQ9jYDtkUKVSrwG6ZmxD6jbiJozUiFUvDh3P7I/CW3hR0uJmYNJkwn1zwXsF1U0YY5QztGkdkdVc8wFOEs69kU79Ro6a9GxICR5dI4ytVMLKv/Tp9WtXc4/FND88lZ0W1kqgQCkbbQPn0b9XYTsBM8GHR+sD2K5ZWhfFpCaAmKKLDSqCA5FXPQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211873\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939999955?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZGPaVBwf3luzmCfjL5glOIMq6JI5tNzB\",timestamp=\"1773211874\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Qt8ZsjouFfH2MlN9NdVnOMFVXp1+/KZ8Zh3tI3gxVK4UyteT0sUUIRHdHsHrdsnKM5PSoqEtHI/ZXQhdr7eVVMn5jW49pfAp1FA04BT5A7Ss3dU3JDQppInsGw36i5NAsBNmT2t/5ibi+yEvoE3NicIG1FvGMnEGNngB+n1QlS4CGQhW414xWMfd9yoB7QR667QA3RpE2DJLfRl2YTY+Y1jUqUPoR5+ZsmXbTU9+ct0ETT8GHmNoPKPPH9BDMNaoxL0v0nZ9YJYv5ssxljA+LvPKB77YOEox44qMlcGuQVPtxeOPE+rvKyK06SnqMTy4GKfRVoVSgVp1P1YBdWLr9Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A1C4CD0610A70518A29EECF50120DAEE1B28B8F305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: dc2baddfd0dcba23ba7a75d5fcf83877\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZHfljt//PwZse81ASwIfsu7hVLe6LpojCYKsNeK8uOgs9eWR7H9MCk37KDn7ZO9BD65/WozzL2JVMpBvX9bBFltCLOU8suDw6thtBYhUuaytmCXPvbMyj5gcN2mJ2KiYaOIb7KytU+iyutuZ2FbJ+dcpPQL5jb9UqSyyHJo5J2EIugaLweTq/0w4Y5BNRSHv3i6lMSbtssa/69GK6nzW4r+wZeoZtQduQHrBmQQpYs9dkFBzrZAfKMVy6smhTFzw7mk+bWXrwLEAZekeSDFwtRIShHp9qrd/WmriSNTiMrPX+RLJHBW90P2jYGSmMzx5IArYqQzQsX0WC0DY0+/ang==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211873\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940123132?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VWGJXuBEMJ7o8Z4qa3XGQQqkwUpv7s5Q\",timestamp=\"1773211874\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YQXpCpS7YLXa78VBxEBPbiDNThuPTJtcHAIe6ZZxYJiRXRuanLE1Cb7dVymlec4UMNSzVRPv8mH1nDfEABJ5VQysTXtLbx0NJ2Q/9JtCqzaEr2U9VwaVr90pl7HZX+BA3hDoHR8ousV1uxE2HYTXUbX/S05PWg1b/EvgXiD4NbS+QGAKU8rz7i85zLrhoa9HmswHz8zyO6GuRcqyVMwEYeS+nXzPTuHDTOF3jkQHKd1/8VEObJ4xW9bYkF8P6FkywIfpJHwwV7g7crXM1Iv5m8giX0DFGPHiwyozoA8oc7OZOIJRr/69vm9ZwBS6g3V1CH8ry36IHwJGOYTai54syA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A1C4CD0610D60618D0E7F8AF0120C4A231288D9102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6e4a7bd0cbc25fc7f02a0c0ba64faabf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mFr29ffsyi6Bhrp0OGKjA77rxUBaT+yGsVd+OxgApP1DSLt3Dgg9JQCVjfqaDVN9F2djq+30MyfVZJ42R9hNVsHYN70FzazXsxgSzC00OZETdJEoCT81XcRs7/4Q3zGQjcKrWxMF/MlcGBr+onXdRIw1sS6QNw+/5GOSYCix7aIUW8PQNG8OoFUEbh5552egvIbUpdIe8dU8wTlwk/np8+rtdHQJFUQ6wbo2OqWpdei9LyTwuDye7c91mK1/GvW8A8/r/EY+uhyR3qqa+aZjRbJqgcb1K+UoYYynMdACGdGKOxB6GypzPjEMPuHKMkeXr9lfV/X2M/oPwU7N9ThhMg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211873\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940297593?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CW44HE9NigBUjufO8UN7oomzzJcKVv9c\",timestamp=\"1773211874\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DQ38gfxA+EDwscM4St83/GV+yQN37iKhJQPCghim+K/zL/kBozd6A6WQ9cKom8+U8DAvu12x+A6FxJhjWlL7k5mHhcRxFE9ZdGAEzYSzZzmhlr9v/uDTMKyEz+NlAKlHENA89a8RqdpvAYzSTWs9b1D+U6hT1GjGCvLam1Z+GOQjnTocHiygo1Dcs7RhU5/eRtn/Je4yjxZq2l2eyA/rT5mnHwDsrPhRwTlIHFDe2QJ6pjkDrC+GQY/4W6CaAHUyUjwKvWuqHLcBZoA0Elp3X2RGMq7FNjOQ2gjMFycWtzRvBi5OAkwXLHznZpZ+9zxupCzfCCXmkKl3F4Xj/SbB5g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A1C4CD06102918BBCCC0552094C82828D9FB04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d3f15e75905fc007bd755156f8729e85\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gvzxRArrrCDGxOCJbayQM19B2zox5fSCBXHBImaw3wQgvMJoo231os1Io87XmnK3huYvixq+z+WS9uV5JNtvxkI4H3lySksyCNIUVqb4MPvjY+Sr5NTjUZ2QJXNGnNCSUxJoX/oYzQsPay9yYKBEBmuLciXueOU2hru/nrLTUmzrc2TOFSXHZvn5spZpVil91FJDhYargxcARGUbxvmz8MdAVyLmVVCEJXPA1FM+YCRkm+BI+Ua5+WQZUhQvUeU46hMcgrp8QmJLRi7VbW99AXgkHYq8boXokbK4p00OD4sz/XZYnLjZ6R/yLTGie7vVn+EKvKv5HKeXLoOJnS/lYQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211874\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940373711?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Lv55I8BDg09QddbAuG8K1suHXeGLoTtD\",timestamp=\"1773211874\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QzyZq8hFMN9c6t66WFzAm6AntSNvG/1Qb5+zNMXFnoAtdfOYuuQStg14R2ghvSNXw1DJapTJN0XwgojPSN8Y9eWWiVqKZ/iwRaVvmbANg2jZHEvXeQzQSPq4iGfr4pSJKDAauDgqT/Nn7nmiFLH7kIx2t67xSjWssFinykd7z5RTwzjT0/4z3IOCR+XADM+TJwlxc3JSKGSL6piL7ym3AtfOqB+0R37lDqgVpBZjPmEKGKTisFPvBsrE9KYQBJV6PvgVzay91YFWiEijQrsIKrncirynPnhg5dSyEfE2TMizxSyMb2yK9iYTBetEPZnhPuNisfcav5IUuJHzWH0esA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A1C4CD0610CB0118EBD48C5820F2B70128F99906-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 81e6a601855f7ed5086462a496c3559a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jtP+12VgDhNGFcnz8tqeSAxhZoBWgmXzjlXL9ppEyi60YGZmn/ox0gSRDdxo54Af8iGtt2hO++FGN57g3oiEPzfrerme8d+Sn/c8LE0N0/k7rc0oiJNB2dP94BwcZG2NiZcOY1QvX513+IL76tKu6XdTidePyiu+l3W+iJZ5DeHZAcNh45JuEbwn+sgmzcs2xEXDerJDWfaxGgvB7TsZq80P0oqYa1gYkWkQOi/x+lVvmCDcxAEGrBHmwCQUf5fYoEskJXf8LbBP1hjSwwNLYu0g+VuiX8N6BXoPbPmOMCD3xzhb1eLVQ5i/syVr2hvoUje3hjGzUxqKwP7AhTKcMA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211874\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940697377?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Kk7Su2cdi87OkDl3eeQOLRCGvHJntYsZ\",timestamp=\"1773211874\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ogx1KGcq9MfwiSZDVz2iID3ayeINWSu7vA4C51MzrkXFqngq9df+gfraatOXDUCx1Cp2PfeKfIrgdZ9dT6CJcdcGq1TyDmnJ8zOeycGOJPViJmzHgC2esZQXCchoCrnodsv6bdmWPPJcwGkIe7eDtYVhOcB9Y7/eoC9aO0pTnjbet7Cv6OnRsS9ffiicwx/FgjUt9p1z/8//NWxBLqQqbr81webHkNHcK6cFBFZJ/TD+oCbC76/PZSwh7DvRbI0PXMmZEw3PmD0/8SsEEPrQuzUr5Y5c7hHn2j14j7bY83HKA/nwE9wJPdl+EOHngJsOZXCjSqgVpz8KVZWHpE4zYw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A1C4CD0610840318B1B1F8AF0120A69C1228AFC003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c66abe61e3d1414c08b21421fe3012a0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jlPnNO0OBTrfPnCcftlx+/VQZDGiP7d24Fpu6+td1VMDyQ9jdfvXctnCT9sBBMgCJWl5w56f3iPQ1jzgjf3K8BCYBoDztBrdfatWaM3VgQrdZC5YvU8xk2O6heEE1bRczOb3RmIm/xBiojKlGfJmvceRY2E21dohExWgTGDrz1+ajAbGqi79FraAtjV53EbJIv7E4OFuHMzLkME81EWXuNarKoZjlz71FEaI+VpOqnyf5Ff4FxC9ObJXY0ZWgO2z5t8D4Rkx56YOs0v3kff2JUWlb6FjDZh4L4DBUGEcFLZ7lin+su8cPk4Abdg2BKhDyzTTRrV7GJNWDxOfsIcGxg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211874\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940710641?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2XFdvYKEDmIwWmhyxW12tYOFKp5QpcIB\",timestamp=\"1773211874\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0GClpOrVFI1Il/89Wh0Go7GtP6l1k9UoTDvBiS2Nbr7+0a5bX3wWnnHeVs65pi0KC+hrI+C2nVDHetIj2bUEQt+iUhb8hLy+jMSZEWjfTS1f6Ud8FLxfqfpJCbATUuoUBXvgZOjuLxmqfcCXzHEeof2qnI1w3KPVsONg4C9L7y4XOjwQITGjCkyumjhA1sJtlfdB5+PuP0a7ywX0xapZA765l+NLIg+dN3xfbkkM3zhUhp23WkTDSxiTuHRc3zKs2qRTOwRKp7zCREq10WgVncucqh1QLp7RjhSiO650xjX8MWFD9WNZlxLjm2Dp9C2uy2eR6Vgiqdw+5oxPGhTftw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A1C4CD0610C10418B39DECF50120D6A51328C4B201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 82e5f20500825677ed78d3822db4df43\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: G+cXwBTxmK1hzHdn/TLiNhKulPiAT7ca1dDvGg69YtNtY64fiaDRdwKb4vJOxUUB8V44aNl/8j+XgcU9XyfJQA91tQL3szhxgM7fTGEGF5KJ6JP1VM0GxaFJjgtztGHsrAx1DHuxEI6cIwdM9kASSVm0UU4L0AfprTPoMfqO0uoSFz9L79qf3y7UIPu0POrCYiDsdAlBYbHLVPBcXaevT7lYa+h2eza6EY884i6+0E4RUbCWQNLEVgrVD68o5nbttGpUlZ0/hxhssBxl8A3O8aiYG9A8rF70fGcSCcfARIYio1JvQ5kyHA4U7cCDuwiFX52JS3stG6cvKw4tDUmllQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211874\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940773838?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Yy75AY2t1y9FBD3gLCUlbywcZVjwQ1rT\",timestamp=\"1773211875\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DKvmNf7cpN8uYE/fmj84iYM3KH9rbDIjD1n+qKG35F8zpbJlbKbhkidQ/X4Uo33JurJeRD6p4C2uOiYP5cMmj2AVHG1f/ngnD6z9PSStGaoRpEJ8NQYA3q/qOBWtTzeDMonrupjkR0Xv4tnyVmCcB89EayNiC8FCiRX4SUeLaa+Elvikz6+fzPfh/TJQidDcfYSpdqwXRp7qh14Wz1ONiqiBoNAf3fvma1mKHw8sYFGG4thJHGM90nKZMeZjISijlTBGFTdPtymlqNTQ2FtAbcjzty08DThLsDe+e6OXEEUvpnzuG1PUlPupy2WlTC+J8HzzyV0hDP/hhzIfTydH2w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A1C4CD06109B061884C48C58208EC70C28F7CD01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bd969daeeba6318d84ce39003e551d89\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ByxHBkKUxw2OtlCD/HYqQ7SL3twsIQUYZZwwGgPXL5qmkjZZL6s2LNANfMjCMy/D99UzqBOQTkPJkRb/vzo26bQEX6BoHDzu/OQBWIs7Hb/kxRzdtDnbqPvn+UXj8whv349Txp6x15frulq7oCCND4JLQk7iMn52B+9+bTkgOSYD7WlaUxTjxciznE4SNifkAgJhCB0sL1Ho7kVOL+jyFfGep/b+JDHcMGRaCPNny0oT2F5fZbrz+Hi9PvNy3P1UXjSexODH94eRxTpuQLztSxfTnjFN9yxfgeOvg8rA8iUU8IYJVKgkNtDpc8jcqCtmB2Y6k0UtKWzkwfV2iLqmzg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211874\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940842376?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZmXwhs1AIA8kGXcus10if6oTrUeGvYFg\",timestamp=\"1773211875\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sKIPwUJKQBkLXO0KTAu1E5EYmKEdMXGiX/ly+co2OabcSbowUJOrC+qWzQUczlDJYn7m+sm0PU7YFtlyegkNOVdqc9Ld7Cnfya4JyzBzOksZDQiwP69+W2y2yk2LWb2mm33XzI+IJ4okE9U+D+LTmHtUGXIk6iUwgKCrChM2DqKNiKDeCu4iWzDVPm3lpgwUB59c0qQB+S8YpA/jl/gUxLNstL/7wObwhBQUrfIns/VlJi54UYsZ3g84a6yAYTGzvnmS6dOe8QpMslyx05TqkLdL2a3xw6PtaS0mYXFiM1NcO28TUSUiotJJnhQ5R24wgYl5rYCe41PBXDUAC511hw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A1C4CD0610D10718B3BBC0552082BA1C28A9AF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a51ff2c081756c7cb19784cec99cc0b8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pdHlcaj5GzfiqtMYnsIJvimvs7RoIue6NH9AqZVSvRIoV3gK3Lb+A0gjdv6j47XeqZ3OokkMRbH2oO05MW3pol37Ifca3gieSuW5CDsLKdE6vZBovzKSWDpj+AW+Pf7nSWDx+75Dwdw/t6TVh4IOQNGySf+qlumlghlA7mgezTF5C0T6IigT5USkCuEcf8Em4RivzbzbyRwUWc3Qn3hNhPqdkgq5TnGbP512FuRzInpwwmiYk4lVwPNZFUExOmxzCLX+oH7E6rbl/PtcGIA4OlthNAenK8qBggg5nRxGt7UiFnr+cfytBWXhyxIAhr9qoKXJW7RG8RRZBZGqOIoMmA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211875\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941050911?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9Zh6BcUR2uUUIt6d1s7yUVzCTd12nuzL\",timestamp=\"1773211875\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rL63oRyomtlfuhx07u5pT/0j9v9IIgiUHtF4HmLcUNcaiLiSp/MJdFjaUKbQhhqQWLYaJxXmTRuSZLhWLbiJQMSkK9tPD3HRg0V2hSkot9mbgnP3CLrirC6RZ+L/w0hpfJ684B/tt9qhbgJ0ns7gqE5ieIVanENL1ZYwSCGJBAYOy4eweVz66N1HgVM4rOJwHKSnSAPa44By26acE0Be/8u44HVTsqkUMYOBa2XsAkcSOo6R55NqMg3qJomJAA0NcRT8vhjA/YGgiXPtujzw+/S4/N4S4RyaSUK9+5dSMFDVG+TZowlbOg6VS57AKWFCF94YSiuEGIyxvXGXcv54qg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A1C4CD0610AD01189580F9AD0120EC8D12289F8002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 65a2a99faecca4db84cfdedd25bfe14a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Oi4D8u1I1gHX9UF5WGj8xjtOKzqqvGzK1JTDNq2ZE4zYgtZslB2oS3Dm5TRD48A1Yefvro9vxmlJF4GGirhS7CGUKmKYv6BDsyn38sZLyceS1pyf6a27LlzuLjD7qxjDz/5Ik6UpLc4gZJfJPlPH31Vss9gnIFCyJYxfCe0/Clt+FLAF8r3K/LL5EmRJ2ezghiQ3DnqsITiCA9yPEQ2sOJQNjhl89p4mJn1nxYn9TgGwB75nCH63gQ7DRfHd2bLcZncmJ0/Xoy/DhW0JiG4igvTiU0EKsq+xEXRn6WknsLvgpW1hoDF+gUrOI4bbQbGewUOws16QSga7aTeD9Y9kQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211875\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941197720?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Y9zpt0jXYsLt74lIZXbfL7aouqdDgSaZ\",timestamp=\"1773211875\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jWG7xJjpqUxX37vfUY6yvCw1sfPb+gjHjn6t/kXUEj8yRbRMWvo+wUn8dtG8K6rgeM12SBtNCVUSeb+IpR6Wv0asI2aUta5x2zyDfPTbG2Ho7H8cKVNCn5kd4KSh4fiK6BT57M3XMk3K1ZAfmTQnEBU6JQ5Ub0P2SFE9CrmcghZ8MhQZzO/adP0BLNUGtzOOgObK9NadRBZuowJhNOfHZN32M+vlEuRxE/jaOvRIqctDr7qoAY1z2JN5g196teXsH52YKZCJEsBBlzPSXcPD53quhie8JtQMH/KvkMkp0zmcvFfm2xotEfD06V6PbLRhQZnLwrNaCUpX+dgBJ3V8zw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A1C4CD0610E90218DDB1C05520CEFF2028D9C905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 228dc9ca2707515fdb0776d59bbd268d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xaSP+vvHN8Iw4zY4nHYfIpEMD1ldrWMDS52y/YDa3launAe+Tb5JTtMn5Ao5nNFB7YVAGgF96qm1i4SBp2EAnwhDeX+5AzUQhMIhJEqW+oiUJov/iVLOyKybx5QuvjuVuP40qKsDZlZB7DuTeNZU00ryIMKaULScT9Eil8Hvm0b9SjE+zKdmXdoq8Jb+n77FzpRQSz1M6GJa7Jn5yhdbV0TGSxhRn5w5CEAZFnXMMLflgKy9l6dy02OzoSunfAhCGo39yCnxxWNFVSCAbiC1h1Xx9K0+BXj8WVr0JPAkTPhnrRH81JcquOb4r2J/HwQYFr4HKUTnPjn/KHaKE/ON8w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211875\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941215976?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"96l8ZHP6RPli40RtNrjoCAQtQu2M8wzf\",timestamp=\"1773211875\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fHMFxQ7793tWUu/WQhrfrmQbXJ0BqDe7hx7GF/HffEKvIUkqY4n5tfMOSU+PFg6sGS5Ja2VB1HR/jKZ2AigOaSk/iXX68C8QgmadVJr8L0kH3hkF3eNyqKosz1h2gz5fGJlEJYkn5Ode7/RrMHafro5+OIcyIltJu5QfyfwiiimLmQIJK+VEUzdYQru70Z5JRK4Bhn6bTqk+RorISHtBEOe2BiBCnVdxBzbn6k2atE9d4cdxJHjrDU0a+L754waORB/AMDmkKf4l1nBK6HjetkAffrn5h+UQQwxyOeSqp9sj8dlrgmlVxFM1bw+8tZDnjo9iiOaOi2sZkvuWXhf5rg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A1C4CD0610B90418D7D68C582090862E28A5E101-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3b077ccd0ca4a5de6dbb623b93e7f54f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pIGkSIRWyHJoykRJaO7XTYYf2GjgOS07rarzp0tnWMOxDPoNdWa13q9koNbr1H9owhZd5Nkb7/oxuVnMwANAa0sr/a2DKI5/LDc8iSvbxok/J710+b6unUESgCdI3jMWHTidXCQtlEPOxPsQIMHGJnSWz26mqA2NsxGwTyXIUeGEvOApvF9cNIIJX2LpMsfTNxAsBQEJ0GRZfk2t9kpEKFtLGtYE+JtO30rM4xqmt7VH2ygZOABpQGeeRdDvB4RdAc72/z9uBYG1wVYf+2iToiMkcyTgcxOp0xugVGpOSF4CszooqnvoEyAfuzT1xnPLEn+DkQCY0i8SkfLI2Ptl4Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211875\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941509391?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RrEYlIyXU3wF7CCnNGshx5eDClNnfc1T\",timestamp=\"1773211876\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vQDuIajTZbTQcWRvmD3JAt/rPKVZV7HtLM/IiJVL6EJe0VMsWCpW6UBm8wn/RgDy3580uJl1xAGJwhjz571XAxGqn0AfMcRq8zx/lh2ZZkTKD7lM72nIPYs59E+Q6KdVyB6NzbAhJYU09y/WmeToriR0txvYGzuhYLHKkqgdUmu4l4vEVa39Vuaqpj58wC64uqMAtCJaMvXq6dCdV1PmTBeQJq7z9391B7hIcs5lUYXhezlqaWnpRxj+IaS0FFYNEfEZ38KeVHfvh7JnmH74XgM3r9tgM3aTj72r9CD+hFx++N+OJUpU73KavOlQkDgWJaKX67W2TA5U7Ldn84r6nw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A1C4CD0610F30518C181F8AF012084A304288D9105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d38cf72f01fd9a5e1a2880d2ad70580e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UNx6mJCHa/TJ+XpCeJfjAPnVcpZdFPQlV8E1u3/UeWO+9Leek9483KwOQ04UMOcSX6Hch7qOw2NmovpTVKc3+o2d57IvsWkBaERlTiJfU7GybXnKwJTfzuwfyTgZhCjwg0o02tbyV8o++aBx5x6+TCRaTyytYMkwW4qjTdpoPOFhhCr8csi+LUEBN4gYVcL8vWP61I926+ueIDBCjh8G6pB8sq+uGgXPeoR30dM4RDPzKEivvv0q2hy8xFTfzM/c8gpGYFg5U3x6EX9aV5VZ/OMNaJdDpf+j1V9X01i9p5GeAWkaHcb55BKl9FaxYG70Kt95zT9b914wBHNiGPIQIg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211875\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941618597?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JxxYcS1Kh1vhTysKevBtsBetu5gxcHcg\",timestamp=\"1773211876\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CKLxzhnJU3ePdeSyr5sVRx9E1j1Y81Z2ZFQ3qrmmRYO+r7Dn1Y/MxVyFpr4IBLXkh/ftzFaia33ff+urrfAW4wRvGMiJ9rS49cjTTfgNhlUCiHHvPYsS5QM87K60zeH4VFGquvqhvYGLL3yn7/pkiCTFR8P/NSg6mYyHzVk5H0qxL+fz5pfvgC28ITsZ813noEIJhjiE8hjhqLO46F6r7TX/EBvwTa5o/q/kGP+t73cij28hwWfZfjr0uWFkWEW/Yv2LxGetu7d/dVGXwOV8AI7fOobaWgPHyMdOLqg6GmHwsgbcm3ClSsVI3aB5OnkP7yu+FckVP5Eys5OyFxfdJg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A1C4CD0610A507188580F9AD01208EFD0F28C2F304-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 213e77bd8f51c562d595cdb4c1bf57ec\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zMU9KibSQNJqz4fC8g/S592YWE1uG1CImPD1d4j+ZpPokLYm7egQ6oue/a9/94jAHaDeAspWcMk30CNUzk39GOblGyQbAnVUr061ZCyjuuqMUnvdkU7rcLRKWMQR2tC1fyTbfh83Yj/fIlL/ehYpt1U0wRDioMFyRfq7VGEQkMZ2PwEIeT+BVzTU4+w15862KCPEpy1C/crMd19sW4uQNyo1LdH1Qt1WVQFVS9L38IvO52d5nG56Z4nT3rFqYksgNaPssS5Nu1hpAqec0OyQ4vwejcTVxjrgfj0XXsyiYAAdarBIUUVDPw/txeu+drGKWjsSsvSCdY7+VN+0lNhb5g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211875\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941698795?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mVffCIvDID4LE5o3OFHzCxx4aJuyW6RW\",timestamp=\"1773211876\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lvg87tLnAm31uvnc2ztPOMXegzTjxmovtv3h7Ni8jzZNmNp/mTRR3xNjT+QKNJ+5ndTEVkQWivjM+06ENPEWFYPCWpYGbNQudY8QwARy9zfAgLI5UIu62WkRP7bKeNk6dXI96Iz1y6FjbbHzjrTqBgHah6hb9FScppO8zRt8TktHwh4dY9m139GszCVeK7tcUUlnTowjQt46MfFN8ncCmrOks7ff6Ti9Vp6oAJLgpZsdF+qZyHKuO1puiqTrQyLB5m74oWmAu6zi3vtgMeqkPqmBQMPpAEAdCnp5tjth7EKVGivkou0kKjctx3PhxT35rqYcFtK7TXo8UgioWqXPSw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A1C4CD06106E18A7C8C05520DAF21728E8BC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 11397a7174da7ef119f837e23bcb8822\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oSWTeEJ4SgKih3omMPMUoSYWqspoxVBE5pIwhmh5wVa/owiyCABZc1fF83NaSD28T8lVqYUzn2knZx2MxT4fngEqw5+n3sftRd5iBtNog1AnmhPnFnVFbJ/KpPmxG9uE7b6ybkseyUu5jZ0gLKvkx1pzVOBKyEV2pEEPYfDJdPIIbHZNgYFPASpx+8pBny63NtDJ55NexHVNKQD97FykQYM7g0TTtDn33nSycaQJdCsdNNuwLsSMtTgIMviOZHN84PFN++NJTvLetfQGqItnX3Z3IBkL1XRinpzjcHNR4IdvcHqlzplOD4WrFLkH13CNTxsf8iNVg4A/YRSD4k5OLQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211876\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942287535?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0MkVY2DJFgCYNKPJiJgFCxXFztkWlq4h\",timestamp=\"1773211876\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xGkuwFF5Q2IZ2HLuljOdla5sjrBRvEoyAJcJcSGO3VQKTNWw6a6Z3QDVB0/NQvDAARr+nZMDT6m2bS7SPAIMGw5u3pKH4FIA3G7ib1fwfecAHOjTei4JkWNlDISDZ2+/wYUlj5eHAIoigAVr4fEUIC/uJliC3u+3JqMm2SXthxeFfbVVj5UT2goBPtf9ORPSZL3PuK9PN1HDSFATl5qHSnKYfgrY5YTbrFMXjqxUxbB3/aQL3G9tizIOPVfl/TQ/RepMYHOTJmgjOGzxp+h7Ind0x9RYxyk1KMnqKdzXKzOdwsLOYEwye9UhXuIClEvHZLXou9fsetMfBbvxJA4ABw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A1C4CD0610980218BCC8C0552086B61D28F99206-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5efbd41143e526f163d700003884dd3f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hOS3RgYL0Xhp4UB0vLdGO9ne+Pwd6COIpLCJaNy9bVedwT/ZyGIoo7w28dF71AMeH/TwfyLOpN8PyrOIInON9AB+7DKPnAiJooExVm3PUteB3fDz7azFmoA57yd8e52TpSOUoXtqYbaBAonDX+NGLj5KBORMkfZQCHN0RlLrqDq9Ygi2DIKYGc43FzkNVQCaPpDnEFg7sM7XRp+rA2BgdhvztbigYj6iisUTT2/frzGjmZ4RF0s3PW0QD7XOHxoRuTUyRG5t5NC4aXjqOJ3AXsCKmkvywkIdKbSUBVUQ/NqULiJHb02iWFZsmAk/4DeevKSWKJpdBJ8cNrzl3UBeNQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211876\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942422771?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8t1xxchrYkbudBamve26xTwWHsveWfu5\",timestamp=\"1773211876\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"j9S5NgJU2dVO8+6kd1G8Tr2RWHILJlRDAy1SriHC83RkAeIKaRLjXsCAkDmCPOeqHBDYIIvJc1ZgzQkyGfNGhrG/v6m0IFr+lSS24KJTtCHCVvl311ToPSiwM1SJ5et0RiGKZv1xTvnxRqvv+smNUWv7bByUnBlQzXQgqu3xwMbcoon/PBXxTHBH6ny628y0O3FwsvBbTYWIyqr9MeD97XnpFRRHQIc8hxQiwqqSHRkITcwOq4vblLxhQEmV3g3y5Kf/YSShJb6DSM6ZmoUBfsY1p1lfoEiI7eQq+B2/nyegm/nMjZHAuwjiC6UxeNIS06yIVw8oxQc+bfFkEHybWQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A1C4CD0610D00318C9B4F8AF0120E0A607288C76-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5b066681b271b6a253bfaa96851d6493\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Czrw6auTRALUT3LaPGdBAAwfFyItnXTIaHfCRljA9AxtpJ6qtkwc+rp2/ugAtXPb97rV8r28uiWj7krQxuwDeoj8vwZV/9znyf3AcxqCBuQkjnbZS3QGFRUS524CSj9Qeq3OXqDevtnfx4/sv/eyXjcYRwE8Ied6QrYLc4PvOIWAwsROH3C+nnQaWYryddGiO42AAe1Y0NahAXMnYrpsquZb7lA4kFuvo2Uz9g/YEBtY0VN9UBvTfvxiIwvcIyXic7EFyNuthB/vWTlwEH0suUu80PCyt5uOVv6QPk1ypdKvdAnjSl7OywDa+vvnZ7PFI4yDmnDaccmncxxg+NCaUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211876\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942526984?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lK5ekLYErCl00mG6fZghuuMpqbKLjDRu\",timestamp=\"1773211877\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qAop42jRXxEAntL1tYwYIMquDm8GeF7IlJoc4LcBsNu9VDFtvCSgfWabUrlbfJwiw3rfopwbyRqW45Axm45yAMWJc0ZN7gL23IfrZjSzxx/0hJ82QQK2V2Kj9CkjJZ8KC3t+1Y0jov9L6emCOLcqhAM0pEqtNKyrYnW6HvWhMz70zoOX+tjuvBmABatV3Jd4fGPpfF/OQhkgGB7yJw9hLL5qRcBJsuannb0qPNOYqbH0wYzMi9oDZBRhXW7S01H51NB5SMpMaG4oDpEGepI7PrQG2fJNXfD+uUGTUe+EeiM0QLD0YOEWufyNXjNVsEk1zmZ/HTydAiObNLaxEshyKg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A1C4CD06108D0518A68DA85C209CAC3428948306-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d2929cc773c2b9ed91a9eb5c86e1ae8c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: c82D9ju3fpSJfNcUwv+ZXLvbvEmUs7JP+ZowVZ94PsyiRwhufq/DD3j5eGCdbKq9ODfPKra3iICU01GHMdu9EhsOl9YIdW1/Y26sKhSVDm2JztnuchHOM0JVrpeLyrkJtRVHasnmp9Yy6/KFsp3ssSNx7E5jt7gNyalEX0+wa9qiMCDP6n8msrd8NrfgsAQ4d3PGXwN8/z1jPI6P94vOlLL0yGgNynaRdyu2SZmaST+MT9zLwKmUy3uczbPtTNFJWnJnNcYXYzEZRGrnTSeHKxC9ORTFiKqavPGvQLYc+ifl8Idxbjq5IDWKLshs5CH7auh4UsOv8p2qGTtaS+I7Qg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211876\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942685693?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uKlJkyqo4nyYxbKMVDzagQtByIVIvUdu\",timestamp=\"1773211877\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MTu2L3Gd/P7ALQD4waMT/lS3vg6Sr+SZaYJsajPJuNpDirCFZOSfAjtph16mYHg6fTf48ecH8GhNYqnhm4/EVGkO6wUYAbvfGOVNEzMurrUj25pgfD1X+NbXy8sZY1K49kQq+/g4m11R/N43MxwLaj1dJLujBd1k40lrBR03xNyVac0uhlTvNSMyKYTzUg4BHk0meh82Lk83dXrxPaZPYgMuDqUOsv40YPwbnoZtpowQALrzlo7Upd35b9u/n+FDV3K+x++GrbAzHhZsHE2xt0YrJGRpmKJTE1Y+rcYk6dHMrLpl6B6CjaYJwk+zFrNBTtonPqvtbysTzg+0G3t/Pw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A1C4CD0610AD061890C5C05520EE9F3E289AA702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9b0623d7314c0a747065d7808b3529d3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QL5AwFZ/GaO7HEijO1r2BFFzRgN+MWoFEC35ESYnJhlx9phDed8SVEDd/6J/OfO0QzhwwB6bxcr1GJrFk6L+KXVoafjNSzIElTxp9hS5hZHv+t7vS3oUe5vVZ3ZXIf7FH3VJFP0XHz7YnJLlscbeIRE7NuKesrW/i3dekgF0qT+EWNI1oKzLYZURgMmhKQj/5CUmtUwqWM9knl6l9QJ7wXvuK0ejtOkmW6drS9b6qqnKtLzKKkjJEtREc84rzmjFG/SZwz3SvTyttX5kjcTZ4Ud6unruA1ejKea2jOim1K85aHe7Ho2GBH5KpEEjXaMwhZsjXSKSYDPUh+6ie9zPmg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211876\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942885653?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PwRsev1yVVqUH527FKQccJt4HRW4HcLV\",timestamp=\"1773211877\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zbQbO6VKq6GdwJ/nzt8PMEdLNj4VnGwOfbM140lLpbrtSwXgu2NcQ0K4QEvLRrTlWX3IvlQLuw78NBbGBiT8sq/DAvCMrJWkYANuhd+zaj6jYJ2MlqVGGtJp4bfPJc23w/n/bp0uoUZglbA3q/XP918+nBL9dseR6E0+/PPfzzoqfRN1CItCYD+glDLgsf75neDrsfp9pePy4bezSuY2aLgQZbzH+ks4tpzOV+KTuA8aU1dh/8ZIiBeyUyIbewyrzdaic/hyEvnWdeAMl45jouidf9uAxZJy0+vGWu1DmkJ2fhdIBRVRBL0N0V0hnuLAjQPAlESdxakTKK5Dii1QZA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A1C4CD06100218A299F5AF0120E4E61628CFAA01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1db73110aab7ae6e1981f8cb3d8989b4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: fiS/5eT+7XOv5dDShK+TZb7jfUkvvzo5P32hnkAaVW3dbo36Dq4qi/ToPbBocSLlMBR2VaypghqQnU06nHYB7JEXFPOvcS3hJ1qObmSYim1W+w8whAd3/rTaQ2ve7Z7qJBPwfHDN4paDKXmekkihOTws/AoOj/N9wfHc3CzZLNbstpUvwbaGCki9FemhG9a6t6eu8uxJaTD1ZoQgnWlssDQZGrGzj4MQypEqrNZHiAy4NRUbRziLFrfAKKLpNBdFKfKFvAGfony80kcqakuyzS7S30a867tTq3WoZYiGC3iqk03/k0X6vhAhikHRHFYv9DGmAFbDYLaVFbk6Hn99Ow==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211877\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122943279917?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5woGVAugyd5Ype72L2LjrmXJTmMA74Se\",timestamp=\"1773211877\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MYXostJo5SJiFUURpu/E5yn/gHgjm81DtWXQ8Cu6L4JutpMy7DQ9AaZgvIOI/62TCikMULMuI0NkgRcbJj25sgHbbfZKXI97QSrqnTzvekoq+fz+hgFKvRrK+jMlytc6lZ4I4jAjwzgTyUKe/b0eqnRRXmu6icYuwisxU/69/lgvUnqotkLkSHcGn9NvChR+/B2Hlsy1Ny69N2yqn1dAQi3IFvTeoXzVI9KlZhgoyBB8FRXydl06YSsZsAUFEZAQ222icVQaYfgRPvf7fKH0R6GcQhlzQs225Q2A7BMGzqhOWWBfk68MBStXJ5z4wRvbYjmnfWk1gv5W8pHY77PQcg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A1C4CD0610B90118E0D1C05520FCEC2528848F04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9c16fde362e60aca6fc9202c868826bb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FLDBcBWfjy904rOuT6cXkJYG/ic2o3brb2Sg78lx6j3ZvhoZAbLSomGdqN61w8SQALzzDfZOyM71RhJWIAHBUdyGtNUg8fuBEQecSsldn8LznAJRS1MDn0B5RyPe8DBa7WxQnuTEiLfHSWzL6GGXyQkGSzeIgGf1trH1WcGsZ/kyUzT0sys7o5Xg1LBkwyKYf/327v356UWseHSazdiY1GF2ebQHtnzLcfGtdtpA35Nnnln7KRshRF6hOvCQ5QU6rbofUzqvCtLKN+C/VOJGjJ1lmxtyatzTEBfVzlNRd4lYREzSChGFAXosZSDG+yBqKNceLF7FBLxcCZaZI6Sv6Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211877\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944030606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AAjHtyj5UDdJWR709TqFHwpHVAn7UTwp\",timestamp=\"1773211877\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6XeBwLvNW0uK2rvKrGc8HzmISJbvAiVgnydCYs8rHB7rUYckbiZKXBGsytZvT6mTKxjipaNXrTaawE5RigHJAnzfvbkLjMPV/GoNFvF/6c4beaR9g8xJUV/OfvnBYtjNZFsU536aBmPQnFl/8RDSl8f+XaiDYBH6mq/SVQQIA6T+OIjtY5TEQzd+nMTPtQOrMTrr4owcWKNhZ7942elJbvfBPYrAsWJ1aEcNfQsiIeLNplbZW3uIIdlmXSYcISCr4OdMEtyl24XZwLz8KMBjLek735g4T7Q0se5aZSrxQHdjULMPf8JmxTFeZhGRV2zqDPvIs2i4zQZnu0yb9IN8jw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A1C4CD0610F50218EDE4F8AF0120B4CD2728D9F403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c706cad899d977090d02e1cb0869ef16\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hX6/DcNY3ETU20j9t29xU1wE+36QruMF3FQt3apRAKpbiIsHvwdmiclr17fldmcQZEx7iFRfZXZsiXd0lY5bSyptCfdU2FBYDNMxh4Z3MbKTgmda+WgJ8WMTFvlx83fNIe671Yt+3FbN5nVaFojKlqSByVqS5FKMA5bVofyWiMWjwGUJdYYyubQzFMlLrAw4Kt010vc+yVbvX1zyK6WJ+Q5E5XGoF++Z8WQkm3cEEIvS4eSEP2FinLT/rsEo9/eKJMwZjUlxrtyIuimQubphtsN4PtltEk/0BTzlgmKWAcDRSdNIJiHjTW1mGxmKtj6mfjBr7BFXf5BYeTUN80qZHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211877\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944572678?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ca8XQ3wjjudUkzMYQqAs5n44sCPN74Bo\",timestamp=\"1773211877\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"AmGz2m4E0PAmDp7vhlPWBtq1t250E9ld91EeZNx0nNeRZKkn7Brb8vN60KWJ8ggo7IGqoLp0Vj0ygSsrkVVIMCwP+tcb4whj/+TjKu8RognvG3usrLVWOduiL+SNvEQo2QlbyCu883WO5BvA0KZfegKKAlf0FuFR/PIeWmOfV6kjFaWjhApICMWwtRG6WjBr2CQJMfeQuAJkIa6xLa99zynfVkjDZNz8Tqa3hTLsvfL+SJMm0IZpNa4I93QFuXsVMnLWKUv9zF+JpG9TxsXIuNFuMgkzjYNbZWNC+pWqh/okIpniMa2Chfklwx6us2xdunHEJhhoRMJrmuG8KzSCWw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A1C4CD0610B30418A8ACC05520C69B2428DEB402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0cc36e3d35fbed2187561471f14e2cdf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lXKugjubDyJf8I7vqH4AQrwBY+MJlt0yRp4HKeO+IxJxh1G8GTqj/3dXQ999Pj0jthI9UuEr7EWNRHYPDezRj67LfGa4HSQWizMR7ckjfe3lLnGhXPH/eC2uiw8iK8x6RHfEW+iTt+trfIfc+Z5RxVnGRYTA8/A0d+jL4TZeJoWyAwp1/XFKhRFP6k7NYHxnx62TxyTuz4iLkV/2kFFZDlaKORmPiXe+ut+Sv3oqMKKzeyBVF98gnjKBZbjMFTfgSg4bfwT8OI9I/ioDlSufsF9vNivNJ8O40TkHiQ3ZAhUC8F563pnsKA8Xvx0TYf4gdiAEB4hdzV3O5h+SNfQ1iQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211877\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944985854?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"V6tVJDcVpixW0CB5CP9jw9yzo4Cgsb9q\",timestamp=\"1773211878\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"H9A8kXAN9SmrEEo4QUM3/W2/tdyQNGqmxHBQJfOLHI1C0YSOiO9erq31Gzv3ZJSQJkE3VnoXK/2s1bviLYd3gpH4mYh4Dd4BApzy+ZTgN0N5JpBlfXdafgq6xNQbkJ61GKizZ79k5c41Jxk/kQtfA4pxF43brvMnWfUWTgLRAdRiZ233UplCoe8N6al1iBPGSiDty1K4mDvbmclfjqPY9NhPkkZst/h2PfHVotkr+WhRmWOu3m5xM11AW3K9avWLj7hvsLUuYv8l8ENHseF6hgPYEuTAoOZ8/u4svvn62qhc812BLeyK520H7qlxWRYdxbhw2E/lYrmg790jcd3Byw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A1C4CD0610F4051880B2F8AF012080E62428A7C803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6ed4a0ada29507ef4441c347f3dbe7f5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MCwlUn5WyVh+EbtXEk2hHK3QOtzu/YLDFOE27pa8dlfKfZtM16lXAEpq3Baak+VHF+rasHaTSlzy7TJbR/USag92mQkdGMfaS1tXwDrJNjp+nvzTskg/rvl+rgD8ONAFhMtFzlaFMtnDrnhHxwlVxFvqPAo21O2zoiA23MN0p903NyGNr3qijVriIBjHtGu+uKK3G1ic+4a3LpRhSLLdXg1z9JHgtpIogUaFZzLaU+/YT/EXvjAAx4YMNsn+jgHnIkwrUW0Jl61o1Td18KEx/ROJvNaExvmz4YYpuq8n1qwOTmsGsSyplaI2Iu7xS4INEgNWCrJuVPQJwYJfUv0BKQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211877\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122945013789?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gkznQ2Xh7qlnvJFhNHY7VW0bX0BARBZX\",timestamp=\"1773211878\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5TNAwfAusXEfvoAt99yyOkVPx4LzFIOIeYWM9HqdUVzN0n83RNe+pr7nbeEs0nTVVOZxLfsS1900byst8n+oqDmWfUkwCnurgqQk3aTV9dsGWJI7HzR7WZZUe6eXAeEE6o0ehhlthWA/KTlXM/oNs8djcr5aWUPOk9dZT2fGiAFQ590pLxdmlCjbQA7h/2Dg1d3FOc0m/KsCfzLkOrD9Yjyg3vuM7GKvRXG69BdQonGfeKcJYUknMI3P6012qXqM4AwOmJ92pQvQEo99XnJ5g+zw294efB/E6SoeuhtVZqP0mh66yy2PruNRpfiqUcdA2by00D6l0QYdCIvFW/LPSw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A1C4CD0610A60718D2CBC05520A6F12328D1C705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 384d174112c360df62248dd0ebf350a8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HBxf5qykEQ6LCTg666KcE0BmrOSaA82ZtjUGxHMlCvw1Y/g4VgG1lkz2uUL0Ez1wFHSk8DCmiBwfWr5s64iqkL+FPTYmuSDgJ9SN4E05dNNIoCXGc9YdyJl/2tPV7d52kVjiS7ByXPHNc+/eaG+GUU7SXQadBeN8m5UC6BFufx9tielupy03+n+RICbQNBJ04EP231DgEwbIS5TfBFsDUjyV5tq9cOKWiZoUg2bd1Ch7gEhnfPEuC+NVwkFKB31MG8T7/SkP/n4V7bQjCa0577vsiTPWF6Nf5bNspsK4tMMjwTW64xZNm8TWSOWN11kNifSURpNTqMD0oRp7p6Kn1Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211877\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122945788204?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"16kV3I02wE8XXaKY8dIbn0HBn9LziuHR\",timestamp=\"1773211878\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"P0rM5O/sVU03ZfesTkvQstDy6Oin5gm9GCuCzkXY/eOuBCGQ69TFqIPWN8OW2mnwQiXgPm5DQ+HoZ+1XKP5JLJcppESM+GvLP4QX3Jm1WkPPwsK6hGrVoNDQPMcw94NVtYdQA25/DFQ0bEgY5uRqEJ6RJ1uW1MLQgNRsht9w+G5UTHkltZTrRbIF87difqiBavdkvGYxpGsgu9RWVwoFPfiVfxMij8vB64XGxDN4hA95bVQ1LgzMqOZC/X2iRqiSVynSN4awEd5kzlS80r3jy0x3eeDduxRQxgcOOArt4NeaA6bPAD5CmY40lBbT9GtO0jW8Gg1+IAH+ASYks6jCig==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A1C4CD06107E18F3B5F8AF0120F8A90F28FED901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 389bca64060c2fc5e35b4991f4bc54f8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tdZPy1PlR9D5dVbVGRgaOfZdIauaXKegY8MKEAv7CgAQEFpDNCAAR72AICF4pS08OaCUtBcHUNsgA1U5Vnz5Ih80bcz6FCtYStWWcS04zXz6uuvZo8ZvLGRWc0JMmPoMfh3iPeGwCl6omgkKpgHtHc8vSxbGr8+/vu03P1s4PBpa21x721JCjRMNlk3FG1xDORt5z+3eMNUmtxkdFk71MPRTvrP8RVYcVbeePDQ3V7zE3crufGPd0EUMaSfa1ImGNfujtx227Zi5o/DQMDUHHjZOnJnHJQFAYLu/A20v3YhCNFnZo3JuQTEsB8U7Xupb0+bj3vR7MM17ZwYfPla2Kg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211878\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946373200?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9J1zlixqf7jAAvvJ3J3NhzcZvshd752k\",timestamp=\"1773211878\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vk0e+ne0EWI0KNbn0EtFJcdyQlEKMBmoUA1XTDVwKHnPoDOP58+Wl5QBPeVmce7ItTX5VeWmnu3VzytbVFpp4MjpXpfYhrnIdQwmIBhA5QIkjAEdtHvZ0HRx5Z4G5y7vjyi9DIeusKNld9hfmtLcg7uuxFKoxMcw74VTlFs0Jq5CxyjAPlsOdDOcGviah38oEqx1S1Ri4p3hrTUNGUR8CU0IKgP1cxfuBWRtn2TEQxXfCdAtOlj+LogZMN5OUL7JnSQBIMU1z+KOy4FBKFQD9hhTJwYWT87w3a9yI3oeDsSMrQIQ0k46aeFA0coxMGoJRbzTGtKao2JbUmO1YjEZNw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A1C4CD0610AD02189FBBC055208ABC2328968001-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a08125f847c2f50c88a2d12207a5762d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UvN29j2D2zgrN59f4WT22vpJt26d1wRj/Eilri7x0iNjUrEUnhuA2yT1AiYIdDLIbdZ0eQdrYa1IzmNZ15tWITmCE1xNuUCHcouem/5Z+53ej2CJgc5FMNsQ6xiTavHS06KNlHjSLtw3XCXOM1nG0nBJrIHFVVZkx0LpN0fOgw1VXJvfc46PXqg19pO5GKtdim2B9Y0U7NnX1+04DDQOuid2EYixOk6SNnVsI7CnMpCPYqY6ugULIxFDr/la9DZmHZBGqHavN2a1Y/rND9whQ8IJGFxn2YYIndoSkbZ0JdybqUeEJZavhDeiiC3tdkqhRr8AGmRzyUmsNs2cUwNKgw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211878\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946393114?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1v7pHi2bJuxZHGVR6pu6OM5aFejbDcIx\",timestamp=\"1773211878\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DeJD50l2mzDySw5APML5PxQ0GXnHFYXxk9sxfiHH9TFur6BtR6Ez8JHFmhJ9tDNNF0xM2HCUUl6BHfbg8/tZl4u9jMUZGNCtQIAbTA33zgN7jwG8613iEVWyfJfQmWHGRVnF8CpPIBZDS6Q5oIHmi4UKluWsvSxQ6gmQCsKzqa7dAc6zpuN004TRkpjiHGHkc82trUnEubf6nNTYBEDvXI6S1vv7lvuq15idD04/zQyysfc9lbpp2Xo3M9KvupSyet+YIMXo9Yp03+LY83vIRtyOTZqjLHLygTbm/X7I5t7Z4/a3KvuhRdX/UrA4aBMqbhHgoGc51lxAWwvmeBXf6A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A1C4CD0610E40318E5C0EDF50120DC912328B113-268512771\r\nServer: nginx\r\nWechatpay-Nonce: de63a7d061b8bec8d2aebe952517ee57\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rxR/gThNNZq5qRzZQJpVnNtFbFFzzDpv8xjd32q8xX3T+9LDWwUuFSum5Xd4ghrQ1Wj+BYbXSnnwHuibt/8sUsKAQqYaGKm0zsjmSnfRDu8OfSnvuNKkdnv8LY90tEJcTqx3cf7t7ljIZ1wx8z1RFNhHqxHbLkrP8JioA2tydAlAmftCoeRGb6JjXflFjf0aCQu6EmsY9aoy8NtvVc+cfTaOvzMLHo/hnTl01lJF7Hq4YvoEx9keK0bmnvEZe9MvvfA3L7dLqJXH2LGWZPGwfxQZN2mUnaTfY4eENI5d7gAHmv8wt5yPi+kkLysr/Kfyq5XGJ4IdJhjDZrybMC/Pow==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211878\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946847097?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gI0ODQun4lQ88cpMs49inxF98cJ6Zo1R\",timestamp=\"1773211879\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"y+SmGEPUZQ+84S/16bFncg2L/KSRFYuYu1C8XBGVub1ICCOkuQP1C5GoI4n2xninELZN3nRzNEK8OyR3jMSso/CqSwoxlW/PTkUN9N5Ln4eEkWrstaSi7GVLKf+tVwFQECJW9+1cacXOyuDL0IPgmDPz1eQOpY7LNyVNd4/JC6rTtAikNnwe0LEKiF20o6xL8jONIxNmR+U+qYHOD59ctwFryxeZuRuKTWXaNFvV6cg3slmY5E7cP1Wjp5ZBlsTChGEybyKyulZbefE49HxjmaT4Ehp9s7uMWwZ6Pqj7XM0VMDf3e1bgzjN3XVqxscrTb2zrcvx3tHNHdnZAfUGc0A==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A1C4CD0610900518F19FECF50120BAB80628B0EB04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8888194d9b8a25e00a5cf334f281e1b4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ckeAG7OZugwNyfliNtxAhtubkg/GEcW2KXcsb6O8aVUWc4zwLmieVz9F4pSuvfojKnVqh3BdRY7GSk0hI34Zd0kKh9MmdPtHQ5/s3eM3jP95HWv+FnydPWPehUa5XHl9lHtCltBia9NL5f0zKR23z1bj6L04tpdwzwg4GiZxNDuTggVkHnRUb8eYfXa8HFKrQjuJGAxH9H3GeOlqHWO80N5YRZEz3hJYwtlXqgVXSuncPFg7I1YNZPdmWuwPax1nvSK57yu3brG4QLHvCip7noZ4MRMEu82aSxqfvcIPXSCeyubBH2GM/ysWF++Ld2V29AvhzJqgCpfeyros5TJtfQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211878\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946897930?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mgBdxd13mJpSoCtW3HVVK2EARQXQRnfi\",timestamp=\"1773211879\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ko5Yi4bnkgihtpe3LCoUZ7Ae5nDpwM6mmjyQ0nhwxqFPSZvttufHSeWWYppEj/JCRICbzbbsjFxJJ82u6yHzFeptWRmakpyY2sqsCvSrNm94jTHmChbML4zUUpmKY3tN97nMJjvNnerpoQXy1ZLoI06Jy8jB46T+JsKWtv2MWxHiW4BE24zEZLPuOm/5b5Zo2LLSTurTUdPKWfcY/X0YGAlspbMkWz+zGmr+OqWCwKesvzg7KV5yvisaBoIQL/sbLjv39vBmfyhTQf/T9ZIG+MeLnG/Ff4RpthXXx3beMeRomPK+leAbszVxPVHvsl+AmSHyimxm55AMgHNz6U7CXg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A1C4CD0610C00618DFCCC0552082BF3628A43E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 310aa478268f53a646c8dae0351dd6ad\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dqO62PKTzdaJEUCtB0QmCRpVoukbXm4Qol5DSYOTT9YCneA44hhTBt+8T1J8Q34QUci7fndsT7YQKxWwPLJUarf5nqZqwL7CBfqa8EFcIKCi77eh60BHOQny7gpymLufOGLkrWuLNRQiSt+77vJQwh2KK2yTFtt8pvLol7072KQvV/KxlzcCudCjZGQ2IZcU1kb05N5VmlIg8uElkbsI6gHACzS4E0cp0afvWrwwqeKJbuLpggEGigW6dw3GuRshTHRgI6GqovnAiBvnakfjnstHEg4931QLHT1W7+cp/DXcG/wtIDt+rk7ZMU/OUdHKpVU7XlZDzZcE6ZtRfBPw0g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211878\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122947479467?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fDT6xi6xzQpEN0O9QKxOl0aidtfTXwKG\",timestamp=\"1773211879\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yNx8I/QFQS8/h2uwmKorQlSOQCBFpiKKDL+PrkXq/QFeGrM5OJEG9xwwnwNhP/vluz6TP/sYSkKFJ52kWCtAWu2mDl1oo8aY0UScYlSiZfbvtXAodU5Sw9GBL2UV3BJ33apN/DLgiZ+zNlQQdOFT3gb0b27pCh2DJn1bUWimiLLzSuiJTYP7SWQMQjk2C7K4nOxFG6usJJCjx54rRzUMS1Mbb5A3KnRlkBHwBBKNDUVN4EblQyVvi6sjihIibFxLDumtM5l3A6NOgOAdK0UprEtyKUcNQS2lrQ5sQShuo44x/zs46YE4orFwQZau+w2mmocX6wnr5Sxrq4MSKQrISw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A1C4CD06100818EEC9E8A901208CE32B28E88501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8d641a29953064c828b6680261d52d29\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AgisWSt4MCQ2cv6kBMMsiZ4bkbcPKq9J6sfHNFs43McorATFGUEjiIKLm/AiL9BsXmKaoK+6MSe214cTvWYO8jQGwDUDAA/ZLKtcTdWcMpkzekapkW91RBqN462kqVZs0mxrMeMKVVdWHeBcd4pYcDqTMKSbtqz5r3hXGtxwhOR4RiKhLo0NZWz47sc5S2qkhuwwt2Y1CyHlEzYv21/G+vfUPML9ljeidzqtEQ+3b1krjir+fQJnfSBbt5NbUBUoqKzHBwnXbqSdAR7iTMBOEHKrCFBA/cz579IkhUrLj1yYTHTTfJAqgEZz/RJi/15B55DE7q9FV1qIwaJK2tWZtQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211879\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122947917581?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7xVZr2pTVK6pnr4FsjGEyv3ADCtP9t9E\",timestamp=\"1773211879\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Zw8K5fyhwwKYfxTmO+I8Ox/rprT38I0FYiuJySun6WHwAQIIZVVWFoFP1TVD1mfvFCUv5BzFMykScSb/4FLNuaAHvXa2CjvxZ3kUOAGP4059S8BG+ABA26uQ3mHKaeX42oXu/NrSZ/ByCIWaDtju5rxGymzwI9gFNY96+08QWusRLXwCj4l1K3AwIc8i8axnVELrMO9KQJYShZbf2eZK9BOMNhv3bs7heMVHd2f4hbJYORYIvs32xkbi7SLjSEogJRm2epOWUYoMnyFf1k+V7QSZ4MjESy3AQYLFLLNu+WPm5lLZ+DuiuDwqpOgqhpRH5+Qbkym3Yui9wL8HmoVjHw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A1C4CD0610CB011882E6F8AF0120CEFC2C28FDCF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3274781ba11d66b9fe744f7a45a83c57\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DFBw7BZDG0sw4/aALKiWz6bNlaup1W/UdRkrrXb2azPU7XO2ng/pOIyjrPkUVQ52baP2Tmyg0FtztkJ7b68C6R5yklhyAyEWK7z8k3obapQitTTxW3HcVdPGOpPHc5zL+C4RysErDTNoc5ixgnyuDve+Y9tseLoJ0//0gaVGsu9zkqJwEdfxam0CuxyQNc+Eco5UeHqApKfZ4UGGk45335vzlwOZhn5XJ8jVnRqeWMZrTr3TFpVqATL0xGNNeLQtD9CaFHXaY3rnLAxLa3Lqjpfvyxdv8Y0FC53iaBkB6NllsN9AXQWigksYDaI8KWGZepY1HT7U+S6mvXJHJIeCDw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211879\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122948703239?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zNvkQSetBXsidPwblIDrfmSx3ta2DYxn\",timestamp=\"1773211879\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"d+iPAgZ1MCIQrtZzZTw4HdDx6ad8JYRG+M8Pxy98qc9bgJ22TtOUIsj554TQy+bD7y+zhLg2TXShD+9I0CqfvKdT642OJqyUkbixmYMbrBm4m6VI84eht9qUsw2q2wklqhrq2s9IkaWSaituVOYYVk6Td4oEIZGDLmPXMzbfRsG6UOV836OngTF5aB98X2hGQwvGn8QPTmj6ilnG+ZSAU+GMecGkOg4GF9eRpcSHJTsUgq/NHKH+zPPtgymFr6ahGRZWE1l3gNNEdde8RrvX1ffSDBeL1r0BaRQ+DaBGAtz3jriut/3AKfXndJFk9PfZKHsgnPwrD1ah2waT1kcCgA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A1C4CD0610FF0218A29EECF50120C88B1F28A99505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e7585f8bed492490d209790601f573d1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KRYUAJRMGXn8K96lCqE2b340CoeYRKUoA/PIAmvmFcynOe4xGVS8smwmeT44/Nrb+au3xN5bZSLDGj7N1FM0P9j52XL5u066ElSShUd31CdKSBPBbqaJgu8MJM82yoqH61EefMABVmbK2M6+roUnWpCC64MG8g/d2trcuJPFUfrE4lOdzE6kSW8LwoaevXtUQfM1ihyhDga+1O3tO9lNM83SRWoLtDjI7YkEuug2OIOP3SEXm3hqZIGHOfXnhU/O6MUm7bAbNg17f2aETWNeQIgGIkltgsOCWA3l3Np3I8uGeTayL2ZEaU5PKr+/Ce6Q0pchmLdD8TJck+ikBGnL8Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211879\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953053186?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Y0YoUNKkaGWHOXH6JAee3HkB9dOQNXsA\",timestamp=\"1773211879\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IdT3btcuIYe05UDsYG69YlEZfjygtbnxfybuMpnsTNzFkFXMOfRjsptt9X03CwP3sBY6HjLfWVx++eHhwQq54rumYG+zWj2GrcOBV6i4XsAeN5oBC9d4NQjCHOftUHsk9p/SncYKF35KGwl1wEh2f9RguCL3DjI1P7pKAzOi7/tlHjupgM0XVnPUOI/JGRZ9yvUboRw7JWxsJ/5qzi/YKfPKvXonWaIP+bplLQXwWlTqxgXG7lz/dMIwVcUj076/0qans/fU9NPaMTYf/IpM7tXjc20fq1buB2Nxs5FKB0KR+LJGb7dMWwqIAtJ2W2o7II49azAzWmazeL6/99SgqA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A1C4CD0610A20418A6FDCBF50120A8A62828E9A901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 82095daa50bb2d60308fb295aff35447\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oe73BNsVn3lsZndmLhuApAc8xMPhyRLbVp0IYuIvTLnMMFu52nZm25vwov8XmpbGjyQjMgvoB0ozThm7r+ijmb1w1O2wM8hgGOIguFaqhR92xmW5ls0ZKs+HwRg+0VKkLRNrCRaV+GS4rLANR+CXNB2OMCFk0R+CBDbjXBwL+WHm6nnYwYAXhsS4bQ2NEoMjwEjRCmyEVmy5uQ+ZKqjE9ej5fcVXwxr2xGrzJPcnpxyzjh+ZDKxmpfZxgukLLvRV1b3gOpdeWBbmM6bsSYUZADTP2Yi659e0E25jHol4UnjFo6785Yo6OHkNHjHODiWnfx0D7HspJu7JDadXlgCuPg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211879\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953502696?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7gNmOkxbgLX3nqlp1HNV09chr1gPgV2L\",timestamp=\"1773211880\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zVp0IAGlUMt0aYF5Lyvp1xfAUjGyP2HRmkgM2rGgmW5LhJ0UxCa25A951CzDlV98zvJFYsSJS5+a6ypcWebU/awQlFB3ZC0Pg0ElKGXXC/WAfwwCZ6egei9Md1svcjs8/GmfcV1wY/bd+Y0dO38y+nhfvBu04Jl1/PtjX/wcpUkXp6bjm0gEB/TssBZQnMOHx4+81P2iuOsR+rID5q9x/sB9ZltNXbLZZtQHN9f0JqvxbsBCYKx1TfXOtTejIuJwAtmdQh21vWcmOaZ6R1Q+CSR9HtoVOPB7J2DARTjEBrvrPPAtcVXSkHHWYkbpU+/LBpBaESecBIfCGV9vqgotrA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A1C4CD0610D10518F982ECAE0120ECDF042895E902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0074546458f969a8271f79ae9608567d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gTIVYlBW2rIusfs6RFjdTSFBsmGmqotyDU/B7Un+kmwgZq4StcGo8jisweGclc9qw2KnOtWgVyTrLRvq1VUOMQKBfsVZXyIiqRncDBnoppXFIlPY6aepMUs6d2qvfxgvTHvpzjgiomCBHL6X7bCqFcWdnaOpo96/TrbmG1H9C2k6t3vjDNqc9L5ltrzK1p0kh+lSDYuUV1+NtvNogGwJaQVCOpHgHUlpXXJ+zllvBh4KHyUVp/a4YrAWTNuQ2IKp8ZbAimHw7AgnIwmN/xRvsT7zzbDGmy1QJClHmeMjkL1drWBozBdvTXcLiIO02MzSqomu5hVR7jTQLn6ZUGilWA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211879\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953798373?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2VYvNhon7w4YyuS2mk4v018hp57knOYG\",timestamp=\"1773211880\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oicX4/9f4VS+altfVOYuRhFzt1t0Ez+64qXc4BDt8y5251em23n5bY/3APUYPLb3j6J2k2Q6jl10HrqktVzmKfvvvoI0V3iBfc7G5LEiu9c9EFXRicezJ8R0v27KAfZMpqlKCR8tJt86uuyf44GPLLbtFuyoRWEUppw82Ou/L8cC6tCtGegQ1vfi/EcSkUmu7DI5iOzCUKSR0yjt1xaGKraSYNY6lLClQ3si+FeId847vjjlShvynsqqGleVIAdrMiIcuPNy8IxQm6XGRvd2d96ZndrsdHpGT4qFyqonx9qnK6Fd4oCbs229v/emlb32yC5d5ayh/k9dzS78yJkI1A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A1C4CD0610B707188480F9AD0120FAD70B2885A605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 71ec2035c953b0691a2bf5bebc937908\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vaVNQMQcktVXfWTFV/rqIDDHcPAKdHz7jpquLDlFlRhyE6ldtKEryohGznTxoj0hJxciAcBrkm54D0drSLuoEtLXy6g8wY07IZZG/klsdcC798FGqVZxrUPiDLSTsRb/JubzvUSz/CyuEYvFEs0NXSho0r3rvUpU9ab4erIg119+BKxFgdcz5a8z5bWEpXRMW4ZICsgvo9JaVBJzs/739B5YoY32n7l4OIRYAlVPth9xJPvGZz7H+X4m+1qXi8dDxFl/gkWP8xPhTiod4msHjJzXANayF2SZ5UI+gaQPlcK/W720g0NiLq/uVTVW8WWxN35sCGkB5kuTMTh2SS0VQg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211880\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953853438?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zfalLBFQdVVQbC6YxyMKdgPIA5svEFRu\",timestamp=\"1773211880\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Wi3fFlgT9ZDaXUhPY5TeT4kixgJdtUsmGf/cfdvOmXbAb0AvcbOWfHBckrxusfEZ7GxvtJLJUBPuHyfyJ8Canqr9R8zK6P2hwYKngYNzg6Tydfu8+lr+OSMbC/z5KVvBmzN3nMmpkQjLTD23xsdK1e649lVMFWLScqJ8DyHO5Hopx9lcZeudgaun1Y5C8+rxPh53EBMzkzAVjSZ0vly4W8dDSGdzS7uY0zW1aJt3MoeBzbeSYoJJu/xt90SrKeSiEdjDrN9x1XdACsPyyWCBvWoiReJ3CuyQMz5odOJMegt1xlBiOj+ZEqLqnFgPaqnhGU1VDlyzvLgq7rSPV9szwQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A1C4CD061080011891D38C5820D6AB0228B1A605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2e7fe2349d929c3ff896cec57489ab8c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xfWlodrHGfRKFORzAjPd7Czcw9HqHwmjm2B6SHcFnmGgUQUObzv9uuJ6g4AmJExzyubBHSqmBZdMjawX+0jiU9rqeI79aP/lBvdBWKwMmhjsIToFnKQb8QiaNKLnwkOlQP5liTmLfG8autPO30D9FGh4d3Kkm+Sje8nlql5lvC4CvKd4Fbh19PMQ8+QWPMhuqRtzXMst5bqTlhAczvsI3Ct0RiCJ/4cyYmw29nq0bgTqQ3MmtmrkJZ58rSgXdypGXFKZOwTt8q3T3TinvaWfAY/lacNI0kJ0AAtqEfP+mqCGASb+PIXakaVlCwSbTctdm+1EBNG/1t4NM7O+K4tpdA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211880\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953985110?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tRwYP4TPvghKhPhRyhy7LuqMmrDAWBYJ\",timestamp=\"1773211880\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"t5LL9i1ZHyYn0Fjv7nmqjshpAzTOXWuPkVML411UgYtuia08VAwCmewbfFtejByowvtNFNyYJeEXw1GNCN2mU4kT24VeU5zTPv4DFo6Q/L22KtunjpadofEuAS68S5aasR9SFzYcVPemw1xnsbFIgae9tQsYBJQ6Ui3LflaMdz0+7mFVWbS8PeeRSku5NQoWBgfSlLPEMQK6azn2EViYN056zZ833tTXg9fJQNgKnpXOWu0a2+RoapnBLBkFy58RIDFjXnYFzwOX0a6wEGji2QWaa3CSvaZjc2BOI6CZ6Z5m+kQjCMjFTTpV2rrgzlTALaykiJRuY+3smwIRxN5Qyg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A1C4CD0610A7021882E6F8AF0120FC893628DFBE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1bdd111fa8e2d202c7e900dc39e28bf1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BmUcuCtkyuxmdogjKcHPgEk77VjeOJ8ROlbXJ7koOd9v1dSpfjM56PjXxCbWO08xH9SEcLJLhZxtZDCmwWSnVyHjeEh2PK8DRVj2rUVLdP2DjI/wN2NRr1V2v7HUGceAzQsPyx85erkv+yBfcVii2xY34JKPW9M8JHM7DdzjUSPMMO/ZDCHHGqDTlHLeMJmxDWUPilxoGE+TcwxOddvXKX7oS7hFL4HIlM4m/QKBP2MH90I0T5j7RsVhx2qEMn7s3MQra7CYnn/CNEAsIn5LeMFxinKljXVkbIZxQdgDnnbrp4r/Sez3SI+8NngngyU48Hlfijfk6U5dHMbFRVedzQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211880\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122954061783?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lPiqPzxO6IlHBErTnQolxfNi9H36QvDk\",timestamp=\"1773211880\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XgFZOKHCsriaHa9xMMHyXHNyRMxzpZhf5Esfh0iil5al2INn0YcOquL6DZGzoTU8CmN7RKYzHA+rXSKTLH30UNn3epVuyOxNAt2HI3v0dvTT4AoUH2nH9U9MkXhZ2D5LcjgimLGfKFWn58Tpk2AyPX9Sxr93+POVKi0a2UWTpmsJdLLP2v7cbl76JeXZ3p6jsS4pRp5CF7CWS0asjE1NThTsAi5AqBBobdblBvixUTX0vMc89f2eHfyQHBg0rX9WlMMw6n4gyTWVspkFNizm2MiX35J8QgLZkrdQORpbpQF65QjxwRnT2h9fpds4xa7ExgX8pfKnMcIEKwivBFtzSA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A1C4CD0610E30318F2E4F8AF0120AE901228E68005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 48fd53c0eb14bf7f9df72ce9e5326f8a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: duqiwxa6CvxFCVmXoHRoSR0EyxldZnbl8KSEAw82dUoplxKkn5Xjnucuin0t+ZQfFPsvjOr1D464AWr0Tsk8pdi72tfk9kMs/o+CHDTi57mSVJXjUmIw33rtVM37nTVqK1fzrTer8yGv7/sNPkC/DpJs0oidP7KQi4+NFdoANR49tnWygdnnTaygRnfO0fZq9ehMo+F92MFNzWuPIakTztsJlaabJZOXIzLMv/f7sL8xvD2UxiRC2MtOcN6KZ4L/Vm9IbRg5Lkqy0Tt52LU7mcqa9xW5WSgMbl3/afrVAAbNd5K+Xuhith3meEXD+MCDSA6FqpJQBU6zipuQ7RwuQw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211880\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122954587719?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jegkSEzaJX5AZKvdgnUR1xAxtWFVHeOy\",timestamp=\"1773211881\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mLE0Ki8QUGaOX16V8i6zIDNfmNVxwDtFw5WX+vGPTscJXvEhpt5sRMz04AZRvdz2LOA8sh1oRnlIeOlBBFsStCrQhtYUeWoii/6oNOnig47AZuPOsq4pGUEE6XF6uJwp0h8+dpudsoJMmjPF058HLCcj+7hdRXkr+0fMBN+cYPqoUuNawzqeBxgrMgswzqqk9RNrUGxjSdbA0Fp3awZHdXRMv4cmGZhE3Jf9brTwpzfaZXpmnx1A84OXi/xO3P6KlYBI4d3ugx4IoLNonF2WsvHnaE21NviwRNSk/EeY3/NNU4aeYbrgKVmrkmSeacbv4L2bK8QRbGf9Q0kamQEu4g==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A1C4CD0610950518D59F85AB0120D0973628A7DE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f5ef33849228a06dcc622500d16498dd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gPldqsDc+YQ4ifTHc874NBB0/fq2qEPSXyhkQFtvwFDZVOa8C1bvWQSJICd55g4mc7Qrg7AHQmmpwTTcAQ2khnhA9XkrSzwysylMgQCfn6M21Z+OndDzEMeGM8+l1DWSTeaBnZb49VNyTxr3jKHXrYHX4nclJqG6/f7EfgvqDrG/99V4d16uUxPPutzhYdoGCboP3KEDrNjpjiu9c70PFKHApxTbx4tNS4kciQgDMMkOulN7Lt7iHSJZLEYqBwP2O2HQP9PFwObUEZ+bNLT+3HqH/w4qgn9VTOXezLPf3kU5+qjWGYkNsZgngZSwqQleNOc1UBQp5YZZGnxNz+LNsw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211880\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122955788341?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yz3shWOm5vd3fuERO7jvfB2gLmMr2Lzk\",timestamp=\"1773211881\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iLry/73v2v4r8TpB9WZw+wpUQsfB8Gi2chQcYiYJ5uX5lNqGek6kqeD5/5JEN2nLHg5nacLLMqh2t8kMng9u293BdgwXtnNjfyJJY+LRj5GRKZpom+mTV5DcsZeIRdIb/2ZHeX9pYht7RRWu/k29jHGbZOGLkRDMBdyL58L/aaOmRa7VbDCxmRWRIV640/ktmNIGGJFHYBHG6FNhFbA73MhmDVBzvedbLpL1tH+MgmdoObYCfiFRx0FJb+Omh0dKJaE024wbpcu2ZxUKdqrA7QVbZo1+aiekP9rxYZX/eYlRhVT4/SSHqWmbpWvQhXnq8ny9YIpr1wTWRXZEP2739A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A1C4CD0610BA06188DC3EDF50120EA820928F7E401-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4237450db04fcd9c4b94c967df8ced18\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UKgnoGtPgworMBcNn6vwuqDbVIWdUkgMIwjP5NMzEvzZG1xzKojvsy8YYcr0NfYClv5MGsaeVddV75RhOAN7yBdjbPACWVGPXUopV2axGEBOTYwVpy33yAAaKq7TZVlUb2u1yziqDv9PJ/I3Eo6Eq0bN/EB2Ek1e/0JZzrRTq7aB/W2Y2Us7nyp5oitW4LRrkqxL1eXBGovc4vb9cAz71DqJxxnwGqAzHrW7+ADW1mqXlw1aUQ+O7CFlyZCJ2yfk/DB9n67QDlTBq1k0h11JtHQrACjNPHRvTSWfoaAP5ohMYy68GoiS0AU2fyRc65nadaM+/rqYmOfHxtAEMzqoUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211880\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956690924?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nGsxIJpnlRrfqRb7BEy2P0Dw8YlhWd6e\",timestamp=\"1773211881\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NdBIfG9ZoSqUtj92JZPEOaMAdTzuMdD0lQhV4h8SZnL/wmeZ7CssW0EwldpoxWTOtrQbafSMxu4MaCrlF2LRqbNWGE0mXohXcHjQG2UxqyluTJkusHftMWK54bMkXmqfqbGh3LAadegzxGa3vU9qH4UIR/NRvdNFXkzNELqw7ZBoaXt1WBPr+Pr3aCvQsg6WlUZ9TMxvT2pKfoq1QxxSToMGZAyANqrf6uxaLv/U5h+2ccLFVlORZ8BWYvXkYVbCvjz0bq3kdvXrzsPWv9UNbyxQ1E8DXRcIXytkCs8dy3sbpWF5iqhvJ/dhiR+5MocW3xSuGkBxLEQE7w9gTLnWRA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A1C4CD06101718D0BCF8AF0120F2CD1F28C9BA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1549594665c2d119c21f0187fea38bd9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: o6mx3wYRrsBC7mZvB5Vd7qb+9yhTA1MFbJGL4mVhZY2B2/gdZ+OdUkw6HMAcMDLrUdJ4RRR0OBHFsexbIvYprF1QIltFeNlBuEPfwEQgrIxTw144GXFQ8AUuaW3cduwFTiWbi3myb1KgoNqBPOjj7v6BQ7ZA8+nM8OXHdWP9PArmGf8WICX3FOUJQrtLwjJoabvzfgxzE5m/FuQ13nCFiP0nFALnJSmn4SdacWGsFWZ8KLQEawx/MpMnKbLXxFWSiUL9Tb/Do6BUVhw1mLb7EE6W3Y/mCnJ9XFXjl0OuXkUEXGIjUZEQGuNmSvT21L5GmCxoqpZ7Bk+WGDWkfcQqlA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211881\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956696572?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RmQMfpSYnki4iURc9SYz3sPsm1COzbyp\",timestamp=\"1773211881\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"q+ylDZaAY20Zjj1bxSWYeapTgff9lIB3NppSRu4e8um83Yb1lAkGZnqggvSK4PFhgn8qZVl4xdjYvOQZAWHWvGgsHLQwhuimuQnAnBZRW6pKCf5M4ThuYCZeKuFuehxaCbm+YyoORHT6usvIlBNB8UyLKPluaor1DB+Yu/DRTZam9RcvXpx+RNcl4Q2lTPCrBQhsfwGpF+PJrKhXS+dKu1yo5WNyesMWXX+4uFuiWxyDgA9YhrpZVrRrkx2Nz4N6LrT3lXT5SEpZZh+11xEVozCYxqfexwJBsU4ht4/dY57Dh4NpN+gNXJHHFwOd/8lxm4sOafLsdOLNPqr1SRp17w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A1C4CD0610D7011888D28C5820C6F62428B8CF05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3f8146154a79a5feaf274d5917cc61c0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OKw28obrt5fkxJ6dFIbmgJBUhKiEln7+8NgYpFjlZN5Q+kukWAguD5mhd4y4Yn63qzsITHZ9j7OMOZDX5DNfxHSyXaLz0vTEB99vA9AXzHCRXv0u5Y1+iP2En6E5PfVJyX66p6Df0j++dD3snNLzzcRmCcESm3izHK3mZoQX3DCsEejUaUDQEu8DYRWxVR6WKHhgZZrlxeohIltx47KEl8Ehnks8DelPvMSkwbm3Qf0PLl0rSDPk21lYufHBnOcL4SqGR0eOilYoJCVIQccdTbKhg7259QzpUIkcHxGG7Wo2hkp4MW7xfixchIehir57JYV92OzSy/a/kZib1Val5A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211881\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956704147?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"krT9fy9XyVlYXBcHNbTTVmpeal2M2v4T\",timestamp=\"1773211881\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"b34cMWu39L2+GCVTj+S5w9GuhN/IV7G5SXQw1RCiamlUc8UelLeCpAujijobd1q4u4g58t0kHkUT9pXUzxaMvzi4rMwJIbWnjtwFNu/0h2+Ub+r964IDczxXKAd5Xpjf3ew07z0gegEA3DjpiRYJSGzrrLfqvRpNMOzBrefdp0u2B9eJ7l2sHOVgecSIvo3hreR5cXhMzvrpxKKFlsQfYxtrT4F6MQSmctyfhZ2k/DN8xiV+oitKa2diLAazzJDKpxua2CMcHtsL+LXwT/wCSMoihTv23X8spsVlYhI5wGPE8WkV4kk9I8d/Hkkv6e8jnRAbs7jBrbVWWySXkATPUg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A1C4CD0610970318F096F5AF0120AEF73328A678-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d09ba20271ed476b42aece92c3dca80d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Z/4J1kWTcodJaNgbPjzVvyTv+ssg6D1Co18AIatbty6nZsN6XOR9N4bUjoQrl6fmOh01S6W7ujs7mxQZh+Jw61Hvmvti/bAwsA3zHJAbhBFB5vifLqIAM8zzhp6HjujqmnBRApZwHEX6c8Ialm5oavJxFN0bdtcECOW3oyWoq+fkNP1itfcb802IlPrYTf2DprBmxj7053qWVwbmLISWZdGCavPSsbaIcgV79QFj5gLkwcQppTsB/Z3PikHXpFvfTsaYIMj1IQqMQZPo9DrjItQkc0+RZ4feM7XCw8KTtu91DhN3XyxpCAAZh4VLQQOWy5KQfNqB++KQlP3yumEPJg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211881\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956832135?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VpXwqOe4zlZZtT8HoL9l5JtwY6cf9JNF\",timestamp=\"1773211881\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LNStjXL9PI2/aoPlsWGBTqYo4XQ6t3WRdwgPXGsa+qZb+90ruJrP3FVK5ePRP86N7q2Ze5PGx1QL86qOy4nP/J5VtfSLCK2+gxqz1vtq7Dvp3PJgXJgKV4XShZoRrr+l5PWAsIzhEVzdxRJMqH/lDZz68pDW0JvYylUyxYy3qBSmQpxrxta1IoSAplVn40tlmEkMECnltCQKKBOjmgMJ3ukNQWEEnlhuwr9jnVqAfI24fX+MaaCTpBsapCLFhYd9bElO8H57oe9NNDc2HHsmQ8ZCLQr1SZDGEz2gLoUYClRjYoOLpgRzGjq4S4M13yd9BQ6NRoMO0V/bfJT0eTN1kw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A1C4CD0610C40418D2CEC05520B6AC1228E4B903-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6327e7df3200550e23201558848d8f58\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kdxCs3YTsKbBrn1klWbdBxoTXPBIYjnKXwO8eMpM75e1DuLKjMtqvGFEFsl4nOHJSYJb/OJo42ZpNXfGQ5Mc1SLfgmqAV7mav6nTi0tzX3RQ3Oql6AJy3769c2ickA0resho/ynJzaX13TelEiODx42jzoJLFISKq7XiA4JHz9fKl1jk7289TvPNX1ipIaXrc6z9eIltuE+EVZFF43Wyp3XG66KdLdtgAy/2+a9tAMOfrXtQqqtYjPNPLx7H4jXEkcNL674u1bqnMR4+vqgyrIklPEMQQ/4VcMg3uMITLfMC2fVyKIF2iklFbzfyKNEY5iebWX5f5bZ1/eX0/kF8kA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211881\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957478775?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qOnPfO8prTRu24rTJbtWiEg30bA7oqLI\",timestamp=\"1773211882\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3JYngHSzjwlACq2A3DDQ3FMfOstLVXNjdLgMk9OaMO7U8hmxDPe4RcushbZfAsyPAfjba2xVE6zTXLvkAE6t/fzD1U3ydB8k7vPBWi1Y1Q90eOAM9JgimpQ0caLMtfWT5demSpdlMEzDSyvrIKHnZChghfLGp2nX9N5as15sjuflGffV2FbeoxwW/V+LVztlFrCOjsJdIlOCy//t4Pl5K/T2lsFSXGD97J6VEtgVtE5/raywwAvSNIZNqiU5+scMGXKFf9ccEY+M/ZIRyQOW47fZwmbHJElr8m0Gs0WIv4363Icc6G8u6Kp/y8KM5Qkx5c3URwGfE+4TIWWPkSRbSg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A1C4CD0610EE0518B9B4F8AF0120E2C31E28A42F-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a15753e068a30315cdeb6b395335c17f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yvlCB431ZZc3XMBSIW5ypMjN0RJQkRKZYBXlb7kwYbjRUgnmCr56/+HoDB16HDQyoPFdXuMLHbxdXUsoU7X9KVyefuhlSv7f95baRGc+330UowJGiaCVKLu6Y32cH64Pfk1WMgbj7JrWeYVVvpquhYYkMS/jTwALt2HGj2cjw/4BE8EyUTlfOZEfYDnA3uxBSOOb71TWPH8YdoBLHP1x1/2SxelQie5TkYBYV0fOgPMf4MayWml5R4Uz6URaM4kWRjk4tjgXblYC6EDg8N2VXHUT0U8CLth26jzVt9Y7Ic3b8nft+AtwCKVzbsktVaYelNneYXhSxLqlPXKsFw8icg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211881\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957647740?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WTT5yVcw7GM4JwpvMymaQ1tciBIiT8Ma\",timestamp=\"1773211882\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0dZiwYvRBDtmlvdgU64uCA8lv1TTUU60TGJCYhg/vERNrKvNKzV1mWAcg39yJqp7wN+Aq65qw7CAojAx5ozNoQvHM5wUFEzw+3d4Huy97+aLevR099GpBywKsdKF5FwVF8S6dawg1xsqlDo+9XCmJyYQHmPaPU11YhG7eISdRHnV18HzXOGpfOzOpfM/EJmIPfw8UEvV+ZYNtOHFRBEIyOb1jy8rylDbesyWDOP3kw4oBZUiStw9EofQAN0ZbPMGlJhCSZhRbB2xSnn0kI5rgwAUkDXR4wdW/sHjAns0J122T5P3M0eYH0a3O1qefhVQEKGXRuNS4vSFMc9ErLeWuQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A1C4CD0610AF071888D28C5820CCF62428B8CF05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8978ca4565c5b1c4196746af85ab4aa3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: k0SYkHTFtO1AMgaC6JZZpbkLEMSkVIyIzW97XYWjNwYJqRV4SyhkNz2GYtMhRruYXS5xOvs639v/ZQv2f/bBgPypZHIL5+TCaafjE5QMuAgR8f6347H1SXk/7yyEBg74jd3p1YcjpTDAfbqH/Nta4poY3iimhh1HVtZ3ziAKod3pq5GvuXJzGG3GnG9ynxSVOJGpfjV2XJaL0l/SW+A/bgDGBI8H1WQJSDoMRIF0UMpBqMI1L24O6SvcQBFJ3Szyh0KU1bdrEo7cP6UFsbZaWPljRhF1dr4c4lRShJeOU+bkn/pInWMYKDLsPv935/8ouXw5KYi2nfqC6xHW4Ws+Mw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211881\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957648705?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MJPEupyrTW9rX0udWowkAL7Zq6FmHrYv\",timestamp=\"1773211882\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IFuiMHWlj56XZwPniU824OuAye4KWNSHIvov8lhY9WO2s3FGY9KS35nrimIDcl4nw6yAg4o85ai1tme5zj0UyF+09qP3NvaH6fRgnSkwB5vW4bQPSIVoCT+5LgDOJZEe0CEvosH6uF8EW9azoNIgWtxaWngu5/0LYR6t89AF89at4Uh4GUViwVi2lVo8z30jObD14LIGBD4dxLclSsDviIm/vv2zWl/u+6/BFcSYZXLvRa+ZoaVLkJCCKgpzi7G1rj7rw4lNAMqKhRTtD5PSE+228Bk5gC2X6pXuIVaHizsTK7OscE6Mt8hFPxTzOVjCw1uHp6ZSoMoir6gaAzfOYQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA1C4CD06108201188AB5F8AF0120ACD50728AC9403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 153cd2e0e96feb0c5a09aecfcf26e0a1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BNTLRJbl59hdHmS6tlhOnHRhkVvHrmDN35SVhFiwzaWvFpb3yEYkLIjHWL5IGK1uRnTS9hgk33Pngc3TcmQO5eH/ak0G5DTKL/F2XZcS+8en4U5BlGGykuEJXaPFvMkMZdKEx1PiXCZh5hfjblm8EjBkRT0gVjaaQ3Lj2UpKagTp5dTem/Am5LgZN/iHf+M19kHpeeQImwB3Fz0TXqbvDHR5+N7JMV0bZFo52v8H562hknjOdTnLHHlpBvrFpm/2b5Xh1uaaP8NmIIBS6vmBlGY5SPspqDGi5JxYsOZiChSbE6l96D/jk8cU6CrG6Ij24Qk0LEzDHO/ASTAPTlrivw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211882\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958003713?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LyjsCL4onvTXwr3UUitZ0KSrBi9ds2uT\",timestamp=\"1773211882\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"U7qz9UyFQp6irQ1UkjNlZmDpH4tXBuR1BU9diChAsdCjUJfrMPoTB/TPKgEl+3ALcFsJNglp++SrJ4uu4ddz0JgsjZwqnp3DqUM4FsBkD5+mlfy9k04WwwDLoAbT6FuD/lu964Hkc3DBbFG+JTgWsjB9C8bNV1xL8ShNOn50jYvWEaK+TWPwm17Kb73zphiWElYY64MGld464hdJ9H7oKf1jqPvU+mXihHePaem9eVclAQxTwTjlMlTfSb74/h+Gt6k++fZxZd4mAMd2g4ToF9edizK7hd8hDyICOpSZ4tVAjPAJoJT+r6hW/vlkY9MTIheZ4jck9c5ANriZLaHilw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA1C4CD0610B80218C4C6C0552086EF0E28D36-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5d8f5526b4a9eb927fa9a3c89be2a8ba\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NRKcfa5ldRe9ukPfv25NTbAFQMyinepTu/UUCSkgXOl/CDkd1yxiijwim7W8zvlDUcuRWe/LxFEL38dPLHAAJY/D/XgjysPdKhlvuMWsbM8HCxCPTSrvMb/S/kjkE4bEwEiDGN17WeokreDfR/t4AA/5qdqkj8y9N8hojjvcj1HtEdHHA2zousc/AHypsmwwb5ZWJ470trLjJAVQ3K7BGC4nrrIrAHrglyD1wBxDz4NNem0GselTsAVMHBWxeWmypPdkVWzgA2JMbbyaHibiEgvUDNbND1FxhTxJNwvClWkaJcZ0viKPZZFeFdv1PohtcIlgq0s5S7hpc5wyn0s0Hg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211882\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958702927?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PuaRdtZnfwSxsw6Dphz1CdsCmZzqzmXn\",timestamp=\"1773211882\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"shFQ4v5qoiMFT7rI+gRnzdtQ4sB2KIdLJpabK8rFlXf4KI1+EwL6bCyNfAXxx0Ydtxi1YWPAGr/TaIGnQ09OB085qbb4VEYnY5EIYWFWPZU4aFSVCcbzk6ChP/basr1xd7T25n645vhd6fDzz9u5kKpHrLdrH8nv2+gsaqFO6hm2z7wpbCstqjsce1AeEo80Rzjsv79iYShWWJQc8m1RMRRWH30i/w8yhfy+LuvD903epdK9bSb6d2RMQWQDynSQiZfgxFpK0dJUWFPh7YqVl/G5MUiqP7Oab1lKMEDJI3VX+uGXjlymSgLObHISWUwDl9yR/iF1NqsTk6J/Y3vJjA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA1C4CD0610EC0318C681ECAE012082BF2D28928A04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 11b6f695483d630cf56dba5dc56271a5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NKKJWiXw61OBMkrginexHI8M22JuCGTrouu4vEa0mpnOz9aYnf7oektkCjO0dehOsRp+Vh95cwBNwTVej7M+8/tQ+Jw4syGllsJJT+/R6GUU9jz88xbbchGJQHwfJIAqcgSQiYzwqd1pcF4HjAAdnBu7Cx8VAZx7EpQVkQiuNmD3omSe95nR8sMI7zucmQzEF/1e1XgYkBV7h5M2CADwVrIS0xUCChFnjCLaKCo5046/w+agxOrZ22WwqhYwt7s6SobycA4YwP1oGtZ5qVLt9poZVmad366+2xP/w1H4pkL2KuDaTHSvc5RLPJIxqJNhd6LGC9zyQe90idse7y0JRQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211882\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958750152?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9LaPMDTtHQhA1w7HXdFdLe1JYP5nnR4q\",timestamp=\"1773211883\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iFwKKqY+hW/6TJdIL82hh6bHft0B5g7BmJww6cf6lQwf1c3/Q2zXv8pRyDChoZyoDayPNHQxVVHnZ5ZUt9qREjNYOQ/vsuR2O7BgtmwaK4zn/UK8FKR/4fFmNY9u2S8wi2/ncCuzQvkIGn+aA66ULZvrxYIJQIn9DGQ+H9x3UzMqo3bq3f4sNgGdxqcwqgsT4FPq+SWrO5N0UbmoNWNQz4E/DWV7nnUN9m1gY8g5w7d5h3SWM3eb2WO1Belojo7084kNyR8oxuENG1IA1NGl2rNF3AipodVrTTVvih6z3oZmUy5PZaGIDgikpL4qdcMJKvvcbr42c1563l+vc4x/UA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA1C4CD0610980518B981ECAE0120CAC20A28889905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4a3caf74fa697231a59128945f8a9f16\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ry7AAd3YjgkQ82wDCgsUeOxvR64hMGC2TB2frcOOzVOsZWZLcpFEB+IY+m4yQXH+G+e2xi7BoYgKf8e05hJa3+FtESLdXlSH561XhyaODURhN5ybEQw/HyJ3lCAS+6uJ3dGGfpj8RQaNOJ5CUBThV6wFDcSco/KqAFGc57SaTqx1VhppNxMDTs92+5dMDl+MY21H9oWWwxBT8VU3t5vyJWPZbKoLB0Hmn3yfJMhEr9eYoycNUdefwgx74soVD/wvXFcp+fa25u/bRDHf2ZhAkOSryApRKzFUjy8VzENA0plFJX8u4ngLGvp63j1MjogLtY9MPhskH+xcJoR0bAEgTA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211882\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000505871?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6RJdxNScxZtdPUF5CSQkHkkRG63pkEdI\",timestamp=\"1773211883\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MYkGFXxb5sBIOZ6KWvGPe40dvvUgOVfGfbe3VjZRWHoLbg/AW2EyZzWGqrmAa7/YHmhAbdOIErx5VkG75r94yWw8CxfPAewgMnWdgBFtoRBM7CygYitabI/NE5WHnoOTGr12EXOV209/Z/ggx7T+riUqViyLqd+aJ/Oyl5fBbcWdhMAOCqKhdbZcCWHIY8Y7c1b/A4B2B4JkAUbq4Sd2StIjXJYrIGBo9wN0kirOzFfMJOHzcLMqpAxuId7UtzwkeylVeMfr/PG0Pl/YRelT3pQhASGflJjOGHoAYEO4YDgHOH3UgyFVdCVQJB9KhqR8ZJ3TV3LWBw7rNMvTi7RErg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA1C4CD0610C70618AAC6C05520D0C43B28FEDF03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d17b4d542817c258d8d406c62fac3ac9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uIOrwTKrKRXwLer1Foib1z7isAbs0opBaNFCBQjL7Ij2AnPyI5ow4tkDA9cFCTUS8ri9IWO7VmicZTVuSzspKqAZ9d6mwMYt0tENxC8Ni6GvpuwsUzMi4z5WYj4jp686Uz3h10VIz26xu23Ois9R9aV1mtCrJMuw4l53BeXCQWGRoSueVhiQt4kHuWA52GTgrswvEww/jjpY1yDHWQh1ltZMYxrhp9iMNC7M968qnd35DtmpD4Vn19zr+qV3C8Ozh5MGYvNt6mVLAnz6/7UMiBaSgNnrTDt0IzsYU+cavVL8UN5/+dwRKtPDh+9eyTKC0s77kkYg2hz9YI6Lh50pMw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211882\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000629680?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gVGzPL2dS1yEQqp0WMIhPrXxPfdksKlJ\",timestamp=\"1773211883\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vUdhJ5y6n1EO7/s09SMx5zNb/PTRKmw3KSJoKBgmEzYaSOH1TvNhbsMxcwxaFEYl8On4AfV9N1K0cfK2uWZPS4JdixGuawX3z5glFr0ufnTY/5EYEG1UOqTzqTSyXwD1We8cAPnjgHAY87FtmNH3d2q2ItmMBU6bg8kBYxOKxnCt3Oa3Bz0panBzK7EUs0fr0qtNmhfIQaiBizAEU4oUKdYIWt6oj0jwABFVgc+fHlEncBLBck3D5OwsQzmVPUarn8Ju5HL/9xr+McKE8fUOFMOf401X0p5SRJE9bLW/eVv+E+C8CmdmwcCJTEYHVJiuPiXUmhDLNEctrq7fPvLelA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA1C4CD06100418A29EECF50120F08B1F28A99505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2dcaf4c094be63bd45a293a2db269e78\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vSpfMVVClVMoRV74kOU4yfqBUsBY0+ZZTH6XJv6/F3ibGW6uhlNN6vZJqGqrJlLkEYqeJBztThH1MIl6P0FFkTOd5aExl6zh6aaL4et3+Hko9l7DjK1Tr8qW+YkwW6ZYb2zg5g86+pqhRhGGgEqy3eVxPrN+fwF0OcNaT+5hg6RsDv3I2yTLoY2XYI9LJp86BmzVVfEj5GYioU0vshRUiki4HKIfJs+nt4B8Qsy16QAscHUzuFe1dMsSxoBTjNSW0h2IwAKfJMcbVZbYQ2Y+vn4nekh/4MzQLGj+tPG3zNlEzSVKWvYxSUOROrJ7Tk373IKws6TuRxdwbcHprhfuVQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211883\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000684024?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SUVYK4P27vlo1JV1xZFwBb09MmLTjWUA\",timestamp=\"1773211883\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"njx4xAcncNx4KbI0Bcg8supF92F462OPBYKyYxtjNsa6w9DPgbeoNJFAQ8JX/jdQlm4ee5W/nT1ol8r1PUWSHtbwDULhuy20tVGT5Ebp0+x5gDgeRs/nMcKjJgcXYt7vPVXaTNw83XLCWZkOAGwhOXpYepHVE8dQz7iZ6ERLO71rr/iC7YLkU4Nf2EBgpEfd37utBzGPPvc+6T9vbXG/UVv23a9q4u2DlBV0jyVpVQhHQtPl8HFkWkZJTiX+fvchJENZdyDscFBKkgXKtbbYNGYIDmTOMNXNR5ZYFd46D8w7JyOHyn2RGGDc9YGK1FDP48fKWDWZydzR4+WWDA+hdA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA1C4CD0610C501188AE7F8AF0120F6C10628902B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 70e69e42ed75da63036f43581f4b39e2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LmHHNs0f3l2xRtr0C0dfrsYAPq1Dw1217pOEGuMgcpaL8Wtrlem1JH16xuXzzv99J2VNoVDsZBC4SsGoQ2Zxi0LikPLkZdHTciISvGVIhP58j0Ol86cn3Nqy1GVHOetrSb3xbgaIZD7K150I5yJoMg7TWU8MS0oYr/zjUwlVCv3d6IUicOZ4698L2lvDy7DkPLy7Rdi4pK1AdjEPxvJ+A9+G+wrlMA6zBVaWBgmBrTs8OSIPyVvcxdL9jPNmbJwStL/aRfvIdU5q4xXd63j+CXwpAoC1gi9Jjr3tc4Wk6aTOpZC9SNZsZz8LEFDISqpMLf8NUxCDFVHs5cmhbIzQWg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211883\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000791662?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tb8PREthF6QDHymPTlzZj05Lqe0rpX0N\",timestamp=\"1773211883\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5RdKO+cZ/7FD3v/ZCGa84BCLEFvP5zDDh58FJx/G63bWtak/PnFc3blB/AAlbf9RthHylh33in9f0gIT5P+6vx7qrPCBdPc9dSDPe0meXTQT8qPHu9MhCQQry6djfYqiTKFCNW5VdVoLo1fFUoWm09sMKROcf1okmu3TsKwzcxetxWF6ukmp9/zSvLjaPque7Mk64Y3xl00XLP0IPP2LsKpzFlwqMViaiM03BmaUcSi7pz4XmTZ8Zgh8R7u3YGZ0dvS7fVI3f6vQ699y2Fg5xK37EXNXLccHm1rwwHKYBexdz2q5evwodqKIYfDLPPRDU6U3QUaFEY17dyUlrfLFKA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA1C4CD0610F70218E4E8F8AF0120D2AB3C28DD8E02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 628366c6d2ede1aa3ba4537dce0b8525\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mxCzv+nO/Dn3i3l2FcwA48q0nO3dPFGa+z1+e/HCTp4LFjfh2/oAH/65OzwmgdIbaoxvAQuIr9HWylZ75pow2xq1I8vIxn2cmpck+Ndi6/yQbIWiyUrysf61k/t2ZbdSuFR6w0t0U2qQwmJVJdDHuMsIqzghRVKGr56zu01+UcEfSKvbHeoUA6fi5UIW25qh7YeZANkcJMVzRZSWhheRkKBYCxQiB6JAyr65VY9NZR73zd2Eudg38xCe8v6G1oMIzIERnv9QCPSFMxbrEMmLXXnP7QYGpCyrq1lNL+KVktM46Mny24RHmI4dtUALQN5ZCsef+KpmhVQ4seBWUFrLtA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211883\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000874050?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kKJsfIzHdNDLmGQrfOOxR5RrGjqvFyvp\",timestamp=\"1773211883\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"L0XAh4GINNbaJe9niBSIGtzXn7vcD5x0huIG0A88U2IV3mk7I//oFsp9rjZou01qq/YydleEaEoPiTzKmKdWnAtqbSZ54ZUjTGM31Dh/GDWgpVJRSQIXZ5aCvlnwY/v/nTjfZTbbJyPCbjWKmCw2iRmpU8C6rhqTTfs34XmlZS4FgSO/H97djsgS1QVjw2zZTf6znwrHwCRKI3hy1fPBQrPTZYLQ4uhWB7JSqeJYekLgZ4s+NSoekO8d9THmK+nKS6SbJG2SeTq00hmtru6nx+KIMpU8rKA/BfSmFr7abaz73A232QftcDOgG8RKgPaZQN/GrrOiMM+jxwzDlpjTNw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA1C4CD0610A60418E0D1C05520ECF82B2885DC05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 95e5f9658ba17ccfa6a900f45f948085\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KqrMH2FX+DMTOSDoHB6ib5bK5h0DGexebgSC9Yt7wOXjz+2H8VJrfTsxC3MofBQbmicNMqxU2KkNhftYnomqbbJvbpTV5nNdaPHrhtluLbkiJ4gQxVQ+aNdR/Czku2ufbsLx0UIx6v9ht1LB6ADfe1tWDAZOYlRZBn8GuS9/26/LiL2UCVawnq6egOdcHFpiSvHRQ9YC7mThf5cJIQdJF2cVL+cL6+KGpEx5OLPC/S5w/RG1WLe8+b6glYa3+1Y2pQa9iuhjZTOiDrv/rgqewUTwkPAgl9urvTeILcv9IVQiLzj4HxopGTsQ8NJYjC/6so4RfRl7ep05g7Ao/YZMQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211883\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001181641?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Z7t0AHKaTr5O3HzTWB8wnEURuZR1xh0l\",timestamp=\"1773211884\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4Xxd+1/XM5K/907VSI2HTjIalO6KX1nESfVVM7V5AA85v4LRZ0A+FfikEc7uj0Ir0wxcCskC3ub77VqldLz4aTsmyI4MA3WYtKT+yZrlQYau2dkx6ZkWtJfriEgsBXuWGzMzhoaPxnt/wflVGey99h2hxdnLohgDCL6n9I08FIgF+scsagJlBbSXlxCecbEYzLOb+FXcwcaPsW5T3JqYaUVoVUMmZ09tHnnczX5TUCVHkQE8nbZ4Ht4qP7e+NlgpePTTIjHrYASDW8rdwuGzEy27JXIVlqDpDHne7mO54KrqLc3ofYr3Hi+5yYQlICgr4LxFeTKTWG9pGLQsgHoU6g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA1C4CD0610ED0518EEC9E8A90120C0B32F28D8E403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f60567419c0c5073295f0b4ecd359bfd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xV/GCV05/NJUT3UDdlBCg4D0YRb2TPtdUgmObrg2f/ZpxrxJDpcXqw5Ungo9RsRME6SqlYST5LZBXCIdMsdwHv6NLSt9vb8jfI6ZjfCFVH/uf0E4SDVeLZM3S6Byxzblck+6ZeT0UtqYnv8loorv68L6b+yz62tNi9+EMkS54zpEipQ7OkwPKxtlxshdTE1wr9IkAOkfvTLJvEqqAxkkZ3P8Mp7Mvh3wCuuc2VYIVKYlE7q7aASU5PSCbVfyj79yUn9j3omBZYmvBrskRhkFmZw+fW5pvjs6z4qSeNH3Wk6AAHXBgsUniK5FWj16ppqZfh+H7C+GVar2ZsKaKSXXVA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211883\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001363030?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XQhIru3ThF7ugaYa7y3NNWUrruHVzXV8\",timestamp=\"1773211884\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4RpI0PjTURirD9SP1x54quN+NeDksepntyv7vdx0193r/w3ivqzzJgcp0tsgV76ZkHfAT8GfYfiNhZ+m9TN7KGu0aRyn0kmnaQPS0J7K7fpvD05ku/Jsu5a1In+5HrafV3iMtS79oOrSbZ7XNga7q4oNCCsgVsKfThDdOyXku7HCGWv3ZJPRGiF9cmGoPEsIx7ysP3hqWVVEdBjtyqfXvbylME5kasHoBXkQoctrtWppRU7gjiIJ4zGm5QB4XyRFDsor+RK4avy6Ajp4EfzFuLHtu+GGU7+IyJZByRi/cYpMWDbos/LenQLgrseYxWsegldrkXgOvBisOISlI/dtBg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA1C4CD0610A20718DAE3F8AF0120D4C2272883AB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8bb02b58cbb66d96c709f4c60c13e02f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GytNdBxH3KNnspMnwxqDFqHTye6BFv4lQ0Wfh2cg3+tFs59wsSYpycTX6JZaKwLjZXgqj0PPDyggv3COPxa7Q8n1a/Grcksv4gbbfe9tLuD+K5rKO/wdC84ix8u/zGMmrIQYITGIisb/zntf6FjU5JodLhFVDuciXInSaKTtAIOFWgq7dLv6evQ2L/vkctp3IWm/8SEAqxtQn7QL8rHXME+MKw3YmYWthfHuSzRL0nzi+LrdNMKsWWNu4RamiWBToDhAM3iP/qFPdBkWJkdS6phuv8aWB/EhUshGVHCO0wmvSneEWraH7jbh0HeXZkt6hHUcmtKOE14rqsVqAlZwmg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211883\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001443073?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4EIYiudLurImIQCuYoP8SNP7SHXwpAl4\",timestamp=\"1773211884\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"H5lcGc00y2Xxc80Mu7Ax+g2tqX7Sx5I0YS47zdUA/EeYcON+YzHwQZdG/szRCHmcgn9n5M4qmowFDak+6f0TK520H5qZIcT+ikR2k/wMxmqSYA2xhTO1oVO1Mmf10rpyjKt7l/f3SwMdzdH+t9dEvUBaXG7q3PpXMsLBad/DXSMTfvyqgi8tPeCUVQfyNBjMl4pvDgxvoPVwiGDE3tsUSPZtfLmH8SJz6Ofo+JDq8RflxGMnzUyT21Pqzq26llQkuLykmvg2MNkB4PaPrhRJ6h+a7CJaM9LlRMs3BWV8OoqUSKsTY0ugHT9v3A1qU9fwUUd4j9FNuQ4kGG3YGqUXUg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA1C4CD06106F18FEDB8C5820CCDE1728AF9606-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8a1878d6f712f8efe105a84d103de22d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ViGZ83mgPrO6BF4wqGc4EcouDjKnKHeBLr2E4Rb1XfEk6Q2LqLTK1fLIn1CfaPs6bDtpi/L3piDv/SDn5O/m8ERvz+JTIKaJSUfKD86mMdp9jpybdwfrghj8MdHgsuOgj55e0NS3xvZOe5MkvHZYmhIAn+ZCwBr2ZpoNXQTbqTJ0sIJhBZ8CowJfDajYDOPRHmCxkps23ZIaMD74rMOhh13KwztbDKzVLtaCS/Vc36T/opB1hduXKgDJOAFM8gHcd3SJslSZmMRcqanXYV3plyws4kA4Uhiqbql6V7lYx7a+3+ifvWNKbkwTEeBqLkJTMmaTyn9kFIyheKJkJ0umAQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211884\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002310792?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MgKbB9IBSdHxMk7NfgJOOcSdZMzVZcQe\",timestamp=\"1773211884\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dC1+2ybBhlHXP3e4BEK3fFet5cl1VXzWQLSVGWGLAXpdQEHIpNQ6kzXwSKfRO87AC4dt+MLKnwM4TPYxgF0WUUfSO60kQfNCWcI0zN1a25F2fjQ7ORoko2NhCtWfLQUtsR2qyiSocm6r1iAsTRPWod7xQTpjE9YGvrBT0Cgg5X+DdOJJORUA46rTXE5tnaXn9YwqktGvNDG9AJ7gSJqKS/9d8+SUBFuhtVOpW2jAZC/oC2AuXGgNoMDBn+l16aO2zxirITon3kG3N6R8peYBzxWlBRJrhi9de5HwThpDx2JvSNp0ABJ2wEsJc1RFZLYqTFZuI0gwlSVqLtUPGR5I5g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA1C4CD0610910218F7B2F8AF0120F4A20728C4D205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 62e8aafc57a952b6adb285b5eb0c063b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mT9oW3LIhDdHSsWz1t4JdoLTH+/K/BLZSW0vyG1KOXpbZVPz+r3B3Y075RlAXPNFra+xZNO9WnYoWL5cxiRDVsm8lXdk3MW5AeRxAtEfjew8tPZQIzQFmZM0ybzLVKlBpJFG0mimNwG1/KDzlOMWnuNxGq5C3nQmDcwNcqH4E8ETz9oLIdUnsiqP4M3+d0sTM3HcvWjIdYElO+NLjOJRv5Mf+6g7ZqohMvaih0OFd42xUBBM//xLx8ayghUnORQMnjwps/xBk2a184vbZjaa3VWP1Bj1TkC6F9uzqnRop/UPI9TN5Va1kVWYUvtP4WFGVlW/knE43GGtksw2OwLltg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211884\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002559579?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bb6yuZAOoEUsOcKdVz5ShhF9RNCOe0MA\",timestamp=\"1773211884\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BLk3f0dQzbWD/M3SnaJImxXdIRWK0RDrNc5gUqVs7R8sNfHk6peTHV+60J34bY4IX+vHKyoZCoQLmILQoNpSGP+c8E1/iEyUL8iace1duqCX1U4HGmhfKeWF6XNGjSeWxRtutbzErY4lfxvnG60mW7hkffR52G52wq6Pgm0lcmWp2rRshWaxWWTpCFfxPmM0KcLBdW1Ite4IIdrQQcCyG7dCGkuAJwMo9fhNvVyjFqQyvml+wljhPgGs983YvPxaUlexiYwJkaZXaufLbng+4JRzTNz1IhMsToG3LWNEB57HP15PZ7MhlmVhdpQVhXjbkuzow9TulDmnvZ8eJcdIBQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA1C4CD0610B5031893E6F8AF012084830D28C1F901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 480cc4ce451d8723d178601bb837ce19\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: s1CR4+7lbNrFYRX6tKvKR+0gqLVKfXrJz04CknXm3IDI0A4Bv56UJIYg/ztzY8Yldjdv6uXxmYcIutdlcmuQDyd69gKtH4QKCzTLjsPLfhkx8MGYRLycjxNsGymdU1xPegPu8sjuoKUVVqkQZqnO9WyO3xHjtcgufZ2MWvxvS3jZhPnd8ERrcbzyElKvFvyOs78dJ/5Fzt+Vd1/Su5tRZj2uO0gmH2Z0+f207eAM2ybd9tNjrN23ppMpGs9qjLs/2JWkICW7zHEbMWLQIvna8f42/il304fqzJdD2jcZzw6y/B0p6DSAuSkBFJT4cengOZ9NULZJezvcL22EPSbyvg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211884\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002721683?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3Pw3mwkvk5MOh6XvvqfnIbSIkZ3XUIV9\",timestamp=\"1773211885\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Vwg8ujfXAX/6RPRzMHqBXKLqmYdjYwnfkGM3jWwuPPYgPr93rDq2RyZ5nOuH/H4NF8XNm/AH13i/VKacrxtGaLTfZGLBi8EIlmt9FDbcR/0Y7qeTAkjyJ7EyVfukYf+EsF/vttQFBRu5476Pud0XsjPEDIoOWMCH5Xjj9x+3bzEXAqA4bqoMTGZaKx2Q+XibTW4UeKmFRAbAF9KnYmZAsrICJ9Hbe+fWsIGlOCgfMQl1E+p6P/SZzRmIHi9BLLOc1LQ+/Yr+b7Z+rMB+gqMgWy0KOk+LEdhNI6yz340gAOmgAvtMClbyXmAJKizJTxj9K/O1zBaIblpRw0u9Eddz3g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA1C4CD0610CE04188FBDC05520ACBC0328CF4F-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 96d56f850a4d1b04554f375a7ac04a1e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ivmd1CDzwkTlIfKcnvW30EtRFAcijVLEXHiN9L07yhKUwkADyLdrs3BzmfJJbgVgz5G4YTf7OpKiR1LuT5rap8lv4EMHZEbmR/6Wc+jKS2uxRQ22DfeNJPzU7NsQZFJDohHuKAyR+PFMRby19VielwMjWimuyJKzAXPAchWelwqnX9lDPumY9nhUjffR0rOrHxHjqR/qjaThoh/o5EHk8wW4t4aZhmVPxbmHMm5Stv5gLFpl8SbZLbonAxT+nZR9067eGqrvPpl7Jx+pad2IX4hdJUmVxRnI2RrfvTrEgfnov1DeUzxNkdXePNVT2Usq3ZpuxfqF1KoWbd54HkHFPA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211884\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003041536?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"OwPO1n4dKQJPCiy8xak0sowX2zAqEoTI\",timestamp=\"1773211885\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6YZnVsVII/XtNFxamK3I2u9Fr4a+lDOIirCUvXKQ3qY4Gm0LfUkWPLWyjdQRmWwSI7lIw6KQ9aaauzuytjhxPI5YNGjuk+GViHWATsPPP3Jy1z3NLJ5Y/KDHmGJsZUXx+J9rX8jYP9mRSoD17kBCc0ewQKRUrac67SxW5CU5GsFUDFfD88dW/mCKwfMWXM66nSl5ZXPgo2ke9AXWdbO6Gta2DwBBHXRbZGE7uNOu4fonkrLaQcRSrEcwpAnA4OTWB7Xjl7ZyTGf5J4wxTTAsGopZawrYrSHtzH4Yamf1KZMo045vYagHUpa9r/YlYgWkWX3uPyBcca373gOZVZ9/OQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA1C4CD0610FD0518878584A90120C2CE202894D901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4d3d94af21292d091c2c942be66614e0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OuJyi5Y6cpB9ujf52GWohIlNIryqkOG+ANBPH9WzrVvAyjRstLBdjjMXA9PJSOuTBqfxg7+uHrh7UiL3ql1PIRv+LdY1R/hHEr7PEGD5XsGLU4l4S32KX1WndtThnjz26WfcQb2SkhsB66o86JF+HvTVxM9i/P8aseVz/h3OiP4MfG4+FZ0Fr8xR797WgrOKiyxhWzyxx+gffUuxto6YdAPeJg7eq6stoFOZ6Nvqhuy5UW1zyOHOVE59RIjcn9XxqyA1Vtg0vkBD9j03BcIQwRE6ldOVICw/yEuz3r2eYD+ghpOQNg2K9iDscUCGpR6BKXi9ixv7pBqrmbJWqhuiOA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211884\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003816629?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"W3Ge5LunXagBy35jRP0rTwaNSGNDKvIW\",timestamp=\"1773211885\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JJaULw+oVdNiZzZ49hHbbdd3DfLipI6WZ8gjuE4HyBwvK9HmUsS7yALwp5rndYTpCSQmTveGsdDXsw97LaSGPM5wRQLlTEwAB3Wubzo6GnxYWGRtY1ahAPxkSUo4+I4h/GY+dRnoOvqP5nsiNXo1hQXdepmoUYjHC6kojpQKiOpiQfnfcjTzsgQFEp5f6roHpbTtLUQtkKlUS3bRHZRCc0YX0B8SUa8JtSxJvzrjLjap/KCQWmVYJPilQuRjJJ84Girf9QUT81xI+zJQEmGPlZ7O0GmOnyQ3+e6fhO21OG1xXpc7E1zpwFSxt87s21LAfRB+xxvhm8b8MANogJIqzA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA1C4CD0610AD0718F2E6EE5C20AA9D1428F4FD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: da488041bbfb7f1c4fc6c4a0ea1f2402\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Wt5wQea19nuA/rBMimOCWu+KoIDAdq5ThUHDGzRor/K4APmjmSjrGWYnfbsTUkvgSyPUTgGOaq1+6k8hR3N7+io6jtIp9+rrVP0JCWGqZqevl7NtW1HDpMlXfWSxyEMWeDTYDPk7687UvKa72CBC3jX9/Xv+wNZiELeCg6oBoafbCaPZY4lLXj0Pl/KIf84JRsSpi1BnjavXFxqt8hjOroD6YVivSTKvMXLouiplvbrDiRsCIbyhnCN1ZVf9VgTMzUdYv2qad0x+2k35BMIgV0xVNZ8no7CCWkvXmCV/1he/AGNlNpYIlHaGCSArKe/4UeIMNtGmYFHGdT1WKzCOiw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211884\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003880361?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e1t9LTIYogPkEE0glhARkE14IjqXULeL\",timestamp=\"1773211885\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CCTtCyfAydCAXiC7P1EHvmVTM8ZUoJn5fJGhksiy62LnhUfaztiQuVIe8BKVnlpghvqGyulvoYMeE11iIFX0LYE0uq/ctfcDSqcbzI+3HlhhupluMdEgPwrM9WAKhWI/PuAcP6OXkpEw2wQ7tZstEk0AT1B8zTkT7ZMzftVG2GJp8FW7Cc5WgRhhxroZJthw8CVJxmv3vDRkN0EcG67x52RxM2kx1a8kOnaxHM9ls0aFIiICG0JlKKyggvhDGB/IROzDIpkGNQBBB5pjzyk46lNrpad2LjNECKLgL1Fi9fbjCsyTzktU6kgtiewefSB3lsm1Zae7gqgeFJ0hkOmYhA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA1C4CD06108D0118EB9EECF50120ECC32528A5EE03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 20555e5d0c3fa769b9b4e6b07304884c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DPU7QsBtC2khbMRD56RTUQBH7GePAjyTvvu1t+Il42BcsgFmYKBu1054fwdFwx6sEsl3uk2mPL7iZrsIDa3gTaAXuPd4Nr6lZgxJ9i+838pHWe9yt15TD5ehPdTn2zesmZBH/8i1QDptk+HUkRVSJpq7JxXQPoU+KSsfnltYDpQpXFmaUDQgB3B/C28xHYcSbSr1gY/0nObx7PXCG0+PEmGfvtpq7JDjwpaTW9qUoqi8Zf/UnI7AEXMotCn7QI4RhWTCH4TDJ+0UjriGqMJ7weCp7ajSeXrI4URwfkJjENlkecWN22mxgoVC/Aqrc5GoLfFCZ3+12OQq8l9T75t5dw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211885\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123004342385?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"iqDjoAijyQgs25etBvoehcJSSAu8yAkX\",timestamp=\"1773211885\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"quGAquzLlUYnwRVxxZLx1rrKUKRsBDL/L+8NNfDEKffpHC5KLfX4WvyHC85mIA2sYWaRfU0LBu6D1dutpsZ2bsnPP4zVgxAQZHROYORhW98ljrGaL6cpc1tvHBIWmrldIsCsmS3Me3FgTokAdBAXtddJOsoJdnHhLiGEoeaxyEg9JUIyd9OAVLt8j+10SuG9w4vFEVSYg2rOfEydusFJYHZN64lpIc5UwJXo6UBM/njcKJuJyzSy1ArhVvlmW3zrWYWBc0CxaQ+jRH1SV3mIl6Rl9b/eYN4IelijUJ0L+qhUEnFmszsYXrqs7We/5C5JP/FdmCWvaUNmlpR+M4zLmQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA1C4CD0610BB0218D1D28C58208CAD3728A9DE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e6a840e7753ab8c5c99888a609ffd181\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WCd83iidLonU3IdnRLphWOFzPjwT23BZWyUsglrOnIdHdOg711dK91U8th/n9ZvPFRxasqsGXHOjg1wdrFlVByIqSfbsEJTyRhEFEmo7+h0jaf/4spS/c8X41DTE5k7I/H0iPf8IM1C97lD6wnwH8WzPcoFK/+CHgVF9mfyLRkeVw6hVrkTItJKNbHb6soZCFeuDa3echgyvVdr1Hikm4OHhkYsbkPXOYKYVVSTNsNLdFVNYKJ7x4y6UpW3TbQT6Zq4hI8tCMOFC9tJM3YLjPHHriYgWu6Lv3R+gTiRtnrDv0LcwwaRpB7pu6Lad2Mx2MEXYfx3finRSnP8ml+CzxQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211885\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123004746546?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MfJJcm5reCiDbwDHen1K99yLVAQmPH0i\",timestamp=\"1773211885\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V7X0aiDm1JnV11JKC50AtslRlLX2f3lhaIqjX7RK5O7BeKon1DvFapt0EKagxtYbQgAbqlzXqbXWi4Vx+fP/6ITict+HYxRl4KmUaIpzxlXHtLIuadAFcV4uxAy/DBvR0uWChi2TFtj5kvE0hn7z15NnyW/Yd8ZwfqUye/t+r0nQZUHI3LwMvo7dDhqtPQ147G3g+KaxPYy451VoZC0tWimYIO+gHMXfZjpA2g2bsDYk2zRqlGZD75i1VoGz2kSwVFgZ2T14IeuCg0WXU7YVCqOiIYqkV489FrWNqLE/TRQy2QRKBc/ApakIUyPjeU6vLo0DW5v6uun8mlYVxUh8Jw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA1C4CD0610F20318A699F5AF0120DABA1B28C79802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3156ebd478585acd132ec167e615feb2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EtZES7ZIm0I1TDrYt6vmE+LIV34DgqKOghHTRsskI0XwFgIlLA0/yb4ZWZaolfX93Ev5uvTR+qzS4RO1xpnF48XaVyMvWXOi5chBPf4MPmSbeazEN0dBCao530vEySh5UNhajqrQqs495AQIlnhLt99CDb8EfW3ddYLQlSY09poQRgkTdYfVLAi8ALoM7Hn3mxwD/655j1aN6YNV62vwHa3TLxNej6JxnJ3gZYXNo850Y4dwXwnxjpqv0kVmRwnJBg/DhqXwivC/JPDGRKY9bTp1MSdt2wp0jpqCbYb01LNrw2LnFcEqKkQBzsS/ArdGDszqe7C/GDbXyKCN59J+EQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211885\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007005637?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"krdFgixCgpyUkyyDHdeUfmYca8zbEoGf\",timestamp=\"1773211886\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xHxCdx8l6aSIGAEfMlLakJqx2ex0l01GXI1jnyOjjwJRnWGL7x9xBc8R9sV5vpHaDv93s4vfeA8TKKIaCZia7YIkE/vDjHSmo1HfD2qnZmnRCFD48XoFE7o/iVQDAJnpXwydlqps1Cdx2L/hyvtQhNkQLpOnaQTLKyZ+pmoI3GTcVupkuy3r+5ecOfAKyUuHsN2FiNDaA4TbMButkpqoyuDaPqK5DMYcO/WJXoifyjXnnamnPg8LC3S+ooKaT5ZvJPIBHAOju3l/eS05EAa837Jdmwbbdj/8OZVtbX9oY48DSMS+nrL3ekyENzuayu1Xvr+aiSEY7T2Aou2C5wD/rg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA1C4CD0610A6051897CBC05520D8D91F28FFFD03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 996fcc624cec6b7c5bac6eede12cb219\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sN+XSbvgjOhD68VI77nNYhVHSUoYtnLACbtCMEtQqmZJndSnlZ5VRjSktVtkS8nScm1Tx0IZFMxFV1kx0ZakY5WFaQVp/gMDUo+NIWYfQQafbRgnA57PmOPVszpfaT45T7N/oSaZqNKQ+CcgfdPbEAABOxpiF/AljEXVRKIfSIv9QlW93Dn5A8ZoehHjjl4x5ZjO3+s0H5vx7N/wqZNsK5VbD6rjurvMX1yitXb74lO5FnfNRCyOH+QTidzFfNfh/auVm3LZ4egkmD7j495YiWzDqFQXvlSehK6TnVC+ORO1d41k+M88lqS+RFtDfIQWofpNrIwtnWuzpLaf5LCwfQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211885\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007058589?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"n9usgBAe48uJQMulTTim43JJ94DbgAiE\",timestamp=\"1773211886\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JrbQE3dSCJjtFITp8QLkBng68lOqCa/5Rfht8lrVZlXAL9TDgLowAf3zMgwIDfMVbOPfvd+q1nySrksg5y5eVZk+AQJxj2VNDt3TPhXjrrdVKyApS6Jh0dJwOyx3gXwPCe7QeC8aBg1ujo0aOEi7y5RyZPWwDLL0ZJOpwJtxQG+heUCc02a6x/F2ajpcmnpIeGPgY8nwxDPesluhvWzint4hGA/E1t1t4cD1RvTlX7WEafXtew39pdKwHOKo6pgM3v7Hzvm6ykVxWxmT7qHRMP9TXo2ItsYoQ650IjYdPZ186q/L89+EcVMivO1Gfbg5bDR/M5+Z6hOf6U33kOSoEw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA1C4CD0610E00618EFDB8C582098D71328F963-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 45789790b1a496aa65cf072583d61c68\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NhIrI2JTsbaZhrwoO9+V0iOqVexYfMZfaHKpAV1eVzMIYav9lFPPzRWhOlxYywzhE3yKNB2eBIC5NjyH93M2RCtXrzKnu5mGnYIN6lZKnaLZ09MEkHNzz3wQIEWZosEMCsXE/qMy4DO7dZHxM4M6gIv34lOm8ogFe+3NHhaJaWTZGXKKGmEuo/hAme+NyWgwENQPHUeXbbMaXXMZ3owA19/H1qeJ7LZKn4OK9tEq5i5YZGpuZDyGAj+7gANV4iVLhRdXmsP9/5fqWbcHtXTtfRCTuZClM9k54veXt0f6wAL0Xs/mCrQ/Z6+WHIarS9Jy9Br9SKCo+N/Mg/AxcmyKbA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211885\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007430400?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MNB4K8YJI5uSGXeHxGnxCzeLdXObcE3k\",timestamp=\"1773211886\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wOx1B6AgZ2chjAfBOvlZk4yK3KN/YSHJ5yZHG9qec76KnepCf2mJRxL9/Miq/Y0tsvaToR/G5rAuqmZN2qBAzxpleqW4KqkO65az5yXCU/bo0RVUD93IzqvUcKOyO9lXSNWJf8tua2/eclQH2kSuHelQo5U7knau+TEOks7JsOVemtACto2E4/T3vXiDfCsjhtkgGb48nPkhHtDM64W/uNn6c9bnKoO3Ah2EUhGDFpL464F3RRArqPQKLcZQv3MLw17lrnCLbF0sZ8YM4wi8woteQ9BWq96T1SzoYXKzLn5B/coAF5d6zqHyz29at9bFkx1nbY2kkurRUfVDpPbbxg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA1C4CD061019188DC3EDF50120BC8726289907-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7ffe86d26a9fa15cdd99c36c81851f87\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KDiYkvDm0ZjhOw9rWI7yxILr1Z+FAIOWOOYNm9vJfXiy8D1QAWdyhShP9GrDFXMphG5LcvkynPndIU4Ha5MkKNjrArVyQLUfQAP0BVbEIRgScDj36GUNYaRTERVtJGNbHFVO8JqT7RBzLxz/5NIDVOZv8UhxEbjvJWfQzQVvG3rcCwzejD9y5IU0wFKehD/sYKM1hDWLmNcdGth9pEm38YJ8PB71KGCDgMJlgDYVMgzvgoVrXkxzba6KhdnlL5c/kTzWsoYn1ux12CFQTWmxaF/rImuDg9DnH2Tvjxlq4bPBt/uUDACu2sZoiFZSSdCT7T5o4ppLCNGpYJQHcU7QsQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211886\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007486408?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9wxJ4ts5iMCwzKECQIxC7r4bI0aHqOku\",timestamp=\"1773211886\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Lx31rcibygz0UWWT/hlUpajxwSWeN2H5HpmUtaHueOak7dXjCPu3kpBCB+dHDdszxVmdRACzPvnPoggb4Uyh0zkVP4clWv/NgLdvAPQlfy7jfJCL8+VXB24chnvr7dEapkzH1t/xt/tRbt4zDHY+SycKsdUg7ua4HofAyr9iAP937GPiF0+0aDhKBUlRjgBzI3o61Mn/GpqKb4bGuJ6q2w3WvZ/IwrEqf/IB/ZMP080dX4MUuDobT8Hba/y2gDyMIu+zG9jUxnjBZmRMUSNnJihSARwa/SIFboFA4sekKqriWHtSRSl831zoNEAYhy/cUVLtwNv+lqil7BopFkWd4w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA1C4CD0610C50118BC9885AB0120A6E9092885B703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e24112041625673c81cca4c01c64e667\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kDOC6UICuhbZfDUW/gxi5o3bmkJ8gsJduu4A3R1bl3j5bnwUBTX4CbRydKXwJAz1smRhDPItQ5OkD4STZvjZPxC+KicSosNwRsWf4tWS6KbtloJInv+c32boTi+hxySHVLOgaeGGs8BtpoR6mvWLazgfkxo9hXt04lVXcmSK/TE6R3kKO+GQX4TobQC97MEof1A6caHNGY957khiQFTlqWuDFYYndgjqQE1qLY/6yzWPoTXWURBWjAhfopgq261jhfZidPwppOTyxygYkmfOzJ7mDzVOWe5+YmlFa1n7Iheu0HLavjIbZYojN/J3kxMeXZREUYebFzosDMuqa1qrWQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211886\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008298416?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LqFNEae90PYuPtZoindtGIWJmohSU2eU\",timestamp=\"1773211886\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ephKq+aencbfSC7XsiHGojruPxJ4QIZuyBe8ng8NGgoWWBw7kTImLxYFpWE9EbGQRvsMvKQNC2hWE+SmFMbmx1VYJkAXh7Pi2Wt16VSYHHS0IyQ5mzwvBqx3mGyBR+n6o+yEbe00bSAFGZMvGHGogphnVNvtO7Z7riY7MelrN2iCnaWDTN2nabBcpcaqAL2jh1R67xdxFixQ9lLZKimSeBqtYOTs4td786Tg6ck6m3QoeOeyUIrtoU0YNelIdO/D0+Bymp2WEWvIWSe0aCTzQCF3Hhu0Ya9e/hwPuLnYGsXlEBdvUcRhiZgKun5XMg3LQz6l8m0OoJwtVZqMEUdU+w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA1C4CD0610F30218C6CAC05520FCA13C289DF204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5857fec94f8dc81045035401be26d08a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mCU8LjTblcMn6BPV+dSqJL1agZat8zdvY2CM9BFKLZLX8AqqoyWRBkFcJNOsDFFP/APV1RxGObTqs/uhC1t6BgO21CdKjNlzlAjwQ1QeB+NslS27tRAYQGW//c8Osvq5HQbL+MXNdFvUWNbXLxj639sIy5sJkcZmPL9+VJY7HBikiwruLzpJjr5O63tTghrg/mqOA3oGUcY9UwGXLbDDr66YvFGOcuh9TFoVpaq5SIuUHFv07zEPu0AGVx5X72pF5Ylrpgy1chrfkZSe7eGvsCYOoCH7FZVDN88dzns0HwEE8TfVtBvnoNx3TfzESlTETLvf19gzlGB7wvHHqogrxg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211886\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008411338?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DXJmLyOHp30IjrVx1KbiQcKLUsbf1nTj\",timestamp=\"1773211886\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IWr/0IwY32LJVEwxo5FO1ZiP9yIEuFTvBHoePLxeqQCeHr85xPnEW9LexGHWCT9F2aqePLzKRsa8vZY6c/EnPgUjDT6GZnGecnaJoy8YPWbu3JFbFDbKca+3NiKq3xn7XeA7KMI0RVGL6urmI596kOHy+m+UOudCYPF7lb+VBNh8WF3O56yISbdAM1M2hVBACNUyYwJZ2jPqWP6DZjvzsFHOUNOPIJ020djQvYxl39YGajtqibX83yNuoK3bUfKLizcMfij421YMK2xtZfNC+wVI1aBbOL2kkmSxGCNFrlXDxIBcdDZob4l3x9cHfME+sifMtR7k+aXtPUXLto94dA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA1C4CD0610A6041880B2F8AF0120F2B30228A2B802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cf91712fc9f6af86fe6589eb10cefd09\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: APb/svtX0lO3IETpxI6UX38SJlO++lLxL28HLLXreE0ih9JsBL0q8lZDUmIxtUq5v1QVNOia0fZm8z/mBcSfWvK/csxYmDaZ3eHOuqAgFsVvvHJrx0evyRnPFjXOt62r5dpLsE8atxZaBmAr+7T1qAE8g/NMLWh2YXd0JFlLfhnZW76TLzShcCZs96yYb453vZr7yat2PNz7OunBdsJ3jRusQctb9Px7iPjQlCTvfdzrl3vjjSOVL7YXWAID1ah7RrljyUpBzNUlh5wxZBxL/09AsQVtS4sCZWfbepG/jg65H2DzkYjm8kOsBNHIfbv8tcRbCRjDoFyG3CV86Cr7Nw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211886\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008416261?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Fznj598lvuiHZJauxjTdnxnqezUvN2Gl\",timestamp=\"1773211887\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dTYAJqygARbr5YfYSZdCaDH4x70yRQ8EgniLktDIpyj0Oj07wlWLdzX8/DipJ3dRbo1GBqvoXQ/eDZ/eMCwQr1ji136SuYS9YMHUOkWG4PvlDubshE7Zi7tSrAl1pzGWBOHAEhOZhzUd1z22Vo/YtVV69vyPc2FU8TafRl7R/0U2wkiTfPLaJZDZ63IJ0Q2WSXVto4dyCc4A8X41Gwtn3NXxVTMNZX/qxUxiHRaonIwAimhxT0hC/rR6fSYQjnSQ/qyJjB0ZQlturVTEUBcgYLMwtcPKyW8Vkci1Zct72BJR+Q62tb8XSNX4vTPKjKF07EwQgFtQvrY4hi1xU9ajyw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA1C4CD0610CC0518FC9A85AB01209CC40A28D9F801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a7fed7b9e17755fdf84c5ff4323e84e3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gUrWjDb++nzy/9WtLb26kRy5Hubkngt1aRna3ObawobU7pQT8HR51bj5kH0ZjP/pU60dhFjeZRVzuyzj/T3L/udV12dDkmAXNlUFzOCCRQv4aR/9VdF9No6m9kETP2KBtPDWqtrz//HJpJL2wmxHEOEeHAkv3hhOIPrK96P3B2/kFLA7dZ4Zq9pVTItkGFjHEPFrpQPi/J4dwaNsmwcf8EH9JLZ5oyBOJLdzSYoWTwn/KLLB4VPURBkcAelYegHhmQlVVJ0I7lvtNOP37dCpL3VORdyiEETAJUxFvnU+bOMAE0Z37YB55rgiHAVnsamfmGjJ00jVy6qZesmGWn7glw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211886\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008456919?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"q6JKKYO6TSwpii4jsz1dE9AEOKSDs9Tp\",timestamp=\"1773211887\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ovv3M+sUpcgzhsQIP9rCuxZFhLQF9HGCtAC9xW7GQhIl5mknEbmwL32mT9wyKFZ2DV/697ag9f36MebQYRAEFAl7FeAhlN7dVUPREMZAPjwPb+acUCz1J7L5+c7a9gK+9nKW0INFWuBErXxYIbUDZxV5UZlxy4ZXVWj/hWx02mfNqsaT7uvpUp3EBxFK0WJ9XUkW4Qq8u4nPb8JnQcta50RBl7T/eG2NQZA9cL8MHme/ctvwqTFr4RUd1g270dH2UvQ5QUHNhw8+0qeteB5V1HqKLcwDOh0EoJ1xd7E0Zu12x7DCZ+dJMlFCZOG6LIszwFhdAR2RDKEIRsq6OV1NrQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA1C4CD0610EF0618F7E6F8AF0120D6C9082898B203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 148d5f207f6585c22fbc04de9f1e40cc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EWpBKUx6LLVXqAPNb3Sl+D+KsIHj1XElp2BAu1/9Iw5qZKTEMmOwp7QytbSIqVYo9lcAGA88TzlyjAc5VlBsJIELUVFPNsi7+kWWUS/BRTo+uiS+/52hMSShbpPa2RU/rCheIsYmhCGRFoOwaPQZLj3e1ubdE9JvA4AKUCNwYbpp9X2b2sAI0j1gOqnfPzHNx8oLsWQDfd85/YEAfDkTbGbyuigEDQdoS75KJrR08fb6CCZWzpqbt//WhKUYtneYnFtbmFZ4+GXrg0jbZnVIq/UiEWZ3NxSF3ZJEVGqsDok7QmLGHriMA3xFbNCxA7OHLdyYYmZL9RasvMdKkYl6sg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211886\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008457918?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UlpORXhZiSlALm8UV44NcUqyP5fIbYId\",timestamp=\"1773211887\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dR9VKl6Ipo4DX3Y6gLnCBHaD8FPcBXtHbZNxC5sNZUIuI632xobLpgZrwDDCMOAiWIchCPnGS6VprTZ3Uxgyn5YN6p+t0m7KYZoUyJyDb5EzIVa58MbBVae8V79bAcQ+KT3FbqDtYtuzLH/rOjSBbHzV0wskCq+x98+cCG/hRvVwSwY+T0au10ksYWT/pgQI68RvyQMHM1tlUc5UcEJv+KJkmwcUatLDRw2xHwhshUNU1a/g05sruBCP+b88Q0HgCw9AiakHGWvmogn+lHv4Q3wluFyHa36/Fxmv4pPde2s/RdMgCRAp5Pa83eROEYC2karKnkIIr6GIo63R11hEFA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA1C4CD06103218E59FECF50120C89F0128B2AF05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c4eaf5d088cfbf761d508e1ca600429d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hJ4y2XHGsEoyhoZvul3keNqIau1rzNJSEefqusH8m64iEvieqOLiz3eN2uIjUFIb1vdJ6xSLuuXh3gfc8sf8x4woxl5j4b3qvHDdxoY399X0zG2rlCzZHH9nW61A6+0bPvgsKypRbEH3tS1duaeNI1YFgHpHfa0xLZGoJua06EGqpWd4tvHNi+FllY4eyNLjYlSsr6I9t/YC+PdjKYrj2uP8b/XpiPH0NtQ8c7tSitzxqe/QPRKHiX7NhltqX+399rxPbNA6Hy1sdJEkYf+xKJistSy1Whi39Chvu7TRVnC2dlofnNxSB/i9z70KBKf+fw7Yy0J1ai2qLPhdaX7M8Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211887\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008538041?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5ae0dINEulL1yxibRyyR6ntTJFvq1bYC\",timestamp=\"1773211887\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2zWHc8qodEkn2e31kp5Wmuf4/mf2ChlmImrzIkYHNSLg/fp9mp5DoJw+sb4UPcWd8Ddpm0caAdLSaqWSBeZJ3PFOU29p3O2vQV4fp4vlb2iWiVBCEnb7fmmpGqV/pP5pTd+VS3AJ4ayfKaX2rSYEFq96qtu8bB8GHI+6MYjwhYYEjE5PTpWQ4yDjiv0hYz9ZECb3/NDE+M6rx0UTvA+0CfZnBWTXX6oQFbhRGi0i2oEsTJ/kiUQcVEUVFQJKZwJIZExsuEcE4ru3jfxdnaAeXVqtnftQdKzBOqPPWzNTUM1En1+OO4M3uZr1NTircXajhjULqcjEYFEVR7xo8T6BVQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA1C4CD0610880218D0D88C5820E0A23A28D5E103-268512771\r\nServer: nginx\r\nWechatpay-Nonce: efcee1cf3b57aa8ce41ae9a70e2ae0c9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GjCVtQIP/d1C1qp3Tb1P5tYwcW4xjF0XgLYg4E1BN5cma1PnBGjULhTgK3I/48LQDxI/h1QXF78aXbyW0YqBPdU99OQqzeZdOpsf15QyWWXZw+VdBrvgrORvPRsa9n+FceHLHfD9RrwV5pcs2LO0tuasOi/8hF9Tnv+VgsPECxRjYYhMP5LGm7XrSg2CzqQjH/Xl0m41u8Og4qimEPeAF5ywRDy8+CgX1F3YFkn9WltYlE/cVbeg0FoH3Qx5oCaJ7hSVuZ92+q6jrH/T68hluYcDzXu9sdDRnlzzweKyWjSwhQqc/Rmj9BFjQ9MCnLa7QfwuLsDwngO0gBkzwojXWw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211887\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008570498?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IjdAb2IjJGRxFSKHhhSrdC7qqZRjLEcH\",timestamp=\"1773211887\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qkIfFZJ4adesng5ifW2uRV3xyO6DdCzQsiU6ZQV09rtYYIaZwUZDNwjp3VhHIIwejs+Ky9TiQXdB4wnh02bHGyAzHO7f4UGQAqCzZ8h/EkWXT1czZ/lD4B0IPDRErskOhC/hQvPo00Vt2MELzScNRPFlow6rn8qgxqaPzJHtAzkEg2w2SpfKpLZxYOTdmCbo8JKCD+FAoQ61mvojTbX3wMbf9Fy6+0QrijN0jK1ENW3bfxP+MkuUCAtFKL6IM0CRvCtL2GsOsO+1RvUraBEexIJT6X+H95xlFdzknXhrFUHDul/Jx/7EPk0XjD/YiQ0CCTK4s3bP4GuWFnufD6rvfw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA1C4CD0610CD03189CB2F8AF0120C2F61128BE48-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1d18a2ca57136e0d51052621fa12f7ab\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kPTcVfefyGfFEfVSIZzLVFmgEeXVTdsiWanMFfI3KFjupo6zH1V7g0Uwb98DZzzGKeGOLaOsdprzobxs+x17uwynXxMb9ewCR7PKFr98mT4gPvGFPsBeAWikOrKT9MoFwpGMnMsrZNmvpTU2JmV9jI9VyoQQ74SdE6IEh7BRmM/e5B3kFY5WH2ci2ARNOVIBh7oQbMlPrd0FHcla4zrKn/HGM+zN+Pzf7qY6SJY2GRC/xs+gGydYLFQlf8MatGkDAcCVPts/ToMfZxdHIT+6NhhWgYQRcNsedRQaT2tgIarG1mMuxyGFmQcvpVOEEybdx+0lWu2fOIHESs6AFf6bLQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211887\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008666879?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"p6CzfIbA8Czvpc5TTUESppZVqlughbeL\",timestamp=\"1773211888\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jQpNmHpQUUFS5eXZ5mZw/KzZ4hD8J4L5g71n8YWe/9rULnBjU7MfSUnVSd3QQo769TNDDMh/rbxE96xrT1jqHXtV3OmzUegxELtOiw7NTFZORhgfyZ3qnumS6e+Aim18GgWQTuOm5ISPhsjQ5AvB0OBqhxUgvwDPPb6a6VLbU9uarAJ0myJ+7tAoG7xSoFjyJ1JN6x7jLho0aC+96X6t2VBzolFgmMPIDBTgJ9gJS25HGM36svqhyLMjZ4/EUOmjOFBMljFkdfvnXHiSmkpKarqzHhah+IVfXPYIQQcyzYsz3VY/vJjAz+hQr7WRDPb05YCSDSSISxzxdhNjo8kw4Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA1C4CD0610810518BAB6C055209EDD1D28E89C02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 84ab9f4e12dfdfce6da96f6fa13f7f9c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dhRPcqg7HIt9rWWzGdYY705XyaYgadjhrNp0bTGA4w2wI+IsHk8t9JMOMTh+ky48eRUhIGsazySaG9iCrB+zERMyN1JC80Gy85XxoqbX062jsGVx1qElJSVkZL44VAlD50Lbcmg2suV0bzLUtzt026KkrTGtepK/sP4eJF4gabEXyDy0EFenefSuCEdOCpCT55e+on9XeqzUfpFaf0Dk1gAPZPwwmjTD3AwmpKB4CfvVms6fvMwxKSvmqKzmrT1QInG/vmYcLoZFLAQz31AsO6QnSW8EXAfkLM9wADLKbKZcgWY2nc8XWabkBsVeUo0U6K2EmtI7vwXUUzDJXlmiqA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211887\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008672637?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZLscz83swBUDDnHywsgIT1QajN7ZV1bw\",timestamp=\"1773211888\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qaDqsYV+pg6CToZjeSpXYdbTmnA7bW4Vvg+2G6vdzXTAD3/cS97lor952F9f/jQJbmGvRvnnAkDHeCMEemjBlRrfuJOwsrWL+qweCe7P1OtoHNocS7ZtHaIu2HuoMJ2rR8TdPhyNPHIRP7YDg9ntF/SdwgO+2O9FecHPH4y9YnYzZgcKnLwGhy2twrjcXpy5Zxnf/j1FYb97H1h4pp07KzDa6xapZOz2YH9aRc54Tgq9cr6ABz+b8XM//DqO7/WdvaXd9nQi6wshKL6K0OKMvuAcylQ/SGxG66TOC1eTYqkLpdrFk07g9JbP+gkEiJPJtmdroVF0WrhuQQg1tV/EKA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA1C4CD0610CF0618B4C68C58208C92142888A004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c643e4914cd31a134f04d93a23532074\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ucvVUW79Myuhj3NdkHgnoDKmbqbd5vGZcbs8LdAcUfcixROD32k+pUwpRYKezZt9iOtY/UzShAIzgkcjtlvQRDBZRttiLkf+4+5W/3kVxGdXY2WTxBoRmBgHguFwxm7eBXyKRLkBMSpvGM6WOOHaLYFZ/1iEfmxUM531bELC/z4uutPrcWpkNZOjb+XMmnxj9GV+F1mCk5cYM7pH2RzfMu7V+uYXZQPFdxuaQU6lz41NfIJmMQ1LZyipJ3BlbIeU362uFzETIajP63PC2szW3nd7N87n1EzWGZRXy6n5WovUp+VFnX5Z5lDxcCoFUETo/SAac5T+/r07QDLCovgwUw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211887\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008708671?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2efr6kcg0WhYvhck7kYTS4lSWQ4o2g7u\",timestamp=\"1773211888\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JmOK+LugdEC0AuWKs1oXQBOWwTwbX9CY2QcxZUYKL5Nk85gPtuW3o7iwbJeTblOyKf728BNlggAEHYd5ZYlQVAi21fsbzx7/+grwEfbnIk5UZrCYCX7zIn9Rzqgf1MGWYH2n1wVAhQWPpnOvjjxc1xLKyJXQNuqa0oxx+iEyLXi3tPcA/qbcL6fpgKOEVZsGNitORPcyOBzJ3AkYu0ipewBchejy6zxLR7MDhiRle8+chnkPW/smiV4q64KGVS6C5FU2i/jnnN3Yg0sIQDx6QTiLFV7p5WWk9K7SaWabO8h1y9uYAg54Myr4+hIxALQQemwbu5o+bR6ke0XwjBRIsA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A1C4CD0610301895CCC05520A09C1528C6E504-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 01024cdef3d4a2654ca0df46f0472cb7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sABomZDxqGvSpMMMLVEnMJ5/UXGg+b5RLVa4w/J9xMRpt+32g2v4cz69dS192hJv2M7B7g9gCA5gfXch7B30zNYiJQbvMvHAKzFd8hKi0qzfacSi9Sn9Yw/MJwY0k9k6EMZZSlTSpjBIplMD4Po+9pu0zxr4NI3Fu+FsqHg7T9rwKbzdSqK05QT0cbCzvdLluibfQKMpkLbdioAIMVNXVYj88TsErbKZdZ1tg3WythURomHInu28nYuBgzw5Kpyg3QWu04OaR7HIZpjdpBacfKXbe2RTB5NkgKE8k85UYIRCMsZd4lsu7+7ljeGf6gCyG3zbZVD4CKX2bWhffM4hCA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211888\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008880243?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sxUagQHKOpx06XxKkPJCUtctSU40iaJq\",timestamp=\"1773211888\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V9QI6fUU21sKLZx+iNkt9eFKFHMwBy46X2sf7qMIiuVxptR4PMHYPMZX7/lWVc6uvR1fRiHgpiqblu77VQ/1P6qRLqKVsUN5tw1dPl+75oWSnOJndT4wsqQRMluUCllssw5pJD45kY3j+GkL97mMx8d9rQRCR12k+dpAc7f3tMk4N7c7VUf4o/nHRsajQTzAcvCQtb2UHySSiTgSAiYQmVB9MananbMkJnr1zUY+6YqPR9bs9/ZzbcpxUU+zYROgYnRbgyQRn2QAJTBpRayZ+9Es6n2464fYR0RlPpnQfbEFlapZ+Q/v/v4GNd4+Sdk3pqgADhN7nV4QRDLZGk5FHg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A1C4CD0610DC0118F3B5F8AF012084F31228BB9C01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5b22e621bd80ba58f895971f0633403a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WTXmRotrG/Uvh1VAP2I4OBrBq5jg2PsTh2AaV7KzMouZGrpE+NhwURyrEerX+YjtqLJTxLOwED3Bc7GrRqk5imuuA/+A8EV9ZxgKKvYiFLy48SZ8XTYDUq0Gn5xGyQQsnJesk8HxVHK2BvJlyXAv6PiSUp4okclugDQlmWvwDzrc1ClTFbUTyip/SXPez8WhZq6z1vMiNCZhLSoEex1usxquWOoqUz7hHf+MA1X8RuTKJuoZv0fQP87o9nA83VjjABkANFcXyGCSF7r8GyhkVJkCGIlGYES+ylJmLRR0ynoSfP2A0fN+THVIi9c31o/LirRPs0J9owvxP3RDLBhWkg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211888\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008888742?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qwlcx8qEdfUanAe94udFUhu4ic0UaMRD\",timestamp=\"1773211888\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wCjK1mbtZUduZZl9CmDMdkBlREsOll/TEP/YiaJ4tqTydrTN3qXRCd3HODclLUObJJXO6uy1sYFSY/k7EFmKv4X9n7CDmjZFmlVfYT3WDw5e2MiTN0KcY7VqZ7Af0d/bN1kJGtyNYQOTaMFWvczwRJxY6AuYnEMbWWMLHOumbfIjcNKRdtl84rwHBpJKiFsSAokj5Qu4INWNMILF/Mn9qmOdQSoS/FN3qc3tIaMndGce/1p7MhB46Rh1ScSzaTFKdyb99z51+CjGQa+K+rmCZ3SGXjyVhwchyUPnUnbUTZ1xkI65mOmiA2LWIOF3xJEZXkAdUP2TqrPO4jTBPHt9Bw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A1C4CD0610990318FCC5C05520E299052883A503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e825e993828400cc03b9df3e01ec907b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TtmAUX7SB+Pm74KT0PUj6O7VHgDW8906zNy0EMfIrBVmGxwvb3MNf754G+DZJ7XhvuiA8wA0kr8DC4pfM5kKOD5/C3kzlV8WhxUelOtRMegiCLhNccPIqpWvoJpqPauSwH/cw14zgSB9e6J+kXSRP0+5Fnc51OAOP1BmaQyOdabTU/Wj3O9XU6WI3W8sLuaO3og/oFtW8ohml+UcA5G9s2uQB84XeCgzyNV+J0ZXOZock6ByZJYBC+X0WVeu/hC+MOnFsTSWVus3lfLRps4TBgCuIR6MVL6/gr7JZIxFmAyiHnMtBV9RgZAPowEgmoqNtsxlZQwfxOl1LjkPIonkaA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211888\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008989217?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"O3a2nOaBN9ItBN3gP8iY4aVvjy76DMWS\",timestamp=\"1773211889\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZitNN+WaOEMJ77VOUwnSmOXJvBXa0sQZupQ7SfD6Xn+kovHw+fS41mLT6jOWRJ1VM5x4dcQYysz7Hdr4NNWGCDOlO7VRQGC+wgjq2Yiz3HzR1qOBUbU5AokBqE/PWmnD4AtEmh72H4LHqAUTVt1dggl2SLTu8C5+N9CFyCS9Qvo6qgKvcwU4hPFrGUaurwENqeJW9CzaXK3dJcYIWvke2/gPlyIQHuaJ2G7lTl+u9hVE7tgBX49cwyfzifSuwYdOUOoLG2UdBE1zMvgX4VDGcoqkVa9ebdXt62DdDBbsU7iTotMQql0G5ae8BRYQidncCE7xG/fzG0uJ5KYY3nMSoQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A1C4CD0610CC0418DD9C85AB0120E8CB2628E49E06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4f20790e2e057f9be44c2e0ef4824324\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Konk83Aia2n0JsYj3hL5uG5elc+TkvWgEhIhH9lxPNz+alY1212MjVuZGPIg+rdZCWzsA6lfxiOJKbmk/a3xnvUpdcskJtg1bcnmhODFx2XWsX2UqgC1nWQA3/f5l0X6lCeBT5u+w7vOn/2olp5CsJmGE1C0JbEDD1Hd+DbkrH465W8+W5O8ERjygzivvFpDMowhWqDrs7tbLEex0s3fAm/KxwEeKLITMZs+ZK/m+x19xs6RTCL72wjUeLw1dMSMOxtmKbndF6KnwI9F46+ynkUI/QksFZTRXjCAnjL9K06f/0zFZtzF26QrHyJQ1f0J+htjG7b6wHRBVTlhNAK12w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211888\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009160533?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0VPbjPwwUXpTzoDCkFm7QkDyerO0Ak07\",timestamp=\"1773211889\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zyFVfTvjQ63xtbHih3r9duZdyUzAqAcEMVghcLx/tS7gr4fSVnD4/vA2AXrxAn1rc9qAsM9x0weoemcQPYmYaErK+KjM2g75vUGZEpWK6aUDrlmVbX6LWyk5eSqrePaBBTfzKvgfvtJrVPyTfjyA5vGrs3NtdUnXKd8/fs4NHQwaKyIDjCC5UdCfoW6hxTMNjDUb9AM3XpAlQN5zNG7bM6XSNUqv6Fbk3mosUfc3EB4FiSc0AItVY+ImSrvL8VaemKUCTUaUrCos7RWoG8OZQungncCdGZdozywS0dVvMRCwGQ8gntpzrYPqucD9yqwnNg2mHccckpgX4xPIRWgHHA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A1C4CD0610F40518DDE7F8AF0120F4B61128A2DD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 516709701bd7a1f8a272772003c69288\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SmLw0OvARpnmJcaSs+w6pF/n4/bUW8XKK55O5n7d6w/n0D6Gkq320zpEa2VYbk8uy9DrCIdIVPVajXB2TNqZmv7+qs6VEK9s0g9wZoDrWWoT37o5Dx1pZ3oggApu9MSYOIjd4XbumVkA6dOUrKI5e7+BtgvBdX+qhI+hepWzbhmbmFpD8WvuzhelRsETeuxIse0WAozGplZ4hojNCoQv12gXqvmx+aaXJvegFZP9KvGW7EzOZ4yBM1r66Kly706xrUCP5yLw3al/LSF4D28vIiA0jwre8abVaCyiKNdWeWYU6mLoKLD/r7CQuPC5mPoVphZGRToQ9uQWMJevKIJqAg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211888\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009376281?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gtuH9TSonl8GYy3Fh4vbdGE7kQQLnKJx\",timestamp=\"1773211889\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ggDtivCvR14XBTacADQMG4E4AaAZyE0dKMi3EuFvbRNjuaw5LvMFz9wtxb0JYjzZuWSGkZJTSunGommehsRjG30Rr2jV2E81gIk53C/OpCGKPYi13rtjj/zPlOGLVdX0eBBx1TTX988kUJ1ah2aOZO8buAkuILQ2V+poEkjk5uq4TajiX2v1fXdkBLMdW+/L9IQb1RNFdlznf/ppv+taov2kGKLVFtu9Rzg3ge8BNE/G5MwaLOqWkgiC21uoNHm472XKGEsGEbKxlUV16g45SrpWGWjlfn8sInCbxivVNqWmn6ohTEAPrKryTiXclz/REb4bbSoVzGSgGDHYXL644w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A1C4CD06109C07189F9085AB0120DAA31828A4F003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6a094ee263b20400d9a425e6f4da89da\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MlFpUjIlQzFU/VLc1I6FTd0aZyZbnY12u0IeqE+9LANfWchdRt9M4+Q/QY40/QGBbxVvGlG25QlwgIoG7MY6otUmsl/lSm4GQBploRSaoaO5qV6hZyVL3pWjqi25sGaBeXh+4pePSw4y8bRGdO1zGEFzM/8kQC5cBqWDVo7IQBC0+Vczj99McXvaYjB1APn/fHpE2FpX7mJium3O211NjE7FUUqfc491IV41XF4EYQ7vNuLo4VgSgLdvFZjs5+mCWOEAcFjuvNIeOc/EgvU24GXxRSsnz2uUhVqfuVW1/SceBitCuHBLXescQasDwXord4wY8Rwajy383fD55LSkTQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211888\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009506912?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"35VkYnO74VIuAjQeQwRKRzNDVhXoP94h\",timestamp=\"1773211889\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5zRvxuj5hn9XO+QiEyVlwELOf2Kg8mImtOyuBfBWV3eiyneQ00MAIfWuZwmHf9pGuDMu1UWfZGByi/hVYgSnfDedHkSJVWgee2k0AQz9AedQPRSQY89rBqnUiYA8C/JWKkzLVOUiXl+503Im650/jhSkfKafHe63QC3muksWOrM29oTsc6u+Pz2EIt+QueLJozhCqqnutbdxXXX4pDpziNN1be55S0354lwjsarFKVDCDs/1vK84UaG+dNNFiOC/RK695V0LlwJ3hHFKBcAPtx1kHVpYHn1daDG/oPwQL0EFQP1SBH9AaBsQNXMW2XLoUBLWIeP3u9ZhhiMJqKVt+Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A1C4CD06105818D0FFCBF50120AAE40328CCB901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6bd32b42429c608211c6057a06ff710c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: B6A5nWn1eU7yk+eOw2wunFz6fwZlRiCbMd076AyFBxdHkWL95Sl1oYArF/iIUHRGIXM15bFe7+hBcCL/ybR8Yxnn7t4h8QZASz6KcUaz/AwY+y9syo3YkY5ZpQilnUqDbzWoo4VU2MWEtLb8buiM61xOxkNKYggso8Z5Tp487QGWw6eD1xJ2mKmVaj7LPeeqplLfPcvhS/QMOA0BxyfoyzHY4+Ejk5UPptxMBbmLfeRuQx8EA6QiLOuDtTZ7Uz/CIZVN2IhfijywY1aSyDrCDHi9DDg3iW4Mb85nxvtK+0nkNUWK+A+c+pth/l4CvoOR3bewWyXkstyH91U9rjb5Mw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211889\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009790991?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"E1Zv3ZkLwUJLdmh0Sxxgcs6MzJZwN6uu\",timestamp=\"1773211889\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gQIbZrsFHUIJyK66Dhu4FtXRXlGGAqrNQzPPgFzALETgLgGiBkq/Xk1Txj7dhRY4aZ8t0wiuXSFTKn3r6TIv8TaaZLmH9Hf0vqejEktExy7h8iDrrzpW5M6ZLz1gv3jR6I0dCwtzggEPwV6DdY9n6cVhnun0Z5zV56LsGtkycZPUTHkihjEbbfzwr01HYLPX9/Sx1M6sJR2jjIkxcV6/EQF3O7zTs9yduK+abDd3Q8rfuIzy5y+YN/rL9CHRTHJLe7Y8l9yqCTu2Y+B0d8b9fu9Ke7uJQCcdS6yXAILSjDj301OheEdlPp/Y7Gqk0KSOhRDaFyfA4TO0498moIA8wA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A1C4CD06108F021899C8C05520BA8B0E28F3D904-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 49adf1218d3ee35dff837c039bc2413a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DUv+Hs4nIgArjqOPQLDl6Vj1cnBHmIx25p1dAjkSAIno9q03Pnbt0uccseQo2+dRm8YyNoHhJZQ0DT48mNMS26kpIyUR9YpE0Og8nJcgTUcdfKml92D/8484vOfTAWx9AKbYJxmi+U8vXMIAS/LJqahX0jx8nqbV1/s1WtNImSw6mSznspyu8VXpsrKZ/IiDwQGbdfVoOwiFhQOJXUaV8IcsBGDsjzhY8X+ocYr6pIEuDqTjOfcdnCeEHoHjNPEL5AzacIyNRSV7cZuvtfi8pREY3pq8xBxcdyDXqTvB5YLBeTh/I7gEZC73toXd3iKw6BDUhjdYb2L+qzH5HNop4Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211889\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010241042?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VulauIRGUbJd9Cz2JFlBfFO94P9ekJUY\",timestamp=\"1773211889\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XF4J1VTWkhp73GDRexKSU8kxNcuZH/hgxaHyAso53vn3yQzW1XJXicTV5IOCDcxj3tTtG71CAGRaqXCkjMaw/S2Bp5U/gir/f+JEC7QCdHbIbdHA6sW3AiKrg6q+lRqzBxSTZoOvcFa4ebT0OzZWhNrjBiJozZeoSN/O9OMPnb3Pm694QmNTFHpSdWb5aJvq1/vMjXLW3WTGhVp/M0CFpfu/wa5cjG82m+kx2xrGUM46p5IRfN4pwVY3TQAjwWWgfrDYSvATdasfGoSSC6VpgqF172s615Kbo4KLXDrPzZ+8Kxf/DaoZjucgkI29Q9XgDYeQV56EieepDpnT8YAk9Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A1C4CD0610D50318C3B4F8AF0120AA9C3B28BCCB03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aada2653c2107494a4c51c5328fd068f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qUL3l8KA52PvHSkrp9a46MWksm+6MZvuNYPxBRdG+XGZKQB0cvkkc5s8a4P6K+lFzsTdzsVxF7riK8EmXOTNDImV5y628TztIuSSQWrvyDrFYbMlQ5Ekou5byfyp11HEeK2iFE1x22fIvOMNfwk/B1r0kSeNfyTrK5hxSk54PeR8ala/7Ds43sVcfX4NsZpG5z4+HM4PhYToteDeDryxNDgSzi+NG4iJ2rla2sv5SMCgNqVseizJTTnc/395/tWlm2fLZ4mIDEGsLofDpA4GKQRzc/A70VkCJ3TpZaDmsw/UhLRJlOQM9juB/u1w4WgXb87W3efDkZbFYQqORuT01A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211889\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010331449?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"A9fBdYaoz3vjoi175GSX3qDrf8FloFji\",timestamp=\"1773211890\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6RpmYAkTw4LxYWx91c5F97kSJjK8VZgJmY4oO6Sm0vgZmM20zPk3bO0xfxYRWVAo0xusGtogkZC9CF0nN8ehkFDZzNk0/2q2pL1ovG45Gyh9m9QmXNIEyoC3h1cSn+730KaWjl0R+oeBraGjFWbzLi9dfdea34bar+R1pkuEptg3qaB556JDCaDeU+5I0zRjdsY642sE2DHG8Ue6l6R0bNTlTa9ylq0sPqVPak1SXvUJDTkN8a+dfSZmLkUdibblTeW9JXXnk++stvwP8LhxM3lV4plNmmafdtywBOD0F+TjVjZVDT+OLn9MI963nE4UGIBCsMCHuc4c+UKWb0hv9Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A1C4CD0610FD041889D78C5820F6D91528B99B06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 834f363eb98465e76b7df0308037bcd3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DmKp6lbssvWp7vyDgTnOsDKPnOx2Vk3wEtMIUB7//qN17pfisLf3cleAMTo+56Mrp99LFOIngxdJBS4FTJjz8gxqpO4N1d/Csl6n9P2n09QRTRjcq7/Fh7zTiGz3Wcvf9b6QlXvl3rqZO21LKQ0NRqxs6afzFeEZtyOUzPzue5F8BdkRWMEXfEHe1XJen8mWJ4TDNaAldKufRDlgSnSQNNBaLJlJcUnInDMm3Nk/ok9Wr+X9Xh49joVj9WdZxKCj0L25Qgia523FoJKlamGsEkAxI+U/dxoPA/OEHZfhZyg7IAlc/EYhaADS3TGa+QbqmLRJKhpK4elXTO/i0dtSlA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211889\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010492445?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vKJPNZGBX7NTewmspFSMUFkh1lsoPXGB\",timestamp=\"1773211890\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"SmVeAL6Scoz6iX5VQsS4pQ39I4X5lHGJrl/u4QKST1Z/MA6Kmho3u2zN4sTZZY5A+c05S/hvdQE8Ab8PvGlTlTnpc8UIExqScVDxuf72cC3qml1iDpkqJY60pbiT9vmXpQbD3sZYzbWGsDaj3pZ3q7ybprEnVLup91E5Jn9N+RBH74kniZHQB3JkHXd1H+D07TdsyqNti+u57ZxnF6j2nyOk+nq6VtTTDB3Lyy8JVrwVgOVdpSehStWMZ7JFrqBrlFQkF+gnEnh0JaV5nbssmhMvp69mZS3SlLagJwFECjfRpLunKz+1OLL7ZbUTd2O0OC//DkGFWOrX/QCmyw0zxA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A1C4CD0610BF0618BEDB8C5820FA880328B99B06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e0ed0ed32d335fec7917f4c0ec73192f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: f9REVeLbazQL97D2H/F+/OaclAKksN5gfM0J+Jp+NVvyv7BQBSPzFZJpYuzBICybm7AlAA1fYU1PzhiiHyv6WzVRRPZn5Ikny9u8ZTsl/vXz9L1uUDwkVTGM1UNyukcIZNS9KGa6S++yDVrWNADQluSYg1dTe9R8gunODADqYIZ9vAgV8nf6wgOtD3a4UTGXGrMOns5+UVhus8RJJpZuQReOR59fqbgnjgDIG1Gpg9padDCrhNBxJYRdDIc/RAcOBV+p118q4hbu8RL1lBWkWXA5bBI1iZK7tt4R7/bJld5/55iBpIMdl3bBOI9qE3PEbOKXv+fTzYuhNU5uEfqScg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211889\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010544802?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Y1ofa7OIRGGXdhVmhKIxuikKRZelYyC9\",timestamp=\"1773211890\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KrRPPnDjcfUMJ1ca7xs275+oKS1wUhhlozaW6bCe/DnWC9Ky8uYFX9J9pj8sUy7tIlTNoD+z6swimoQEZ2MsugNxgLcil5jX8j15XMs3GUohNbBycO+j+pp1s60JlxFQ6iN5pDriswF9vpfDcLc+cheSvAMxEkSREu4JvulPwIO52Q5uG2aZbOvImWztfYBkzHZ7ErGwqwZQZt9j9+fiWSEyymQkVw74u5LlbeVyM3VcDtRG1W6FwU6UVvKzp//nH58c6Q8vxBH0tZRv2atEEXUEaeGw/XyBHdwsCspokg0+/HMJ7gdm66JeEogrxZm0/RpvNgLAl5M1g/7foERuDw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A1C4CD0610E10718FE9B85AB0120C28F2428F29702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7241a90a2c52e481a5f6a901fe35f318\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H4MSRxESPcAxcJCxxvoBwUPp+rtOlv8uMdhqgIX3hD4sN7/yrC7hTkGyHGQxztzWZj4pFoyJD52V6qmRjSif+hZnF4j5IJDn9aIPzQtpoqHfWKqpE46q/N+fq9BhAM/4snV7QUVQDlIpyiwYhmtKoFUfjMzME8QnuRrroqbgzaUcLJ6YxyTYEXKfkBFjCFfty7LRwPOqJL4m4vXwuayUlmlxeCXQ1gq5GNwV2+MeeXwW8p4LrLm7BrJ+spBaExExrwRxtZcRFD/MADjLS8nfI5ZEkjl2gNozaxbo41cdKsLBsIVlb4u+DYSomigDkwlTYM03dRMrpYNGZ05AFHVA3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211890\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010662741?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nOo0kOPjYLBjdJ7OQFLweH2K7vtIP0hp\",timestamp=\"1773211890\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yZk2IJ9MfRYgY/C2Gq39oAYMuKbIa+fJpwBiD8QR4/6XHUO1ASilIl+tsAdYaCOpof26JSilJ2sGGkOkJDaHEt1DxRt2al0IAs1KCFOgq3vl4+FCB/PTWCGgXtq76oN50jpeespAidQpbodvGo1R6CDFTPEPB5fwWiZYJ39GeP0rm3qJjPfA07DmXcT86oE1rA64eOHgvubX35qscan865YaK7zeEjTZpZJX0uDx1WlFPSCkNck1GNXYRRAo+oyZ0feZrXAd7sicabgSjU0m90RzPcIegFb44Ce4eHk+W73EgtivM9SttVlwcfSV1UIEP/ftONzGJ0SaItlJgdMArA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A1C4CD0610A90118BCC8C05520E0EB02288BA602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 217e75b565042cb35fafc7b5943167d2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: P7sXjnhCn6xJV/LLL4nPunKPPCVeVLTQObQbv83mPkr9/p9gTLCtdxVWQPiQLwp02duODMfIDfoMLjTLl1yRRLd6yApE1hgbx+V+RtwOoGKKhlUg7J1PyZH9syohrJB/Y6aeNpTD0cjkpOH7Gh9ISqE/vnueL4esOFbuy+DaZdfzAbsLtfHfnLoiBba6h1GJ3B+CTf1gCXA93tbdmbNoQXtkXreD136OgqYZz+RSUgseDaZQATGAaP6NyRnEFqX0xtrPBH2x6hI3jzIBM0zWooyn6koHs6VFObunv2LGxxiuRh6bxot8DT2kLfXI9xvStjzPF1oFheklTvDV8GoSKw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211890\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010818803?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"E0ZQ2S0YuOWzBfvY7FBSrcnmGkXk7Lu0\",timestamp=\"1773211890\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eUUmoUbMQSe77pFf2qFQydp21taCMXQpGsipCXu7rQ5WWVk/jbAldjytW9lHoa02GCtMfAPm4K77aAMz3qE33qCW6untUzmknGQkozLckQFksGOjGXqtIv01TkbDbvbLDyPtqOHyXETWi9+HVwp3MXQ9SoEMH1Zibmwa7ayEvr/PZqR3AYsp4c3cNGhiLK1/UOIjBsfO1iGe5gIWKToSpBhuaryWHShZSlRpwy2oWRWopgECZiwuuuQL2TrKe2x0EPWIj7dQdJQRdhQoYPpbs8C0sUWEgEoPgcg2MedXuElKU5SJswePeks+jPBKH07NBplEIXRR4bjyPnLIzo/4AQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A1C4CD0610E40218B7B1F8AF0120B297022894AB04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8cc393955636b4d80a8ceda74d4b381f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: c+O2CPD5N6rRIemYI9n2IpWRWId7uvLgWk18PBRbjQFdFvFany8SQ5G8Fdua27z0HsAu53lTcFvHqrN0IT0qItptrX+XUYJCX4Puv7Ex04c4UkOL2WbeE5Wg2Wq2WkkcOCCVzwd73OLgOOxot8GwCjYgqdvovgZ1N04BIb+K/APmQaSHp4rjm6td8/0i6wUfMBysD0o7qCJF8AsXIsFeQPzV0u6CVH3v6+wQHgFBLMbbNwBF0XosVwQfHaXeCrTZjoVcLdV+LzODTVtbfock//3/txLRrzl3FsV31CkAY5gSIMPgtFlbulkx23BZTkP+bf0eyjKc98YWqogNyUCHjw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211890\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010917769?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ydcz17RRZkbe4cqAI1XjoijYe6tUAudM\",timestamp=\"1773211891\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XMOKv2rgBvCSrM9Ck1CFeV5QM26XiMOdSbcJfEdDxuscrhEZsdg9rLcQ3XozG9NttbGhTGihjNLVWSMlryWYP8rvjFXE7ODc7E92vWmBp+aPgS1ljcvYrYWS3yx2ZW8TbctVTwXzR6oTONseuzsOkF5GgVtunuTXWuOmStR7EnPx9klZmX27Fe0eMDHStmQst6ifgS6N2937sO/tAUQtY+l+dHq9+bRVoLyNY49EVKvscq1rYJLfLqZcqwXRrJVvsyfMFBSzBgyQ6ZUmcjux9MVgmK87+UCi2gCY7VlFuAP40e8dAWezGLOWbjaAcP9t9KhtfWlrBPr68hHbdOq85w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A1C4CD0610B30518DDE7F8AF01209EB10628CCAD03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c141a23c8da50040cb1ed8b9ac7a6c5c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sQspM5aA0dCCLugBYonjJZ4tVlXN3AmUmuZtneICmCQjbWKPwUVViD+5h9zo4uwwMIds548h/Mv6wJ5NC41lpU7nzw7tgjwtahbew4JHOg0vJd5zrGS3VqwakjdK220/rAfSrdexrbB23rBaNyApKPWTcKrULqqHpv8A75hpno3XiIXu3QX9L9PZIVCx8qqphL2qZxdhXwHJimcsPlcgcN4KTOLiN2pg0zsCRVNqIfBXJGnwySqLAG5/EC4i9TFueGa4EzjwRilriYZI0w1XezBOZSM9PKW52ujl4Z6jhrHUZKBPOAe+WWCQudds+TRWmogFRBVuJ7bzWRlkfZQWNw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211890\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123011081353?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4hc1RDpXHDmjiYn3NhPYv27lW8Z1b5Ww\",timestamp=\"1773211891\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2Gnv1Q2IVG+81gCBj70hFV+YgH3bLF87jMVjwLr/BZ8hHWytUS78cFOXk2Q0UbDe/iz26GSWlHB7+SHRBaPxD40yikddZgRzTTYhaOn2uDLD5pReQO3O5DyBDIIMQz0DAdQr/ghmL25EdR5jKbQTKvNFa7bLcL2cq2pBqum21wuHRgudJpGfeWfrMZcwjJn7BJtVxsabJzO/Qovz6OFHFbGOhrSAwPNEGV7srn6BJoqDmnLLHDLUx7aIK40akRgovF3vjKAEU8TNrgiL6LNAXMlq2bAtr16x64o00l0Bb8hitIFBwGFIbwMQKW/kWNfXSUIkP747YbzMPh5XTvugow==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A1C4CD0610F80618E7B7C05520FCB71728EA39-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 508e9609ca3916c634334b4c96c38361\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BHQ31ZM5cjedH2u8iM5E9Af/azCRt3dZ/w+g77gg913oONb5f/7/2E68aJBaWL8ziilnOcOL/sH7hlVbDt6Z3NEvz39jTT5f9XmAw2DyzLZF61uEDqZex6G5A7OpOxX3ADoSSt/TNtBtKBTPMFUbJW9vn/63+2XZNQPgaENJHQ7Hiv4fddOC7omTjrlPQMyzjmLTf4AR9es9b5fyZ6D+z+8DIxWAhPCJ1DiD3gWVZEsFWRba2yWMXiWwIUITmUd00rpM50tATdjV656YpO96ukM+RzeoQWCFVSjfWwMJzw1NNLMsycWPBFl45tQVmQ+m1dHALzwEit6UwqxIDKOIvg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211890\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123011821206?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2hdqZifFAb02M88xK4FPSDct5dh8PkJ5\",timestamp=\"1773211891\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gwNBVbvWJZmgP0+X1/f6cXHtsff4XsgUZNeAot6mhhsJTylBUP3/VU9kGbTLDAqskrWZdGhZMVv0HaOrCn7Lk1SBMOsMvhABbwb8Czadw8Tn2/Mzp8WtPwYl28GpP/84xzT/1FlDa3y7sfjMMl1hSQ9PBxO8Hd3b81SA0ZoM2DjzRXDPOAmFF9Do7+82maWZ/r0hJ9g97jMUdwnpGw6OBfchq1cwCWkTRj7gRNiEVxQgAf/M92nGKq30fneNW9z5Sd/2DQFWOLSakHvNRPg6w4BRydcXUlp6J338wHi6PiZkT0Y7C4b7cfy8BLicKBDQFk6MuvxvtJUE5fRk0TV4eA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A1C4CD06105018CF95F5AF0120E0981C28ADAB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 90ad4289cfbd27a11fbf077f54cbc53d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XRSnb8lccnIk9hjhSzyWZ/E660L9DDj7RorqW6uHh3S9L6PKGzV67stN5Ov1KlZL6dplv5fcLixbhQRLkm7Bbn0neKFzUYiWvGFn6xxOljpZqFovkM8Tjeg5ZThGPJcJv/AgbgCFwsl2tDHaLJlpbiKqW9O0Ph81w65ahq7PCkvRQiyqVhg+NQuBodJajp/ko1mgPEd9baJjPEsL400W5tjl1mAbd3SqRpfy+ZYiOiGAlD6V0jZO8SOHHqXwO8S25ESsFK1knm+rLJ15N8oqOyzJVdUd1s1Q/lOkZIAneJUgyfWZc6zWb8nybVZpVNsSLieQlJqJnZG6LmuxY+mMNg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211891\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012177476?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"87lmahaLYTutQ6ODPFhB4SWLdcXCP7Y0\",timestamp=\"1773211891\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5SldZBMlZ688YlNNJh0tr3EsyuDPdP/94pPqhXnfTaToILyGp8Bdkj24ymEbW6h9ZIlN1bGkNAsZTSZSvH4U4vVDJ/kmcc85877JRhT2/0u51Iv+XA0awl21FNI6yR7T2SbfHMn3SoCA5oya5Iqt73YPQHqsCeAaYmX+Kxvx++Xcm+NgQgMQbKLm0IOQHkeeDwtDetxn8vxi8W+S1rNve5afIiikr0b9nnr038oLghavqft3OBckMxrv//TFIMCDpYvQL+k8qVc0mZ60gypC4tZdz8iK43nvLFCs1sBsWVN3Z8yIA1gTtLGoDkRaE9QfkfuFsFOfn21DBVKXNXBZAA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A1C4CD0610F10118C0C9C0552084D82028AED002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: da4c1ca3ebc9046c24780cae9cd8ee6b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hzTWFjUF6KXiOhxUyjG5Rl6977X8MmrG/7v5PiBMblwXR+E6lkv/pU/CvYRWGrwtOoWoygImiWUpB3qQ5dGIdjZeAGoTQJnJH94nSB13gmcNMGDlyK5Au6QmVXxBtVaoeBtxK9YscxNsS5llO2A/kGew9/RIWUyASBfgrgTK3UlMoI1CjhzzBBJ0gmSm8+O+fsD/FgvZ7D21m+ZicXK1YCziIB7KFoMO91Q7d8K4RIOioMxLyVHHRn7vli+QyaulLcsswkln6AnqAU4myU2A2fsdtO1WmCsuCL7JJ8fFX8cbNwir4htSIk7HWfC3+QILw6s/j96D4JsuwOD+imvi8A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211891\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012432300?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Zw70MQJn99Th4UXQmhINje9Oi0UwOR9f\",timestamp=\"1773211891\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ooknMhw2Nwei0EguKdj12y9tpe4n1QZ09F5lcGsFUwsTE+mxldsYyoBLnYqWpF5gPy/Ypq4m+cVKxea6BoFZn2XQ/Nowa5w6Uv/ynKFLdFNnZTDtOnTalO13G8sfrcM7jPAUcVZPalLAyS0q0XilBvMv+Bm4znyw6w22dp9ctHzG4ROneBMA52mFjaqWtf2oKUdb/xXdnylg3ofUlPE1oyBp01OUECQWzS2v4z5lWTs2sqaBEM3YzX9y/3WQTOj1Jv/iIv9N4FBIi8/6OLsdcP2nOMDFzC6ktegqa+zzsBFhHJ7o0nHrnvxnDz3XILke9RVaf5reS7VjZwRVGzcNeg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A1C4CD06109A0318B0C8C05520EAB10E28CD8402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7313347c3b37f1a82bd83e67bee52188\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AYUdaRJ9nMe80n/+TxFxj/Q1Z5/ol+Hy2aH9a81YcK2/1zRsV2L9hdmsn3X0rNCAhI4y7TDRMMRF4wytyE2ZudMemYKuOURpEC3Tkszzebl/THpT6U4lwa9f3wLjUMXPtz77EJwMwBEW2GE8Oqn1mAZUVQGdjq8TjJ3cRKyQ/hvp7yqnKErfsu+a8Ooo85M5ASa1L+4VK/YqpmiVZxL5TFbkYkyT122sD1fW26fNtWjc4D5h5aRrIAEXJbfMa9RHVk+d4uOVmLIhgEPvYiQTVNl9QLwL81ORsQDkXU8qIAwkeOkvWl4DFF6Na5eRaislXgJ89Z9VTQvlR+lTE9tD0Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211891\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012442270?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5FTHxHdOibnL1ZDAap16vhvBi2xYBD0L\",timestamp=\"1773211892\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uqft8nV2mlOktQLei0BmQMY4MxgT9lEw0k7RMghlShpRDN8Fg6XCUCnBn6zAaXg6JkJZtE5nxVxz7Hn3ie4RjBBE+3QfPOQVbpqS4Zctx6OecXTlcACBK7UTghdt/iNghU174F4neq/weXK1rcVklNILjE4QJZO+1KJzJ54+WqIItVzWVClEtWHUvl2ceXkSBcU6z9RODQqpHVaYoezV2rfYLpHuEgBC4XRknS+QwincqkcmpZjRJuSgiMYYrhezgKLWkwYS8TLvC82eAGR+aMUlz3qqjJLL2+VnRdfx5UNDNUSa6lj55PWjClGjQTOAr6lSDtcUT/7Nu/VVkTdz5g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A1C4CD0610E40418F68584A9012088C70C28EAFD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4d47b12256bb953ea18b0311cd54b306\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: M8wKABd1FMIXH5dkDaOMOc+xyJcNpfusbR/c9WRByt0qzkI0ogOo1CmZuImTDmHOfq6PRg+sne6+cLIbOtXmd35PcrN/+7s18/S9V3NVsgJjrT/3BJV0V84t4P91we1yOvdz+7kTR02RhlqCWpRLpPgir0wo9QeHo1xzeZJhrSxoW5naE2GHqhquKKcgEUuFBU14flk3+mWcKWvTVfgqQ8k0Sh0PsQTqGpEdD3ppbn+RnYPZQZJILQlmnfsfbeqtRQl1q3CVykdFscKTzBW4JFVEleUEtM21tY7kQc8UdS9HUaSmL7IvfoigH80mvA/R0jXatjOntDB9BXXUbIWzEA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211891\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012477849?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NPz7VRI9CgQNJbAqKBze9pMQM4xQIEJx\",timestamp=\"1773211892\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Tzz77gbFiYjHV/gZBK755N2IgAilZQUxbbJJPZwBhPFMGT5QXhrGEOtjZFaPmgZeNyTFMHLCywyLbwEVEhposGDdzKx+zc70vRPkvZ3Wq0R0UUNKASBZCP9sdjeialYGLrYHi5+M+HvsQMIjkzac+wZIU2pNxHOgHDrviAmeCleEZx0O9N4E+faehkL0hv81ZGzeokq2iY3vEC4Q/NVjiBNGersQbjpSV3Ux0y3Cy6MnVS27H6e6+BFMj4/Yuiai4bxQ6WKdbC6IZ5p4DSbSCYK/7uhs+1u9CcjSsowitO6dWtl5tg55vD7hHqfZ0cICflzAgqHIguKfKI8+d3vdsg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A1C4CD0610900618EFD4C6AF0120C0FC1428B9EE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7a482ba15de322dacd99a552c4aade9e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GN3MR23SqpimiQ5c/xJnDCHew3ycmkRXJ4a65t4L5aVMP93gk3fZdK/8zc9+HmJOPTyh1QVYOoZHZLehZmL90ZSbQgyJmJiUjOwGYniL5pzWrov8Q0IRqq1VWZ6oOdbjo/kSVvsXmFTpdhHwZsgJX1OBJw0w+9viCmAlmmT95FSTJorKgf5sZQLSeiFmDb/vJLc4l3Ht9jlSXcKASVTHuOKsxXsioRJvWK2AoLG/qtTuePhpaJefvW9wfYOcqS1GHKGy89S7B30FW5Q+Asiz0M1q6UVmEO/kKvnzRLmLnTm5JKc0bmTT5w+CpAsxfHFPpdGN90+qKcNaykMWxVB60g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211891\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012500187?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"U6MUwA6b1HWCTmq55H2YOu2Emd0wRF8U\",timestamp=\"1773211892\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pF9dguRgcmIyUzadahka6/3HraH/5mmxyNB4hG+v2DoJml0ffLwWQfvBkpIqOncnigXAOhXok8LwA8uwrj6SS87gjLNpcdvQXxTWAQfZpCgueUpCx3jnWLknPt1uqL123CPBvZ/nbsIFL6Q0JN93C6QXcPe8ONMYduprTeQwcixdNasWzpIcFl64ibrMmU1dvZNWaEa0wUTzNtEufteil/DBoldpM0+1Gx45GpVN5CLVfiDSjFB93GsR5NnG9H93PDGZ55OodFh5XX2hPaEJAh51p0vhy0JgkXrq84+Vzil9DM/dJNHS2ZAJhDaPflRyEsnFWjKduMJljWUiSNUCAg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A1C4CD0610BE0718F4C38C5820C0953728EAD704-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cf85bbe95978320c10eecfbb85c7a544\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oQ9z09AoPQwK6y/PIWfuII2G78KubJiQU6GZpa1eqTuW2rO2IpOf3+Vi6fe6zWYWTs+oDBeXBzgZ+2RAEiqH9dbUYh+pHM2zRz/aIfx8Qkq9QWEekCmx/1YLxahkzNgk5DAlvTnoOMN09TmFOVwxX2hN43VMkh/0CIoUpeMFR8aAWg+oQd1og6E2hxKvfzJ8hJ04fGBvEPQEz5Dit/935T12dK5lhao9sPn9v67t3+72TShIc9Qe5i1koFAhZ96yLKjRXcNHZFsos7YMyftiIpwcafl6JS8ecUtOhJ+yVM1X3wCqKKFH3BsGlsCzwa2TnB18kaUgcqJuObGB2tAHuQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211892\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012592382?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VIQoXbjvTv6r8Uilc06jl6BA3CUKkpvP\",timestamp=\"1773211892\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1UmFKSKJ8tAaJPT3SkC7e0E8sEgwx31gtUXHxWsGDbx8/5IbenVTWKKmyi8mlvc5/LkXjAXZQj5SgfE2kjZRcEg4ru8ViXPDoisGrkX1etrdacPt5n8hib5sv53Sg+vduTiQ6CHRV+k0JeMWal9W+sQLLTQcq+xioI62JvmJqGqbiqvcnSmRsyUResSZyC+FXFjdUNE3p1PQpWVlW9V2/CKmBsnV0B/nJiOjLKF+bUk+M0DMR1J2/lBJ4gJXzLunnK7+Dnjr0TwsU9RDyNMtvrexJkhK5VsDpJ0iK+zsZS51xf/k5ckvmpOq5YsRNUG4dDDM11tua8hTsRJM0XD5JQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A1C4CD0610820118A181ECAE012092ED2C2887C503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 544d44ea4e0ebdaa251ada2f7f6b8a8d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pRkLn4TVOui2FLiP79cvGT/ArNmpIRpi+iajQ4my1GbR8bGdAuoEcfq3RSAC/hYLOweSXmh5wNd5VRgL2Leu96jaxNWzrIu+8GyWoMnDiTK2xvKI3GHmXZAihlOXQL3+Le40lBm1sSCiliN841iL4EwRwVEyXc472Nm5yZbtdcHYvl+oDrhmefvKx5ezgOzU4iTLp5wPH0HOO8Fqq9X0jcbOTSzGyc05/TuqHC1HQe+JsgtoQbxEGEw5JHNo6fNcbaEVd/fAQ5VcDeeIb2eVTqpQrWsa9D7BsHOzCxSfghhhEiSlPq9SOgmINsSykyHT5PtAhiXtXpGbOdVO/DitwQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211892\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012689006?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bU3si2hmlFjMZEb425fC3fBPDESaxL8Y\",timestamp=\"1773211892\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oCthspnBhYhHaGSgHFXHUnbVA/EQePYjifBzTXYXZPVzildPs5h9A/QCjSSc5X1yop71WqsEM+mabCAYEYJw/jqmcabkUzc9gLxYezCnJy/o2E1e/eYGbitWrezHBVv+KMAW05Hp2D6CMLkvQteD7B0iM+jTOsTDGrdljgMg1D1uYC4tYVMuTtL8kJWcs8UhO0+UnTmEPQgn+MnYiNg68DP7p/9dr9K6ITnfwJsMTC2+kgIf5R0tD+i9k/tFdT8WYzzmsFCS04WaZRK1CeaYDChTIUPeIPr8z2yTNrtuCsGOlUz1YCzcBDkODHc+au34X75DFs3zTcPD2yi5FuUC9w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A1C4CD0610B10218CDD1C6AF0120D2970428995C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d7c2dd77f5bc30e8608a0a90d8808045\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nZVROPHgVc/OLxJklW6jkZhAgn3LuJhyBgC8ZAZmuqhv7Eu7A2BgTeR/LJCNNPuI0W4PN7BqvQHuisKvPh4lXyi98gy08AQ9dqhOmpAxhyeT34b+/Mk6GWcLe1OO2VQMrRjs/BNepsStDQJ3zXGNGefFzC4p7FcHRQNqgIwgCyNO///gq/haweDAOs2dGlLYu9pagiLA4N+ZvUoaNHtP8cK/+88xOEBV/sPHZtYQKqzsJbphjjxURp5lwfqnp3rm2bpOUxhAZUwjEvwWa/apSZvHSHKi/9xaGw2ZCNb0iy1nXxbeJW0t8puIXPaSIHfmjPWrcQXrnkYb6NalaWU30A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211892\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123013665320?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gnRTT1KKcTe0yTmOyFhBGvkb99XEonqG\",timestamp=\"1773211892\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IjbgQ2rZoaYfUQ9SrzYgcP5dbJ60qFZcJqzycWKOF60EEoA/c7Ey9wCj5MPO1YQ06yvHiDCxqN2q5KXGfc+4ID7B/eSpjkENwj5FD5XPHKsEf6b2ZyZciAI59pFkCJMWq7GYG32zFwemZw+eQ6OvN7W10FEyJR+G+AaUX18XojSW3VD3o/7AZQJC+zFuLXo4R8FOeMJQ2CkH8U7zi5WTtUUcek/k1Fqt4XU5ZErtMJ5MoVBo59fabR4lxqjCzCHmY2Nl4e6bZ0VQNtcsbw/ewK9eATWg7MzutW+9axN1X5DhX/GtkXE+ws8Qmy+0sMema6hHzw3/kPxK+lH6NdsxoA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A1C4CD0610E40318CDDB8C5820CCE71B28C2E404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d3e7dc6873eb9fa25dab12df8e971a43\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nLU/1cWa3D63u0kJRDfrU+RWIY9o+OtZzD8boK/WSZrAKkW33T7iT8YWJbqQRZdm8/einFtBDGm1rA2FFNAcXEmSOnCwzNUB5v75aaAMRIjtZYVQNZe11M+icpPatLuS/bQq782A2K31LNMfpmNKlNOcvyYNb+gOPIpPDNa3iw0GMWF+ElXtxnsZmivDUwLCFzJsShee5+J5c6zykJfJXt9fhJdhbVGeX+4zri/qtn7/o5k6LdQJu98mEPtobKfFVNlEMOZX29Mh1rg7148MSsmhvH1JfSEoBmj0IdhSOJmZ6CyN7IQK53zr6UbBUnwXuhwPxZw078DXVUYYbRS24Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211892\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123013694864?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"f3Va2Oi3cPZPjVaWFuQdu7tSGkRPhiz9\",timestamp=\"1773211893\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BoYobz9s2zTYJxiS1v1jh+RTi9xyU4mILkORUk7pAXBpom49RwPiRv08OK0PyZFHE1VD3LqF+UC5FpS7JuFH7TGle+2DzTuGlzs2c1JJLyBjH0BGzOh1pNFIyX2yoGWB3TgW6Td5i1TiS+JhMGdR10uTlu09tyAeNvQnfA1afKPwOYzondnUgOOSaA4ZkAfQLGXncZPHz0BzErkyQpoJCyNt8O/tOua1L5cxKQRly9HrPE2n3zbDGaXwYzNEAu0zLRNlL/vAzMekV9u3hqpdTLzL3213XnnDqgG4mRYPCiguynDqcKMyCQo/Y7/vbYGGkPynbKqd+jwOgX8WRLdKgA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A1C4CD06108D0518D38AEEAB012090F33B288CB003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8cbf739de0b268c54cee10441f1abb9c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AG68MNBeBYSebnTMdbjGNP248Jl0mT8DKgKLrhvCLNSpHgi3x5uyDN75Gu4EgBAe6/c6ppbMTz02ZBqjF4jAYsm9x+sc7KSBt1Vvdkg8dzjZ0gwj1t1IR0X1fCwD6QZ0J8LVT5FII3gaIW40aq/0mdSjnnBJonAexjih+pEksEJkiD9jaHojDrifPfrtRHeHhd6nKw/Z1x/r4Z1A87n7KGBczpMNLX51TtyDdPNrTTLQ6Sey+KFykoVYdYRNRHYhNmdYiFAy8I/25nSX90a5BmwZk3xz1iJJAegOWP4IbfKUy0uH1Nd+JpJRG6k3gkq2fF+SWgQDuYThH+NH4sAwKg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211892\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123013941093?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8KOH1gLJPEua4ceF2o8cjdoUSL2yTyUc\",timestamp=\"1773211893\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HTvCsqY0bAmtqzDemoQdVnZ/AfsLwVWW8mvJXZhnXDZKtAo30dsz7FzI1lhh9TtNLyAbNunsaZRHtQ/GwEBcThdQmAVM+CA58WgvmvaXwWcRkK3W5ChZmXQYC9w+HutRMDRb++eHZfAUFqt0+xo+znnghVhKYbuUujOkB65nGFjZFOW+LI6DXILo1xcsJpfxfEa1Qi24gu6h/lt2j5b89dyontoDJMtzQy/v0+/4XwsIW8mCxCgcpkKP7MlhurlJi1WRVlDNMVQqoMwdpYy2qadLeZoJ11toTR8hlSSlBO5uYjrzlGJDXDhPX/l2Xb8izd/dBF1wSjmrEt/FcD/wZw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A1C4CD0610BB06188AB5F8AF01208ABA0228A515-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e2e819828fdadcf2f6cdfb53b54d0659\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: S21UvIAcv7ZcbL/1D/dBofdo7Q7FuYQv2pkTvc0V1Qi7UH2rF82N+ByVI0FZTsvtvuwVRq5AXAdlFMR6v9A1RVa9WGcMbuw4MewDrarcQBAvl0eIZVGRpNh11RyPLlL1VyJHZUwUY96x6J3TgRkYuSimLhkk656WkxgEp4Ja/Y5TqOh8PnWgCrGV35Xok0ZNAFPfVZ2zXO/Clq4tPHu1x98i9D/vdJZ2GltisHW7o+UabzTisxnSwmzmxvO+03epRcUsBblxHz/koLF9TLLN/RLp1BiiLtyHUGOoVZS5gwE8ab3xvK/lceTq7udlJ6hmG85L16IrsC58pxDKQVibAA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211892\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014012532?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"T2T4M0Mi3qDA1Xx7GGbMiM7s41zoRtBP\",timestamp=\"1773211893\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jU4t82nzEzK38e7yWNr+B00k0A6XilLinswHMyBNtJHgFWt8gpnqwxTZzJvYEeMO/MmKCOKViWyC01LAOs/T3I2dR5xGmQnHgGY//dcBmuiQYLKEwO9MDt0QHzUeO/8W0I14LAhxMc+AjDgSCdJjYmd06rAiIlLOsWmBw9LHksc9dXxHHzVnyXi9mTaMa9/nQtMBAn7SlyfzijAhGmct2Xj8odpt6ichIeF1L0nu+kTgAKaJGAojCpPH2O8zlDRiUmacK8lec1qHVTQy1Zxem4l7KAONA2xpadp6tORuGu6yFO0/pmIsauLXQEmJI8d8lksUI4s9QkhNqUGUuHk3kw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A1C4CD0610D90718F9CD8C5820CCA0082886D902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 65f9efa3c2ac4986e503b5c69b396301\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: p7dmBOqrXBm/Lf28jq9fGMjloEFxBbA2n4wl4ufzasl7eee/jDAbst9P4rMm35M+bLxm7n/EWCkhmoyzeJCDyOQ7fGoJ6yWBa3vVljmbffIAPhFhYsINWiGqtawMZNb8JSFgeHFRa/oLbL34zPFbf8+BnI45b4P6jTAu1XzFRYU4yDj2wwHuX/w1sqa4KusYLvxKktM6fvlWq4qJRTKFpWhOjgdJS6gwgEp9T7+V81MZLhlWnbUWTH86YHrVkEk7+ZS4lIc5VTWw8g+ytZ0w3say0r8Gvi/K6lDDnw8fhv/uWRIpr7T9XCp4l09axudbKhb9Pbdw7gg1qbEDMD45aw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211893\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014047621?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QUyyLbzPPvMCybYiCFwcX0gYVE7Qn07D\",timestamp=\"1773211893\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IgAqrBjuTybL8WpOhl8+J+g2k+xhGwhoRo5u8m4/bt0HP+DtNnupf/7q5/bYyuUtE0KBjZU4fK8Syaqk2yiE644bquxDwW61lclYfSSxXfxxTjARLGqFwULJ5kuIm3Mylqym4i9o6j4bwlUcn7iYUtdkzwAEPfmd3vdOaCRxajek4qf97FBu+Rfr2HFy2Okmm0hAlXGMThGAqSoXLp+gprWKsZQI+QxC/Pz7McCR6oEsuubw9xz0yitCdTV4eXPlhU7LJHqN6bGx8V+MT9yGqNX1LYZUxiBDrQevi0GzoLqgS3rYc3bZVpWti5jyvI51jUp/4F4tXjl3/2kMhsbtvQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A1C4CD06109E0118B6DB8C5820B2AC1628ED9003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2d2bd422e57f03fbe8185d4dc366d3d7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GMq3XWl5HVhbRceageYdu2lcFdjm+5NycX9oHik2HraEUOUpEpmLtEt1PB/bs2LnSLnau4mTZzy3vU/vBBz8XogsA1cjWolsFn8Lbhqs02yWn8c+8mftQN92mwHUnKcD9h4P4euLBUwVJbtsgm965NtxI/+DHFaXwUngpFTILq3Dvc1HYR9IOay0lBH2CWDZzeA94+tklcxE9ztrwVfd1oLkuzkwq8DNI0iiD8birTXBtwgdgSzPHxL72xfnst9lKl4X5c3ClFLSiptYWKDjnHEweLMJeUioADrW2bLN77Q4gY0etaizb6nRJuhQ8/ux+Rr8BAcfuKtClMzUVTnXJw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211893\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014071324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9dVxNvYgdxHFWzSlhL8bw2uUnhVLFJEc\",timestamp=\"1773211893\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xiUr6NDKQcWTopyz1RjOBVwIJ2xzDe2Yb82qY7ZhB+uVEt5fKCGp6XODcwXGf2LH6YUmCZNUqn0ck53cJGdK5vdfEDj1fP8211twNA6UjM0X+0yUStxEddO5nqcasWvptHIZJdjac2BP89Alw36Si/Xhty635C8dniJSofj1+LCUNWNumMOJqkE6DV80nCCOQIOtGrIPXfM1neLsXQGPI84AdSBHnk1pdXX7YbSVGsSbZXj93YUemeZtF5S9Er1MgAN5GRADLeGd7md50QOW9kMbeB41Cwu6TwrA9UX7q/q9mn/p11YnnvTFuad+0Y+o7J8TJDW+nf1PTaX8RxHU9A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A1C4CD0610C00218F982ECAE0120D6E0042895E902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 004ad37a8e248a5f260d5b1769f98699\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EGO5Y/5AeGZzUXb7iofomMYaMvR7LkSBQaBfzM/9T2IQ2PJumno7/QCchahoEF3fDHqQbYN1aTUuHm5CEOCsAE4vW1lTnWnUT4T3DiRChrGk2K6RUh2cSUvMFheO28KPhj7SmpvBYgTYKOUX7oprbCQmw5J4a8gZbmMaFDLLj1Sb0zFJnxDXGaXUrVo9dyXa+UxP6gfY4pZp06k3WrbylI7kqQDINdN6P7ShK5yTO2xbPQjxXkB8bkeekR/ubYZe7oSX8YELWUgln6pE52NUN6h83Hy0w6C3iCu0U7gFGZ/bcaAiYPjvdhpRA+9nJZfe03JWFV1aQeEpRFXeut/YMw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211893\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014260555?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5hxEbHfPk770UWSmgy5dFcKx3oLho10J\",timestamp=\"1773211893\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"apuv6gKVF0z/lQ9nuPlgd5AE00JxYR95Nz89+tPiqF5sqa+2oDVK5YgJO1xSfRdK686GGacjDPoFW9sx22ghdn44h7Jpf5xXBUsn0B/cm8KD58Fmkk4IGEA7jHWcbnxWayua/SxLwbAvUnNAdaAhearstEZ52Vk+ZeGfEzepqPzZONTdfOtJ4pPQolWu6LfUbCARtUu4j66w3jzhT29L/GLFI4CTJoz1Mgklq6rRs+53xtXnjwOg4hEMcmLw5Mo625jeV8HEwQFtiUwrqqlN1t4xetNa1tJIecGibKb9RNVtBeTYBfW+Wh8oTCTch8JvVGa0RXvBY3ptSodaxMbV8Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A1C4CD0610F60318AFBA8C5820DEDD062894A403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 499ecd16f7ef0ad60d744ce8bf73fd05\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FiIycrwlaB2ShCyvfMQya0irEccnKDmEchJCQm739ubRUwadKJe79E1lwF0yx1HbCW2FjpHMkNiuCByJEOJddUfyv1T7OYYqjlbgLHCLIFF7VMPpcjdb22RtfIj0vCktkK2ie59KtQv4RFmI4TXHfJ5CwFRKg3NtOgGClsWoYQGmxPsnRIhhhxDInRRWZzDV+Ib5CITEDyt2P34/gopI2UIFFKyG+vBZk6TPbFHrYXHQIOga9lMvg/F+hWOWfs7wGRnrt77n++oPNa5pXb3Ah//rbNo+NLRiqxLNutqtEu3yOPFDmjSqKhJHoWOyshireOTdx2LSsHtYXAObrnRRcg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211893\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014333004?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uUpTSzlH7lgiP7eph0zCvjYGSOG4vAkA\",timestamp=\"1773211894\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YUvLk39CsQ4lhdtVIwWrt8TF9i86CqyZ1JV7uzzMmbxL8h3f/wMJ7wZTUH5BgyXu+ghruptpLOr3aKmX/PtH+IV4omCJR6yiIc/Y5ONeTpnkbzJC1Mp7AnJ6I4jjkpY/skVE0W2YoumTaf17QC64/hM47qkNR8Ckiel9cgVZATJ7sP8IRnwHFcFIz51WzwDuykuEp0FzhJ9hsK5XSqMrrXGHlUZSr2NSwg4rfO+N1iRNM7MTzszv1/zA8PPhrJywUxu4YkVGaguCG8aFuk7TgHuh4ZX9gr9m7t0tIMOx1GA148CowKDrpNfPbVh2cqBtST9K/FP+BdBNooQA2yMWFw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A1C4CD0610BE0518BEE7F8AF0120AE4928BBC105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 004cd949f20c6e6396b2f17d0dff489a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jJ8XUaNRsLscstJDUguBq++7Yk4D1Zuxm4F1RqOxWHqXoe8qm6jEKFAM3kC48shq26cSE/dTkncTiF9+ybZxpCLqmv2c6FZ1sPQb/gxEQ9ulnk1ir42fbjtpnscpZgIiYekTjj1ycNWCe+AcfmWaUyREQehEAq5lxI3OGQBUZfVVA+3s5VczloD0MFFf4QsDyE5hPdzAJzfJCAxTzsaEbg8ARRXe1rjoLqmuzBrWZdJOq726fDUMVR9WeK/6oTTBia+YuN021e/1VVQk4QFwCbZQejM//UOiz2oLzetKjnh98/QSOooMKDYXp91slS7usxWzegLbP26/IhlcmHGXiw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211893\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014397721?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WAKyGpJcBy01bLPejMufoAV34luytKO4\",timestamp=\"1773211894\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hQPAmPHzV6PdqNlTN6Arz5EudHeUWIC8ndMOBN6cKLtLagstrjzT5sxRjmXSjEL2BbUcIzMraGkUOHKuPlsGG3/djCmMWnLM89A+TAa2DbNOvDov1+Ha/nzqY5wWwk4IQ8hSCtMtByCo3bfFH9Viynv2eGUcLQTvRDMvVFfUAwSud1nFHGBpjjFo/W9BLj7vs022tn4SzCxAF3sefFf2Gk0IYnm32/VCjDYsob/fAuxFTa40pJuqt4ouYxPYevQPUdW0yJngVldDayMeYlYEsLK6o6s/XPUikCHykyW4rknFFl2Nc4Gy/Fo1yxuMiaTWn5bL+4PxKGftsyvWmwK8CQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A1C4CD0610DC0618B6B5F8AF012096DB1328F0D505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 150185aeb192ec362534f450dc7059aa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EPZ2v5QwLQn7uob15kcfkK9AaZVlYVbV+P6qCKL8CCBInbwqfT6XM6B/NMH+4FbNk6rv595gyxwHkPjjv++VE55TZk3lDQznPu+yQGDqiVEPsUCOnCLt+12g2icgJ17WB83F8n1lc5JOTBkJMTpuRArM7/77F/Yqxh5pc4+zglb7bTkiA6erFI/1eYC94v5WrnQd1Gs6+ijICRTdV/lQ2t9q0QYjewrwofdk4yGiJB+fxaB6VJVFUYY6yPR/A4SUUZhFOW48tSPi6hhwfj6bbcDygylAwQp8noXyam2N40Od0C5WJ3xVGhTqgIyBh2v2yzdbcLA5FevwqrFBaF97KA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211893\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014891724?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZNPp4WurHjYF734RVUCxiM0F5NRMtD9R\",timestamp=\"1773211894\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ob2ni5bHCQG5QdPUjMw3JMY1yw1mP0+ePfHRZmgGl5dPO8uVcsL8Omh9nqpefNXDy+9ALTQOmTonQ0p9RHLeB9qCaZkMnike9JvWAsSgi/+EA/NhbgyVMX0Ijv8MKPwDVCg4XgAYTvi+1lY+qlU7tJAHv8lEYez6QxjDk/IiAc+MyBKOaXF1xUrbeNOxP2cdu5twVVPqIuuV+/FDUJZPn+VkIIC5LrZybuoBRh9zeT1qpTizQJ78PUkCNPpbo5WH/UC1uAf6vHDH9jV9q9ek5HflXTw5zkkd/RIE7LNi29Sp2JLYtpggP8cz0GokrfSMoQUdGhVHZ7Nsg65Wdgq6IA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A1C4CD06102A18BEB0C05520B0860828D18005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5a51518a2587e1ec0d266c33b73e0078\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FbT8391UgSA/U8wLuQw2ZA1HgIBhNFOI+bNe3903lDbKP1Jt6D2nxI6j4GFdzeQ5BR61ROWnA4w/R/KekxAFOCtozM9bBKM4b3xucpxmgfnwvQVPOtYozgWf4wiP6MxMU57ic+HvzehP0CeeybTTUOFJSNodGey5f+LVJgOCFO+BUPkuFq3R6nBU+Mf9s6uY7trTGgcCbY+QR/n9XX0CQDAcnzXmuEOyozVThmD59jkAThzNuu+4ALnc06y04dFrIwMVV0G5l9vnFtQ1uUXOp7UI6gKagEIzwiQYJRSxuXoeitKDyuU386Wj3YrZN0upGOyNH95C7IO/v+lZ3lcpRw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211894\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014919206?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"k2Tug4IdWKdo1XkefmGTrDhZr1ZcVtl9\",timestamp=\"1773211894\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5ayg98fG1O1ChjFZLH+7zI+LK7zlYY+RME31vHSv6xQJqvMLPpjUJR/jhpL2jCYhABsfnWoyttKLskG5SERdqmf0/P7ln8wXUwr5FJirv9bAXvN4yluZG+Ja1HPHrHkmMHsg6CNIBzMZZheMIIH0zCBsrGlixpgk0vf0GFfqyq5Y3D47nJ50bVILP517DkKEBi52+cFD95XYeKg9fhlvCc/53KrtYwRtBsYjAvA0f+K82bytFXuvMBR3rJGpmCK7Q/akl6eCu1Zs/rBhEJC2S/Sa3pBAZ5XrjYB1n3F1YYAXK+3EUOQHsaAftKg1XWDXwSG5z1HC4LDqQ4WvlpS9TQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A1C4CD0610CE0118CE81ECAE0120D0DA1228FFB505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fb2520c18a4dbae7773e2cb839cc746d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hqiG0+aQyvOeZabTmvDDeONcEs+RlnWpAWKa3Q22PK68Rgu62RgulaXVknh0LNV44mBFqMYl7GN09msVDdSOa/Jr1rxz4VJU8H7VDqlSaO6+1/tNbZeMF36A5mrJ2wsw7YMKI3jXfVCGxnhZace21lbAt266SX7x74XWDnakF5CBDyoshloUwAmP+/vMMCgwEv1UEf2FtBiZtMDee3lxsur9aDq5Xz03HtGm4yIrRIlwkIsPpG/hqZcwjkrXYhKcuHtLyZijKjCo1tLscgcbsgK+424nfqhVkBLEBAViXgwFnI1U/jz/NQUfcmRpQWzihbxMqmi9aEPnXoQGwIhwbA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211894\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123015942138?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mzN1ZiB8tWExn1GsNtBR1WQYEVQinX9v\",timestamp=\"1773211894\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"i/PqJy21PjSp1EBSOnY+xrhVbOYfKCI5ZLGTXR4wgTo/kzW2Zi13/bH5CDPIbswjwLM4Wa7No3/xEEDa0pcJit6AXnU+eKEPenCwkisvT3IrJGeOKrFualeoUS3HwR39rYlQDpfhw9jnleDM3H6sBPDgO4a7YlYTCU6ISCcsufa70y6qyxj77Djs2Vpl7LKmNWtXKqRyaD2nsQrunpXU2Xio6KrjNeWG9TrZywkzMR/COY2eNxl6+ewidPz1i/dI/yHTLBgyKBua0/eMp7AajzIZGtJeAuC0JpGz0ioquEnD78AzImLPfej023ec39CGOe3wn1pporMq3HjXdbo+iQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A1C4CD0610FF0218A29EECF5012092A41A288DA203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1fcaa1c9dac580df16dd1e6c6833e415\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Y/zxO4Qezm3CepiNKLqTctQO3qOy5cVDLTWMekENLo/k7pLrXQ6tb4Mgls7gb6sxY3FpyQ4GoGw+URncOs8xsiH6lo+fchy8TOz6f2UyiHyJhjU3oAKsVf37emX7eQl7PXlOF6k7IKv4tYgY6zQiIQJ+CmEZw1CT3QG2mVSVkjffvvilw/N8Ynpz+TUc4kO/JBBKXehcyNPW9kO8gdZfPw6MMCvZd0YeQbOAYTGvHYneHhG4gBXLoPNz4nzklQnmAx/iZIUQ2DoT81tL7ZD2eL6g0XQpf268EJ1r0eKXnRElIO/9lUiTdOkyfEZqWvapJoRyVd5qjK0lcVlS970X7A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211894\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123015975334?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kRplx0BFI7bbvkRcCPgfXaBIHBbHss6i\",timestamp=\"1773211894\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1Rbw3GoFKWxDu7VgACgOsl1mzMBXe6BVBkkl7Tj1BvcgbpjCPCbEeK5y7wCc/5p27P95A61pjdZn/BfCDkSgfm+jA0n4GVO+6G9zcS/HX39UbfvaKKyUhK1bSFoFDcafCD0m0Y6l49cNhA4KSvWJe5654/escPol6IK99rzD4Sh8qWvhxd41PAqtDj9IIXYqRyC6qKqzChbrM3YJqGvh95itTFJc5HtdnSiSnefSrrI/HHmZacydh620OJnV6DKCrBpRDyI1r9P6X/ftGU8Ax1Uyjq44xYbZj9CaJ/ZO6dZDmDw9eLPL6Bkga1xMbu0ywk8TMC7K+XAi8oyfNJ9VyQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A1C4CD0610B30418D681ECAE0120F69A1328DD8D04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b9d9cd33994ea2b3266ced093ffc765b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: p7Mq8UFj9vmc8vRXnCMUUsIh+yddr1lESbnYGbFY2gexK4X9UTX8qREfE31gJyUojCa6jyswlYY/NK6daWnnRayuOlFk4cN+m3qVTQFT3ut1ELoCNm5qN4xL7qP9OY2NIEaKNlbtGlMWr4+ExYTk1GhmpvvoMS6w61Oj/pw+eBCAnJ2GNBnlCOPHve91aV2Nw4FTVYhREVhtAOuc5YIw3mL3wBkRtGXYsbZ2onMHho1njaz871uYdaXOaBEPGdP7oIvWc6cpITGyagfsEQF1yq7pr++Vy7wkYOtGiqZ+iNuLK1DoLpVLSJuToUsaXTxof7pGYYsKzc1t9/S2SlUuBA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211894\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123016309070?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RF4AmrkDDcvo3cxAjvK2o0wowQQGlGyP\",timestamp=\"1773211895\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bKRs98LBQzhzmElSZWG8XXGk6XmKs/a8WrWtYIR2dbtqoETGTvIO2J6/JFDZPCDkxtSZ9j7L8JyaWe4edQJfkNtUY9ZUFC/VbY2ADgJ4t4qKOYFWI6+QOwkJ4coDO9XyEx84EHEy6NEXlfwri51Dt3PNTZ6NDXdBZkX/KVhpTSvrXpo930XxROJqnzP0zARMrappdYPWdX7qN0GJRQMOpWYyMCg/qGSNamnafGw9Znr7FNFyM6fFIrO+5agQAtb4U2mM3qjGZ68nXHzgm9dkmv8eQ76ICAHXYF4hHst69VD82PMFXzIaq5l0zyyVMc4NiudsaL5lkJGRCMB5Puh5lQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A1C4CD0610ED0518A5E7F8AF0120A2DC1228F2DA05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b3b567d69c2a95c358a2d388010fa9f0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OqCoa+eypSM7VpNuXMF2Q8G+MqERKq9y8kGCJGyTCwSVX/wUUV517BmGu8yM+6IG5v9gmvnMm3E2oDmyjLtb6ffSghXlwyrk5PUwHuFzfagyZfbOBGs99fYS3eSo4Y8cr5EpFk70SSsQNHuLtq4gA2KBELS8HikNHlJvXsQbRRcYb8i+/TPXP2I3jZ9P8IBqkf3SMOXwihN5XkSO+pdRlFX+Eab4+7ql4dTLpvdUlsWW4LSjfeqYwc8e3ynL1dN5Wiz8kJbBsHOkiBQDP3LK/4APmTxxlMtuU+Va6+fao8LwTn9uP7URuAaht/GM37OVxWbH+6EYgB0MSRPbIw2qfg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211894\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123016391725?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TKuy4m8nbHQquwdLmfXO4oEJ3whLYssJ\",timestamp=\"1773211895\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YLqtMtQ2FI4TqnxNGwcHChelY3DH+Ypq6P+w7ps+aBOcpWcU/HI37WpPthfwz+bJO3kHSYNq/hLOif9t44/bTjY/Nckoz2y6WORZWrVTU7ST01uhNsl7Q/WVj8xlxc/EhEwUQOvqpqE8HBNQRdYX2OecDVyE6efWhG2IU9ae1ke51UMmiBXQtS1CIntlsRuOu3EKUcMxrMXNhr2Y2ZFiq2VhEfPINL4aPQTfo1t0uRCEf4JVUS1XcHtnM/Y97Fug11nOf8POPr0IquJ3+RpyPG+kl49kmMFYROmwmdzinB+zT6FiYzjyR9vI/CJLzwXhk3HDXfNQckRCSBGF95nHBA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A1C4CD0610920718DCE7F8AF0120C8ED25288BFF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0759f4a6a7a36414b7c4e8fd506a6b64\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pTqLI5YTRMJ/yq3MDf30fid3OY/w7qR/oEu+ujmjAVqwMqUXu5+mDvJ4YrkBoo3OCD46UclPpvSgE8DlMG0YiJejCrPFHh2irvPw3GUoQfhEvetOnevsq67u0SEAyF/awMN+qOs5rwPO1O5PCmr0J4UP25GfwrP76K+Kc/E/y3uqLPA0MRxFvArHyONr2YzSAyU5h63BTHYyEu0MAeMJoCZtwqasu/bQrMU0v/AUPoHjXdoSNPo3GL6O+0hpol99MlHRytlUazjJgEnWJ4838kgNjEqn7HJH5Q+n4KdbxL7HiGlpn7zXvyfL54T7OWENUqVpC+wt23Y8Xf1ZXor5IA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211894\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123016732830?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MQdoxNKDKEy0QBoo50MXwtgOn16hZP2D\",timestamp=\"1773211895\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2DbaXxwBxd66lvWSwfcF62A0Cr/OQS59S6kmGD9yIPA1s6cag7NRDQgOZkmmRkM0jV0g+gcBYRucyymEA4n/n4uupshyQE1aVVK/E6ys9NdjzR957co03rdZa4JSDFpQYL6WDdYyFDUZCmOAZtgYKfSinXTXhojrMAYa/kxunGOb/37Ngy8S0WiR92PXK8S1mDdGwHBTGIVNjUPFQUUZ/11v/Na8/31U9+Uoz3aKLEznCpH7jAWOTauTEXqcn7mY2/YN1YEvYGIfrzCGY0dPAdYD7xS4/kyZq0SKUJ1q0BiWokRb4ZCJVJj33dpoc6cOvp+bCXXg9Rj9id5svZAFsw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A1C4CD06105418AEB2C05520D88A0528C0AD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 609c1e0ed1090d0d508f293a2a5d0fd9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EKu4S5XyLvt41vp2KL1e81CAeiD/ETe87XVwcAO2MxnNfzjgHe858egmljAhstlWg1zwxZ5AlkMNnYRahl/+6WWfylU4H7+U/TKOo4kuZIM+L9czV79e+BikNC5szskv7QS+tBXnIUsCVsXU5d2XGDXIc51FZ/sqw283ox/FSDlE08xQtUNo0i1ECoozVCo3VSVkYG8TrZcHIFFUHU/pf1uSp/gI6yQ4ZKkEreKLCKP9DanpJnZzllBl+uftCdWRr7t3tx1oeyOBr/vamWx1AZqfY329BGXU/v1k1pdxl4MfcdWOlOy9zQR38XRKpDKL5Spx6auu6kxHADFZONU1EA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211895\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017059205?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kp2E0kll1pyPgn4IOABaacpg6oQLuS7i\",timestamp=\"1773211895\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QZE8nnUuSpW0uQxl4PXcO6g9YLALz7QhLKN8zVZccr2sQoE/Ntem1QY8Yo9Gcp0I3VQOs97yEWGqnz4aJZhA1mPkTC3fO7IPE7u2P1kBA0skwNxHcSEPAuVYali0tQqFpJIuqetxQyoOSltQ4Jk9yTwk5JvcHZDqk0viDpy4guH+0+Fh1LE8XxkZRxiKsdVb6hTwa8aYuowoQpAbyfgYqXKdXfHfFnTnMOvJj4eNczFs6bfUUVr9GcO3jPSw/YfFjVpZfe07ZUnBVINxlYKlqjfxejFQuagkxawFNVhI3CPfSrACFuOP6z/A4CIFVmFg9pnIqmsOnteze4znSMnmQQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A1C4CD0610F50118A0E7F8AF0120AAE40D28DFDD01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 740a9f81abaad69010d2d64a9c831be6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: g3NHw2S+6zuV/BbiBsvuigGtpfyVRZYjiEY/7xkVpEJaU+KDGo88Ggi3B1ODobHeQhtZqB8YkDkX5y4dY8I7ON9UPaddWHuieJowpjbd5vhSva7PzDp6mhc7eTtvijTiog4ynHqucMS+HAgfq9feMr6WTBq/aKybF5m1TibcMCQuX3JWvTpCLxpslC6YF3WgvzmvgEMGs0WkVRJzcNyKPnXe9+p/C2Tmmd71twIoNblXgivMFjAyNdecZ41PcRvXuYkIKwa0Uu46GnhyN5m373vXZJRTOx/YpVPxUIf4VZY/+T0YomfUv5FrPdxKglXFtg7UQGjM5W21Zf2s8EDAbw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211895\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017156271?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BCaXFRKPUtYgTNdfynnOfEabJ8eSwSOp\",timestamp=\"1773211895\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vM+cXo0XYfmzWBg3KpJhv6uAbYH3y95eTdF/Gja03djat+POdeUEA1ZAAooH8FNe1+zVoJnZBaNEpr15ewnEGPy+JrrvsIN3MIdnZw1tOk4aCK/O8B/nhkEiY9g/yKbMMnrevqfb7/vZF5HfvvtYoFzZLwibKiurAU4Ht47pShHyR02Aq/cBFfewjQtYLLdsEkJ0ZLn+MSLle8AVTHLGH36IJGJgBXt0y0Po/+q3KbQOWCmsivtxpX5CsPRZHWrHQMtjgaGhysXfnB10hc+J15hWbaLTa+O03sZbuRT6cSbGBhTF6DZ2iVELc8LyhKuHCCszIRQvT9IhkBxe6XL1aw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A1C4CD061093031894CE8C5820FCEE2328BEB301-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d48e2ace97e98cc233b07f6afdc57e5c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iWHkqfpbkPIQSqh+vKHawYQ3RB/8ZoGIpcIqsXYuaIT+YekJeW8PeiE2Fg8bMa65GriLDjQvM6lKrNsBjazpGzK12evjXuivk6oMZ3jDnAcgcWAhaAH+HBN1e/Vxoj8TaQs1IXzqsAAS94Tz4+ySDf7DVI7mzP2wrxbM3341gS1CaOpuAr7Qf40wxkI7E7JSI888GsQfjMYoizMzu7GXhfoWvURyt0oUQU00nu39xzxXZ/YZjoOk2/uTdYXBy1qMii/z5k5WSj//4GgvsYyF8Ti25E8s9x8FcnNYmHivigx9k5lMa7On8RaZsdKON3szdhcWQ+zzv0vvn4mIOnJXOQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211895\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017215573?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Sc0j372xFgvb3DNreLc9g9EfckoSdVml\",timestamp=\"1773211895\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lTSdtv7j2z2QcSjMWLgoYNF+zVxRFJzjj0+wUSeO0oyfKeYDnLecrJwSOw3cPiL8D7RwkI4rSM4kIHoql8w1hAZdu7u+usWy64ptth2TrqD424dgOBhD1aXvn4aZLseDh9/CLLdCkvtflgqLh+UtMDSlAX0BbJ0nK+J5ncAK16phq3ma32DQ8DvW4+K95cYG6FcmGzh9iq8rjQA7hTWxYzs8+nq3o6gEENGDa/jVgbJ3A1gbUF/jKCZZP284mHEQM/1RIH5Jch2O+RNYkObVw/bPAidup4R97MP9ZopI0BqtZwP56gLv1j8biSG+n1zPEeSRvsBwfpI2EwtNN7eexg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A1C4CD0610C00418BD90F5AF0120AAE01C289C21-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 527eebf59a7bc86f851f3e4cd1cf1674\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: n3wKvCUbR/yhr1wqOeul9AOzSDiBewX2ZY3XhHL028cGcS4nnS3/85Ze8g3m8viQMy4vQORIJt7L3xcLaKFyyeJwjqbjaOktELeWJS52+Q9UwP2qZ7V/ZRVov4RMckU/KG9CFIxLqNql9rdJ+FwETNz4mdVCCA3pbfb4JIbH8V7ISX4HwYMWfQAECdW1KfScUWzaifcpwRgHLwAt0j9/meSeorSK3K4eSVIE59PGr4wshUrvyuXMRJKLLRu0+jiCRpTVe1dhsFT0TMGaaAHViAKd97JeMGRYQiwAVLTmilMF0GEUaWIUoO3eZ5NMlMM2T3BfDHWre5McnLqy0WwtVA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211895\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017233990?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Cnv9qdx2VzKD5ptjTcOfywopkoYXGCjt\",timestamp=\"1773211896\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wHsoozHPTOtozwLYZ9U9FidFSRNxvQ/YQuQnW/10oy0bb7lCDY2aBfuz+m6l+zisMXaTBQgdc7sYwT+2FC+GANhCVY6KG3Jor3HuaIWjaKCQnARMwKCJDHisHmSC31igCbrXbKAEI5vHDrdPVkvliRz/KesnlZTKqNbjEpiicTcJosWAAbpBM46/1VqN1fCU0hixNJYEWjkhoxrOxTYc3DJb9U9S5jZnh1idVmEfO1db3Kbm8hTN4+yHXE+l8vL1zfZCMV+4Ndtc1H+k3pfilJOcBoxuusfstxT+vvKurd65+JDAkY6eJnFo/GjaWpo+q73Nkl4uOvqwJgxDhMAO6w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A1C4CD0610F905188ADB8C5820DAFB1C28B5AB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 15fab271cec295b7c706797a1b34fcdf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QH4McNswGutjQlLQGGumhj80Dhcqiyx9GgmrtOd+6R6TJAzDhjYdbghcE+aGvVNt25bUQnn8UhoUi6HdUsIZcjvfOwLKfge/H0YZ7+E0qSxRt2zly8CYBmdPvfklhH3JyU/yISFRywb+J6AK+TX8ebT9DZi+UaHa6y3iSIOEZh+998gArMEnR5seFlQ7oMb5/AAmQWgZl7EtNHRbGgKUvN+45qgGKL25GCuaVtJ4C+IN/WByauySBw25CgJM17OdIwJaei3wHuav6E6HcuCCx5oVa7WPNUmr1vxVUbNqpwmFZmSpvrnsmyPYoUk91ku0Sr1+HFnS+qzzIfYcEndfhA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211895\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017524080?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7Wf3ZqLDyae0rdpBytVTyN8Tjlak6XXA\",timestamp=\"1773211896\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hlSWp8JL2Ny4PhNf1dWMdfQgLGsvGPKPBsKgK2OgHQGO3+v7gaidNqpPTWdEz3LkD0l5evCQxuhXnB1f5jd7Q71bk1QZZ6rle4kSrIjB5b5BVHoP2VNaoQzIEMSZPSsg6C2zQZEvwWwvnj4TD66jy8U1GrdVicQ7RgKbHWny+RKXGxXHSTkXSATx4ePI7vWsN/8abw0cwGUovDpqmB/s2jnlw+KgB4VJ7Ee7aQ2V6mRDHwJAJaZzj0KqvDaEHKBmAJlq6clG03bVdapJg34BYo2FrHIFJ5AFGg44Llmnlhdst1hwPUoXo6O5jthNAJSd6CaGWfSzfyBZIisX4rxnLw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A1C4CD0610BF0718EDBC8C5820D0B63028E3C705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 94458053cdbd18ef06888b0050484dfa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: fxAllti/poGkpcDBQX1pPJFqVDDx/ldOdihVftuZuALIcaQgnIenrKSovNZreI4EfFrn0beiLvM+Ma3EWt3kf1Y+9/KSnKP9EeJulGvp3c/zQW6b/b1TDg527kd3zvsRvwJsfUiiAho35MxsXv/JPVD2UbBdv9X/ERbgizaw86OtWYXEQgLM+epQ42PKXUKkExomIXohaa/63caUihIxz/BaAiBav0VDFRY03SbZvwkfVDH3+YdNt/htj3b59/Vak+eH/O+yEdtNSL+8yCFe4isiNC6x/BWEuryEYyh9qose3HSBeJEK6XCd/1Jh7E6aFb38UvPpgFZR7QueafJr/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211896\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017746310?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sXn4ZSZmkn8wlgjye4wUtHhk47YrltJU\",timestamp=\"1773211896\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EOpoIixhsLp6YVad++ZVvZcDGof5F4QWaDe+UTDuzDJRCddZijeQWQMfZ9UIcaoUGwxA4QcZnERkv7AMTOvtRPbvxuTDFGPkAbPmgMw9nCSaYHOG3dePvx5O1N7uCqwsMrmLeVwhd3eceJXJnXm8MiB3K/gpebq2cjyx/p8u9DQuMDIGoBejmzC8zUPsCb8RuATcI9A341Aq2dULzt+oVpXdrgN9lbIh3iQEZ6jtnHiDGnYTlGOAGTLb9r5Sx77CX5UlzZe5fhdPN1ueYUz+cSKWKlw1+yPf7U3wFrkkmXfWlX0hig/jb+dA1wcHXS1H5FGKUjNQaQyqSkC4GebyhA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A1C4CD06106E188DC5C0552084FA2528E4B405-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d546b636a054ef9bbd9078de247a90a0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AfOItRfy7lpRzbOmXIgXtEM7+wv1qC8h4//3DOrWu/XD2SXcGa1g1SuMfiZhf0+Ms58DM/8QKBnUkatkf1Ffq318BVwGwPVZcXncBVy/QSzRrD/bTL7A8TRd687PYuDMjFnebJ8h9KYGxWR4AhGYog0+0aq/vklhMhqxiliQZMcJENBl0m3zgAf52ZGX/n7k+YrSGGZ1wHu1ubo8UHKZzCLS20b3rUvxfrgiPz19OIvJr7JpU7J5uHZ5BfpdBPixwiJ4L4xXAKu1d9RerY055MLcdDzVQwRuy7FUIOeB4byIEVPDkAVX41UXbQlln1MRHBz5obEAHZ7BN4seb4M4xw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211896\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017752372?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"427D6h69DbZtfPrx81KJbrlwCuoo4T7i\",timestamp=\"1773211896\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FcBc9tFAT5+XZpXDemikl7m1/aK3STF51BKxX3wt3RWEduqLcnW/6TAzivUiNiEpi5HOziILEbgZFuVb00DHjhYLKL1W/olI0MYHzNubd+FX+epipDH+hY52xpjnsdwwL0/qzq94ZjKOKI9S535eyJFCRjbYVw3oI7yWsLhqeMOr/BtP+BIDl+F4jtcY1CSDfc8TenO4GdIitNah3w1cCF66MkZIxldGClMy2R4lkX3+5ljIdqEHFq0/qq70dER/maPeLxfRv0JMsptXbpaNhfWvbc6/CzcP5WiY6ASm3vVksej5JKbB3VKF9qLfJ86KEYS+H0brEdZHmFdQa+lmrw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A1C4CD0610B10218DCE7F8AF0120B4C50328E0B603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 34e4a7181b48957eb4769bbffb003307\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pwwOP1aoA0DBEAvyBKGxq/KOXDyvISHoU1DYEQFFk2jVlwe66YxAfxCGnrd8ayhV8uDWaXsDD4Ljgi+PIuO9WRPEBjdgzzAwksce7po4f9LszRdf2OLyU4wiBHE7Qok8Z7sMdOQXtjmDMwknxGCoqiLFEHRoH1yEkFIf/APGOjv7invF7kAPyjIbgOTobtBGfvO905MKTfxhef1OAF4VhaczkeIvnsDUZ+Kt/Cdov4wAQsZYpcngDbaQGpaN42Sc8Bw509qOPsQgC4eVCG6G8KdKmcZTDJbYWSFiySiwPhAY8B0dYWs5epLvXiqjX/QP9cjefzhirvhH1sTp6ZQrXw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211896\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123025023987?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"T9GKqzZIrXX35jYFTm8AdRcn4mCPU511\",timestamp=\"1773211896\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ASDEkmMdWbFK6Uo68FBcnNmmZIeL8K+Peo7uAv61ZalB9un9g/Jm2V0hLX4Gs0dgub46yXxuUi692M/50/0JSiMjLSiNg5dtPNa9ECDiyeMvo9yMkRefGxXU4LSVVvCOBssYOifU0+RIPSaRxyWB56sNgyUdl0pTAFytkc+VIoOXlT9CGV/ojGTcQS10X7qksvfHzQ9WFoQYytoXRerPuVfMt3+J1oLUCiBa4fpmEIx5YYWBKaQP5tvyDD5Hy8k4o1Vo0m6s7DjntopkAkO/+NI9nDs0eg+e1BXvMxuqasKZYec9ZR6mlOV1SQlPU0HArTnZvh+pr0dFZEmd+1A6tw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A1C4CD0610D903188982F8AF0120BA9223289ADB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: de628128276d3028bb1295f4c8a7e7a3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZPL8u3PraipNa1//XNccNAwe5lRkkTYXdT+2sqR4VHH+/tvApA030GIY9beKcPvjVT5+bcvDiwCzYPeF+h9V1penHcEY7FOKeF+1+I9lXGbCi2M1uWE6R74GO985MDkBQjuD6Jasomaurag2J3wEQCDeuvhuj4/IEEmkkKhM2ZUliQ2Cu8qta1ZGEJBTziQeq+xHHVKapPwEgrHgWE2bsqMwjtGJWCZFrR371bx2PSvcB/hhw3N2/0mNt4aYQN9xNnIoX6gTAEyS9sx97hAHJf/mvhEicmPezt8PKqsCH5hY68+b8/whoMDuxIHVw1jneoSebFjQyw9L1Vb+GRzQyg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211896\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123025605791?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Itdc80U90L6ndM9f4XjlHvdCxNBjgwph\",timestamp=\"1773211897\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eElbF+qc/oeztnBseDFVriXemAw8y9myggDNi9lPpaysiXTfamtZzmwpLOulJPWc8FOAjcyeNwUF+G5W57/1PDVeyTGQXiK86o2xXE+TJ9A4JhgvDFsJZQ4a/yxoP1aAuGNmGTaHL+V036MPc0dHUaFhSCVftNal2/HV5AhUYTMu3c06TmbE9qMPpR1ve4JGKSSqSeEIlIMs13Cn8Uj15wHD+++jnfRfl6qd1zXLa8LVRLlAZ+Ra44Zknem+5Vz/WsnadbUXLV8H7+RF6VMNDeIriBi+0WSUpR/Ygk9eDG17rauFKUO0Ab9+DwcJCiH4rCKyhgcEdk+vGyipdFgTYQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A1C4CD0610920518A4C5C05520AEC01528BD8F05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d9fbef895d83cd6665c980247e9690ef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CaDYNyPyz8Ba9uJtXYjmGf8rtHRtQQDlIVPQaBAjbOg/yiGKjFT3/AbMdiWIFw6DI/cNiVYGiQFbbh0u/8N2Huj7I/zyfB6xtsG/BiFjWfDwrLtar6TkZqyBy3206cd+/F74F3d1fHfgrlUrA+Z84wXNFu3C88YdRjHCEzsIycM46h/UK0mqZ+/GyXIzcHPSlcHEpAHRf5V0yona3ABSJIaVUuipuWeJFDNRQsKkBmzUI6yRm61py5rkkASn4aOb9t+7iNFIb/PIxvLArwGU3tj9v0YZu48NvJ1nTh8sG+Nv4TL+EvqV26VugNA0mH3z5wwu9G1mMFp2HPniQ2YSag==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211896\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123025810702?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"34u16SuXZsfndpZtoSZBt6Xyict7T6OG\",timestamp=\"1773211897\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LnPTdUjhIWblHy7K14jghV+7LaN3zfBQb60HUZdWS820ZXVT51hwxSG5Sh3s8IIdo5RoESB5ZYRAhwsEaUUMSfEx1uQuVbjKO1fKjBJcgQYz1NTeW00a0RqYNx6FlsNG8EUX/er4ZJ1RhQTsrVOdXVfRIbV2OAMVHdXYnfJroEwoEVgOzyEdqrGNnBnlqPF5YAUzJI1Mvbzd9ehhgyyFBe/hG9FtipW4NS8rH8KJ/lVjq2Av7mGKSmoewYvEsuFDNMFSajgbJxgiJI3Ub5LILz8FsqfLZ0rOo749hf0NY3NlHDCi+2utBet+bPAGLQCYT+Ntg2MbuW3c745XeQtlJw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A1C4CD0610A80618D4D28C5820F6A40128EAC803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 60319da171eb52e71bdd5b83ebad78cd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Mxee3fCQme7ujQTu0DUWFpY6QS4Esp/gOMnt761eNC2R2jpnqRAfveSjokEBepOLE+4Slv5lPB0e1mBCgDXnPZa2vqy3uzHLLL1fCl+anK0n6A4/MMJ+s8Dj+72drynf6jwwsp8BTnzrky9DSrSjmze4j8RsOATEtQtiIE8oQHDiabbwbYJ35+MR0stgmqxvV3zToNk4QRrR2TbG55W3pQeFkr097HgPrgXDWpAoQL9XYFwW5HCb6oPq8WLF5LtN6LYHBrMh0U5Pzrni+W2TpbmdsJn2jljJsVRlO44XXD5Yq0/0QuM9s844t+wJzH59XCz4r3XTeWGj6y3LXdy0SA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211896\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123026387124?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gGVQOBf37TWJWtJ3Zsy5XBVS7Pecwurx\",timestamp=\"1773211897\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HvClJGXREb4Am+hLXcGJFZmiOKPFHjSpSXMq9f40NcDk8F99caKTlkHqzXY10kExbJNMSajZ+dKCy8aEoP1qZuO4MZa0hVNxyIcrln7lQXXD0E0O71WcfImqjIOjavveYBQxYlWu6CMzUmKG4FrJmbvG9TK8RnubOmaD1EMaiIH5TRScfMRjI5izhgztlMjNJz+xHVgtXMd1mJqxLc+2OA1J2ran/iqFbx6WbbkfMm2SNO39yMIUymuBTgTikCyv2m6KthiDw9yi63YGD0eoPiMzqrG9n3OwO6DNfDU6VU7B0A6xRNVSWNCXy3OBIaxPkGQWYo6ZbTjaBUH2FOjMIQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A1C4CD0610E307188480F9AD01208CF72728F88204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ad8752d368c6dd773d75378288c51ea5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ls9yLSH7KUOGyddftKPXx9hjg/rWBT6C9RL0XRRrASsNHQwHCBxz29GtSRDJDAEbfsooRKlFztvjgLF6mSC1Y4mUcHvyKyC0NGTTcn/hQClBLScPfQe3p5xpRwJcdHMl8ZIAk6aATIw1UuSQdEaDHRuhokF2PgMkrAsSbNkHOlFG+EHgj4jgSWJjsR8RL/MbDT6L//dj6qQSs0tmR1Oi+i5HjpmSuM8Fk6YZ2i2KAgTpJ4j6l3gFjhFLRgVV34ZtJxIz7oLGmTqEVrlpGWqB0eOGDnwyH7c+wH+yFaCkzdiOlp5gBUDi9fqnzf2BYwnqqqKw8ExEGywU3yXN3c+U0g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211897\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123026550012?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Wso9x0hom3U9pQMHjMRLQICH7BulQidf\",timestamp=\"1773211897\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tKbFTY8gk5neuhSn5CQtw32a5YY0p+zVRxuAbAnJg8MFhe6UiQVvYzKf+5j4Qdw9RRUFebpnK8Ql2Er0LZancNEw0Xydk0ChvQRxSmzWMBBPU1x+epdDVUYFqS8qu6T/cc6o/+pI+jBn7EBT+dG6/SfErVkBERG70L1i//7KpfD+jrR+CgukJuqRWnz9VJ+Fjqjqx0CnRr2i3zpxL3ne9jAAgfD1xkbX8n+IIRVyBvqIIV4qaLbKZ0gTYn7bebCZgNPNqi/l/z3LIkAJ9AQRLfh9OCDWLofuZHTO3orcuq0gluPOvV7h60+RDllpfYmW/m7iIZnZljy+uRTubXoebw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A1C4CD0610BC0118A7C8C05520DACF1D28BAF503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7ac74669d5bd8998f9b28026342ce8a2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ai6mbaQgVJ7KWyJDkokJMrIHh3fJqjPJC/ilcsHuI312yRq8n19XtMl3Y8MFSpbZtrSOzUq5M44zdGx/HROFRnOlOyxFzjmrJc9PYBe3ndr26tLD5WwcusGZ0P+nsswcXmMvGJaVOX3u48/L+B7C8uCCEq3wv7Gu4Wy4YjtNcCZVC5Aomn5gd/p4QxjpE4+/1RHRTAH+wRHvUhfThyvxU0F7BY/q5IZ9crBBvs5pMVMHy9nEQ1qBaRaugI78SrINBGT4j5mnBYqsc8KFDnPtaDkrbBTe4aothFZUnTJWMHu+GMp9WCzRlvQLISzBaMk7ADQtM7GNz57gVMS9J6ETfQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211897\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027018337?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"edyOr8IAWEbFTy9HvSNaEo0SkT0Repte\",timestamp=\"1773211897\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Xc92+j/2WTEXGEHOxqdoQfGvoYn5l87uLMqv5tYgTJfL2uBosJfJdAYspadreyMQYaLRQr7Ox534uy1bcNnWw5gBWRiMVtbX0q/0OSwMKPg53YrrcYzlNxDbdHKqgQCcPz0t/oV5pv4M7cvo2/cxHfIjqz0alehexuA/UsibUTXjXFtaUTykoCxsE9Ohe4qxTHxYSJUjOz83BR8Jgsvg4xrfBfTjnE1jPCU1tyJAbgxFYT4AqQwJBxVT/TGXsXzaigFVdAExcsDRmYVTDyXtJCa751N1rObZGGfrcx0a73hllLNlzXQssdByY+0aj5AX3MEG14n0msBa84o9U8meBg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A1C4CD0610DB021892C28C5820D88E1028C0EB03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fa8e848d3c9c8ca9db2fc3f9233bed8f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rOA3Ed4FD+0OChRV4LMuMNPRUwwMBH39dJQoAsvVWklm4H6Z8s+sk66sE7QAxWuQeQKPGvv/Nx7nzsNQcWxYAQ81wqcw70Nec1QwnnIkgimkt5W/aEFtjwdmWnIbH2SQmQx8CtJSlPD1jF1niol485BQx78rgabY0YOx18tKfEakPKuJ5O1j16v5uwNOfJ09WyNCv01VPukRXyiOV/x4FtXVt74151PUuV1Hulk9PZjSBlijH9dWNv1Tbwe4Mrd/e5IcXM1m+1OVLPvyT37n5e0SrziA0CGucJSp7SnK0kPZtiXUF+ku/exwWYSzUPE5WsOtmljhzHA+QvkuHf/d8A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211897\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027187511?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QYGVBz2SUEjVClqan7qVyrwgiS0qjA59\",timestamp=\"1773211897\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XoK4evBvVrKbq+zSh3S414I1x2kil/f2IVQ6aT386RFQj0Z33SIEcfIriypS0GKWQiqzvUXImhF9MZHIli0faKn3qkMiJKw4m7gEWNxCdJGs5BFmbEAzslomeYXwLvysJQFC9gn+cwXFPx8EiHEyDvrXlOpirjXT1GOMAEfe7U0T7PbVqewNHmLsvioUecErLvhYuRpHRhE8g+3EyBNO5kGih4tDLzBPYpoH+ssyYFCBZlFzFU2ayqgmYhAeVQYOAo7+TOo8y19PsDhiwDaiZzy4b3YPGoPb7RXe4WWjXOqLkJtUVuMtsOP3gIHR3bC1fQkVz62tXjRl2e5NerIQuQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A1C4CD06109B0418FBDBDD5C20E4AE1628C4B205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3780c8529d38b92f14ef0bd3a1e63d1d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qjXBkND/aOqfUXywqlDeokgAnsS82aGusYlEF+2V+kk+VCdjHj2jcfjoQmIl9+Rbouq7xxRJ9CXW9/pEP/jBA7kUweFcfUVpkzRgz5meIoMUtUg2ELEcrlw6P2EmDwNdDb7D33CNERkrypsluMQxXzdoMKKpLDS3AxDuVOTllOhmHWmoGkuFgyAstCZ7G7tPrPkAsF5rNpGZ4uYQwxNejOUK1ueynrPhvjbG91WIZzqKmvBNoqVcYzLnKbkA8Oz/3eoCKsNAKGRvXPlHDxKek+it/sMSljgxYkxHrHZjLSNlrProZbrgasKwGAf3XWC6aYDniANg9Fv8k+f3tfO6mQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211897\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027202472?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"x2M4MijyhHalCQj2xrX0X4J5NPlFviHm\",timestamp=\"1773211898\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WO1Od3O5lIVajK3SEMjxtnC4jg6WlWJiigOpy12ZzGE2KZ7xt6GNguiTh2GCwYqHqBQFPJr2x+yixOwkbHVFFLB5N7aiC34vy6NANWI6o189To+lg6TBhX49rRsEWBhLZJk1uavEGWYkWhuE3rsIbIJ2NTiznZwsKJ0cb30tj9C3+02KYYFmHRZocDRshifoZkh/3MjDVrTLf3JQuHusRf7MB0hCuzdVbIenk5Jq5V+ZNhvqoZkXzDwG9ivCQxhBZGS7Tnt5JXBCizNCtANHYVH94Hb9eo5kgZfGY3qyNAqFl6dZX5yAzW2d4LM1B2WmRCz4OFDBBnJ5/Ky/Z3UV3Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A1C4CD0610CD0518EDBC8C5820F2D21628EFEA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 114b670faa44fd5214b24ab5005587fe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hAozy6g5C3P2y3RZP+mUh/VX5WB4B77L8oBmTzLSXBXOJcOUdpodwSBk83bW7J0LB+3Mw2kkOy4BfZoTurTQ0CwlaKBdMb/drSmHgM/Oj7Wb5bF/OmSeFj5JZPFNlSb9LeFtTfSQen/sR/B4D/osSYS2FwvqQZzBK0QDNZb1GWwYpTaS8iCPVlOj8bOsnO6gQVLkkwZXHf7RGdyX3aQNAY4hMr55G8n3/RBdif/KWAGoLB92Uycv9cHlFgh+7MgfP71QMc0yzrcznw0nTm517E/zSUEX5SgR1CO+QIYPO79GQibjYYg/y4y1MOKGzLfE00fiYOPFGI5Jz8szYbpv4A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211897\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027232917?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CPHpmJVaC9JXRyGgUAaOe2MBKZLcLSeo\",timestamp=\"1773211898\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cZu3ZnFS4ZRaxtbgW/oGO3hDRlSDxACajgY8mnSa7WyZ19GkP3n9VZQlsw5x0tSvIkbearQ/SlRQgRjshx2YpapHxVo/2aUn14u9FP7wwkQMBpdxdcJoMYmXssLDCu1Mkm1WtozzuUPqWRIwpcrxfdFz0ukd76cqo4O6j/l5XakWtEYUt0P5Y22nxqkxffZOD4F+sAwntkwpbji+To45GozSo+IkQOTLM9KnmAmoIitaP7HwdRwpt5MCac/wrMmV5L+MnvDgylIjutB4TVWnelwoUafmIX6CJ3IXHacRLO/t/r8XQR0Z1Mm6oZPC7Ixl7ILV18hWNgFVUAGPvpgp1g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A1C4CD0610EC0618929D85AB0120ACEA3628CFE405-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aa294ececdfa399103c87246c0a2e456\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: msK1zPoc6UPUxPUNgaNzxri3NTmQpDRlysiOTmmDw1Wyc7MobDfGCDqDBFaNVuhC66Cs2dy2CrhnV61wnDJ73+8GMh6dX+/ncS4cRQ34JRmfMEEGoOo9TNYQ7BIrA8a277EDPb7sY+dqGlKtR+CNrzBXHhNrcXHJDXVVWgm+3QpPQ7oE5KWYy2vtpDggtEM6FGB61z0fHjU11grM6pF0FQLDaOxCMgm/jZN3D8tNIlZiEESGnmpOh3nedcjtDtdLpsZzq+asB1xG0ktRuHKDUg3nDn3hwDtBpeySJAhHCQLhMSYbryqv2Dua/cJHxy4HOM5UjI3uyUVsOdEvDFjg6w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211897\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027350463?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"P5gVYUst5vRpVnnKpolSm29CTsB5ecZZ\",timestamp=\"1773211898\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kgeSJw5U7UxIMEW1aA4iUtuRUVs/BvifcSuYED1voV8lPfyhB2v6VAaGsvW+JRkGClL03xIqEU0sOW1uysr1Vt4eW7LPspGlNfATt9TfS5TwBGAyexIH49EEKcdP4Y27vdRp0hPqTj9ntro9AGputarOaewDO91yHpSXAEI1EZ68w/NJQzYmihLd6O2yJ7ST/UCpz65t42e3s0PKHcG5twxt/Aw/OxgICUVRDMruRVyc4SvH60gxyZM+u1vmhoT/36ZEWaAQclCP6oyCZWY4nCp5H3N/y2YBiaY7lUoo91CPRZm/7S6qeJ5jZ624dl1ZvCU/rth0H8RNloC94sg1+g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA1C4CD06103818B7A9C05520A2EC072884F002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4a6aa8834a4086d91a88b3518ad79b77\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: V7pYHpp0vzUozetxioOV9UdNkjpytKymJKzE6GNKAYIBV8HXEbFOwJi+lMSYTfc1fB3Bh4wuUjdjvrXk/KF3DQfzBGXgMxN65MVd8LeqSy1gQSgFTVnV5oh3+ls8wH2aQ+2Xhoi+LmdPE7TfbihLuKwic7X0pozPf1pNZmb4hS84tdW4qGAVnSJuPmruaSG/5yjtr6EZ5ZZeMD3qq4Ke69MBkzSEGXvj2m7+qZ2olmByoAWU+4gl/c6y0AihmJIwDetwXCMF2aW46M6TvMl/QdE1KfHej/m9RmGZfxSR/jOU7YNAevW+z8Hvgk70OE3LndHLxcZE9NCHn5gIGnbLrw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211898\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027721068?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Fb5n7FOBQs9ul5jOmWauQoOrARG87yYH\",timestamp=\"1773211898\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dZfnEeCxt3ugA5UqjQfb3Y8jyz+sB7e9XM48eKyusVi922yKGkbCnAlYmYCWCmQOtFTN54j/RsKZwa1LQAgrdGMAU4RaE9LWYBe05KxcyhWFF2zoRH599U1BYdho0c2Dh7vDo1Wnp2Pwc2HD/NIGyf4g8P+tm1DfdhyM4lz374mnmyCY1xfs8/AQBV4ONZqEL6hh/DFiLPutQ1KIFFLnvG1aNa/AZuh5On13DOZuO1fBmiza0xi8g+/wC5bmRwQkmiH91Nzft3kcqbdIWVH/VfYf4cv3vUC+UgZ6ZexbPZd/QjH22D4RgZylffgBpGBuSb0Bbg/TX684VPmYYMKRlw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA1C4CD0610EA0118FEB5F8AF0120F8E70B28CC13-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 374ba71a44e2d53f6918d5bf76405787\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: b+Ph/05punQKZ/fQOF5zZnzlsZFBP+BRpWikxaQ4vrwSmK8JVlYDIH0enLvuSZ9dzPEg0+zkbS1nI4AKmCJVS5MyrkbOsm4iCTTQvE8drTkIU+7qXHF+ljgPEvi7+ozs6bbzEqEJYPpS/HGXpsS+euwUn2PcY+lekJLPWqa2r+KmrqoZcrb3Lz0o8iymRyGZxn/vh6KYX8DybbjZVgEyLSkxa/y0T7vUYfKLrq71CDkOM9n51mZ3eY29eSbNypqR7ILLuCydFJKp168b0jlnjTU1Ke4wX/6muWAUR22m8Onb112r6xtv7a5xtxxRNfc2LAWOvlvo/5vejBqDTdvQJw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211898\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027817088?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eo5FcLbhw2stjJJmj2sPdyyZQRsbgmSb\",timestamp=\"1773211898\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2j1TqZXLAf86GjGP25Ipxe01Pkpng8j/0LrmKXruVyWRjR9AbMwqW8chiuUnCcAx1HqXpFSJTSSxoemS/SHCO4XUmi9tl698dumngfYXvlC/aRKQ7STWPGizaqFfS1Yg0apylyFDpnSFPE3MUTgUoQB9W6zcHTqERxrwjMwQcn1nQa7DusUH8WmL4DVZm99J+rKPVqUjBT7Ae950BDqm18C5cCFg59rzMuCDGz5aYTp2xvPkh8ve+8zYkXCePJ3Ki0KQxm1nqaE8B9xnOBoJ+zt5eHUG775Kuw8wV+y7jZmKQBHSsMe9+oSdEla+P4JcWQ0caUuHFN5vPtdwyU2OFg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA1C4CD061088031899C8C055208E8C0E28F3D904-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aed65ae7291814648ab1af1de68811f8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NTxF35rhubdW0QjMSNdkfhzIHVrrKVMwxFk6EkiZNzJpxQBJxZoJFYlN1AUHY/tFMSOgqTr7PmPKCVl5xPLv9WFToJ0v3zR4EWHsPAMGT2/tg8s6v1/7cieTEoLrVPgfQ5RJn1uYoPU94yy2gs/eVkYMjzmBH7qOJklYVM4mbfGBg1pwWYsTDNBFT9V7TvPtp8scjwejOIg/eLn40N45xMyAu5Lregh2fVlQPls/qHfRmwN7xdx/HuSwQsLWX0DHmCAYIbBzcIhe4dbqFdw+zWmVeJR/Z2xPlhVKn+HETijKTS9+RSwX1evXx4xIaWiPN4EdVVXp75mdgxQbMLCMWA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211898\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028633207?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qJhzyaOSMetid1DSJUf61oRE0Pjnp0HB\",timestamp=\"1773211899\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Lf8JVgp0ZhinD6EvBEoU6zk4gmGW4+K5HOgM33v/jZhDikTsMNVVifICGRV7Z85lG6OjNYyDBwIpJjDIJVH9xdTeN3LFXfGqHWCWMYxm11BPrGbiDdEStE0MZtR5TaclepeJM4oLOvAsrkQ3dCRKp/dgam+/bFY1bcqgKerQMsiFnHIUY7X2VQzlQWCK54ANsgpUHkuNQjmmnOwPFMsSgFnx5DiGSAj7ioVA0Y6KjVXCycyzVBc8PkOR3M51K3lIdFlMkiEH6IOgPvX4B3SohJKa5cpIIkQPf9/8fskfEPBJTPMuUjZf8PeND8vLK/9sIddEUmcLSH92WeD0JGp9Jw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA1C4CD0610C50418EDDEDD5C2096D23028BFB205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: dbe88776c7eb158938beb746bb410165\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CUlqp8qFy7GqxZIGcxdU1Ucb3W5O+Ka96lUUJGLZWj5pFG6FoBwQnPbS/cEyBqcrqioM7y0MHCat4FGWbAG8nH3Zeuqp4JYAuhKjfamu5jA+hj8zxx02o70jOckQi/FKGbZtLvKZ9dWO7NYfm7wEF/FojHg7xcA/y5lmxsYPYjOJDzBNryg7sqE13cAYUFFT8MJq8hzYdQtR9dv7yZNN9W8Xo3byb0U+MJJVxSTZvOPxD79hBMUlv9zUw/RlP8B6Y6SgwXUil29B7C9p3ncapZbQE4u03ANqxmMqczdUCq7NSz93KDyp+b2aHvj5aT3mZEQ4ExcRxNuIyQ+SFypOKA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211898\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028645587?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"B2wlUmlwp1pyBLuzHylKcPUjLKPZhDtF\",timestamp=\"1773211899\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JqK6awRBogHhqmgAsdHSjmyFt2Wm3uboG6Ho5YVMHps9ggaF2EjROIpqtGxgXOmPcsjAAQvobs4kGStnwT8+VHZ+GQhuDj3d3JiCkMk+9t3yW2nVVP0DRwxlG4G0TZyqYoE4WY117Qldwem6jbvseiyXzIHQKISKhTKTzU04z4NyT0AwI3XfnZSbG/nx3fIDpE+nZXmLlWw88quc++FbsP7qrUOwWvxvKZfq/IplU+yMRYsw6sFyf1qU2ItHmt9WO1QPK8NA18TzOprUpldIlU49YsEJw0eNrEs+Tm/mnP4yTE6Rn9asDR9mDl/gIvcdrO9Q0iWWCYCfpzPhYkG1dQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA1C4CD06108E0618EB9EECF5012092E21E28A0A905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f5818b70337b7bcd8221af5a65b3e9a1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lFHd5bSPFm42tNaBdpB00XhLaFfs+Eu7kiiSEcNRh7jbk4OLcAjSDjgA5NxT3AMUd1lVpR8LzNWM7oCY3cZJwAD8YR1xSqkJ427UlFYk1VK9MuQ7ggm/SJdpTilBGTd48xJ4kWmpTl9dTErjcF3wlA7IR8qW5FMlUFe7RjGNKmYTBbruofe9X2RWliDI9mEIr/GUPoUoHlSdr29tI5ERTHE9KrvBF8+ZJoRUCOwz0gij2Aa42C2aUCPfDL0tp2F6O+HAfFWyFvAs2A3ijqO6GcCiC1ktfTzkN6WrwJERwhBok49ESYP1eA/pCalOLYZMSP0n0HEHFAa0im92b6HDfw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211898\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028867453?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mYWBB2i5SrLKiIr6g50y2eJWECuc9t9v\",timestamp=\"1773211899\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yXxP8jFl4NX+tlwOm98qd57of8mQQRia4OrUA2hv+pgo4qdV5azDpZ8+YQO12fESdwHAXjOcQPloEoIzy8EiJWD6v9szAz385Vp6Dj+XqmPxI9752zZ/Z3XRykhYZ6zUE8D1FnuE7R+kgKn02gxagol8GkbsYSVurbMMwN9rFE+k6BzxdxrYcZkC2Z1TkzNfRJzWGROPyYBFLNMs8bIyV7TQ2eSfV4nHjGjW9aNwbaox225eT1jRRJUtN5QzulmnJBY32UDtoWONIvW0dAkIh5GaT55nVum0Fl3hPDT1+U5uWRAWsmiN6Ud9ONqOE/il6LTpgjH6pThPhr2Kp/Hnww==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA1C4CD0610CD0718BBC8C05520F4E60528B9CC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e9c3fb981733e8d90cb4e6a21653c748\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uqsvDKoAJca+wjZph+f5162ZFClrOobsj18U9rYpzi+TbEefe3bp2lvaBAv34xu1qvyCpdVBoHiZktxjCCHF9vSia6UhqUxtm429emz4IIcO+54wdi8dAkCHyCV6CjlZ8kGAVEUILWlVkQDGMl6w+y/e4eXKooEpfLr2q/SLuw6W0hqRoFmERlsdeAAmJfa+xFlP5uHeJRP/AvjHdrjx4wnAAZ21eqhSG3LdgR3YUgrVz1CPR/DDV65cO2yxmLCVZQ3pYyfItD6C6kXyhAKqRhBpe/EtAOqg9MDSsbLFFRQy+s5NdhwRDh5VFcbWaN+o6EFnrV8OUEMKpeC8LiCgnQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211899\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028921663?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qgbusyiqEvscjbldFGnv2IA6D83Z1God\",timestamp=\"1773211899\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vIa9YcoEHd9xPeK0LcP+fL6RSimvGnBI0+0xelQd+kyr+Tn9FkQaTdK0HYDVq5Cten2zDtFUw00qtcqt1kDL5ot0i8cN69OrvkHzKitfo9ob+uZFtJ0SlAya4eudr0BErluXu0on8aWZDH+HouOzgfKMTDCiZ9x2e4gY6drnLnj7SgmPUvYMW1ngUYtWizBL6mGgYk/YZIVM7gTw0LjZwnJThVWbG9Kvzu0KRiJ/bXARbfR1PwbexRuZ6g7V9DxGrssIzn1eiOEe1B+vwkBDrD/ZslntchfsD+/F8fa5BVqTaurmQabbPFW23NJ+o18UnTHFLiEeU2o/EDsfq+qVYQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA1C4CD06108E0118ECB2F8AF0120EAFA25289D8204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6d971ca578f640e9c4b58f94a921adf6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lgWGPwp8IRHGj0uqo5fFWOen15iP3gpbRirpCusvfbOvjiSoAfUBJqeFnZ2UPO7jB5TdA0hEO9200W6G4d/u4CDJCy3WTzrpe7PXfa4E+YpbE/a8UUYwDfUiLerKDVYEM34CDi95R7UaDUWyrsGMIPSUsaiznsKU7MWBbLwBGtfbbJwzoJdfMD3v8UlhCt21s6EcRUE7nGyj82ZcfMbWanK+NMkWlJlSYx0osUSOEyhCNwquil1gAlejGs6yJuyzE7fArcOgwVc6wu1Lm8IY2KTbbCyi6JNNCS3N5R+nwNt3Yu3klxrIsrcQSIKRZwfSr5uS+sZWewn2gVrg8eYwow==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211899\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028951520?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BSjNHL82RjY7j1FxwsZbndBeA5gQGwMO\",timestamp=\"1773211899\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ek4/W+YdlLcbu6jq/1chqJ9biMF6WlYkOnAGByDg81F9z+fNqvw+QgTJtYsBfSHo/Vzy07NIPnNUGb/6C9xnVgexhfko9Im0grtkP8LCQwZ5EqnjoR75R/jrVpLBkiVhRy3vWenePUkv6XhSjp5rIFrA78e7D0gB2FLCK6MlcGnEH++UkP1LoiHcG/XagOKRoFOaAmYkdDJXeaXT2IopQQWem8X0YyYqvVKMXrPQrIdbVuov4Xn303+N5DJDzDr1eIY7RvKhKkNuYFgZhEpTffPeajeivsDYOw1QfSDJwhhiuyj3nHuqQmqTkJSzVUurNcXPucT9OzYE55mIXV3ZHQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA1C4CD0610AA0218EDCEC6AF0120E0821828B7DB05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3e5266aa24e51724312ce95d54bba3da\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: m8Cw5IWHkxx7Q6Gpz46wfv3Jsx7URmkrEk3yc8w39TidfiXeMngC6bE3Ov8qxUIjSluBarKXTgUtXpKCnjEVzXtEJ1QH21HXdq9nk3TLJcNJ06Me2s5C85MhU1EKCo6IPxNZ18tAQ6mwipFhCLnAuXiyFKXq8rDHoif4xLC6hWybGErXFWe7jS1qyjwBSBxVsQlSZtiZwEBi6AqYl7ErAw9PxAeAQuWKRymQMGtImzUyMa/Gde9xN3BEQ79k8Vzpuh8nj5wlTQyAVamF0QCyweIiUT+AF65ZEirw9Gi7MnP6xKaCZRIwRzBqtTW35zdGUVp/jPQRmWpheAk7e2njHw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211899\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028968278?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"f5hEOiK1vHgFDxg0cx6bORyDGaG71QWC\",timestamp=\"1773211899\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yBwILEnwLWA3l6qTke2TeQl4KPiwDXu7V436OuE5Jx/j4Zuf9zx0vBLlYIatT1W4adp0acIY4L9A4t+YPWsw7C0Aj7k+Wm84G/CTMrxWzJpTNkil+oCpY35ufka1KQgEk/WUDYlFuib0n+Sqs9BjVybkQEED70t9w7baJ0lk0M9zGfQ25TILeYtvP+Uh5R2ehkUFvIICTdODfgf8iLsL1Ai4Ow1ukOKaXZ8FZgOK16N9s/PqZGp0IxT+3D5djNxbci89F7i/mcT+0xUQr6HGpJdEamAGCWG8hTHZZ9fZmfieJtf254DdoMoww2rURzUnnO2hr0PQnT9146mAisHaHQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA1C4CD0610EB0318EF8CEEAB0120D6C00C28A4CD01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 578412db4477559cdd54e84700c3dd08\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YaOmZWiCzOzo1dR0rsPBPSmCMT2qUWSVd+RXL/vIiUILWI746dUYuZEg9fdTWYU/+pbpy9ok5yfoT7l8bCF8kcMGlhQnb/Qfv7XmSQEHXv3WC1ponNigfyYVKjk69mDmSajg9ic5Xb0PE+AWR6qP6loKCwtk547l0GKZ+/S/IpvqobJ8Ne208ANQuhdihNwvtotlAwLUWVudP2dxUpG3xb25zeQUodbkkKw9JbC+TIzX676Mo6oomXOyIKLXd9OPZQcYienCxxYRW9KeXdAcPoV3XsDzcL7wQRWd6Ybo39iBXxhspdcdc3DnEfAoRjizseK3kKTq1WRrvzNMZJOCIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211899\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123029617319?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bpI8dv38YMqnRFgi5kKSR5tCNRI51SKJ\",timestamp=\"1773211900\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CZvZL5qnKjf0eT+kELIvsgGajZ5zWKOx+O5AsccARBxqMEYI50mWYPiPnWwVepQ/80ZRy1qNqgldq0LjbRNYGLZGZf8lorEyuTIbUPYWQnmyb0BUsAbVFBa4Cos54a3tfUH2/PSZWE0Aj1KjSTUOWEH3g9f1cEX7XWzfd4GT4P+vnqn8B41mJ98vz9qYc6NCH42Pi86vB87Om5Lxk4tkMyhFNwyqP/MXISkP+x2x5pm6wk2mR6ChL1SWW1Gn1B8pWmoKv9j6Tdz7o2yXEzKAfycaEbWoE/wXp98uWua0IflsV76b6kCWi4InT8OeXUfChX0jmpFoaYI6a5VjylkQvg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA1C4CD0610A90518C7BA8C5820F6833628E41D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ba5a311da6850b228ee2acd8ff8b6c6b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CxR0DY9flGqTsLY0sGHfb7RDKjqeqrq2N1VaMl40lfYUdKYKnOZAwWoHAY1uwH7OkBofPMQ0uhh9t/JwuJB7cm5Nn9swzxAd08ilNTQ6I9n756EMM0gnkgwnMeurtUytU0qi+8zHCgH8mZJdSHI969Nfeo51yCXCNQhhzLUtQ8FOvXaUeSbcaMEQ4obplVBclKSueDBGa1+WCh2zGejpHOMzLhEvmJV6OVjjeny0lQT00Je8c8YNICNo6JF1dpDN8h6TuTPM+RAVzfv8m6Mc0Jaiq1RSMHJePSNLjf96+P8Af3JFc8EI/SNxke0mlBjfGset8K3Qb+Uk+rgo01IMKw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211899\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123029834276?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3BvbBayO1rmVFG3Uootd5XOW9GocKnOd\",timestamp=\"1773211900\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Rw+v7odYOfGjzMFAnhOIyMBexgEm+hG9zbHjDZprHVCqZCpQvmevTIdxF5zgE8xecicm3frfgcfSPxav7GoKT2Bs2QZ9xcW95B3vAucshfT5IsJ5OjrV6fwvv+ip0bBW/16IBlMJu6KzJjGzrorCd9YjwQOb1Qs669CRylh9u+eysNBd5QCOxYIYgANo/vr0FysiM/mtkkLbxyo/LzkENxgUf9pnyjYqBBUzCuSeTbYiNO+U5NENFijeBdEuO0qo/oX4ibyMXsUbDE8XrjSyvcnG5sf20tSh3oZ+gMo5Ocy8MdG/vClmN8dOm1qKOLRJtqh8wElQi5iC6RjRvvjiiQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA1C4CD0610C70618E8E4F8AF0120A6821F28CAA102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2638e7beaa03a2661cda4281c00b09ba\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wD3s+6TvuUQRbXa8xayjen4Y2iIZdz5/dDYKCQ9uoYMLNQ7OQCfATMFR/ng/xS40tJEVC10WV5bBsRTSb+7a++6xGhoMno5QaPbtJzIn7Soe3xuigSQaFvNSmArNEI8Ii17rkd4DsxGiWl9GCcEtwNVdX+jirmwUd5lqwoxaezE6ffhbQzvfFqzR5JIHacfCS0Rui24YlGRheB07RARROLDXzZbBIiL1IeIkjA3jki+zpAg4m3Af0FVoumb1fqeub25RbgojZAu6YofsWGjKfrfsxIId9IWEJLlOymk+2/nMsk21RzjyNwEw6+Wk9a3CGxvGBICxryDqua0774ui1w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211899\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034006695?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"c7PxdKXDnQ8JMDw8GPklYtkmNHpbJgaQ\",timestamp=\"1773211900\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QDwehB5wJp035Pv5ktsnQwuIXcQPi5y9qxkpHxdBxuop8NOX+oMMic5/5wXlHeK3kcN72H1ZEFDzdbeijPSbHd5M6204DpOTVr3myXJFQL2WXvz/TTHpVCdbCaiWf4zNonuMXdmgDHGr5F6fNi+9+HHv8iwdmtLiWTwHhPJOYhyBDsneB/glUfzmzLv67qgDVAwv9tndQZD4EyyHap8P5PCseqtcjgDMWE98LWvRCK+qCYil/obKDmG76ekNrDxNvWC1XBENPbfsaiONTP9D6q2tTKC4WCUj7SoKAVrd2fQnVFJ50ncXgsME2afeeXUYipDud4/s0wdTZ5xOHqsZEw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA1C4CD0610E30718BD90F5AF0120F6942E28A818-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 35122ea440de9804f7f3c25b18e94e36\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jEeNz7xCA7Ov9EeymOzVfpKKTV29QtMckbtCY1gIXh/ph7fIKYwct65zVn6BEWxiwRLcwu4EJ6A32KyC3+ldOEm7uPLdcvQXwf122KNJlSTi9KMbsHEnfIWYNIoGWGoMeME/5C8zXLCj6EYXBt96YWPQfLFoRCUxf7Oy9UvRZlLfQrEYyHiYqyadRGKxFGvlr8VVmVjm6HXoOBGfWM285f8njuG8rFZxkkdrARwOnv1YR4vjOdwZxGwz/1YilRAxbMJhPgFqJm82MMYgsR4NOkYvjJeTiw4dlOT3Qcskvc1Xg+Fr7i7aef7y5BLcFGtUgXhKeiWKUQ4zsJ0yO1+hRw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211900\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034053427?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"72MX4PorJVynw9V3SLYLbCB3j0uDZREE\",timestamp=\"1773211900\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Kxn912fIE2vobfxy5vb2a/mseNJQxobChfJEL1+7VOLcRuFFSyF0cWMTwn45gBxKd7BBHML7nUkKqVmXYohHtl2wKsNcZGXznGbpbRSAwEEJHK3vDcyYGNq2nA2mTjXypprtk/bwYjNOfYS986HjleGNc3U0jzdu6dUyrb+z1WEJL/t4NwW14Dee7uicAjgimXvoxpzP3QprP4zCYOZu2wXGvcd2IJ9cEiaPqDekG0r1UojIN7ri5Lh6S5DPGwW0sFUHVWGCrZc0q0VSf1xht3veZdVRKO357F+3/PH9O3X7rIjTGh9zzuJhOb+d3/Ud0yiHfJjs5hF8l3/KC5tAnQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCA1C4CD0610A20118D9DB8C5820C0802A28C89404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f044443393ccbdb3d54da246ad33ab04\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: o8C+jbUdTThYU/E8sIP1Q1xY6sD8FunrVfxLObxOiCaarR4padgnESk6/eXAY6If8QecKn3qDv1astlsUhE841R74BdN3LIBn9XSZaPuYb3iEcKeS/lueoQqlC6Uk9gndQzkNOuzBtBzZ882EDRGgLY8/ZHH2QxDfrkT5CV9l8WXmxYdCkGXhfeqntK5hrEqYYzwzw2Z5aKSAD1I2ltrrg5xVbKsqhFR6O7hRMZGp1Upic6WLUjPP8MEgjMgaukXrkG5UDlH5WiHmOUfaxAcjVl4D8fyTyZq4AiNGFLpJsOA0UboAuPkQUsfWLCcOosIK7bcJqhyXa2NVNAWZj1Y4A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211900\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034188338?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8wuc9Z0ODXhH2JmFyG8o9rqbIyScV3it\",timestamp=\"1773211900\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xMszxXK9feyqZAbSI4z+5lIvq7DH8Lhe2ZZqLo3s9Ia5NoUqQqo+7U2NZ8vojwUEcySmVr3S0JySuj+JCIRakE7iItkdxjeHi7svRXXvTL/Knt5q91ajGz3rLedPfGLEMoLayXgYmU7lttJyilrMgNV8qdDwI3MU232OKBRY14xOMR46ydhvR+kHCDEknzphrOlF0qTnM70ens7xKATz+RFKbH7wdCv0TaDezSZ0pRW8EF2+yTyW+x8j0bV42U+yD13DUGcgi8XJKPSSNsEWc+++QNjBwoXQqQszWdTzv4ZGjkzE6YzBnsZW6RA4ujul/E6sA7f6aWkJs4k6Ki+V0A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCA1C4CD0610D30218B89EECF50120C8D623289DC701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e3e9b4e7a917ece51fa0dc53c652687b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pdmoCZkMArPrZwgrER/9TdRSlBFDnPz5c1oS84wfakYlsJXNMrRoDPDOq4R6mtzKVhzquGKiiw9QXlyjFxmYb0dpXdq7STGJpdy8raYcQ5nHAfy69msdsHrOVbE3iYEMf61h/Q4GZs5gtscyZNpKZ2LaCY99IQovD9efubZF5FJ9dNEl8fNS4lXceS24hFH0b4wXsntijQm49ev0VWOeaa/RCzAdWNLc0LeNtcVYI0sVzD5JKz2rVlYLwADaqk/8DTGiKq/AAJ+QBvvj+sjRzCSZ2EgY3Eebp8mb7R27t14MV3wWCwkFPFok2gM8TwUKr+l2K0jQlLmMkIv/WEeZNw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211900\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034302689?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VXRJA4wdEuoJF5ilsYeSDp8CagL70uGX\",timestamp=\"1773211900\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sLxXr3yoou20MX2Lhju+h/QNhxn05xwYmKfD7FGNtd/UaJhkynRUbg8VkLzYArAujSWyruBmKC803CTnKXMsQqIJBOlRYUAFJsjAIL3aylnWWqP4Erlhn0kVwF2gt5O5Md9mkLYRYGOsPwucyxAPLUK1IklNuUFJQPqiVSjQlzr+QMLzEyakYKr6vItq/Wt5eA0GbktIVjDfUChxuHZm+hjs5FCd7J9mq26qkEP/Zq/En0eFZNPpqy1hIxhGXg+JfTGb+ZH9J9vcwCnDV9XnPS9zj1joiyo0OyUfSnOaL+l6sJsEsxqPLMjY4GnpqnCtRIbunFGA/DF66VSX3rn/1w==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCA1C4CD06108E0618B381F8AF0120FCA21628B79106-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2c37528b7875de2a5606efc39ab6b0dc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: J20Ohgr79ye6hUePXKHUiYdyfhahbVersiV0PdCN02ugT61ZrZatesKeC1h2FuGEfK1dmCx4KtX7mIPhAmwo2whe/h5tHu57KSaInWgIZ5VB0D+EMVG+A0WnZ0L+I8qi0MkQyja1eNCQkHifDMqx/X+M7Y2NQXR8PVmDT8YHNQplmg8bIIQ/MVwV0K7HtlGGx7p2h+3AlSy/nF7wjTUqdxIiBuYz3k+7dlka2aeQ16PLk8IJBsgr7KesX2tRw1L1JCkT2RLNMjBONjTWFr1i4nKvr0t3w9UwI37r9nu/LdPNw1LPpctPInWT60rfosR39n6NIRwSmjLyIqq2yPo0Lw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211900\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034658092?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"54jR57IxSJNbMSHyxzwVZg6sTCQfYCOO\",timestamp=\"1773211901\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XMOu2WypcraYpGe5u7a+8tMOzCFHXdvKYkcxgHyz9mcC1Yr6zF5VV92JICuzWJ1keyYdo38i959vpm8FVk0h3huIc79PSOT6eebCgVFvGx+sOqYPm6uIVnWIXFf0Hkb4ZoUvj5yp1AGrDRY5KnimWVJTmIsTxsYwdgEktNITARVda+BnB/h+drYYY9ATkz19pgTdocr9aO7OtCZqiNe0Axqzzrk2/YTMXBjJ8puf8o1CFsNQKCrLtNDtOyR/78wc3EgzE2/TlhjtToc3qvKKp9MiKY3z0/OCc7BjF9NDs7WgSwTPws93pq7BrpFC2vIqLdArmdPZPu1eSH2FWpHuQg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCA1C4CD0610CE0718C3DB8C5820DC81122881A203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6dd5b3eeee7d92ee40af9951b38f37d2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mngDxssftP3tJm+mT81G3LvzhqyWyYWGXQZh8JGj09UStG0DUMl9PanrM8onKc5jylpKsNjhneuT30QYMBjOB2b7X5IdpKygMD7owr29iLp7V8DtNA4rDTIDAMRp+7reEZz5wsmi20+sDGZVyl0btf2sIll/uNIu/NQfHqhUfJ93Lw1Oy/WuFrBN7VeLE5NrQpG4L0XKskORK94r3Sk9fxWBf3r41jDMfTjVU0kk68NyMTEFcc6jGAlOGIS4yFxVsWDyyYG0DFzflgMqd2gjn2lUMAEXvk9P98/3BX4BBq12FbqF72TwDr3o0ErhGl+eyDAxehZECSdokyZH1JcaSg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211901\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034684266?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aEGZPbEALfP4fmK6qy4LpIQIY4y9W2MM\",timestamp=\"1773211901\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"npfKOW8849GJ1eCQ5y9LL2W4skxiTMMCmuHuutWT8W6I/qNYtneM2qtZAV8nJX8LAjdAxomIKS1FhNdxt/OgWZ5kCM7tGcjQLdaRR3po+RAB+b7OfGvTQ2AJkAG2YshhGTUIiM4LOVEAsblCE7XGniYUpFvFYpAA+wZaCx9rasR1XKzUjsORIzUNlMz+ESkzzjD8MtQavnWsj7f+1DDxqGD+dwr3vAc4NBj6B0W/ycjVq7BSrod7xJyjx58JvNxDBHZWYKCq2zSJ7ESXg9QvLVH2vPrUx+V0ER4lXJAlILilr5BKj8w7N2uPLqeGmodYjJOMqtVgBoSXLnfjIKGsxQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA1C4CD0610820118A8ACC05520F0D90E28948C01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1359690806a29e63ed5199be2d20dd29\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bl7Tm/2fY6MvKd4geh/NcwmrAUnPvdbiF6zELdfnTG1nwNV0LxXx6s5Mgn1hiwXmyoAopfPnOjICy9z546bnaWqhUezk014E9eDSN10M7BhJK6twfKs0KUkLhkHXsg13mmqZj/Z+rpQFEHiNPSuN5aWIV8ucmOmrvGiOARqqfQxDXXczzyN443u7EsJN9Wl0dtxlZ6gGI7pxJ4cSkkEoms34NKgUaaXFYeJFn0zCHEmsGR/PvXIOwRpSBHnotEhoS8x2iBosWBob//s+v1CTRtv4akUumoK/w++Fk+4sG1DGHcKnpstV45mGDAcWPDb/efPMMn4Zg5llNyjcLSsd8Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211901\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034822897?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zPe9FqDLdjhcyMaA0m1E97ZOE9vPPT37\",timestamp=\"1773211901\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0QhR2mt9A+N8Nn2pATb6acdRlZ+nv8z8LiQA1fQMEYQZ25/4zaM2n/aSxy37G5Scw0EHuR4w0IDVk0N5mycTfsf8zuxDZnoEHvn06l3ZrT7AM3eaZmrvMA4Dt8hZ/6MPxJ6RjVKt2o+THvZtxlT7yUe+EFURO7/KgFKAG3UpY6mAtXxcbezE59A7WgviltPXP8VkyKTY2tw2lhCJalspjN+BtjHs187YX9yDug+fIic+LrJAOUVB0bvR0Wq7k7aAvZKU9Yfg86zlGGjm4d2En/BGA5svL6Ifg+QXQSNgFWaPJetODBQa7lL3E2oHU8ohJl6EA2Yw+wXtJEghcRCSrg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA1C4CD0610B30218F9CD8C5820DA811C2893EC05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d5d70bebc1867bc9bc53a5e7b01208a6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cFl4yZGqghRfyuOsSO2EHaqUGQRqJyUf8G8udn310jXogIgl+o4iikAdMX6FdkOa2vfpwMKL89jRjr9ewqRcuhmNtJfakZAikR7rq3V0TIDTBF9MGiRNwN+gDWKNpH1rmSCOQxZUMpZcT+wR6RkHdPT+dQkFZY/1/9DirNFVvyQdwNcR0teW6MC0+fl5iZ74cOFHdjEl2aS7vEyX711mtJ8EVmoUQhIo0pC8OYYsGchJMgCip30+iDHi6a0lcGtdDNre8AqKowGHXfvRIav42d85mKhpknIOdcvwZzc+uEa/GLVVBXXbZXiJyGT4MJLlGf9sNQu6Zw4UmbfuqsMEmw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211901\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034861285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JQ3o7yjEUvwUJF74t77r2mL5TGkEMjzS\",timestamp=\"1773211901\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ouh5LQRBWkeeec5+6/ifuctdDFwAT2oyztrBA1KqcbeADaeqEHiukfkw2sA2iMIP7ylQyXb1BDQ6pP25hxhU2UGq+N77//ISFPQh/T/Ga/a+Qui+tRgfBqkQLFKnzgcMUOYFW+rzOX3bE++HD8qcMxtnLxE2dDLlMzKBd2SeCtdl5yrx4gR4FtmRypvKsWO749guPcFCpoEstz4/QFeDfw82VlIF0L9l1Emuz2/CDBLF5nQWTw/Enzr7Ax604Goy29hVE0iyHlT9vJM9jPo2Z0x8fBT1nQ3RXTVwRwdgPA0mYDHJzAp+KIcdIMlRf9NVUt2qHQp/OAI8jjCaAK2dEw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA1C4CD0610DE0318AFBA8C5820BAB72A28FC0E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 404d1c334d16408250d495a3b0903d67\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mjv6J+R8RTSfaMnBW6k179rwq9y24e3p4TXe/LLLE6HYjr+hAZnuJjyii485OtVuh3UfoYzsbx+TRTQDTH+TlaiZMV5Da2VxQKfjsKCiJURD4g0uZUIyL3xeboocvpQfRzcCrLAefrja9rGUrDsKY/yj1rxdsBvNNeXY+cGVaGkJ0X1uiSqTMO7fbFfCAxCZOCTeYglI08CCxyuz4q9hWEbETVwlGccMg8Nv2AIS8swY4oDBAS2q/fDTaE3juqg0qDBcb+/Io8JB22Ei1uibYvu/dkkotJS3KDDLG24eCwXmkVde1eH0CqqCTuNw4QHXShya/b6fgHej2AZ6scXGqQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211901\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034950442?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SHnmFWoWIaasWNJKT8A8YICzuYQQLzAX\",timestamp=\"1773211902\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xpnbjzdGACz4LoTds+kgtQSD3zd/SxPnTFckHjt7Vaffs1UtQyidSf2yDVM4ac09Ug3WtAfMH8rsd8uNcaG+I855XCSt2pPGJB71t/iLjQEjYhWnj36BVh/WhTKW+FKGb1WvBoLv6HwleI2nLwVqRO+Gmii7AU3gDWxbhTgJNcGyk+mzHegaChG6DtE5SASumtSchNJUZAwldehO4SNtwLC8YVoyKf0ebSzHxbAbeaE6dzv+WJ1tMjNa8R6rHQf86V/FhrofztE4gvkFiLiFAT34s1jUxBx+0tmUKp1so036jxYnbb18Og88qVpkEtmhXDrhsy5JVigojCwUdlmp8Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA1C4CD06108B0518DCE6F8AF0120AED80128DC8A05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8fcb85e32825f6c41a4249a7f3235549\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZxX00qg9PryY1xjIAquZnF/r7x288CHBPSNPBT5eNA69LlHGbYe6UyniMxGeFCdgCkj9OyauiS70sjO4bCoTxhXpm/kl8iOtIcxirGw9Qfkf+xzk2qoxyg3xcOEARzzMj+ixyp86yMKlviFuYX8sSE0zIJtr9AiEmmhQ93QVJSy2xEuo45djsVXYtlw4i2U3llYWKt0AVZFvo1aT0TpVdYYqoiAYm1v5o20cOaDkqi47RTr8grXZdyBfWWPncyjOiWqr132uO1PXkbcd7WU2YBn/MevTJ7Njrn38Rd+hV46KQ8aWnVVY/igtDkbQm4kJfzCxiGq0hQZNCQkW1usPMg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211901\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035112918?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8FKsnwL8UHDoWqNWkq50CRbADo9NszRG\",timestamp=\"1773211902\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4aLs1rER8j1gdKZAkA1zM3zUJAZ+6sQUzusp/k/HQJI/ePIg/S6Lt4xzF3+KHHegjnhgJXcZGxwamVaZVcRbDlMvtUGpJwF1BQHmx09j945JXi8NXWWYZUc1iC7Vy6f35nJIQ73u9V8Y/C3gYIqNo6Q63l2ufQzY2cl07KmQdkgFKpc7PGbc809br/ZzyDbuoeaLU87CDaR2nMthd3UoZ1d0ThU7nxo3N0+Z7cU0Iun5HnSdA1kHjCKeqy9IsmiXf9iHcaGEHBqWhbpz3692ubjgA++gkcD56Qtp/owlm4Kkz9e8/dHgY241XcKvnTj2oxYUR1qLILHnPs3o3OXqpQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA1C4CD0610C20618E9C6C05520E0B91D28B1EB03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 62b60b17930c2f0ab1b7606a20ec48a9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bKxysvnbe3//0jJnUoo4+mdvGrq8AWhIzt2YbIONp02056pMUL6Q6EBt3ApMwmnqw4FTAT75FhYTHT8SZ7kE+ki/MvZ6FWlJMkmVD5T+l6Cd3yrWiYTf/sn/d3FSTDMGlsQvp6phhtkYoMJXQnyfCP375RtuZMyGeOo8qMQcqn6aNc/j0yJ+0Ne7QO6hoiP22y957cANdU7Fn0MBW4KhvjAe8Odg1XVrRcgGZ7IDhKxDWifTmrwwuckxUqQieah8pPvWuEi6MlaNazcCh38IcF8mHlKGPk8ajkv+1p1yaE8ySNUCAVwnWfWO+Z93JE4SSrgC18/vSNeb9VNqj0HYFA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211901\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035478059?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QTgEcgypwA2DVZZj6RQ4KpCsm2AyjMP2\",timestamp=\"1773211902\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BFGnLRVf6ZWnhcd1VUQtM9ryjC7RkbGGwssHMtbXLufO3iZKI2wowMlU9psW1COgUjM9fE8FHbvxTn/WQl8LGzaeP6GJRo1WUOasDW0mqvkUioIB94GMWGWLibuzZ7DJ42yIpr5FCAorvherVMN0arYGqLuX54J7a7sbLCeEsd+bQb7ubQnSkZKPvo7oDg8AND4jCsT4fTIYoD5Z5ALmyWZf8e8AQOTeUgMFyvsGu843kdAqs2FunR0qn0uugjqsDHqD/dFmCDhM8ezU5TVYE6b5mBmsncEkAZN0gtBMKZzV/REBkUEgtt+qxfi0gO1PB0hN9iEkC+Tn44HZl7wXHA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA1C4CD06101418B695F5AF0120CAA61128D9E204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c7e18eebfa7b2e0835e9b299e9967afb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uqqH+/2jLcD8a0/ryanRsu7pV9c29+sPtPNhFS4zHDLIepWsRZGKHWk/uPSIzjxf+CPxjB25VYfEFo/Lxbf4EuyVsSi92jjS0aoxRPLliEg0pZgPsLnih7s0pOO4nzWg9/fkH9Mqr/HzeAHOTLbp/0v+uuyLR9aUOm4TDw7RvCKo84wuedIKrRKI0ZfUYZXS7XRgjnHvdTFAcSFkPFn0QDIaduVn7k4YyCTE2QYKlkz0VRK/LNxVhZPaBpEbkdaSOdyNAKhZ5z1l0fk778H+ewVqSU8u1rsQ/O0BZmkG11rs9cs7AKuDdra4txVeuHdkVyzuEYb9BstUZAgij/L3aQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211902\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035534215?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qPyMHASGtsl9fss6FF1Dvs2JrpGxaUZZ\",timestamp=\"1773211902\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QUjAE15MiKDU8MEPEFIVqUdvL84ex2BzQe3aP0jwYnjohkWvAfVtiVOYjtr+KHdoap/b/i5WOe8mx0LnFRBntKQ2WahfeCVDaqsMkOEnlUBhqPCiiqWFv0jUYxzBdLrAueYWLxDdHOi5QwNKeMEFB5mxEttKM7gJ1GaSSUDkMPwgoHaB1OMX4bWSQNnJNNWYtwBGERNjKT+Gd4qFPrNTbmILQKJIYZxaYqmzI5mAAnTMT+l47ZCYwTRvBst1gY2XdxmhRm9ODrEwj+6bzwf1xRT1eKSLeEIAeGldqcGFeJMOYtfdpBwCHkGq4r+Fdljster7rq/92SnwoRK3GlZVZA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA1C4CD0610BE0118E0B1F8AF012086A610289DD201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1a668428f855e6d73c6c7bac883f279e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: i7zKAGR//c2UEUTDpc6300BrtfZ0+u3v6DqbHtbcbv1Z/Fo+w1mEK2J7I1Yz43Khhx8hk6ZullWlV0nuX55fO+lCeMmnW2MxodJXVYpCFp9ixUMuy611usBcv/MUZe5UCzfFT/dbAL7nANnBfTUe48TDfrlr65oA12Dn5u9M0LavspP0EEMhbf7XJhpeY4IwJITOzCquCU7UDJsFAaffArWKSRJLQoxvcOP9KX6Ur39Lw1Omtn4jKqHBxZiALgrV34h2TV6msEGnyGbMB/cuWnNR0QzKRXtCxhsgt+ro4IFxpIuf3hHCx4YiLHQxJbDpc4Um3Td4tWozZ+U3kBOiGA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211902\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035634001?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"iQOoA7zX48tJT5CYG90uLCHuEPmg23sI\",timestamp=\"1773211902\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sSSqqFE1AGJlxSZvKkkBqpPd+k0ifdDm4em2tqdN6WBY6hGM82RZBGu0zv+NmyuVW3vIDybRi1nJvOrHWmrzLmy3qGY4AzDIhCdnFQ8hZ53F8Mhv1KJGZvGCybK3vD7NNhcy2UhFKa8iQ3isz9ZLC0Nqltyvb121LAU8JyodstB/qUdYeyaSKl8+9saSzIYdM0ilke8Vk0OFvDYF2NKeNelp861KsSXeF52rWZYciKxRR/QlNCgc5MFpb6faR0zV8A2XMjU2j6PTHMAGy1oSMJbGBX0SYmSrY7f38laVDa73a6Wxylc4LUAgAluSIQ44rXWcuhRTnnrJ82cmYpShsA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA1C4CD0610EA0218DFCCC05520CAFE0428A1AE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d281c7bf8269f9cdde39708c0f3200da\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vnqtgWCwpljssnFKnUeFWLCVkxf8dLhS4MxP4F/i/juLxELMGmpQBVhJTSpbkaeynvc4ZryCMjPRMRssU9mqlbvwBjIgddPqgF4Q7/20k9+XjMz7O2XH8jr8KzbEW8GwNXyjc6X79z8+xzGEk8jr1uMe6vPbe3x3UrmypsLa+slx5FcJNBluAU0bRBhXvXsMG6NpLJNYLWpdTvrZ7h8uFnxPoReTa9NajrRO8UqGzTeu5juBLJRWxOqQh6whrV1N0GVOUpVWxYXLTmGQh0E3HVeNjF2UBNIGnX/A9xm3po7ihgL9M0eZHUOMNgpWcCU5hhYWw+fM+MTJBIwKf13ZUQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211902\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035866824?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2eLEFdsQqeLsdW1kcCV0wcFJMrOjmbBK\",timestamp=\"1773211902\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bqABR6ra+/woYG+LEOaEDTtLF3OKYtFkdHKHDVctaA/VJhDAb3dMPl5rXP5YuCGCH2gdtINaPv/u06sE5JF2B4FxYkiUY2kKnERmMrO9nAz5kuzqIUWXOT0BBYH4zM5eUpu/drXbu6QK36T1BlYbVLbAoEQkiagaxavd0WzpOB20adf1RQHlB5hTeaKNrLwA8zHt6zCGAQ1PH22OzwnYo6BNIS3d0fmnS4uZaSKt8WhYdyMFK88dur4kllktQVNOxDCqr2teC5z/1CgsKJK/IbrZk6k6/aq0WzFDHiiUtk95X9TwI2A7SBHVeSYr6jkvi9CVnSpnYS1rgJUHFaet1Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA1C4CD0610AB0418BC9885AB0120C0DB3D28ADEE01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0a632d2d7027d15eeb114c1b795169a2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KBDaEBvMORe8GKmTqvxyopxSexUltpv4Ko9/Pv/x+Vi5Tco0FAnNoy76kHxPVJZFgyJhefvg3UtoRxRFeivn/eTiTXBlLHNeuOO4JyNE+I8uNN+e+tA1Ru1dILwKXF2bYLcEw1QQzdtPhUqMtXplUDm8O0wBAUbAtCNntsou5nL+PqYWKA18wTOjDbKMIpU2jj0Z+BJRao8rU36etU8uuHPiKSeSHyhSsFyeeqezprqTtO0p4TapOJCJfylXgGzIKJ4Ju6H8Uv79ACHPd1srGW56k82dGSK6z5s0XMzEY5DPr2NmM2ju0wyWvl7JtFgzn0PVHgIdBulAeo1ItOyFpg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211902\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123036359363?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"roN2TEWdNnRzT3E6c8QWYvgFWV2cZRU4\",timestamp=\"1773211903\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"C0Ld0NcEuf8JlWPR1qZ7TdtvohlHBkHxqNIWXFNK6PUd/tIVd5dtc9weemlEbpJr52a5JfofPe2FEyVUUoeusoIbB4/j1UxmfRhdReUkRIR1eBKphkMCWTcjK3mA6zZP1Dusj4aSKbX0C3MTtG98+OCD9uPqiP6ENLv4hmBeYep5MnIMQNgS/5pAGxKOh22bz9rmAtCQp85jfuhtS6fnyT6ekAhJqyblXnLW+uVwY12JDgoB1X+egtjgYzJ8TIex7s0gPYZtkiji5N7LMKjJ4WFIIyNn/w0302ZUW12wVi89l7qbX7EQ2UmS2zluIGxWMLz7qDt4H3ET9rglis9Beg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA1C4CD0610D60518DFAEC055208C821228C48D03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 86e3beb5de806175a8f2c20595381187\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jaCHmQWvI6t4TffJCYJd7mRUPtoQlzocK5jqxHj1HnS9GFPibXpfZbNaSN2IPPwZu7RDCoLrt6Lr7vEM4RQTsC9StPi/WbvzP50O/P/OyCAtkaTzghmxDsNt1yuFCFAiceVD0g8SwsM9O3TujWoAOpP+iAGSIpHCNS3Stnb5Q0aW08k/nAdoVRQRIby0515lsavyyQXoAzVb1vWCdRVGQKgf/J1CDfqqOhHoZ3VhvPgru8pKVkqpUBTlW2RbJd+fYkIrDv3RIvnmsqIJ/zOzgZ/0FMEVQMaeRQVLtXhsBIYjKOzDpa2B4FJAsxO6/dbR9ebww9KjFgZS7O6iSTrzLA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211902\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123037245427?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"et4fLE7G4dWXDb1i1zek58xw0QUAGasK\",timestamp=\"1773211903\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WAU1h496XAgPRVStEo9gLe5iUvFbXT46yybZfrSnKYfPl/NaC2ff2VLvmXvyABt41iAdYnoA5IVhxnOdwE9a0Ev2KKeGCDDvbOguefeF7BzxWu2nSBhL3ppQveRl7z0oGYkjosZmXTpc4h2Jg6J1LarqzeV+/jT733m9mfS5k3yTcL3psb4Wfj55q/HP4lci+I4+1iljb772SCJ60/9p1TibjB1ZruCOEYUEiKnh1QpdsjiGjkgovqv6xPGtD0ih2aj7V83YNIL9q7yNXmwe2T0YczepOLIaGBz4Gepx3qSEyw14tt/nh7RDMIazMUCtWUiSzslwb/lDQoHl4vb8Cw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA1C4CD0610870718C3B4F8AF0120FAF81428EE9F04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1d683ae2f4746367f9f526220859dfa7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: L8+YXeW/eyvhfLItD1Jye6XK/063reu3WEREnvkL1EgGCVzlWabNVVqdpDhoTuF/XRTvdmFW+3niRSqV03yKRZ5BlBx2xqGjU0CEEqqZR/BSyBwWyeGXU6cFLft6kw8l/jJlGO6dtiRzN11ahJcMDbKGcHUIo8HIEp3+6VGZb3PnKAx+njyjoJBT3F3GxkIO8JUkABdvP25ZKLhB9MUrN8S9aJbvPrPO7+IOQAD65V2bI3SQjakG/bpsGFUTj2YjNIiu1QMuvp6qT4g1NIQpiFD0GbKWO/4Xd2tCC3AeCaG85I3iUQGGUFfxYpBPA5/dsMEXofNWeH69PjzHR4ojjA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211902\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123037612307?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"u9dLpRevdo1qRztHl0fLN2c8rgZLKCAo\",timestamp=\"1773211903\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OIRFneEYPDSCDYft+oMwKGfvL+liEQ7I0d08ubMMeIcQ2lwuulklyuXGA97/oUQBYyZhfwxOIuWXXY/CkMG+pF0m8uf9J0huSuwLXkBryxdCXt/qvgrU+RvcS+F3R74YefBz725EgGZ3B4wACrODt/WxxS955YZ9f5xqOiuWbUSeYVtz4ubOI5u97+pM+YBWWzpMdkzOgSwtL5LvFfYEs91mhz7aKOeWq5qnge+A1PczrKSehc/BNDBHZ1z6BRqfsGi/7oPMnV8PgV+BzuzvrFX4jEF56oNfl2c0vGxYA6EFtGUQLMRa1gp773vebtFUkY5xuP0To+VnQoj/wRkAAQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA1C4CD06106318D2CEC05520D4880128D038-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ae39464a629e5e6db2f17ece42d32023\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lIkJoBRyqpFCP4+lfo+bnW4fPAU2ppOe7ljAevM71wsV2D5RBpSGroGSyf9GGQEmYN6uK+MuS93PDX7fYPyrniyJR52+0RlC343IO+CLCmykiV9EdYnRgHfsOTeE8hSrYlPxrNY3NlurA512zig8w1lf9s20Ycm9tEYxpyzpBI2eqCe8TlKhOmQ2vjaYo3VFzn6jI47EJCg3Li/bB/PCJKikIOr5g6g8y5vlIUyLQy5RSJ0Rd0dIqMheWvBGFNYWNz3SLiGfNnr/auFXo4vg2fHn+/UaiYArkDBPG+Xpv7S9F85sosnaFFiDSOlMz0kW8Y+4e7sYVHXQO2cULAk7og==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211903\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123037823234?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TgukWHS35JO1eqMxLsiRvnssno7xLhgs\",timestamp=\"1773211903\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rkLlYiL36a9JCTOkx68C1weN2MWAhCb8kwXwDlvKWnXaofl+yHblz6hdI36CirPjTOVm6aU+VYQevCeyTTE/mTm/jfCOg76Q19XJKIXUceGl9RJPeNknHVnitgt1X8SFeq2O2FuBM3SEw8E+zGDzuMkWyvlWAB4iUDlRPXe40Fq2ESDPSX5SXojV33kQU9EgkXygZW0wnzuJN/8KZicNPwur97M2ORdSI8+XfNHtGhkJrV57efBE5zHqY6+LnHvWi9yRJKtrVJV4oJ0wKAqFkw0t02ACmHgkXJ1R9dF2qVrP7BDsUYuFG2fPX4hCcx1SInakOBOz3LyqozIKkz9OiQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA1C4CD0610A10218C9B4F8AF012096FB2228F9B603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a1e9e4251ae13c86e6a95ba064daba8c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: D4qKADBEporjTcOZ396ZIXaAJ9e0lIYLQKonh77p9ADXFLcIlC/iyuLI/RSl3lHywGPkbBPBQavp6XE1qDF/8IorbWHm4w1tet5FSz/dZNTPFdnBl9+LK0XIMh55WCcMq/ViB1OL1hlLU3rSOq6qpi4y0ChkchNN3BGbkUU6zcqdIq5IdN/Q59Ebz57eXmt1jF0deOf8poHE93GJ9lPpctq+cxSXHEXqU3/ucNJDU3WLILzjzyCpGE/UMfoo7Wxk9XSn8zwcqEMBj5PyevWNmQmvWL/KtEjhaCKUNrIDpx0SzMrSXsMycxL1yqog62FKNeB/mQhFJFhkhZ0JAw9NPg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211903\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123038101424?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8fzBI4bsllNiFTYTkikbKhsDLVTid2Yp\",timestamp=\"1773211903\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XRHx9kBJtXXEOE+r/4sSMXXzuy2no4LTiU2bdWKowACjWdTHuUTj7X9+1P2ReyYFlS5zB1Kti+w0xs7RDWjqQH60GlJKfy/AaInAhPla2m9QELTRr15fahb/fN9/sbox4wetL33GEQUQ8kMwz8kKMOualaH3KqAEaCxyElpfQAinJnuchMBWdLF0iN8PaCn5k9k9CEyH6a7NU660nmUrYF4jMgD/qwmkyGpOlPlhhr7xXBbJl1W7SFKjLMXZKI2fsP9QA44dAxSpvkdLzYxe+cf/L3Wa6tmgezg351C9/ocNXvJDkvjrw8iLjJHKkEG4n5MDOXG6DOizRIbnkm4QoA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA1C4CD0610D70318BCB2F8AF0120F0EF3228CE9B02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9ed5258521b112b2cb7ef2e8624faeb6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mAAx7InqoPxbDrZuRfADPlmuSjK+k84iGhP9b3d9gLcMQ5J83FMqUOwXpn/E2XguKHTUNmpiCSd5LkzCMMralAkaj2FeNTZ2gi84++8FiITdc/M9f6Qqvp5H2CaXHiuwFok866iFbY5OYocQbSf1ve7B9gOXGlsTwiDqh1AGAkQJWPYfgogncKgQKLUx1cEv+0no9sdizgdjSbMWZ+d7ED3Gv/4ct0ty7BFsGIQymrDhA+Ya5pkiU5PmVjMm9t99o3iMPW8iJ+Bm6eUUzxMYWLhEV9klGZd+A6RIJbTDhE5jP4i7+HoBQvId83leV50bqRkGGWWvz80Fp/Hz5xZK5Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211903\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123038986467?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dfQO0T1ajNWKo0CSAHf1Uy2QIG38RRf2\",timestamp=\"1773211904\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dwdSV1M32yP935UETfof1AIlqJwfNGFLWk/X3Ua0kmMSWfiAEc7ixf4rpFqAvVhzLVikMBvOYTrXBmSP1lV//K7TZf2Wk7rocKYMAxJpuYE6wfSG6fTkIN1jaEP3eNI6QTaPaSNEL3GsnKznxN5kn2uK91jLbbYGhsxUspBeiMcLz+o/NZ8I/qzU46tAXpEFUsQkIStMTU4YstUe1SLAlKMzHo4FoIRXqy0bcJb9ilXm6WlhoHkbXfxPmjttjQ8Hb6WqwYnGcFYZHpRomzOcYnGbF8ZHxpzEk/U8J7Fz8uPwAPHxOpBf4ciQ2z33jtrw3oDqdkrTIG2FXeL4JLWs9A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA1C4CD0610FE04188480F9AD01208A810828848D02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 166afa72cf5eaa43aea71f75d0489676\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FcMiihYelsI1/h+qtbvhJjuZzHdyGwg0mAbBsF85I6A/lQtlTMSjR6UWqHuVzhX4EQunN7RzIVCrO0IL+48Lw15a7l3uYH3Ex2zeTL9X0B0pcM9wdADknPiISBpWVD89kzYHZ3LL9dgZZgDPOZUrwodhhPeG+ccqqHxMyrIHleQn/yWU3KUCHMpYsz93LAVasFnOzjoALueZRFSIsb1DMMuH67IAx+uOV872Oa2zV+d90DNABK6Vs9Tx6jIUOFMCKnPzVpaB62koTVVpEzVRXTtAnCr9lcJLfpYXpx/nYiLQJYsrA8v896DPcKwE4jzahNm+4bdn0g8Ky+EBXkeOOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211903\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123039164188?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4rxbzCCMXP8A0nXi0qzGHtSycDjZoEen\",timestamp=\"1773211904\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iNfNih5qqmay20l1kPOvIj3g5wWaePYkRcvqrvFD8txP/Z36lOm/Z2Sl+UUpatAULzCJducb7z7/tQUsCFOGL9RmxGf6zZIR3jCuJS4RLSb5xWSMImgl/1KRlqjz4dlOh1aj3OLWvv5Cu535rlPO4cWIURyoUwKz+zI62Wo5MUCQ/jc1MP9S+gxEv8M7vv2qcGc1d1jQg8KfuGw/9MuTCRZBdWyVrFfHWZnqxVqSBDiE2r6TW5/MZ8PsDhnLzVyq7+AbIYBolC1w6xj3RHF4QAZ+K0GPovRE1qWwGC3i6R3ZvlmSjslAN1dVKbsbqVKs1LsmujkkJOC/5Pdmfgk+1g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA1C4CD0610C206188DC3EDF50120E6B51028CBAF03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: dc22ba9a22f36bb629595675ade906b6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: b5bYJMajUxpLpRH8x8cpoKobsrXjtIdwajAy/zMu14K2XnF9/4DNCuKfBBNkrey4TN61w6GA6aRGfYke4LdFMBz8ZS+JVLLDWVxw/fGbyq2afoFnY60McRf99jUPD5uFKAqgxT7POQupKgdkGAkif/W4wf0KlTDVrVES3nA4XL8X6oyXgSXz2AWsXYkN/NxXnH9ufuSQHfVbItlY16O5SaXSCv24A1q++JdNMqfRoECTj7MDBSJlcNYpWZblb7BSZn1EynJKUKBSnLz3YA/SA/rcmzJ7TatblGji0kHrHLDPxNXpSz75CJFOIiv/OshNsqXbAkj96yVsm/qDop4b8w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211903\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123039267897?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sRRtrRX8wYBZ1LRCccwLkE4a1q81Ox6y\",timestamp=\"1773211904\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1+1zYgG9B2yLIHPyBLSafflpbrQ8SclRUILlY9GEqrQxRpFfs8WlsPQjFfF4/rUhqHSzLLmlGOxKN6aBgMRgTV+SBtkEHYgWavNkU5qm30yrcHA/3c8fE7dhc5fkBn2OC4lG3C1f7RMP3yGAB1VnonGW/IB22nY9uf1jZ30mCWv5eBRpPDqgoy3vcLZSh0ocon53A4/HHhDzzYODdTzpRNERiLGWG1SLQw/4dNPvJjkLLiLDqz2Uc8uHzDQKZeZNVEi/WigIKcr/jPRc5Oe/jARwCgUVHuDozzLS8fQnSCC9ysU7e8aPBX+gJV7GCWNr5ihEC50J7kkJNOQweIzZQw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA1C4CD0610DC07188DB5F8AF0120AA982E2895FE01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c3ea6932b736bfcc8a294cba0ca48a2c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NkBqrNYRA3rSc7C6VhzQ4OhxqAgEfBOswhVUMq/YsI8IxEM006skXCEt3zwty71NvHkHIADjuFPySCgx6HPuMA3o6p2XMgTPm1GOurq2Nk6jAb1xhcHV5W2qgW9jBCRW4Es7KvIkt6pbik2gOFnFA3zjqX0Iy3A4TH5BjwBCK9zg6NMT71lcgI8/mgXVbSZnAnnq257D/P9WZhjfDZCuSZnU7XHnanBXGQTOhu6hRKsNVhvUQlT0lg2I2iAINzGlDQTQc9Kkj/F+5bXBrAm3nypG9Dbvf0+YG+p7tVE1noyMkX++8Mm+ix0Tqh05LLFmcP9VjlhCp7qffoSwVF/Z3g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211904\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040027550?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8Bu250PNdsQvuOlgzSrOyeyQxD3ePjQ5\",timestamp=\"1773211904\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V6iuiPpphPZhE3OA4FA8ZZaOZbspFZb9HX8etpb+JUO8E5wplHhivfRQ3dgxbQymIbuzhdvgfiHnGHjkLJANJWrNZhObva/X7uXOrFQ5Bz0c01BXDyG9cNRwv/Tq6LLvFboNFu2fAle/vMXJYQtHIz+ahu5ohxhXEc7uy+sCXlAqN3LtS48Gd6Al2Qg6yNbELU2SF1NgmTbSO8fgVd6tujk4m8fKO7MiTv7u5MNoeilffqp4d+XGjh4OwNAi232axNTcpIz6JURSeOyd3vQUWOMn/zdSB8AxTkeZXeuaE4cV+ujqR0oC34PU7ohxolwCCjKHrTZ6h3heXSQynyFzGw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A2C4CD0610A601188580F9AD0120F0AD0128F0A703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cfdab9bcc096642f375aa3667cbb402d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NCW6Uy8jJEjK/0W+bxraY/O9k5BcJRM1KmbYoXS/BkKQyzXCSDW+FTbwwQMDWzgfE0T4R3pg+/AoYsF9mS0JDJaMQEjqOpiyU+I3IYFn9NXMNUMdruifaQaNRBjGnN5FnpzMxVBQz9d2pw/SKJV+1ONR1osPd93MVQpfeT+t9mJFhtywo7QreIo8JGoYPb1oSTYnDN2XKKJt+4ERsfE/zOANO9LYDSHD7919AkxgMGAQS5u5Knw+2N9sO5kD1IqQbd8/y06CWg5T3CWO+yMWEOerVV/fN8YjEtKBu627DAu83/z53wCB0UVl2bEL/6UtIITMoIhOGxThmptc2qL8/A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211904\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040045635?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cBGEN33pXKjZWqhthCljSRHmCLicSoiS\",timestamp=\"1773211904\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"g2jcpVFeQY4cRANjLkw2VNKcswWd0bufCmBwB2oes15zAY5BIywWBjrDUbE8dHYBG448/Cpj4ep30R3WmdsSH/H9LMZ/Z1+0nwbrB6sv1Za2caLVWTweIkNseNmcugnDwsXhjZlr1UHRKOH3BKp72he6BRlsXUPo/rpN0YDiTRXFuOZgZJL14eX5HrqKAbow52HY8f2qE1VUp8sSUEMFweNGVUX0dqVTgroAigAl0SS7/i7tnQw5Iwfj2oPjUQPkWWtzOKGffUPFun9TbzHmYUnUY8r2AeaVCxDz8c7a1RO2+XbZNoZuYzVeuNPK+QW+gkV0Dz5ZvO7UJPGkl0ka6A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A2C4CD0610BB0218F2CBC6AF0120D8B03728869705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e1830120180ea0b98ca8ced676bdaf91\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HJIu4NFEnmhvMHMzxAyFSHL4dvfGT8/ymb+vAB1gkV/CJ0+Vrpzo04HTHMLfya4KMLp3WzcdFs1P6F4KSySUMxmS/ttQcF0G/HarnMSWAUzO1JxAUaXZOuc5WBH4mWRp8nm0FUAPsAyXmTTWTljUu9MZP7HB/xDpCLUcI0TAqyIM0qJV3s610iQr54UevxFPzQygfOKP4sAExjIb94ccc3ovB7L/TgCW675UKp4sjbQiGRs/1q7sXgwRBTLJPnuD9t066GGjLNLe3b7a8fCHemEALIzd2A1OyKTtbR5UxtQUyOQ2eDb8K1QAR4LayYIAnw+CWmks6tRTIh1XY4YYGQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211904\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040160969?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"67tc1x87q71lbMMJavo0Ya8JzIYQ7kb5\",timestamp=\"1773211904\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NyWR79JJIf0ojqKjUv5VcOlqUBHrHdZGoyGAgTpcU5GbbhJSYJVuQ1CqPNvdaUMDPvdbnXnHpKESw2wHT0fK0L5akfCSukobwUeB3OcMnVvzWFdQ+4SgqSydght4xkCooUSC+6DjchDlseNuTSPJjbtBm0F+wu+0Bfoml9taGLEKSyPvPYFFF/PI4aYibW6oi5fEHp/zhKfyk+/C7jbSqK0laz81pTjT4RkJlQ0r8Hx5uYu3BxT3zGHEGbErJApCyYiYnH+l5f5LfwdMFMI7rXrftNuL2wsY29Z36VOOasQPno7tc4V/bql/qdQGpqsX1R7UpyoL5VFTlIzmo5AHZw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A2C4CD0610E40318B89EECF501209A9F2F2888C305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 54ed2118028aaa7f383cb745847daae9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: y7ghFM4IKHznnpC+9vC3B5TxxBgalbqQSnEaoGXLvuo2SfG5FVjslIGMraYsCt+VPXHgcTWSdr+8z1GDqBOzxcPhnw9+UjcTXPndN72Mcxt0c7U8/b59YhPsFxjQHfZw/Z96T2vxnr4ohOEG14fRUmYp3C6tKRGtjaiowCZMYfxP9WgxY7ZK66BHRjtvgrhcPkNSOWk9ovHqgk7jcE2Ok+NzMDC9NgXnFVzrR8Kr5uzW+TnJwvYOgmx/bycyWyg1VMRZvUHzySOpH3H5sZk5ShtCFvI2w5upoehATSON0Bvd26WG4iUsp3cxJuPkn14Sxy23TwkS2Dv8ALYE7Go+jw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211904\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040858854?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"M2gclSu1v5qBO8UnvSYuG1yhkyJ7xkQN\",timestamp=\"1773211905\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0JgOjxdLgA6JgP1oi+d+R6Vv2Iq3iFgvQ2V56gzCrJmln89V2+qajWsWg3GhX3fraYbTNz2UvsDsSRH0HlGJD/E42b3+/NNa1/WgU5dbajUzEt3358EK3HSqXYuVFWFeqe4aBHgHyOR5FDDzuLJ4cQfekacntUP2Nsstc5I2y0WZFHGh4b1FAzsiScpUFDqhUvTSOj219hamocNwf1m621zJyW/6iWlCfLHipxxRj0Eyq/ZsNNb6r9285BCrIHrxb1xfVHSA++rLewlNFY4L0vUOzuENUcUpyel/e3m9biGSjoQKBzunYGxIkkWjnr+9vJfa+br2E+0feb86qqRLDg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A2C4CD061082051890B5F8AF0120A4B00928CFD102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 75b96d05658b3ad7e62ce2f37b653e93\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VbYScaP+1+3Jr+vWjzKl+8kHeWr1kTALnyy76JCJUmU7X/tQEYl/YwZgktj/NYrL2sZduFFWRAfTfdBplcW7dcQs87vfoVKTqLfXKW9YJ6N8Rcb8TMivdkaQSpDuivKnXva6rD8UAocMDCX1ll8FyIt99IIzQugKuUjukBQzsBZEiU0hdv1svA+L7YM8QmZGEJGjviKLdwZ+YvUMEEIXBHf7xEyiOF9vIYgeP+dhOxQzk/GcEkufMU6lw5SB4thp1zArf48sIvzO0wQq5Sb7wF6clR7gS+Hoxu0PMI4Gl4x5gkkjyJK5QItGQCmkY9w/VNMUJ+byOXuDAuH9ibIFNA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211904\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040913483?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NQ2sqjJtnwdiOXZs51WwUpsYWZVViVKF\",timestamp=\"1773211905\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"n9VsBWucybmWWSMJmgiP3dsuw92qG/G12DqyzYfNNHmQsZBYvNmy2O7bsRloF5QxpFJLAOZeaOPqjfLxcdh9YYBd8iqA8AWh6L5lSr0N9umzHLb/kaouWqbveFqR6fdeBo/QDLnopXYw9bxzJDO1jFQipgbexGw1+44Zlthdm/4aFZsaOH2FYfLZFPVv3xs9mNeye4a2URfnedkEVb/oUnDcKNML62OXEg62CjkbEioB+fvesGwIG+Z8cETZuUSOcQMJMR9UDSodJ8OxX7ExLx5Lg4OHJu/1mwajptOXd1OJxsI+MEqjM5kTxy9OwLJEyoUtIqaB34oSYUl30Nk/Aw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A2C4CD0610B00618B1E5F8AF0120EAA72728D8DF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e2f082ff61666c3850ab83376b197311\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GPtAQu4G6CUOkapqbPUOJxzH1cShMuoGDQ2S/5Cjr4lFVZyyhws5boJi4UpvTPc2+vBRf137Z17hbdjLhoXDo9g5QD1bvqHWhSIhDb6XF6IQEfHGa/A1jTYiiGaebSZQW35Kl8QoOWd2yd2ekyrOzrLIx0GQLziU8WSAM00onoF/M6WE8bZXXlURuB/me6hedLclqfFH+PoR1UMbXiDLBymcYstE2QjATTqHjPiljKPoFUhg1zWRDmW5ABpkokrPfBKdrb5SdOyULg4qrWh8hJYvFs3QuJ3vIG1KOtC4o64GWbOI4YbAlq59EDt98hYSo2lwcUoT+/qpAzRhENreLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211904\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123041005210?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vUcihvEVZrpvDGq2PIPbb8P1adZIEFdj\",timestamp=\"1773211905\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xXrCWmTh8H4MUaa1G2Op3yll+ZT+QTMLKoXWR+c6BQ+yhJV+bK3Ja+BtbTHwmXZjwf8GzxOUclaOz/nyxfErzxjms+0HTRasLgdTsy2+wrOE4JdqTk66uH4OAdQhOPlaURKOE0HmxknlGvNo0RRHQw+vuRd5qIE0qFCRyIUUlVjUQL3blj8ervuUL9sZbZJlpk4GoXqIyL0LPqNreNUziSgsCSHs8mltT6xD0a2CfgEeOUAEPAy9w9eRUcv/Z9SyiLDzivd+A6AOBxwJLJoVoNmacRGcq51r+/YadyM5OCu1FI9Yct3t2S7l8wsDq/gED48E+oVQo9ZdaGLHzp4NJg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A2C4CD0610D4071882E6F8AF0120B4B71028EABC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2d4cd79eb7bd1c30928381af0f53c64b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vtmIv67QY9dOINkH7bn0TuQpTG5FVOXTJoPUxueO0X5u8JooetLmSKzNQOBwbydTrBh7bJJP641U/kBc5DfLcJ8AXjL6YMlBFIGCRW7UyOIU/D9mSgjT1aAKh8ZrpcFuimhS4ZexEjUyZdlqMvx3q/1s63doq15Fbf05mzHcYw2Otf8SS9/1Gy8/47a9ieCAIdIRZSr5fkRNPFfL++7ImoiwCtcjGMK4sSsZ2+LxlGBnOas2mEKatfthjc+r0zbCVWHXyM9pH9xtf/u8mMLxdodbfcls5+xCkj7F2oeTwh5DSpW9sfqRBlZcF0SWQ0yjFvB97Yxv3fvXI4k7SX/2BQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211905\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123041765639?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MtSEk1zcKAIZU3lRlAVWDphaAE8CPMtz\",timestamp=\"1773211905\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uLuxXdSZBH0T8VvDkGn9gwP8KFoQF4wwTixNLA24RrHrkyc5H7LEKSkFm9eTdF2/rOhP/VYYcOiJqx4jzOrGsWvV/2cwCjI2V2NOnomXinf816j2EBYZMOEmcISDPc/NX8IqxLVQ3j3DygQ0s4KuUM5EFFBiGOq7UHOxm9b0xa8qlNo65dq+4YgtvbVJP3hzJ6yADdHx1LWd9vyL8m4ml3oO3+H7l3OsS9lINzuFly5BuDk32KE+N974KApMRni0Qfroul3y1zQdJmDASyBoFANFqtdnF8TLNAbnvP+nZB94j/zhRtsN0z4EJ1jGXkj80oVuywC7tBUgIbunJsykzw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A2C4CD06108E0118B89EECF50120ACB928288A8702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 78fd7676d4fb8799f94a242cd1870234\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: saGOK3gaE6u9Lh1kW+PiP/T8v6EhcR3OAPWHN2ENz/C671uITMX7ob8ZgRsubXqSrARBRUj+JzA1JwHVK1fxbNQY9qcfxVJxx+6OWvXRi2bz7FLaaja7Eqkcznk1f5Q5xhSOuX9z51FjxOMOSm+RxsEEEv6BFLSrOtmmWZS3I52w5AeYrfNUdFNKMLWZeAQoLfqaA1/npeKD4/Sc5WTBuQAuOzDOWX1qzWZaQksNyQ9ZRUmPFsz5650lingdL7PcfZa3JbLB+sV3kEcpjUwSl/C6AJ1dtd9f46tG7fYQgwjuy0eR94zNHGjcpCpkA0w4QbsGrDqbk5Ofdv2rKreUJg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211905\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123042261140?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gmd352GX8eV8EmtXbtKa83lvLRV3q1Yj\",timestamp=\"1773211905\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HQrg7leXQJ40uXRBx94VO1XRdeY+Rs0G30F2OpjkQwKr78QcKG8VnMk91F8Ylb6/RGdBy8xOYpmUlxmYLKKI9qHavM1KKwlTKdm0DgOhhwytFdKvcm6pv8yP8h/ktd+HBS4kg5zQvRSNVYdvlwfkJitJ/5EMP3/jfkKTJljlSFhcOLVoY92HVua6pM730tKR/B3Al7oROMFCeZMhMIAUGoGcLUx4SGlkVaKpE2G3JZDMPNQKFObbEmGswpDB020WWpcObkKkor2dzYdT9HLRY7/Bs1C8xjs7J/bgyCVjCOJ47erSuAQsqaXB1I7KJUWh4SYC8vYlYtJYGzmpRsqwfw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A2C4CD0610CF0218F2E4F8AF0120E2F60F2895CE01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 42f396f66bf51d4f69eb9c2d584ff7e9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: g7Ia1IySby4NCaTwDnpkMkDI3yI7cdMYmGTm9SwHXsKprcZnwZ7hqlhUbORgc+zG2izcExL+s1bRmgfT4hntykkMdiQiORosogXqNJ+iqWjU8P25hTB6cEn/LWLWjFVSIUXmYHTAQogz+LjNflTUQfGKwRFrC1i+Kri/qO7A2KPNu5IV3K1+4cViwrp0t3D9bDhwgcTJCIjpjnh8CAnprC5SpqdtkMuzkOKb/yoYRq52IB9b1TQWesrq85alrDr6HUNZSfQ78Mi/vQ0nTmqwVS0BlhAN9gV+CDu5SBKy/FUCMKYxZLpASqAF1+MKDt80D1rMEvxeSM08ilmgbq4jXA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211905\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123042392878?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nRPZWMpPXSP5GlgmKIJhvUca3QVtMwiE\",timestamp=\"1773211905\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vePAatKjfUoz32iFUeRcgMdeJxeXdn1F+fvj3XXHqMXCmwgrHIhQNY6ZIPmNjQMsuB343Qol3P5UGsSezleXyb/n4a16c3VgXdnKFTwphsog4VTeT4D8pPH1hKlaOr4mbxVBhbGoW+sSaLPqqmxsuTrcRzs9raA3swUAaLAa/tV2PPP/7cyBZ3tCCcqbTSh9+Dv+ZMIJA3mUJeCPXKlozOi5UWHHJc19RqZldE0blMJuclNdkVzeslqBw2nhmrSOF6EXG0BYELVvk+2JsQjIh4IB7TTJnr8JHPiejfGukNW1h+aUMnHNp1HhhiSSk00HkDfXPjnmAssVWHTl2X1skA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A2C4CD0610FD0318A0E7F8AF0120A8AA1F28D4D605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 847f03f4ec8e94611219ae20990ec01e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WBZee+zFpcifaKOUAi+c2tTXJ+XmRm81aBBdGb9JoUXamqhozhL0WMRbC8oJzm60kqb70g+Vp8hus+Albr1b7QzI3ClwhzSj6KOcaSYftY4k5VXWeoECXXoVxXKb3RVjq8KP5bNu1B/R+AqzGaCNx/KwocMHgtlDfybvuM+uJrDtnoxR0UTRQakyldvTRgU48oSJhWpxtIhGe/ZZ0/uWXa+q0EtI//FO3mR7wC+XpFJK+hMcZx31GQXxuLSBGdbKiBSt57TyWVB4AUHzUhb4CAdPBCeuBjLfXEJWbTeSTVVfEPNyNao36/XON28fkUW+Ef6R7xmFuyGCJpH5J3K+Yg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211905\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123042904685?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e64BUaCatk3Rq6V6w9Fh0KhNYFSiU7v3\",timestamp=\"1773211906\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YOCXsIKFfgLxFX4xvgixHxV6OpVIhb8NBZ5dcD37cxGoqpcDrJNrbWPEDTjp5C3rMFmysyZecxFgUHQba6zsmCZMexKeI7fResUId0AGiUdEp9goNKoL3f0XXtoeh4aI2UucXnldam0uC8GMW2+h0f8aJyZWBvXkikbJkR7+OHqat5h1lyVyzux93bUssd6ZZzfSF3Xy+Dkm/tl4vG3CQAe1Rbceb82rHKi18lhRRk5wHTIuzenapK5dKehOE9OFdiCZt6W7SUMzSrOMO6a3kbXjf9eBdky0+cCaUXcudrexr5e+R4Klbqv2wj/mwYg+FOh+YXmZNFAU3oWmcAbAjA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A2C4CD0610BC0518AADA8C5820D29A2728C2C605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f1f434e705b9d086bee60df02077174d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HkX7GuLi7dK/wF2eNs7sbKPovOUKTUukQSoyKy8DrIE5PJgRHnpBA1yfDHoHVw+oM7dHiA+Er3Px0F2qwn7rTKLxl9kVHztlRfw3l+414Qcm25Y1UP1NRBdVwDodtZLYxQYF6X7PWyW/Rh0JxHh6bleWOzdIdtBNekCgAKG97pBzGm0biu5xtUPYN/oUqLG1/oWPFUs/KyI34La40DESi60E6PKwG3bCOtskINjlD9GsyTYxqKfcMycEPgyB/6jQyKb4KuygqORinbVzE3gEr5+14Q0aJcCZhWg8NsXaEr18yJlUzJSVmN12N5/FtoofqUVg7QNCrFthqu2MzSPYaQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211905\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043045158?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MS7FAnGvXhD2lCETgvYsX5nJtNch6VtI\",timestamp=\"1773211906\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"I5yrKLk16vZ91k7uzQdC1MdkRoyu6xTdOrLf3lysD6WXumanWoVwOFeOVc96fQ+mHzhZbB9DdP8Oh+9OwCaxrf9ArNezknaNh1q5MTV1yGpIW2F6Y/hAQUfcfe+cUeX5cMeHWr6kvht4uToVOT3GafUS9p2HVGRWPLfoEPVxxi5rZk4BwrR+Dm/TnOSRZEwBhsNz14iDD6NgdF+Mkr0gLJKsNZxCTtvw6yUSF8XsBxQVtr8XSOYtI3zjPLTe5CuThHn3IQrtXTSc3YLuprHTx07qdw/fpfxa9uC4NfM6ObzFFy9DRYzXVtG52iHwyUGNWHNQ3lpyEIKv3FyKkDNk6A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A2C4CD0610E70618C6CEC0552084E325288579-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1822ce8ce065cc6a535a1416aa7eb419\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yxpKjp4WXSMTFXy0ndGyf8qTTnbeUDUjnxPDZtepvdX/0H5SuJAH+DKezQRA/Y1lt5qYMLvpAvfg0yIM3iFnhyW2XBnBIUvdMHhCX302bYuwOykcZXpWjdrly/A9akJREcRhbDPyF2ZKhIDwHnEsKWWC1pO/2Ze4B0hIWeCtLVq3l9diD+tuiOqTSx545uCjI99ySdrOvXtxfbv/2YsKa5rkqL8fT7CO5q+MoISzPgCn9kdAzGtqLhrBE5zjoOHZ5/u8ZRu3EqHaDJNE/E9s1OijMSF4gCXs8VJHkzpgyMyT7k66M0R16XM5LB4XIPWHubJR2nUzFGPnTEJ0f2qyFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211905\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043098146?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ecn1bBkYG8GmJPZcosMdk7xCcAQqMk5j\",timestamp=\"1773211906\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c54VyrX2tQ4ywa7qI535t2ZYGGI4ODDO04T2DE0Zs8+eU5Lby40l51V3nT+4TLaQiXpBju7NJ3M5MAjgiEvbBuIrB4Db5vxjrGKSe5wcqJyjQ5R3jNWQcuyDVnsqwJDFOr5uU0+grwvbXLvHFE8Am6/2UWcJuqlrpY2d5yCKNcdRwqv/xXDca9iDDRW7zKFWdyVZiPMdQnHnMUQp13TV+4e6Z7B5yzc7Ga00W32CLHQqXCwKUy3xFPhwOd3JxvbsqqMJNL1xEireR+snF292BLe538WJVKWtntqG6m1Q7YmF+dbaXk6S0g28mZJZL/C9MjMMeY/XVqBrEpRm9dbJuA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A2C4CD06103818C7B0C055209CCD0128C19302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 33c1956c5575ccfb5eb58522d61ee03d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HKpPJblA2gRMJQiloHjcvf2m7YEGdniRt+VHSQM+ufLvQynkctUTcQsSVhuUzPjnPo0TkfS/DTVCk9ahDptW4cYWzTpxa8Ixo0C40SxXcEN7NbM9fGhhkQ1mkwA5pY7lUbg7FjKOaeStL+xpyZ48PvrJh1WAW83ziPGDgo3dwXLwmfKkwFOzCX2/sqcg5Lay+pvFRwvPYNjiRQGT7yp42ICsRhlMe5ue/xIXwhRnRIon0GdfwXIe4OV/+dwZmxrjC58/YzpsGx96XK8zLRzNO3YfBFvlyH92TaeCPaqblJMdQ9uArHF1vlbApJrqu6nd0Qby6VR3S18z6KaSP11yhQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211906\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043213760?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"foizBE93ovGJOVy1BVJscYzrpQZRHWkO\",timestamp=\"1773211906\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lLaNrrquO3jpGwmS7f3eu95pDnJFPdArrwT06f8TqLJvljRt56xIW3eUjtqg4HYWNobtSXv6O0h0gAr9cM/mSmwrKByX4L9Exx3Js7dIbursB4kmaxddGy8O1UzwE8pHHhhEYSUJaglKZitoeonhpnSVlXKIC0mNW2fQstKWjKXkbZQJVM1qFvPFJhnbQ09lEJX1/VnheAz9tNpPFXMjRKj6Qc/YAkzAEmlX/JF0jZj8nCqWl+pNNAvnQgYDTkbsOWWdIgfeTVtQTMzEAfVDv8YV2Nkm4WTNreadY2cxYCfpUT9rCA6AjaFtWHVnx4mCPp3hWID8PwUeQl4kGExEdQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A2C4CD0610DA01189982F8AF0120C68313288153-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 873bac6530ccd238f4ac7cc6bdbd3c2f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eM+T+fLN3BuUy9jvwcblcXB+4PSY8TKSVDbG7/aM/B6QViqDHMTA50X7dj6NPE1iu1Obsdy/UFWdTnL2fMgulrsfbUtwVdFdjD0VLNqV/Pc3ZxVNIIEPgmv1bKD2Ajqr2gwh9JGUe6iqprLbLXKtYnkJkwWy+D/FeCfvnFlbAwbq+cnmYmo4g119AO+wHaWFt6YuRXnzV2zFtFOWrhZRQb79ZMazayYmwVqo5YjZjq1k8atnncwIvPjaZSbnEWRFmCwBpqgSHICnfLi5DpcepXNxuqCY/rpkVtOIOUcvOlJhRRZ4RrbYuxipuwHHHlr7eNmc56QwwJkt7vgRKjStaQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211906\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043476063?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dnjPtahPU1mM9iK0u4NidSO4KIWA90mr\",timestamp=\"1773211906\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dqchriih7d5xHVLsj6ky02klNWUMk38P3jn/DHdR6wRCZDY1lw6qii0fZFn86h17PAZI+gJTDW1+AOp1x2yzN6dV0n78PrUfuWPj+tLRCoDi9NCTaC6xsAclsLdrS+h1F8zTvbxp1C1S2fp4QuJc0y3wHK9tyAY4SGBOjoHGTiDSgt8MZVpK3KNtQihUr9VOdT6IynkxDSMjsTw4lsTUqrulKvhTD8/QHaNG70ZWKOXvXvnT2tuCAQpOhp0jZGOMbboztVY//hIMwHZWE7oiw/uEFy10XLY5EmQLrY+jjj5sm/ZTelBAV3WJ4LpXEtWjv6UzgLKH/BHO/x6R4TOm0g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A2C4CD0610940318F3B5F8AF012088C61E28F71F-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 050d47a4433f7ebfefddfbc0eff20a35\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JQoaD/RgqISd+za1IgVAKm/2MUkXCpYS+2g3Ks3f7nLzc6sCMyXruKjoKv+BwkMAh/Ch03QSEEVSKVcpbJYyefXlX58ZVLI5+naM4FrYU/73X9C5MRDYO0SgOrX3AAgD5Tvpwv8ZlF9DAs5FT5JW6XAECxfiSsAJeSNtHILhDEgQvfZGK+fKVgqGfdnLhwjfStpsLrtThRy65o28QLHm9IvEyi+mhdJCTv8FZJO+DXTSBbsRsmVq6kcqd8MzBzd62nm7AyP1XlQmJLyBtiD0096AogrVjB8i0LIeu+nNHuZ/uVv3uyUCaAM8EGwmNi9yFQoZBbR60WzKhUpRpyEUrg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211906\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043982867?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"f5LXJoFL3yQDj9PM9zI41fdCJ4AzCS4L\",timestamp=\"1773211906\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GgLSj73z7aUDNBmnuLbdbzwUsD5cKYsiPomtN42fRenoWo0cm0rnIQ65ovMeSj5NkLQzDSwKBnMav9UK37SlH4ItQsixd6ikGxmkL4AfHcsqDiiTpt4vnR+f29DQgktbs9yjL+0km6NiO0A0AQOT3q1u2N/emC3AD5rGIHFEUzK2NU2Wnm5qwu8aQJcpvKge/QW5fhopQvbOxFbIQDkdcbPi/2abduTs38OFJPt6jVobz3+fzIR4NwgrdEsbtajcMNrxPkI6QfQBPuOzaisY37fKndAUp5Z6z5UNtBz9WhmZ6rZK6wm88K6cu8m+BF4Au0hrWI+Qr3fuJr1UFb0bLA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A2C4CD0610B80418DD9C85AB01208C8C3528CFB803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fa5ca2b674b6bbd5f371ceb2ba9282f5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Us6iqQhtBNcnuejh7EDPYBYKFldM1Mc0yPgV/nrnHggVsVknWreksxyQaQFtYNZth5DEVM/enQdaX/aBr7qVeOi6/wFSv0AU/327OnLTu9m+LtZdtf5NfRKA8/EQLO6djNcJW8cDeMkfN8lR+nfN5FUj7K+X251KhZxESa9CYd8QgTXsG9yEs+jj7zaH6Bepgt68HHYE1Ap2rbHA5+Y9cTTQBJlCu3zddvgCpQdThOKx/LnNOSXOG2pz6dt+4c+hhDkaVF+2LUImWtfzCleZhMblw5rMQlFptifAyZMmBOWdVrz5GEi8idZggNBW7HgdSZUnOz0kuZLGNm9A7gddvQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211906\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044830545?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3XI90975259Y2KZZujlrok9V6troOfUw\",timestamp=\"1773211907\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"h7bEuEe+f8AJY22m2km7VYAsJ1VmNFGBuCg6y3wXnnDj8MeRTPhPWt1VUToLe/7GzU5lG00qEhe5Rae4otujf6oTBF3EEN30UHzUyTL3Rvtv8GE2RgUgmP0/QNbMlHgyyGzmad35AmM3C6HeBvw18SomaGRhxw2Aj8JNGb2/mRBCF4E9XiJtQKKcgabIk6qafMV2BMpaHesg52kOE2kLghOWJAlF2B6xYHCdV2cjqD/Tpo8FSkne0R79CbIYPr1bRaoFAf40lD47JNwje4WJUB8pHKY4EhR3fXRb2KlOzkdgWA7jv6O13HyXY/JqqWsoy6zuORtcX7ZC8dQe02ZSiw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A2C4CD0610DF0518D2CBC05520A6DA2528B1B805-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 025145601cb5d7778da2a5663b793348\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Hwjv80NNnUwNvJ/4tbnS8A2N3lcV5c9IuQXI5oVyWteR2b/Vf4onGN6YWmp1J1JaIQ+UQONyOiyr2GNwLUfgYsfr4zjVjmKG0O5zZSPchca/kvsCuLly2tgngzbD48eFfYzF4ZoT/s5YpJvzmv3n2/f4xqtJrE/fbBbC6oVTQ/2GPGKVV34UwySht942K8GHp+niKpyXBsoRf9JMGD0duAZW2PHIkWYnuw7OlhvfpwMVKbcEAMlpwZT0nGNUxXU41j7U27arfKCtVXV2wkHcgwXSfiZDMYulK9DqkUa2rxbeu8jtCUPgXNH6c69+AYVqpEj5pzWHBbensTKKQGRAFw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211906\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044896675?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YTNN6coS6GHASvQVvgM2hqFBkId4cPy4\",timestamp=\"1773211907\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hcMyANMzmZ4jFulOuZN0ObT5fokYybt8T1TWhKL/8zSAWxEYO5hJQ1D6PBHitNqdOYzKpHcBKAm2IL4gqL2RuVwkK1S/P2KvFBaFcw4RgJGfWsZa0PBQ8u16HR2IrpVRCg+7K74yMdsx9jQsLyZRlRdfLSYPTPXBNGLX7Ws0ydvBEMcE9X9UkO2JGqZHlS/iBpJiIm+IHAUPjmdP3+ES5qYJ9NHhKayrL0f6yKxq4rL34gfQof+MQHHByDqMNy5kVNlV+/HNmC/WZbUgHKHRUkiAeHSpCwsvaiTY1Q3OcD5A5OtMqbp43u0JT/c6dfZCCc5TD76ZOHdnaZo2i4vdfw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A2C4CD0610830718C9B4F8AF012098E62328938001-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ea396ee342802490bb06d903ff6ab72f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vz6McjOIRzd6VkW/mnJYSfS5FppDBDDXhlqq6JjdlDRPSrsgTVNLUlUOaxKIsMRdk/5HOoNktnSgfD/9gPTx20+G0RWjnlDGW1sbmhEfjybboR3WOccg1Sxko9suNzXIMRIFqp+e6ITy2pUSWVEJBZW7j4xg7og+7oTQaen01u0qZQTV/WuDJ3e+VwDkucZoJAH1Zuyuht5DF0rAHSbESrLpuFZQOYOLVnfFNJBMBFz5/SUFnArM8jgr6uOrWl5x2TqjRYBO2a4yroHUO4KsCTu/gnhpOHsGjNYouTDc2VuTVbOx685pt3X4HsoAAqc56nPllBE+4SInxfZRFoZT+w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211906\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044902719?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DDsHNATUKhMYnxsvkGe5xEf1cY8qlYHo\",timestamp=\"1773211907\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"l3fP3JB/r4n/Tu10Tl1D2UFHhrxvdtgnoFwzZ6imj3PvB33sxNmz390Zt6UqSnwr3vtPZRPszaLwSHx2GTltMflyOkUDogyPiZa0duI0r0WuLQeEiq+I0qFJZJq+TifLLS/wcYZc45P7sHrkca08knnD+/Q29OXD6Y+Fvn3ecPiQjBA3fLZvNrbxC9quVf83jsCclDys0jO+VU7BmmJPWdOSRB/wYmzV23/imrlEfpkfY3cgFrK5kNsmoRz+ogvIj7ul4OOGtH8VmwpfuZR5jpCY5twXiLOJCGGaj1Z+uNiJrHfZFLWr+JQm71Tb3ckudB9wq66Z+omz3LHWRDqwpg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A2C4CD06103A18E59FECF50120C8C503289D9402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: edf6a6481e9a7f75708c6beb64b138f6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ysiWZu8duT9oiZrawk8GJzRmw/EvM4J/a9GWdUjQe0hUeYvBrbEy+M+nH0VMoY78bXnb1a7o3Zyn8NyUUO2HFZbFnT3gKCFKuEgLI9JJCrIB3CBVMljzbkOJC5GypqeTbXrg8qDtzYsb2KQAo9W0+S4PVcMQXDjqKuuVwiaJA75Hjp9oI+AMym5dyU7Tl9AOAKuLJ8rDmWECFT0GmStPTRfR1DhOhweFUYqs1SAhdJ365xnCRMhRlPeohHzHzm/oRIQorMpIyO8knFxilXQH16A8QMcC6npbzXaqROaTU8XuyfOU8Q/LZIHloeUVWt24GgnKrg9tigxL2bbQHPSLyA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211907\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044916693?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gMP8hipBqwc6pXqFzsTdD42dSljqxQSZ\",timestamp=\"1773211907\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BF9Wh+4VnYTB26DW7G5CNLxSkxpe1SaWq+3qdm4uQ+CXjJAONNb8pf0+FLQA91WNPi3Own2RA9n3GKVLkdn5Nv7vX8p5vHLF8a+liSqatxas6fNeoCbVEXivEs3YsKOUbC+gtIkulExQyDn7VSR2UwbuPbv8bRHrpU4ica6dwTAicgNPmrlA7ea+t5ALkxqHYHtToOTcUTRp5p6IDn2gjoKTyUFYiVQvh7h3HZLQzKgmkbxsVo/yGI3L9AuBvfXXWYaFwM+e2hP50UrkURx5hnIJZ1WHMPHo+DE9KLwf2HzlHtLTQqkoyXlJxiCsW/rpIfyzXjaPwvkntGbiH0AiHA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A2C4CD0610E0011891B4F8AF012092A122288ED305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: de73a9fd8f381742d69f3291efc2ec28\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: I8FyW6Nblc5QvMOoFSj6+MI+HMwpaXK2Y7N4ZD8pBdPzoXCT1RlYYuAJcZKKHjrmGabNjYkT2NvL0TZNvaWvHB6y8+XSRfgV25dJJVv/xPQHnxX8pCgQQbbUVDMa+oomoVB2HfD4+2ifa39vVW567G/hhSp3mxxX00nLTsfAR0QdoWDJtW0pPgwRzwqmKg5d4EyfekLWTvIgFkar1tnbNYqkWxK+pzi/2ehnB79P9yKNIwnHbHHRyDlRbiu0boFmwuR4T3S4zCpfnHcO9UMpHI8XCBMZnk13OCBCtTe6MeTS6mFv0ehmW02+2oXeMGgTy9crudM+yJjs/HLDt3a2Vw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211907\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045118955?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TGqEpS2u4PLvbBJJT67Lk7lm0zje8qZg\",timestamp=\"1773211907\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ytiKp7/jGHMOL8RdeeT0Cjxrm17zKiDmbdUPh4IKS5UNiiYLmXcXvL4T6Y/OWfsmpDTF/s1LaCpdgAocKHv2AdIwGTwepsY6/WEQUIhEEwLjop5QMR6ClEgHdKG3DZEKNRdYnpo+8zxw1lKOJ0V0UywyJ5R+z6lYjnuAnw02tfPHhk2EUY0rn7cTxYHmHQFjawf/KhEmgoP/7U68QnsgNyIV2coina0GRUrIl1Rceo4WjM2H3z/m6IsM805OkdMPRI51+nX77Zc6xKKUKx3a71YLLfHBf3XwrIThK8j8gfrgGfFFbl98oeODMf36UHtjAVUOPN9Q2SXxC9HjQ6m5GA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A2C4CD0610840318D4B1F8AF0120B8C50E28EA34-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c6bd32146ca8a616937f58fe8e25f28e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zbbRnKSs2ugqSL4DpykfhuNgcprVkdk0MJJ6TLUFkqooSViONJ87RdU+knVFLJjcxaOBfRg2WH21J8kSz99p33OsndGwYuoXHK5OsfziG4B2JoAn0kaLCDZkkbRclkfAf+7ku2tSIYl+vZA59Wcjv8DfVi6J5w+i1+WruHaRs8kHN0e0NmIJ8fj7eA/ElHRhkwN4x5T+jKUyxQDmO70q0M6UPUnP6Hnuo0HfzRp6+EuS+HLeGlv5MZxfH7i6plGCRgEH6iPapAKE4CKwOSUmrKXWPHwIoM0zfH7WiuMp5amQ0Zvci1EmTijROMNuyopkpYGrBeLe3NOicf7B7nA4rA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211907\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045244598?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sQbTv8qN4KMZc9gP6tqp6tGhBmnWObMN\",timestamp=\"1773211907\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lQBSNZsdPYdBvRLQw5Ap9ftYM9dxTjxh/RKCAXS6oxOy2pdAHvpX3J+VjLKGtDST4ghBvuQcFxqavRosPWF0ox+Yyl3RwAWTTjerMjae6i/vdrh7udfmTJZlc+brJonkl1AOeZiWawRawv6w/FOqEIWWjKODRPpT99ri4Hg5WeDTPTwD8FFiqe0j+TBLUwGU0SpeN05T6iAJTS0zKbfL4yjEgsUlV60Aosp2GenewRlBTwxoyWohtGEsOMVYFhOZqv5BG2iCbFM17Z3u/u0APRtaD2uFud0n72xJSjExutyGQ8v2KpJWMso2zrH57ksncNH7nXGkgNMNtPdXUE6wPQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A2C4CD0610BB0418B2ADC05520A2822228EEB003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6f79ad6bece3081ff7540154320cfbd3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gVp0aQ0+36aAKiSVkUtejZSa3SA0UnkuBGd4aaQBkDOJDMdJiWKQjSg95hJgQX/sAxWYeaJXX4dMAk9EVAPyTjBFGc4WTdUW1nT3z/mTjch1zwrojjUZJZA6PUkPh2MGu+XSiaW86BA7BMMy8FC5jNxBi1KIqDTsElV+FUzrQXZ2Yfuk7pPfclxV177vctZ7KUlXAtoa7oZQSG3GBCcrqN92YC3AU+uGeAgGg4tBot1IF079qJH9ON29eF1FdmINJu/CHEwBz2Qnj9pC0AlUqqqBukqJcI3NKfVPc6NFubZzystDVUEKjf8eV4EqytNmuzVVwYYWXdwDrC1wF18FLg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211907\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045489907?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mqJoOe64R5646xH2BY0jJY0exX8tMAS4\",timestamp=\"1773211908\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"d9mZsc3E0YwL/LoVn4Tn1f+j/9ro1sGVzPeBm1uih+N0FU80Yuhzv413rDFaT1SOts0mZelmkJ9HJquta32pR6HQjBc5b7rzUE8t/u+cPRKl6hcvKBRnUKdqvi+9e4a0qw4m7w6u66RfmlCGlZCPRYTUEelEgsFTjXv/MqqN7fy90q7jFSwvDM7CMu4inHNMkKG5aH9NNAKHMct8Sdi0fKsaRPQhc5VZoqO5qEkDPCPoVNstXxC0oI4oIUpSz7TruGZI1w7/bZ0fSrzFDZ5wCpkDOA0iKKXc8qzlVtUoKmnwl/iF2b5qAdv1q5LKgLvf1j109PYRPRI3Tfp2QFe0gw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A2C4CD0610EF0518F3CEC6AF0120ACDC2028E58503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e788a0ad28593c381573f7b968678847\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nP9PMmiRU6CNWqvZG0LOUlr+oJ/z/yJU2W+ZaedF8di9te9B/Jh3Kwvx3XwN1kdxv1LuTjpc+4zQ6G1rzlz9a6nyo8sL6PxsjMEztIgn7mOa5+/aHxLrwmpqpgVz8PwnUxedu/IsHg3Ks1++eK+Ih5y12DUAWVqsX38JQN3nteYgkJAiqyisvUgqlHYtZCF/PkcHSziAmhB/GIF0vabpaHY3jKqrs2FEI+4ISM7M1CNGkjTpq4vdIzx3sLpxnaCIagV2PDIu1qJRLTPzaMBPtH6Na8cBip8wVNwLx8QC4/LFyg/NpETYhAiAF9SRV1LXE53gfdqUZdqo+qKIObzItA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211907\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045770820?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wwz4FhtF0BTlBemp53IjqrbxPY5Hwdah\",timestamp=\"1773211908\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IKS7X4B3xHbHh1g76IyRTWoLaaXF2t8esd+Ms4KP3FrjHt1IQEqUMlVlD0ugSB1JdC718uj5Ii9IPks8BgsEzmih2eErcYGamV/myVYVpq5WYrLnyvPMd1659QmfAh1ydIYytJvWvDmNfkm/WErc1zbYGFLqGjkDHQrOlPznuleQwwaPmJ2g4oUG3ma0kZ5WY3emzqb/Ay83lHC63Abe9YwcTDzgXb+26tEmDskvoXjy+W8RkCUIbmLfbjKlWdkKZ76+dMHz0kV4JxY/MEDebMj/Y5GwUJ5QWvUAIHgrSTNTvl+lLjz6cG0CZzwtzQPyQbtOqZ4IBqtc6SkwOacUfA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A2C4CD0610970718BCC8C05520C4C61E28EC8802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d048a1f896a4bf2077f88ca5742f0894\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WMFOQuC27D8YV+UqQEsQTvkFGdAvlcWW2rJ9+150xUy6cTF5typ3W1qhLR6Hd/LGu+h2DZdUiv/9z2I24Qrg9i0ktfqesKKFWf60MVNhPBnFwe66mrGLYIkOHdGgm2XseoaMei7tPuHHsxMWrTIQUxv6lDJpoAMKkkLVmL2J0/+I9UKsCn0XIZMIVqt1CgsJpWNUbwAo0YZaTzesNif51b+q4+eSlg37TanZwWYbmJE6dKvadDQz2x++duuRrFKTfLB+Yl3sQi3q4alvluI0zkte44dzTVZnSyciNNqUV7L45P+2/L7TuTzBjym90YXH/bXUY0AsjfV3/awi9+pMAg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211907\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123046211152?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sGX0x0P9FbgdMefaLhtiGOqySmeUh2bP\",timestamp=\"1773211908\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BoYg2jRyO5LSBjnIiwRB6dh7NbGhFelPYFD/SsZ+sNxsXwI69RGgx4+Hxv37sNVZr7L+XItXcJSv7sUQcB4Oe1letclCoaj7HgrW80922/CHtU6tJHQMOF6suUXcpQa05k+Sp46GRNk/h3ZuQ0+EaZrzgg2QXFz+HR0NbPcC7PrznX7KTD0upva+qKnLWccmpVgattx+l002lw9qj5Qsk3/CgpwcGyiEKSzsFfeyO+iJSJjBvZiAq1lK6LWrci9sS1lURmQWjmE6bKx1gj8QREWZLQsUJKkDg1vSF1ZyCxTP9rcMf/ElnT9ZC934kazi66oGxzEptUMrHueJACxSPA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A2C4CD06107318A2CCC05520A0DD0428B9A603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b7955321498391fc0ce21f8f521fff70\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NfKFdcQk2vUFEA1HTORcOifAqVX73QnLUn4OJdfwbou8NTj6Y0uklVEljeCDdUayPAVB4VcXe9ZqLdmLqv98mNizVOOUbC1FDmRuBPxJqpcTGxCseCPvslS99/p0fZRD5bpR4YQlzdRei+wXR+cMBDrlm34hyK8+lqgm4FOEQcDIKG+J8SlWiyAH6nIUhzfXoZlryehlNuLTZlthumT5A4KbS5+qmcRybhvA5oq0l5Pt4IBJuIftnTJX3EaJ3nhXaN7XtZohow2x49NDc1htrXQZ6DRo+WvxOI+My523mHAMbeseKJxiO8tWBGMCt15tE0Gbkn0tRb0YVjEce7tdbg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211908\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123046987655?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aAut3BS3u3IHpU2fdmIkuUN45iSWr07I\",timestamp=\"1773211908\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"g7xMr/kljFpLuXaRboFd+ONbUGTB1F5Zzzp+JH6iTWc5jljik2SktbgnZgjo9RpAiR5mgBwqEGFSCtWfCjk+zxnuh6mYhHxXq/1YiNldxdd//r8rxxVe2dw8HvH2s7Q1OXvV0Q7AIY3hENmlXE/C44pfjN1N5DSz7dRo/y4uRkTkDQ3CWmhm7ReTVPJwSqMjhT+KeNGK/spLHWjQyM/NyPmu6hFQxevdyn43dEUsHdR9ugm4qStX8Fnt2ggVfRe5p36C0glMDAANh06nTLnWJqwB8CpArwh9iXXRNuuf44DqXhpMyKkUH0v+0uIbUvjokOcwbW8v6a451WQFOV/itg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A2C4CD0610A50218ADABF8AF0120F4A23D28DBFD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4bc8c99464e390cdd9796e93079a7653\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: R4/ez3S19TcYtrH1WxbJF1d+auXWYHM609y4eHaHp8FbdvutuqdQDtdstn4+x9CvS7/G9CWIOWfHD8k2TkD2R0HBVlSFrX0BEzcFUllIyksxcEQxppOcJuNBQ4M8LhbGwDHGB2ll6ke0ed/Ag2CIYYu0dRQoo89bzEV/0KT3yAcbd6Qlezhkbg+1aW8obdtaZxOn6NtbVTRXOzZKWQu+0K8JpESZiOQFgSx3MGxUcaYTwiVx1IuQ5gX7pN3LfuaTNutilloOdqDYrEQAhZgVIlJNJKNozbxr/fQYSdafKRE0qjr8znx6GMZL7wJTEq1ugNmj0C6FtB8tCDT9kQ1IIg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211908\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123047110899?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"v5mYsJUFr58vVupgCjwubtwRTcCmCIm1\",timestamp=\"1773211908\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TMcnuXxWy4xhCsAQLxoLjKKuM/rrf/WtQr8JyqshnAXydajYRt3zfb7s7gs+Pk++DEWC8ctFMf1r69f0ffAXNxZzlL1gEFEQTTNiX5U8PRkmcPKLDplpizjxr9TIos3AbjJnDlbXAwp1o6Aeayz8eqopfw0ehj3L1Eh6u3DDE8/yUqv7dob4uD/ZiotWexzTjIuhCxfL6bGcO8iUjya048fRSqeBxtp7cp5WYK3Zsdm3szeGNc0I6qkEXQeA+OOu7HtAaRwx8EF0w/+ZVMlZ2jeOLduyoH3to4UFbRQRX8pZLXzUSLAT5dJFTW/aMT5LbBMCPQ5w5Tl0TnGqIB7WuA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A2C4CD0610E10318A8CCC05520FCDE0828C1CF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a88f16843650e2edb6a4c995b9db2780\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zQzK3aIkGQU+ZBSdLLi2PCCeu4siJFBogMgmM4c6nTTLV7pHmT3ISUisJgblqcNgizLlRBu+rfQ4sw16+inq6FLr8b2FXMQVBVUpId1N6aUSr4tlWQS1UN+zAfnDYJjiF0GDnrbFce5+PUJfIRNgcdvHiwtGvXMB7gKnH9xfzYNWT6QnCZJZQCt6Y4X8WmUBI9319XBxz5oStVhebdjc5sn2jet4If5Rb20Tvzr0HXbx2g5vYJOiNkIeO07xI96Zu3J6rffoUPsMbcnS233/U7772Mm/PUWsHelF9WyqkJDEHCBSKLRQeSrqL9WxXyJpelC+0ZXHJNPCUjOlbEYB+g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211908\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123048778965?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aSasbz6qhqw6kAuybUgFtQ5wwZsjjNUt\",timestamp=\"1773211909\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c0LSAifUYdd7fifS4ewDJiKFV1WpEJaYddP8bZKqLswGAT6BX0E00z8F6Vd7QTMSZB9BesRHDV76wHpX77n0Rv4nD/O74JwEcBn4vg5DKxc1FHK4ylokXiUo8od0/eVsEBDP3Qcrz9sRzBcCEKrSappFQuawaRZfMl6DfTv5dpgxnlIQwoNjJB/48q5CgE/3zOps9WKwmUEHwfXtr8Cw4NHiIkxG66pGgjr3kLYL5bVZupE/C4jIgDioKCH5fJCbrJYfKl4mOYKutNb8ryPRLLPpFEyYbogIk1cA2WL1ExnOOmVeVECKRYii91EcGpiGB3i5EOvrZsvnCwovyvTA0g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A2C4CD06109005188DE6F8AF0120C2C01A28DFCA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: da122329d484962b7e4ebe5e0f7efeda\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ll1K7uqqn7YoHZcx2IumFuqHbxO2caPm+hz47EOIjse1VMNOAV67exKcBeKvxTvxqurys/jR1+T68QNM5mct+lRJ2vgS4GyROfnJKKKXAC0yZKvYI/EC9SaQtjPKLRh/hiy9v6O33OyftDTYjaa6lAHTTLblCiu/INV4JnXD7Ieh8OAEdpZ2GpNzfjM16hkZpp9I4Tb9802FgnoaYfXXHPfXtmS4NQwQFe12ux1+AKH8Uc43SqrbwSMVdlbHG901UZluNA/w+qcV8oIZr3Jpa4BOTMLLmwv7ALS6SGjKFPc/moe6eyKO0NcOvc6G7YLnns4hQmlNjGIHG3sF7kkM1w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211908\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049816653?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qPL8yUa5DsPs74Y5cPrhQ1oGoOF6KAKL\",timestamp=\"1773211909\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vQ49GT06TuZLFd7kc+16JwinOvvrtc5mzLrRkWz8Pyi6BonY8tHRe455Eto6ui6mdU7iohfCURMiIn+N6OLDOrs67L12TDuZsfXN5gtxu2SZQzNXXI/S9W7qVhVLM30H0YPO2oXLbdc+S1ASKp2EQXMQti7bNh3NMtysv0bYBVJZ9n0s3XEbDKT8ryTqy0DMS7rO+Mf7dgOLjvW3XNxBc1U94resv2XA98YTrbLnJRuAnV8vOcmyl9lKQfNtTUW+C2y/lWZOwF5SNBdr2o9r520qU02pUB9xlhXJVAURWrs1wNvQ+mg4PVDhin4YnPiujwwKWe/0rk0T2zrqNyrKTA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A2C4CD0610B4061890B5F8AF0120A8E91A28D83C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e3b2b616e9db526485949b85f3bb1015\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: u9D46bIm511RaCpuAnDUuuaUQlHzwCXJC97saihVGU60aU9cP2heonp3YHm5MWKexUqvm4//BksVQ2nxwU7tMmZ2lUvgI+Vc1m5KOVcU/gP4dS2bc7khu7gtjIzMEw+F1S6whTNnyVsWLYfJY2N2gZ/Hf0Kbhu3aDQ1d7xCFX8TUH1dwVhWhB/RKQvO17ZXXaC7qPggOdH9oU/TtCGCwOXHFnJ3o+y3X7XbgsRKMqT0tOG3/06Vim4WF4duEH/BcC3sbov8ENtGZQ1z//7t7pmD8TM0jAcleNXnUlzow0FQhyrC6srkvSKMq5Tdt8jePjvIyJNv/AgiLwVAKe6po1w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211908\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049825026?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5XsoF7ESyyUpVQsDC0Tm1k5inkNhxBnZ\",timestamp=\"1773211909\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"x5IpfuSWSkIVqexNCsQ4cnrsuSz1Hn68UMQ0YQkRal94CnjuYTB/n7e7pmm04mtZ7TdN3hjj6k/Giu6T1yPG7RWVATz6yr6u2JbrOBi200tojo2W+2BF8ZEc31RyUit7AQZXToBBgtUQnKGfMEVZQKFc8yvju8iMf5r01hAXG8MXD8Vbe02pcxtKv2hDQzPE7mJ2wWK7ReFCevxcjmnW64w2/DZn+zixvy80RuLG1G5afaLtETM9mssxS/lgRBenSlOR35whHjPJ2M+03Sdbw6B4MnhSB+MEF0kkzUV0noXOv3aAEuMpa5vZ9v/r/cSrPMxWFTociJ6eedZbsajZOA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A2C4CD0610D20718E4E8F8AF0120B6F604289F9002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6cce2b0771c20d5d426781941cea844f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XXmfwriphF6xL/6PMU4JdADqq87bCCiRCtzOnEEaeXqe2H2i/Jx+xLWqN5TFpoOuaVNHj+79b2Xyw5hlIaLugbKcOnmZZZc2LCfFUcwhgw0Gi8TsTx/tZd/7jcgQb1Po1rCL49vpVlFecif8RDuXQVJhL/75rtN5Va9dSwtVGiewI47SUQPDNDP1YJ+GnR89nceSzQXkQktWtqP0GOo8jjOB/2Z6q996sfatiRlk2yPz7AXfpCy1b9E6WYeUOPljw7CZSEaihYiB2QjtKnR4LNQS3iIlS1RwaA8ReyTXebUvZof9nQL/nBEsC2SOic4VPZN34BZiP2H0XJLPLGVehQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211909\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049852824?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pSs3huaBUVD45ASqQD0ZDy1lYYAoyCoM\",timestamp=\"1773211909\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MLML8sURAaKxh5m6fbwsLAFdG9CUXtUSOiCtemLOlBfTSsuAaSQiFvbG/WhlvXW3q/Q6t+M4YUfGK0deUGMGRbq/Vhalffm0L7FTYScDCa7u4LRRfTwfQhrOjNLmrxPNdvH4fpMucK5r4bPApjxSsIgfCMaEDBy5+9RX4PQuPs541sb1DmSAg6c9aiekwF+FpPU26QAPbRvY9KOAkwCBxbFwZa/wbVYXEf3f35LX42kmRYd/rv4yNlzG3OMXp2XxzSUCnruO4neNWA2ocZa033DZtXNf1xTLU4z/PQb6sJNj6wr1ZWb+Lkn2TZ/CBY2mEt0xYFHPKdtqvKWROgXcxA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A2C4CD0610C50118E6B2F8AF0120C2CF1F2898AC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fc4c8a199246b78cd6a576de44258dc1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hmStzwMmZQZKTWhWOnEM9knKYxwPPe7afG3KvmHPiuH+KjQ99iTRcsk6/aP9ZhBPlMbXDmYI8F/GABfwcM4iLyoCeQBV0Svb9uK4D6RMKu5jlh2vsKCh32LLdmdgd3HA/WeE/25bj95Ue3wBcewYFqrZmPm5jdWVSNJfHXo+G0secFz6C+7gE6uaf36uxCbFrUKZDu/LBPFaBvrDQti7iwWXnXevjxpZojavBEL9flElBo+Zgs508DnYdM+JD1//70XVJ/S0TbzE3AEtrRLnwut2zHHBv7ek27hxwCfs2d2KCZQd/yyDaQFz1Hgb6mnHyvtuXEinuWDvk8gkraWp3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211909\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049976724?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0AFIZkTnStg44wjTJqbTZsiBCmZjnWj7\",timestamp=\"1773211909\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4gdxJRgSLAmdGGMGjs4v2dkwyiV7vqFag7PZGAax2zhAM8snJKbsv+rD83LHpsg1aAapwzyGWD7HdNWQrwW773+PKMv6/rXtEGnEbkg58iCK9hWedXcTAvXHKkNo1C2vZJt6rDC7DUQvU9POa0YPTyEHduwQvW86HsBoVzY+l8Tc+1+5WyNIL0KcqnTqwxcvaDHiu1y80wn3JXEy3fIEEoeAmejcnJtJ1eWfqIiCbeg9QdNCLfZPOFSFx/ALC8TwmE5wGG07leNeKJ16TT2kAuXv/i0FdgbThua+uUdBmQ/1N8Fym0KSV/K7eFzKkClmIf0jSSNFRAbmho8WANDmYg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A2C4CD0610EA021890C5C05520D0D01028FFF801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a7c6aa24c0f5299f259c190a2ebffbd6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sEG9Vz+nk5aCSeDWI70rM8BrZgs6WK1gcXhEztHYE+JmYzGNI/cG0LU/3tAe4ahxXHo+2VtbY0Z26G6Jf3mL2OGGxSc0IagNmyr1/gsilLY6ZbVb6uTifxCguBAfU6OZBKKScx03kzyvJH0rBDwghB0KFR/4vglqxx3k7D0MDgykWdls5/rbHKJjqHivxhhdvQNHJDXCMJz0fQEvOCT6pabl7d9X1DaDuFNaYcm+vW9OFCwRI4S88QMFwaZREAcPKeauxutCkYs95T5v32Dzjyio9lNLx9+qfoYRChAt33hTytnZ/+xH0RcVOkLdRF/MbYu7VlAiTe8pM5r+mIWOaw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211909\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050125607?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TMY1sGdYxgk3dftUOex6x98KkU2v9URz\",timestamp=\"1773211909\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"04AKK/l8JYkPO7yoP3vOlvpTZrlxox4eWZtQi9u5sfE6igLnAzVNwMT4Qxm+MBR05MR3+komaPyjOisroSi6nQX6hXK8X6TcE5gaaU4s9nIUjaI9/SFJIEGywp3GaY2sO/hzmhgJd8UAGRojmfa4yftwgsaztYRC53e9Tc06lKOjAamay3ONPh7kuOzZBWWjp/btzbK/WSenlsneIJcoko90i0XShYxbbcRQZXXDch7OT/L9HvYQvRJqZ3bOmaCCPUJHm8iQGgGp51S/QSSH7y6zmfHY9UJP6yyV5T5Z21ha/WY+3tHTmsKoWfiVNKgr3o7KicTtrpe7o2z9Aag+jA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A2C4CD0610A8041895C6C05520B8F80828D48705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0b4b38f410ccbc0f3cdaf4d220dda524\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DyAr2FtGXiFk4ILvcJa8XngkfsqxWz2A00j/EGiMDvhPTfOePnaOiWn3mf/HFfUMWQNdEmqlzgAw/sW2c8pFnlZbOAgR3Y/HgUdctyb/wJgRevhxDWx/4NGG289CO0azFY7M6QEto0SDHepnftTfVQ2nf0tEXTPFIcLsBnAQ0iFEvZwyI5M5w06iAtluzVRDYYywCXasFoJA92VSqFip+id1rhZtxwZc37IfMPGZUOGMLD7KCI2c7lVmqxgKONkBUsUrLvBmx+wBIiOzPQejO7okjyr/AVVYVbf6+V3Gazd3Ydij+vGk2K0jfdNDIzBShM6k9RC+vqLoL2YiGHDaxA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211909\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050128234?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GBOiekA51LjjyVwV2ILyOJ0Reo31yseJ\",timestamp=\"1773211910\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qXF1jWvCa548rWWdHY/uLt5VLCH5waH9XZcBQqlAyWYxZEKJhnCzEXvU1Rvsqg9bWlMX8rNUseAFNv0bJOmRjKVa5+9s4EoIgytA2nQoiQurLy4cCQKJJ2TGntVm4OaDMNd7dDkN2g9qfRHxa3cdeaHiixKXs+u864/dU3/xh2TekbWbSPq0nn6+vTrL+mtIYs8hRnvXArE2u68nk6BwrChaDf1WSmWCKCl/iG/yZuRXrE1eMMjGJU3FpaZVqHIO+5d5+f18u7MEm0bKTQSR5HZaUJZD+mp9or2eRNQgjc3zL1UCtXPf7AjhDJ3b6uwQn3Du9isSdAsCgy/gYOESNA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A2C4CD0610E60518ACB3C05520C0981928C38805-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fd84aa9e9aa8c9a32c4a2813de94cc4a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SR0UEwCKAWAklzg13pQJC9CmU+kLdaKL+0ku9gI6uuDMC0BzZc4T19LORk0jPMQFM33ClLTBHvglUT8p6WV/LuevlgTFtnz8HdVHZb+yxL0y5QLUEUZx59FqhVHmizoEONkBvuhi+2UTpfe6vfARKPxs8a4YL54T9omv14SSsYPIcfXUNUSKN08ywHPkhy1f8jgbNnZZHqO4lsN0g9JLHqhwY9d2EpjxtlMRn5gtN0n2vBRvy36RE2OKuY3KR3tsF66BgkaRbZhN7zBtjvJu43OnBXlWrkFCZ3GdtMw3VLdWPWVnKIjroVbtteYpx5ZSjkKa/gH1gGUuNpL/AXX4ww==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211909\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050244918?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eWPjtmo17BVM0VHzHii4znsT94KyCeUY\",timestamp=\"1773211910\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4+tdITsTyFziVJ9mXTO08TC2jvxVE15XKTZdFPIXYa0wtqxW2ThERqgvVwFIK4ryJP/B8UovMaDH+8SWhgfUNysNZXxk8VsIgSWZ6uH8v4MQqpR7VbiJ/g3o0q8AYypzldpQ+0hqd6OzrKYD2w8xl6dxxONhbGajulWUhIOerescY8OXYvJOXLb/M+Z3ukUuTfv80fCFiCsX+oi652kGyYpx22agvz3iRR5FxuoCjwT5WeKYzymwaHpxbDALcD0px/ksAkD9eULblJRuGSxpqJSn0AlrioXlyTO6kXGqJ4ZESjvs3Ukyc7sQP37F4lD+vo0pnyJrgajcc15slXwrjg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A2C4CD0610990718C9D68C5820A8F71628CF8D05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ea66f7a724f9a42e89e2e91e792d2fa8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FhGuyvwntrsuez6+ZdjXf1sJ+t/Y/XsI3e2Eg8QXzj/YBF8xhYQk63ggf/Q80fRdpxrAt1uZ7+0Ea1KLG9vP35zZboSktibhRA5Xlv4y6Su2JFIorlliUORoaHej4qAgp+UI4PVuT5vRmLFm4iXgizPlFdxE+vo9UtqmPvSlYO5Rm8U7ftaawNhVP9AXdEA5c+qOUdb+KdqDUSmjlm0R+gCq3oGXkESCFsFXNUq9okFLqbU9O3lgG4Iud3Q7DSbLr0D1pStQD/aFOP2pjFYZoTFCXvws5luCa5YBapJQ/Dfzeac7KC1E4Z5NzSHbICG/qJWGoiokJ9uxC1l0r5sMNQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211909\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050851542?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jivwQS7h2i9dz1TFGy2Yw2WRKYG29XaY\",timestamp=\"1773211910\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZI92YUxBQiW0GN6M705midCtutpI/PoSt8DP8CkynX0yLMmAJmNCICu9oV8/w8Ugcmnjj1U+ugIKUjpKwg8X1aqyX0nBn4r3I3JkRPWF/0IvlUm4wy6qtrQ838EZLx4Lo0q46ibaC3+2euE/XJGKb2V2fZI+wEkW0w8BR+MNDVtPBOCuMSmtQ3B1je5x89dqaYp8+tmiGC9fuEtQyj8BVnCG9pD/7OZq07yIqMe6GRiTaOfCKg2LOIFERB5r5orHTRJmls27w2mEJBaVlEpeqgmTNeQ4lT2WaIqoXXrbw0DdTSmLer4bP49qfyzjjIhUj0ImXPesYZOxiXhNIwkIXw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A2C4CD06106A18DAC1EDF50120DCA71928AB9802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f411c67b92230846156974352f878421\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tCckc/MK2fG3shi8PAjxYR237jJceEUqCJZQjXNuoDdY7wmRdIcei+J74baGyeVSIxctLa0dXMzlZDiWiHQp3idUFMaFVYfZTpZyrPUjdErZiuGlVrUm+B5+C/EzyaERhZBgWhAKD32mUNFBWPzb/YN7H8cZ0F5Zp+t81mwjN+PGDWkDKEg1XLt3L3C2kmlSRnoa/XZHGjVPDyOT4a8S1eUh83OjboUctDYbVzbFMPpueAtMZy9VoQYsARpWFwzb6Qjv/oeWh6Ym7TFUVeE1hsol0ZcsUik+EzXfZC/NcB+UHJfCsSnb5XIGA+7P641Xum7qvbze0wYTBc9ON3MLLg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211910\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050896980?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"89LrTdrwyPtSLZyZwxu99gdXAr3yMjLZ\",timestamp=\"1773211910\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"AXheZeVgcU6w8rF6TPeMI4P4VNpJHa5fG042J7diqLSApBeh9G6VZakYI/QbAnals8bfHrfZ+Ic+xEnnBKV9ydD7V9bzVrpFvVghf4H3NOBhO+Zv7jSMGpq8KkwLIKEIP7B28W4OeUl17CSg4amvEkRHQhSTIHGfSOjsGNMr/DCeGgptmIMrTE51LrTTSjhRx++kEDa3kdZw7TmfotDQwmYfSee2TUIxpAEz7S1y7io5be2eZuHP/Q/J3t4yD5dVMGwVimU4fZTfH65eWNxjYeQqJkMAWUKqs7H36v1lfSTpg0C42S7oAmxrIBidm0U7A8JCVne31S507pzXz2wkvA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A2C4CD0610910218C5B1F8AF0120AC9022288FBB02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e0705ab4884645e7d381c3d0d166ffd8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iaRM6BkfrOhnyWRhJDas3NMZB3yZtq+KREFxHe2luiVA9fAfMBU3NxOCp3UMB/s7MmJfq8ypYHfnVGifMJLAGsCvpR/L/1VauNYO8rd6pJBahvZmMo5XRhjpT0C50boloWXRGZ9fYw0b+5PrAMcoptHLCHtZstR/g7TKbyegmWrXJkhC2TctYXqNpn2PAxm5kjjM5mAWYSGbuq9QRffVaYAEHsak+aTazXEQ0E0tOmt2pWAFej/av943HT1qiQgLESs89OfMCNObGdmTkdnXEcwFRHmYp2yknreEW/6p8xKDtWPGg1qJ6SLNtZr/krHW4YxyXpFlT4NK7Q9snpxT5g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211910\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123051858585?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JYpeM9bEk8K17Fhp4LGgONBkUg1lctDf\",timestamp=\"1773211910\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4nOAGq+taVDeHsahw4Pxr1lygTcC0eQGAqEBPgGgnvndRpDTxnQyJljAFAvlf3+aGcd8iMIVm+ArKWpHMvlIbILOQzIwPzx3WcrUX9s0t9EeZre3mSGxAv0VuWR2NWC18xDoioEbM14w+eCxvKaoSZZZw+5e9BMXJkKW5akdoJ7hbsrGojvoPBVkv3N7cQ3aq6JVAx/KBA1jwjcykFbIe3eNfApzAKG9ngf6BTf0mv2g/p9Q8ix5djsIqZdfadVgnf/qJGziup4DTivZ1MQuyxon963SJCV2UZfl/3ir44r+y6cogMXY9Lqumq00XBhFlN3/jq4DNTk/g0w/gQqy6Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A2C4CD0610BF0318FCC38C58208ECE3028B7E103-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 71edaeecd2ae999ffdea440da49cfbdd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ptOztReNl95azolTSw7BRrAcZMihzgC0u3gPT+lEDm3EchzUnOFrgx2ELkxDxWOZ3Z/wPdRAJ5eJ2sWMKGNShdQ48wDZ1KkcaI/hmNlM3QFEv0IKxSVdtvGTmn1916GKBZVDUrWE92Lh4tXbLKmtiGpMVcc/1s3B1ixVIx6BF65jpwsf6M6m/yxBJRCLiO9EPA7RaldXiU8+xpVBZnXg7yW829DZ2URIqElAe7tq87to1080/5/xGgn3cRiRW/xNbdLMO1ubvFAAPvO7i7qkK9aFugXKRcLwEl+yt5BJWMRXUzs1jOn7oO4Va3S0pJADBaz7DvR4SCqZWWpWxGh9Tw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211910\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052271934?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2PXEXFlNWDgGxO4XUyr28OIfbyNlpKsL\",timestamp=\"1773211911\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PlcsRUpP4/jvGvecxsBa0yBRVuR8/GlsKOkA720HDKb8Ic6gBtON7/8uGABZxRzQc0DhjtK1M3inbq8PjpZqpPFFOsOyoa8dAM/LtwVs+gO8DzNXFpmDwDiaYfc9Ovo+EI6SzU+VPwm5A06TPZ4oKyrc3Via0S5VSTOco37RQ2UtQXx38yOyk4ZlYDYu1DM3vm/jyhhb8ZVVe5q943u1rvCvmaAAMknvVM4PBFXbLMHIP2dagBTrBMJp2cJ/Vu/2Gc5tEI60kuqEItTWIN1vfysZ0bqbLNA+2iHi3bJKtZHxmpNAnlnWn6Rsv+sLsOm34C7BNR4bWltO9LWAqCWUFg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A2C4CD0610E90418A6B3F8AF0120B4D3012892F803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ebbea93e92ea5198889715ebdade1092\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HCFpxgITN6ivmcFaBew8GlRyCI9SaJRDZSKtVO9OgmoRgbUbBZuKq75NFykX3krrigbRfeZRbWIPMWXekayfBSNVwsa1+9PnRZVg4hNYlxuWM2J1xJI9hKGnCmEMSlGYdyjPhZaaYqIqtLi1+lc5LmgIrUyJnMyGJ62fYw2RHPhsD6iqW3WKoiSvlOlmiqUBgpHIwkQmSZV9difjAvgugF5z6a/EJTiHlaHgkOIV10YaEYDecQ+FgDxvw7uNnX8gCX5XDj70h6TRzj/2exO7ak+OnIRv6WDufr7y6bxmGFpMoFKWq6m6Tv6V27xwdllgDrUoPLFbh8ThVfrOlAptOQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211910\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052634742?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9zwv42vyyE6sMXGIF1MOd1Z3UUawseH8\",timestamp=\"1773211911\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tj1R2IEDl76xne/LHFhaS1kowJQhJETUgL6pDvCNr/rSLbXKKa2f0AzferYagX00yODbNRLKySvOn23vE5PrnLWxO6OR8oDmP5FZ25aZJ/G9i/M8o/2S/3gGqejY+Xz6mufO4e2hb4p+wSCIISMdw0k4d/VlQ/3A5eKPzaXholzp01rvh0WaW7uN0ryAS8jGrgfd0imnIXasdaCKo1AKGyEI4BxogPEkvHpPMieRoTx72XNFzI+/Gk68UNyjn6lf0W5frctYgBXOXsVNrWfFe/4rCfr6nlj6mltiqVUrHQ62nHfNAf59iWnBSDD6UISdnyq/7AnZnp24HbG16bsw8g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A2C4CD06108606188DC3EDF50120AEC30128E4C203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1310a09e07bd0fec44b0885a1f6e4a0e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: r+8u0P9VVf+fh8Zr9wDvWV2zohM2wYsClPVBrnhja/a5mC/KuGqbZPAsbr8QTeLYD6Hl1lSd9jCRLeZHcl9YrWhVjadMxVKAr8pHqNM2pdNHxEwbGMTcHw8so0fSG6B6tHsnBN8Qo+XCufqom9EoKOuIt3/5u5miYdP7eIAE0oLfyrnKho/2JpdOZkdQt10NWF4J3FyWuXaL/0FErjJNcFfsUJODzdpYpBiq9ElbmG+7d2fcZ+wg3Tgq4rZo5kCJUGigg5sRd/6mxezvTT3pajXsgt0MHdPFY5pkksHxKwLTb9N0wyt3Xdlst6Cq/ETSkBIghIV5xQ5ZOvDfHpIl7A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211910\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052774148?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZxZFsa0IW16PDDecV2sZsm5d61hPLtKX\",timestamp=\"1773211911\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ATHo7j5+DSWv96PTqrtLtt7aNtlmQY3dodtYV9A14/YB61vEb5WjoZSAE762KKnxHrXBjfwZ7XOuAkrNzufN3WGsppzckG7dw/uKgNjI/tdJmNrz4DT3HY8xCPi1g6AxOSJ2JgZchijt7gfCEVxzB6DajLhXRYb5ABzKvdhxFT4ndrpUI1fpnDzpn4mncYEclf+rVqJ8EPhfYXWhDDEQRui+oiijwIagPAfeaM8aesH9nemDc+1062UULqeg51ZMEPsA8JLmMHI8Y7BKgg4wl7Ot5vBXjqoQ4Bn9gEJ1vW/Gid+rrX51MkLEiFQrrgFWMGd8GQiA5l1QveWDdNAV7A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A2C4CD0610A20718DCE6F8AF0120E4AA4028BB9E06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 63792f30824d264df0d6d38efcf0d83b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VJUp9K2JTrBqFOiYqjZZVDrt0MW81C67sZS9WlVdyeKGiji88BtFiFy/HBfjH5pUlOPPMylFb83b8/ihYlxEPK2mCPWndy3MkDjmk56qxfBMYhfYbmcj1aZC6U5SN23IBy8cNnjtNfVefp7feVJPYXggpN9AYJAJs0c0NcIIMmD/5IbYsuh2vlz3ksihLGLklcf0gxC3g2mB4NkZzn5mDqcZNld6Fno1MTZgJNEo5rS9+/d0APAD4dlVeArSfchGwReVVfcids18qdq9KkhGqrmAtihmoP0VYUI6jI044In23G+OaVvxQ3dpeRfDuGbEr1oDrS1Sv4+TNbCpfpkoXg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211910\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052964022?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"STkwllwq2u1wYuBrnbhdQ57DhqZW6PE5\",timestamp=\"1773211911\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xa3U8GTbHfpUmI7GYNX5PZ0iIZH2H4ZTZIU1WlCsGMRIQWXvQVtFZEOR4zK/1dZ7HOR2GhZIlSrctxbsu1+pXzDT0YtPL7F/wjkrtQpmVavt4JTnnxMp/bDLXWdV99ikviv5PApGH6C3++XAhfuSfrJwFrES91xjHi+Ane0Cd0v1GcxHQLydPfoO2e/fgfZCjHNdDb6TdDqPKaEYmHWvUSOJqU2+XJBPJXDNJf0+/0Jegrs2PBVH03PoHbpi1LCdsXaDp+Sr3F4Ex8fYljxgJNEl3WN/B8q6jSSJV5/b26OkvdVK6CDMG8Dne/02iscwcNqsMQ4mkQmWzPDe7IhVvA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A2C4CD06105918C9D68C58209ACC1128D1E803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 96a9ffbd2db73934226da5867e448db1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d465aG+NW1hATpQ5d/BUMXzUxQW1fcl5XFDqiPQ9B/FKiHVKryhSXtOjhPjoK9HhH3JNXRBZnTkY55brVli02dLYOr8yneoJM2Iqq7ggoNOcYzVCEL4u2c45hpXw8It7JErY7A8vSbquw/yq1lbX+nS3pAvqa9WK11DIZA4nNr6IRJjMW5lIRFPeD7wiPFMed6RPek1RaJjDl248wlz+RNXN2qeQ9rh1sZNfiMHhIQBmcLoZQiIqST4g5q3Crl2lR9LD9SnXi0T+BQaVgVwrD3Wk59ZM+lc6OPXBceOnafxhv7ggtMGyuIA2DILobUcau+X65iCsvOxVy5FpI9S+vg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211911\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053081658?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XWg05gYi3piqTsddGMRB7ItTQcFcgDhw\",timestamp=\"1773211911\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zGxhEM5CtCQFBD2iUNZ/TWq2T4geUL/d8Zjv7OmVhbATJrmjAWiivPSRn7J2QBBohZzwdKZeLTO3pAiY6JYaYZALobkr2GzawRRkCG8QXBoK0MGvW4tCoasiN/HtLAhfF3cymKKFJQNMLF1TAGSVlKXswGz1duhk8n0WMjjju2gFc3dhe5SbbsM5mqRbcW15tZg/kZIKJFqm8YoBnjhpOl1Zlok1Ntfm8snmqcIX1q9blEn7stg+4h19oi0a8ENCRlJGhWG/oOtHEy+VsgpO5VnoacUQGUqil+dAXqivl/zJd7c+wTUdtZ8Wkfhx1DyWvOU9XFh8dfHTrB3wUV9b2w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A2C4CD06108C021895C6C0552090BD2E28859D01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9f2680c230c37608fd4b55350b37bdf7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wes8EXbyYK4vdhElBVFVWggjowstcwHEbmsHDPzdI08BT35jSmTfSjbCaRy6xoVHh5IyAU37X384x5iSDTt5f6z8D+fFXmEPgXlYX0TQ8GdTax9i27tuCHcmNCaXwelL83P940sIc1WBUvHDeZsLVhJn4ldiVR7ZwqHX3tRSFNKITKL3HsLtZ8GEhN/8OjEC6qAgCWTS3XOSwrS3p2e5WtxT107i9Vv4rdET3g1ODVH5zCrNBVFropXNnPUYKlFzrBXBc+m9wV0kPBve70ud7yNRJmUJ/NsHxqF9c3HWwEqww3Z9qTv4brnSYEgL/79TJ/ObeAT6Vpiwe3j8guUVig==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211911\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053177534?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mbU0xzgYXovCN7oDC2LhvyhGt9AfDxhS\",timestamp=\"1773211911\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GdhnA4+adr3gcbAsUXaUdXwKBRN2N6ZdRQV8u40tNAnZ5gt8ZzDktPlBi/tbx25OAAa3ZqMshmB1DYd+02ErEtvJHvW62bbRPmKRejJSbD0eAs3uuCZMuTFjqt4rWHlY6H90P0wqQljxVqLzJsxA4COfKnadrNn30kUQ1oNxcMtvNY2VLq3sgCQ3ehpNDE2XfLe5CKSK7SMWDqddsC1mf2OEc34plmQefx+z8E1pYqCt3x8T/fAgU/5z5JaFThkJrmTjEEOybkv7JN+vPXei8T0A0xGt4/ZcuBv2iJbFlCsypttJN36CWA3nd+EC9LkRjh/vyjYquwbjaWFP5wfZkw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A2C4CD0610BD03188DC5C055209EDD3228FE51-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a42a5becd17c34628f8845ddbeb0472c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RAUTps6EjcaAb/qpZtjWTnIkuzKf3GpuqvyIAYYk16lqg8wDC3vWQfwwUGuileCRKkAbOpo5BZu0aGjhqhZAn5amjjZAdk2C0hKcUGkb/e8buX2AKJODWe7Qx+GBoVpsuAcYRQ93TCCaOl9i8ir4sq3GkeAI0XNfONYr+BMHFOGRJVY23OJnwLkyLtrTklqud53jHsiwvpXNve2Hw6jIK3/ldjT86xV19Q921vEoftHnEZMau92Kx3o9rmorHlde47zrC8waOHauobhMOlbWrCs2Wc8fuVV/N20rfI6BcmOWzjOLHq77zv+7kScQ2Z77Yf750+PUcTj/NHW7IJql1w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211911\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053213642?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6UUGPzQ5C1fHwfh2ZQlSMX59c8335qIF\",timestamp=\"1773211912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GaK9RsR2d0nBEDpFVOiKQkK/U+Hwf0jVcXIWSWxGC+QqirfYc6q2eG2llYUgCHLM21GrkXTnVPASeBmkvX7Z6RPuy/iX+XBElXhQXpz9JfKIgJsA/86JLVgCK+Da/SHDugjx1BxL8FGx5ycD8B9bR4/2QO9C6Ri5tQUXOya8/1UEWGxdVYpcmALyw9ScNYzfg5fBcFTEtN2AJk9/P7bPsYn0cTUAypyvqFeH/kOyc6Xr32eOuldGLBo8k46vxnFdABWE+nM1SiG7mbt48ItZX75BDtUqK4bPnw2QaO594fBzidMmN7AtFfUtAUTDZayRwAyLMRA1yil+L7UtEKkEbQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A2C4CD0610F70418BBCCC05520DEE41028B0CE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0296f9a3cd0a960b9b42d779f8737d4e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: r/XtYbpiK51nV3zM1/nU4XRBi3+3HJQ0Ou1W8NwwQKfPlq7B+jLasgOTpKI+2ATmZYC0ly15jWr1130THjQT5sflAj1U4t9AgY+stIiu344nEabNnMTOOQ2cO2E/QAbRoDSmdNzuWkUNq41XyrzfRkum4okmNsiCTzesX1aKqpD/x63deKuQnGJ3MvOQeCHcTYyxmYWeP2KCo0CBnyfOUkfLFsRYanqNv+OxATko5JuMI2nLNW45UaZKVFhuWIa52FagAMRdOyL+G1yf0MKauMNjqNhPD4kZAzYHKtztoXVbWVnlo30pFldB0ucYXna8ltieWaXdihGeDC3ilBXs7Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211911\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053252317?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JXGzosPe9N6ssRVZpvGoIM3VJCyC5gNC\",timestamp=\"1773211912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zWZ7iywYdFjGeAN4OTLDP68aNVFqelblBTQk2D9R8tryofU6mjibaOJhdx2hQX+kImDKDHJ314gCrWd97AhM8Zf1v4EpvXRDI666n2tPdRZZUDmPJk785QqHSXlWtAfTuSxlluCqYunUtQjM+HjcYjFW5EqFDrl8IGh0kzUlOXzg5pVLw20sXMkmlAXwmVEQblnvxvXguN3FUf1bL+9f5RRPZpbKZunFUNwVzksOy519NInR4/qzM/00YujO8QO2z1d0t2jnE3ad1dIXeNHVEJCadyZ8GHZa6fEz3sIpkyjRmR6FP3pcfkTaiNYifU/Z0cUAzLtw4pgxR/hyb15bTQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A2C4CD0610A00618F6E4F8AF012090840628A4E702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d205bae26ba927b24090284f0bb3d10a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: axe0P5Lj6UmpkntKXxD6yPYQS3oXGiIXAI9IuEt/nGllKtLcuJV97k/7Ul/Nw95r/IicY/tbRYCnC6t9fABiZmoO/qE9wRjyRyzGJJyToAVqpxKfqSwu3tVBP9oyZVTp+jNDWT/U5qEX8tRdLBrPogWAndWczOWGpPTdcjfCJ/WIy9u/WKBjva6N/GKBEDUDt6UtR/5KtoTUBazY2941O+2P+A9iF5NBFvnp+mSbnNkGFmc3qgzS43oSyz31KHqYcK7xaATdALBIcaOSsG21giyusTr+TcJ4KgvNhg9+tzCSnJo4cMulyP6goK1YkqmuiXp/P6rGnC8JpcrPuZy6Wg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211911\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053708980?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ffcdn0YFw0cuUslKSStCRhjO9AIvXCgJ\",timestamp=\"1773211912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3d9bJ8Itw3sEE+NRlQJ7IvN+BlQscnDK/xF5fTXAwIOdk+KrbN2CLWOjRtmDitm0lCYpuAH6qZhaWrozUliqIIwAWe1Q/m/ebeBqBSWRHzeBfomYso35DfkOHn+yh3qitgy8bFVyb0dfuQOFoM14zVoqWFINbJ7zExUdtj3ej7zKc7Jbb67Q3pdzUTV8gVLDxeMYe9bjgiIF6azEmydKY1q3tQaVMro8RhAEP660DibLgf0AbQ+kgMSYBs6T80igPvfvhICMCViQPWOVRBiQwHCbp2uWDKu+AMcUwMZ8JEBdW/nFnVbs1fCGeGhNFlN3U4Wk6ngiPHBp+lIgmwNlug==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A2C4CD0610C507188BDA8C5820A6D71528DF8602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 501578e473b4f54818e456a6fc8b5c7a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NPLfdBXAhcs2WvG2GlsrNcZ+JWn5TXTlYQCObRqUq7sDu1wLx9rsUmgJRymgxHH5YHK+9ECjlrL+cLYAl6+8EgTHAagbx1Pwqha79Sjm0nJbKjkwQL6oO9xyb9n+Fi/h10TblIXg0op0tcO/vA0UvbDIpysFsn/KvAtO583xRdnyeoHKgy0VzWujJaLFIj7kJ1gFFB8nQMaXSJ5j0OTSfMqj2GSFYu/81UUx7e6xF+OmihJiKMFFVuMudeApBun1aUEFJDNggRs3EUZzs1TGMOudrti6J46YrWinmDOlOQK+AUPO20s4PfeC+X++tD0EXFlKTLmtn6KyE0qezViNIA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053825266?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fnHBvGZUDaBg3AVHOu0wN6dY7ccnxRpa\",timestamp=\"1773211912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YzrZU65ZYv7UMn33pK9Hc9XqLj1e4/0FYsnkws9c8WO+H/c4Zv12x2LKLMfLu+zn6YRyUFLDmXipRcuqiV52HS/A/BZMkYpY1Puaj3F8CeyPAHZrmcpL+iV7B/KQ4JPOYB0dqlLW4FKUPApUHpPhRc2uoJQxL2eVtuOTA/K19/CLqpf1imPsIPIW+aFTkRSzA8C/hYVzSGH/8krWDxEc/hRPGGh2T6QuMOBGjeca+Nhht68bQfVQIJ22RXZKK3byLXTtqajmeTD1NHo5q4O40z2A351gd58DTLLMllOPRxk3zXD2b9xZW0ya2FjLDiY3ZP6iwHdEheOTKzFAqQa1/w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A2C4CD06108C0118B4C18C5820B0E10128D2CE01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 312d3a24c2a9ad65fda05a9b9b62fdc8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: a3oBUYhSWQxfYvmSeMnm2gx+q/6SK7ytEKAa46hQUJlPwOouRJqhdTj0cE5wCaVCeZiOjQefDqyUvv6WMwubrsFQ6F5RJNAkos1cmn/kp6p9bzQIrEojcvD/W+X3NSeG2au36pHhjYtyTn+EIZTKtY6VgzTzAIPi5+Ka8I+RCxz79+nRecqRmKzYc38SmWXlnLAYfzL55DBHJE8t7iK1RH91HcSE1XiWGmnotPUvZw8zIOI9zNg55t/uAi44dDBcALfjycaOlCzq8lYUeViAufXXHWbpWT6YTRgiVJAorK/sxcPSRQRV7IYJixeOxZ4bv1rs7LtCLznAD7b8Igq79g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123054106015?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FL2eL9y1Srfqvvg8QD4pKht5F1HKw0ZN\",timestamp=\"1773211912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fzmJ84DJuH67jIHpxfYFPwHWEqQUfHMN7YYK3+zaDKomgEU8iIQk1/6/fOfHHawKF7JR/GJivcYlIi0taU3mlkIJiPEV1KymEwt4ScJ0xVDRx55kTp5y7eW1ecpGlHIoe896ZSWtm1GMEmIjbCEXuk0ap0H0qx9ryMHViPTChMPpiPeNiosQycLrC0H1HsEQQBba5L51HEdngyOt+rHTaUO2+4yoWW7v9A1NSc/5+BNMEaqUPFykRMoTCwWbAge1W/gqlVa+b17IGtxyTOTu1iBaerJSxLynX+BJW/gOOptlwMrkI8QBvHG9GjzaLWDkeAkJRDN4JCbZOwOMufdA/w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A2C4CD0610BD0218FEDB8C5820C689102898F403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 76c773ffb49d2f534358c506520cfc67\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Y8wicalri0vhXPuRr/21VL+D4F3u6Izg0SrNUd/w0sbldXS96z5lXUZahJ1yYSZ4pdAktEp7Ye1BFM2eJsMp+v0DSwrKbmRPQKpC/gzjxLBnQfOvnnPqJ80x0pYUhMtrUNd5cOp4iRGHMwRPVQCsinqhkCWc9nmauJ/dUDEEmQgWWmfBEFcqsQx5Rec3O6WdJN2DKDOHp0DiuixCXFtYtyb96JddMDvas5LwoICYqdvShoHHmfZJGvCoB5nRMR9+s7OHNKSSi7NQnrO02gluzGBP+P4PmEoI/TXdEk1HnBKu9dGeiRYk83bo5gD5P59/4mTLEmMPNsYIfeBGjtpM3A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055061717?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YEzuIqZzMx43O1Num8RiqE5PSvAgqrit\",timestamp=\"1773211912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VGmaYhyb8bV9n2dyqWTcJ1kEWZCA93Jjj+PjxEYJjK5/c5NRBQp6cnECjOB7YrcSUEo6aZ12ijpDa/WTamUPG/FuiYl7pMDuZ/N53HsBwfxQtkDJ9Xeliluh/ANge+GdU4HULm2d/rKVPSFbUEzBMNGCqQIPF3ifO9fxz2H4OmrPRognCvzGKKLBgAQHsGXl7juTMWxwoUF8FXHWBqN6dEDxtTMMIU25tVL7ULVDSOZK7Gvx7c/QymVc5y5lvEvAUzOhh8Rs+ATOssoe7xhsH4+v1nd46kntNPgZKAC5L2upw+33+PKREaAGVc4ohXyrFACYFOd9M91iBXRMjO3iww==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A2C4CD0610EB03189CB2F8AF012084E52928DBA204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c3afd120e37c650b6ad5851f7387e5c3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JE9Ej58HZHw4jZOOSCiyUwO9btT39ZXHZ79xbZqMCcZaToT45VyEvevor/LpuUF4CpNhURXHJNb8NwOcFY9JOmn6j9Dk1sfChgDw9JOF9OetlQAutLnTy4dSUGO3vcJ1LNeBBoihQqBLzOeFkzobXVlXNz1Jw0wBf5yejjnXk1gtNSEuTRo5NZ6cKE5KsWTX62wefAx8bCpmqcCVMZZHLi4e8UeElq3XVQiDL0AybAWrENSGfZReAOMRyetUKqMYz6mUv1FefokyEwYgfiV9+BCvpsmupUubLKdN1MdZPkSD7s9kzHUh8+uYddHyZ6TvnCnVezoO2zkCQpcjowUh9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055313406?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"L0hObIiQw2i5E1gxt47v3iXDVgMDV0m8\",timestamp=\"1773211913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"F9OxnsOWtmuFl+GrVha+U4Hkmro8CxZNbGRlOMOFojfX5bRZlvu5rvsvmnJbFOqF73lwyZDWammDgwbAZHTDpgZM9vvz+ngFa7HX0djM5i4IGWZZ7Epb44VglQBGx2hG38J82xGSmG7Vf6yqr34qNGNGOhK7bw1flvoxSz/bLGaKFCoBtSRnTUElKugM4bwUtwOhvRdH0hK+80JQxkMuBLIFZly/lw6/vyNu7YTNM/DQGpmAP2ayKGi4KNhJ/LvVaTm/Nnx+2feb96lTt5Izom1SW4ziYdQdtJErah8Fdc2ZRuUAY40p1rK5vB57tS+ZugUIFgMic8bW86raBJJMYw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A2C4CD06109E0518C6CEC05520AC2F28FEBB05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9ebb80a80e3f328d9ea03ff843912e43\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DXpm8EAp4Zn2djfQsNsje/McePcG7JIlANu32o829ITA0zraQea6Aj459tLrSAHO4Z1U0UboqfEi8N5tLXgZZrEF0Lb0DTHBBNlXKebXXVfgGk869DEyFj3rgkckgLYG/sitUENCtGZOu8RP+qRQ7yy6CReTxOWS4PpzcMKTsoGPdnr/aZDHi+akj2uiY/tg5dpmHH9gvfN8fhcbxOF0Q4ImRqlKvDKn/VGpaNWhrYAxcwYJi0ivaP5hvzYTdscNA6q0q0L8+FiiZ+oA2Ry6hWhq+btAUkRNC+jqZn2d1uvZ+vHqvAIGUQir4SRH32K3JjHFxDKfZEXQvchb3L4JHQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055633142?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EaakquP87RbMi5fXOyar9sAs88eoKO2H\",timestamp=\"1773211913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"URQ2ew8Qd3gaZmCJHSZ9iqkgHrfKusLqMT+AhylXZ1JTg7hg6W+l2+ZY1GvvnpJBAo8mxDPzT5PH+xzeOtsu6Wty3PJgxuF+jOYMWX2Q7ytQRCN7orb1HDmcQn6BVM9bg0nVk6gaXsc3+H8JG/m3qkfgwC2+nFR3ckJqjgyBfMAmmXdtvZ1uGTGrD6Ze4yUG/+rLTqWUt3iQgfi6VL5FRy//NmT/Q7p+LploDaatK+katgEA+JQ07pnYwDjCEkGYaAcaShlmPoUIAXZ+fyK8ii6EdUOLH6P3wPuwaYI7lYs6VDiLCV2v75SEsj1JKnZ2HnVIeTTWLLsebDOOzgDulw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A2C4CD0610CF0618FBE6F8AF0120BAB50E2896EA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 257860087ded1e881ad6414a81bcee24\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZfBlatHV7arZH+2+SOsJSKb9+lJLzkQOQOs4Eav4WXeh5Rxb2Z9auJtuf2riq207YrdooCzhzAhdFeDnoxFoYlWUm9DrbuXJ5dTaIFfKmihqP4Uh4Ahq9MFQ8QzqCRuxqyP+kix/q9zDvoaA5Dl820enBqF0jCGPm9xK+Q8dHhKPsX0VAtqSqf53rXtoyfGFUJiMi9ffNAONRMiLT9195Ipkf2bQo7LWYjRKSdl9GADqmUr6wD1FgWdPSSY+yuaa9yjiP9jL47jGlH5IdnYMVro1uWGoU1L/Q2g1bz/3F6l2gMzLVVxKvtlKYT9LlZ36HzeIhl90Y3pd6diI6MyCVA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055810677?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0MmlXQbpwNcW4WQcIloPX1ghijE5FOXy\",timestamp=\"1773211913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6AfQKl6vTWl/AA91+bnNEOsGSxS30FO9zhXTSgn0Q9YgF5Qs/DCkKcXKQoGP+LFQK48aQu5WwqIjH3jef8hK2lprvuhXpjMHSsoUNqSsqwfckVqCqA1n0JD8/QK9WMooUIh9pKbX+vdCXxda5UgZnpjp3dQb1p62VLnC5BrPidjQOXkgXTpkeQpKRo5THB3v+XRltSyAHkM0qwOQDVz/HnDu6H/Qfe5hN5BwT1vmNgpTjP00at4+dEHYrizLUwu7CMK5qongp3auMiyBzdB8K/PRO98VeLghpjAAU89+nooz6Tyj6oUokkeDtXWSemiUeD+HREIgo4QEa39gv6j8ig==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A2C4CD06102918F2E4F8AF0120E8950628FADF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d451a63e6eea733b0fd231c479c7aaf1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: k6tJbjSMDm6njVd2RHo+D5/D5SUV04SMLzHfIZD3gO+FOhK+UNltWcURIywdkDKjLZFUJsFiUxY9PJXiUwzPQc8c3p27X8KjP/X1d3wiCnUOifh+8U5HsdLd0fJWQS3wE1h8W1JHHFHwfmqWefbe2pa0lrO8ahZEsEhi7BA4ErcEJecf1UGNMMPss+PSZUtsPIXbyYF5WBOAGRFhqWGA9/ZfXM6sRLEFl8qUAt8lRBTfyct9AwECjKSHx4dqeV8K7rCLH6f/dusnFexcl4WPH0Gx3vMhB93MYnqM2oz6HfpJuGSwUiczztj2l1r4XJJGhxmLEImRSxhZyrfacqruuQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055939506?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xhzgkz5SwsIR7k5yML8NQTqaNqrw0KAq\",timestamp=\"1773211913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YYkGzEHURCvb+sCB0+EjpTiA+KGOiHmGuFhH1UizjzjeaRzad0ya3oGRyqFE6TcjhoVpp9GK/ySGyrPt6y3Dwm420aNfqdm4lW4yTpwyVJLCKk01hDQ8hHXgMErEtX3kgo7hEcNtFGwgFkgxGKOQADhIv0asITIRP96doNCsPFSUd9eW7KvH6hTR8IEdAwQ9oVHUT4uIauV1ewlOQYwHnnV8vdciiJsP7F8wmKAHds25KBknYtaft4bm90yKEtk9c+Hv6d+BdZtH0T0Qd4qP16PVtFc3q7lUy9HBKOm9TJNNdRWm2axxxrWUp9X5vGVQLxWGMhrvovhl7VVnbPfIsQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A2C4CD0610BF0118E4BAC05520C8AE0228928F02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1cfb4b14e47c584ef74520ec1c1c657f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: It/Kutj+Fy/PFsnUUskPOFX84/G5U4oFNljeqGuS1H/mKoyHmRl6QJmrHVcZ1Zalvuww8KmGrwxrmymialI9D8MWppqBt+YP3XrR47juzA2t4ksPT8uTD7cSYBoebtlMQFsNXJuJE56FVakDcgVKd4A9gvJVW9XRoItEFhsOXRAffu+mEuMf35Yu8PUssyvFslee7/LMA8bU6p9C2L+LhezNaHzPrslq73dWe/fY/G721bTV7Oe6GctC96zg5HgNmpgmw/XnPJNWQ0BCjetWTD2/Xefci0i+VfelzAS0U2hiJEOudjLmab5jjXjMKczDvxRhF/DVw5ynB6szgBBEdw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123056137837?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"avEfLbrOifeRV3bYe84XZpFTZUJoXZqr\",timestamp=\"1773211913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"htmZVGqcH0Tmg9um6xandV4jq+A45Y6PD9xuQwHZbNZu6zWU6bDYd/tsH4/lUMjsFmPnAguhy07PLTo4peK2xLnQIfcFfY2WE7n/Ft6Db0LYpTidrSRGt0PRfBAerzO8QTqTj8vN0J9YPd3PGz9coNYFAYHGePsnhbCsplaMC2u5hwciDPWMcZX+B/F4Y3/OXHJazm0IVghyhRANljQu7aIjK8ib+J0i9uNh+EK4JVRd8sGPuP6HmmHKwSiPXYHTiAUG06OXEd3oQSpY6X8s17BjdSq2EUxjJUL4ShKIJti80dighg9s7CwM2Ec/sVOV0RrYKZelgw+AlyrcIUEpHg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A2C4CD0610E80218ADABF8AF0120CE3928B5C203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 731b90e38cc8ba8b909b26681ced7767\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mfrQ5nu0jr1tfvbpeRRgUCt4HGgDPaQd3/5X3DHYRzn3piZ4zCunfzkK9DRfpdduFjRyOdnYIItJGyet41dzTG9zA3L3D07kRThrVuyHeGspfwGOBdJVdg7vm36ImfZLkO6Rmv3Y47ZvXrFqFRd5iCPfWo5Nbauoo9xbuxP7w3BcwOmjOuKwQRiv9yYgTanJBT5rzNLOQEn2GkauVh+VgHWnmSYUqd0gFFhMm8lSgZU5CqlAJQR6G5PqG7g+idAWTSzN3+5c7OgvxfEPEBoVRFDTRSPpISZAXrm1J6EvGj9/LZc5n9p5OJ4vqgDybUTPLldBVcNQ7XH3I31u5RQhXw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123056707042?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qmi0ZamHmQm2EHQhqzhKtpoRRStdMxIC\",timestamp=\"1773211913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"i3lnPAE4MqTaeX9B8pwuHH8rIoCmuZmJO3VShTkZdmQklc1NsSPawpBrVIHxKH1cXeWOco9wDCZ9h4qlQW6QPwB/q3PYjumm+n8eo7UaOPC8SRTT/Iz2EK6NNKo+6jSLV+CqShOkM+eRO9tTqN0MQ1JPPOxfu7WLu17IaKU/+BJOuQy2QkYNt9LPTT9iR5H6T7ilu/Q23a93hRK66ohS9raKND+PWYaL+v9iwSOPSxJ5w81pGfqAVtBDOB/rbEnzK/B8xEkKfo3f3DeoqR5QgS2iD2Wx1kiONEXG8yEVNWQUaDLVsoMiPjnR51i4Xlq3yPIoq4CpErPuZotT8oibLg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A2C4CD0610830418ECB2F8AF0120CAD90328FCC003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 57287b7f18e51308917c27f1631c46eb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IF7JRAxD8T3ifnYTGZql8w4bAvyhUYWzZUo9hN2RjES+UPNg2vPrYSmmCdkjPtEc9tbFEnG5pkqpcLteWCFdBzBhYYU4kRjsWegobi4tASborYm6fVmAkXdUoJme+VI2hztbxxuydQO29x3Z8ICWuP1DNmihB3TG23yPAluNpYQvw32DQyXkzivEFeaUYaSqPbYKdW6qVs51XzGOzcYjjdW4slPx4xnnyoDFcQQuWUj2NGoL6HzRlZZpUegH8UIi+UKEA9ytppVLfSLrMbGLemrAZrFJOeYX5uMvPmoutvPvjEhx9yKBhc632JgfH3+bKB2nEGCzJ0mRzqFqt7LvTw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123056833803?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"33BKZo2d6hPhIMjwgeoCQeaUeXIHqxWC\",timestamp=\"1773211914\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IU8qJnSaAk3oYQkkMSuYb05J9tH5Fl+ZIqukiir4Z72Xk0z/uLSq3oV54E80Jg/vwf8+XbRRnH88oJl3tbXUcEXCfTtDi0IW5Pz4lDO0Hq0Veerlq8pG1k8W73PA2PuYI4MaMnrkbYjg8x/EPdDXuY2s/QofkwUFqLMPw5Vs9nKtVtybf7pMpmlhlB+MDUU+d/oS7VymqmoKcjl2Kp17n7oPlCcpvOP/vmqTC+8Oj5fE8G7xeVe+4z05/W7WmFeRoOTgCpM8sLGznt8W7yZCzdodHehvciOI38KkqkJGZK9EIeZphSdSX6fTXxcs0X0q60cw5AXrU8Iht0EMQOtraw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A2C4CD0610A70518D3E3F8AF0120ACB21A28968C02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b39b59582e2d1287e76e9e8e9b522f48\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: grLr9chc4EBSFwicFFPHOLo4ofRZouaF8/KkG3VoWLT5xLyhSsgRiMeP/wrqFmXrvVjmehWz260Wgbmtf/8mozj6QuPpXQcP4qlHG+HTo+kUpBsbuiALoHZ/cOmTu7fUb6aoKYxHSoZnna6mmc1uI7m4QP7wNCsVleU3jMBNC0V4qLMkqvZYTB62/Pgx+7WdYR49ggKWR/QWXAtOh1o6eiOLmvECE8UeDrDBLx6L3KLvuIQQQ1RP5ynUPqNvkQxiLtroqVX8XxKgaa6QqbaZZo4DYbJ/FvzzvTRDsZoApblytIF4WmdKEwOu6Iw13Kq7bv0JHYsuQgsjgrlE7WCfoA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058213346?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hI9cLvkXSgh0223DWZbTNOd8DfDDTuA5\",timestamp=\"1773211914\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KrjH73d9pKB/Z/OoPQ77/PlVQvuL7lmTFhD5HeVn1YhrZFSDZYQja+mHoQ5vpbw5M40qB5gI0uudQMVw5wK0VcXFqzLyGaPGy3cfhEnfOOnLjvOvVyfDljjbAeXKycHhn7IPGbCoZwk8zHs+/akl3x/4ELbi4WXi+FZn3WyPSRuzD6O1fxngeYN1VS5yey1ylcPBgWR49RpHxNdUcZd3jmcrjD187Ul0Vhaj86QDdoz8T5rMP318uvl8nH677VocNpV1za1UIH2/Q8dsRHgLK8s9Zt2hCz6c9VQehv4D2fcZpwnFgy7Psa7MNF3cRFdwm3zbHASEZGisi3n5YUNzTw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A2C4CD0610DB0618E8C5C05520848D2A28DBCC02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 04b7b4f9e83681c0f79be71e41d09081\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oPcEovNd6z4IFgIMpCXwGH+bmunHSjHN9aQds0YX0UR7yia8TxHnDIqlG/qgH8vndsp6+28xAM6YkVmx6CZ22guLdVDcSblxispstqpo0l77vbnrEHEIEbOJpOA4j+OwxIRE0uxPV1TuGAjN6D4sQTpTfEBX5MyQJZgEydJ51HpLWPzoNYFu0LWDddTMghGMvA3L5CqORNrcm+eq+gqm4Oat4SxWntHLvmflv4TUWe+KJVfAv8ZNaq1P5V67N+TrtvlI6IjT+C4HtaDhhAnK06V8khvCn/ng/Wuitt5DLiJRVWKMEGUTo3RLuKQja8GGG3vmLk24SxA4wVlHP9Senw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058226910?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"B8I3ix81Yx5y9sr3tKfqAXmfPSP2uu3C\",timestamp=\"1773211914\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"l5qLDSwKhhiMXBYDHPgZwu7N0GTrbtON/D4qFPTmgt2GEzYJYCz+VawkEa1qUREzcHFcvp9CuQKyaQWCGy9+dFR3KINXCwol+Oca6ruR1Z+gA+odmz4x5vcKbiHTMVW+ldZFU2jFG5epI5MjRFFKB2S3hr8jPG27qbIDpfymZ9yc1Hv+FhzqKSi2JtiKjuHjqxpjlqFgvq5vEIPu6tU/0qmy4gA7bh9Phmf8I8zF5oygm6F1hEVNzHy7A4SZVyRfqzC05ud346Y0wjuMw51PyaEeh7E7LslgPGEPMypDu7MpQyxNHEYT8ca5d1XfRyG9lnn1sl26OjC5INLY+YUgzQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA2C4CD06101918E0E3F8AF0120D2B11728F5D204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a81d7be7eaed3d604e12ce851b934a57\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TBMfBFWyTMkRPwYhsvPjykpJmK4IGAZtC2lMqDIjRUTL3mTD9R/rhpm5ypBnfgUNVsBYqpx77nBD2jR+VY+r2qRZtjdQxOWF+dFRV/nw4anN/nX1F+6BHLDaSvS9LkC9tnqjCao0lA/bZNWddjyZwX0Ax/rWy/GLOADvon/Hd0mquvJdBUGZ/p1oW00Cy1p9DZ6SBaYSssOCnmrDlRUigIA/X41Jyn03G9GYazOwvddCESL5wgxlIG00N7gNAzSE2t0ilWlr7tJdHFmkmj+J8aeP7izLaMaVZ69HAvv/FoRY7QvjqiM1yZpxDOySYFpnNAMY1unqnQFqAyGw2w400A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211914\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058277683?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PvgvIEFKmLrInMyS3TrT38pTOOHZBdc5\",timestamp=\"1773211914\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0QAhF2/p4abw/yGwzaf1CAb3HnqhbJu8VsjUo72XUOejws7bEhaC7rGLTaGo1snGkN4TIGxODIf/8/a0CqEclbPbk0kustqGFmJGIo+oX9WfbNGjBYEB4g+fgngAHtgsEZ+3nJDvE4txjrdh7+AR9UJGBV2q9b1lkCz2S06aYgFiV64i5o756YkSE+AXheO2lgdMOt4KgcOPXLATuQhZs44A/z5T12gNj2q5/sHApnMhNoUE3L4TBovaHhZsLw2OBdUS9Cd0idVzF5WJr2lNTpJlmxNEyruwc7LfuJmCuxcQR0fM5bkEP3o9/rNd4O6paCDALHpkGGGhFN+j0YELLA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA2C4CD0610E20118F8AAF8AF0120C0F92F28A69605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2e133e6f8c2bc50a58b349382a756224\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QwBRnzqRCTYQvGDrTvU5g6ydoX5VxN+xk8miMTFxqkn0xTngUfY042tI5eF3pzqmVMWghfsH5AvM9VVvE3JM6KuhhoZ48X4bzY+FTVGy6b5VieXEdykYqM/YU9NRj3Zb29yfUX/QRUDn69CSsd5m1YVurv+uOOtbDLgAgoTdStVzR1emkFoiFWLs9rYfxEMphk7f0q2e9/mFaUeQY38N6QRQfYYGPQpe5o5XAPpRrgeQnGP0KiDyoblhAo53CFfjysj4ItKnK1zJfitDzaMFcaGuKWltnp8osSn/unhHuWon2FC73YGpaTWIRApMF2qJ4jj6+vM/bOhUHRSoGYMrnw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211914\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058825973?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JCEQLjk2bYeUN4g1V98ShyTkLOTyU4DI\",timestamp=\"1773211914\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3pARhEbuzuxkycG5YcjprSUiAr+aZaCsp530GTnxs3yozSmKXCRx6e9JC13pNpIIg8EuJ+IisGtj3+POto1PeLonmlxX6WG7/yEfnZUniZpNyYiaXKXIontyk5NnK9S/thNQ9M/WjuBLe0L3487JnU2ArHSx3KGmNDWvnB2LxXDmfj0w1baBiufbTDbLfa3erDDFLWq8AJGxAXcP0NNT05mqlfJGwY6YKw7fOhkcUFS1yTUFlXlK83XSghsYCcqv5QrMJKV2WqfhMOYkSwrXWzBHZfy2G/TXkaQCH9zRCKxUm7Mva5D8iMNgNh5YXeVYxlQUFjJ+m58N9g2uB0GKxw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA2C4CD0610A00318DD9F85AB0120CCB30A28ABAA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: faa21853a473e3f91c61c884f6d125f1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: k0N7CHrBabIB6py1vtRrNB0KiGMjpdw2CxZvLWUGsCjE2HImlXuUSWCFTTDL1DWBQ0OW/9K10X++2gGo4P2UelXeJhIjH7/UhjITMtfLd9FhLtzKOfs25MdgJIbSp00BD2N0zjEAX7wXBafSY/CoDkWVxskdco3YZA9/B9DlOa/0lvUVD/LmmsvZXACq+wRnbX5RMWfZauXxpTN2adgkocWMppa85/pVulLasI4cr+/X3SmQ0P5bFePA6d0B6bpaGF0UVjn+KFwq+wh7GRQxBMqTfir6H97yrz+n3G34olY7gdcr+OxcvROuHjoZXaQEvemaN6PmA58646B4kOJH/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211914\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059019415?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JTQ4WE0CcVlaAD1UVYO6IJ9XpAVYw59T\",timestamp=\"1773211914\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xoy+yMBHE15wh5Mxg0tzxQuCcKjz/qhdhFsyevQkVaOgD9gsxkPzPGCVrkXn40pVVKvA95621W+MZfGfljiPIwh6CwoQx7PQ72hZmqT7cM2p595pkN0JIXUd7YYhpcyYf8iJyP50kerb9Zwgm8yw+f9TJdH4qa9gzpvfyNx3AjCIxeplvRxKZtnulfzQkot0LRIDhVXsMPUjdx2Jm7n4a/VdYezhSUknTfeyXr62aL14TXDn0+orSlv5+esTSGXDO/xHs2vf1SUIahaHKPOggl3EvKknopiiTfvWItZMQ3E+pv1tr/5IThy4t9fU7Fz49QVlGKPKpGHgPxJEf5x2Xg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA2C4CD0610BE0418AAC6C05520DC901428D05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 331267dd9af990c44bae2bf8152389f8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aX9qclPHRVvbuHgZkNkM0XyEw3u6AriLXdBPkcEuU0+ZXEqi9VM4HgDg7N0R0eKl0FRilTZQ6GOoIBv+wrJIEzK8LvvCtfYTkXOifFV5kiUbDGDAebx74q1umPxfaTYnF4NV3U3JINCg4fUgqi/8BlQFafFV3MPgu8KNxiYTO8LwcgHOnR7PoNq7xHMHu7eZWc/iyp/wU0Qt0V/xxuqFPZ6rB3f/a3Aul5z+p5HA+hAYfppPyQfbTdP2t0XhgFyGCZJnpb5YLhvqYy0NRlCpfj0GQQxPbKhdsvJ6zlsmQ7HWLh+e+mpOiLyCccNq6bvBfkgra1cx7j7JV7ISAmjtQg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211914\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059077577?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WOaUhUm2r2gYNlmlxJzRpW70Vfynv8wq\",timestamp=\"1773211915\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xsjUOjSK7mCBywOoM/lcctWKphHiygPMPHz9wJHJwg4qUHlHMt7Z78YJkN9nerBY1jdkpl/m06T3vNbQBqJ9wrIreBaWB+WDOOGFgXiQfC9E2p3jpqd55QDlwWy9NmNiw1aizOdyF9UPegYIRKNCGmScxsFhia4LPvR+pQ7+iIKbeg+uvDVp+BZNHN6xe6yVbhc/ifjAYJBaalH+kHcuodUYBfMNXV8v1XiQp9SbXdiPMJsncFXBBgeUDO9fCwBcFCqh4o1YPPZA8zXXLeJRWhXTR46ICjv+kU+lMKhcJUojQjUYAJ9ZmPjgUbz+1kQVb24Y3Ei3n8Qw4D+k0JXXGQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA2C4CD0610830618BEDB8C5820CAD81E28A5CD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d6fa67bb7c3651269a2411a8fc741c75\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Hzkk6QnizXUhwDiFP0XA7r0nIJasMGGthnTgmwBbdCCg6lm77w3dJ7pXIJNaTAYDZoXnGhD+J6s+vlXe4J+f4OKNq9dG2gzrgN3rL2jTffTKC6MSkJ1ZfbrM0c0U/yOjoblDsM294JoM/yUwdBtKZpUCtuJcN9/H4YfvBdibVoZgQ4loGpzCO4MR6TJQQk0O2H4s5wjQD+3y/zh+zo0kQkdngbXxaLAQJFRwtOKrinKHnaUVmGaWdm1WuFFQwerJ7PQ9q+WgYuIXuReUWlJVqEaIh12BBh3dub7EL/MyQD6R06aKFz1duMHUMw261vj3urkOAUyVYksNJDtWSJVd+A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211914\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059166666?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FeEPSnUc3crAR7422jaU5h3nHRzXZx1j\",timestamp=\"1773211915\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rqdYiVAeq9Pu+ZRCL+w/ZSRzgra4SyZhvSbldM7UZxWsovrZYjn9Yx91POqxZKkyavq9ltYUoL8Q54z+YUt/pJMAjQWGAKcir+T6UKD5VhFl/JFy8BEveq/LeNek1tIsHQPZuluwFhGM/2/ER8h2vgiuTmI5u0Isy0sJhpdZeu3fAE5mv27Qz24gXb2A22DM02DEqcxv3/6oLmgHDlw7aR0IwuRIjQb6Ch+GaUCqLbuoS+jyGfDl80blGSoUPQLpZck8/0je3mwW7yROpJqd/RYept1BT25Ccop9EWKWq7IEsAaIunDG0BLRxGWdUGDEGNqlyekKnF71KcvBTgsY8A==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA2C4CD0610B50718D0B1F8AF0120A4EB2B289DB305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f04c184c2536c573280be0957049af3d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Z/qJ0HXYZLW0cZaWQdgGJDeCAJnz7F6SJY1rzJ69ShTi7HNJyrtn4f0G0pgx4fVMDvUnDtdaTlUezrYBJFhAJNzAdnTUvaatYdHVccmPP+tYW0MwmsRNqeQQPXITX5Qfkmo58lULS0JLfTtvC+q92qY5ZuKfqmqskSyxYZdbIT18N02l0g527B1IBWBqCwKrLAbqSJ/aqLh+TFQYuTuPu/GaCfHgpmdGi8mSLZ5jWGmaEQ4vJNmyXGwWSZjTYNPDHqSchRIXsTUzdzI2oeT3FupNetPQs1lbK+JWuusCPp3GDTnSa/uppWwAIy8ppkEvXxCz6SD+Ia6OKotujNKriw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211915\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059569867?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Z1X2fas60NquQrkDRUBONnnWF6F8tYeI\",timestamp=\"1773211915\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pAIB+ZcMdYObhymoaKABSyyW9YC0+QLNAC4QUv5RRbjM6zdUVCRFDpmKMwrKbRhm2P6eACpSS/Z+8K3StpwTaOzMYu0S9pO2Ct5kzmgpxwCTPbS6603g2CgXFf1LGpEqJwAp9/WF4/s2hQVm4+MzPxiPsCycSPy6hpKD8yXSs+3P4pqvWp3OQAmx6Be5q61/fNf/p4CeF90v5rtMhkivYVL/Mz2CUh6z4+WAl1c2oif9g7TZ0BaPUape0N5oCgvcMmGT4Dm1ItCV6uq1gvwiRd043KenY6WL64nCBM6qYvzCszK4fpCLi22BqnXQLodSe30hg6iVAdi1Vym5ip5atA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA2C4CD0610830118D794DD5C2088800F28A4CD04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7acc41290eda059704e6e10da4cca624\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: F6xFbPE1tzE9bkRiLWxUqpjjIqwXGMr+ne0ASXT57xlAu5orxr/jV8KZ0+1kkj96nWyICj6nddA13Z1XrHPc5gvMq7Q2suicoABvG3kwefoM7XTMdRwmY/vGuw49oFIiplQ926GveIWWmQlPhdXSg8caGbzMjoTY4wb+g83UVRhEH9OShUS6JicW8ssrO5CRHp4cJTQa25qNGwG5YlRs/A4s1rF5Z2P5fustTCPrV0dm/2o57MJGVTQRmuGfzSbjtB+gvTBYTpaj89j9eHTr6Ev8VkiqQoed52GXNcpgG+G08c4ruFvOp9Rx7vrcLmVt/IE+tZZN9pwi0pbBxGyD5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211915\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059892779?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HwY46Ur6ceQl3pyHUWNHt2YqBdCs1tnQ\",timestamp=\"1773211915\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FUk+dLl59FunuBuV3v7UD9rwrL86k3XAQjK1byFMyaU/kFhXgJAACZXl7am7qVe8ONyCJrmK7gVhE6hO3F26RoGkdYAahzKQmpgeHseJ0Y7Z1byQUPL7WX/35T9L5w+OdEZQuvm7bCmp0pPlOmTHNX3g34+iH7oMudEj9UIlnn0xFFLjTyZ8pBE0M2Ox8AdSf+N6Ic5tSuxvPLzTZn8bVjkzZHTo0yjWy5fPhssci5jCrkBJ6kxR0PM+9KMtHMCbV9U+uoVqKaHYHOpSfD0BNsjupQANkdKNDAm5w4YK9n/lw4ZJp1+0o4X6ckQaFieRLt0UmE43casg5SzDPFDwXA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA2C4CD0610B802189EB3F8AF01209ED71228C16A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e96b75c3623f6cf522d187af26fc0d02\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Iuo5pE76x9bsBHiM7i2A8UnIjykgXOCQSTWKEi9YzlVYABL6WcOlpGVVjD1ryFrSJWwwy/FT4FNG+am+7/YkXBy+1s6PoULjBH4F+K1avy/hNcavB+xhgDa4Dx7t3xcQnI4Pm85sUmoTLySCmq/ON0TKi/DCKCM2cfH0uZS1tNGvhpzkwTSpaeh6eDvN7shdHF355gKKlff70Thiz+ly27K300Eu1ZKXPyxADkTXN7NVbTG4AT5NpIKgCQLI/QLEAWf0+Ut54G9/KKg0OUNgFzY/I6myJPux/AzzcmoaWH8G5sPxUGkySK+o6HXmEfQvLB4plIppkW6yzkDgI7hagw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211915\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100328088?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DWtE9Fssw94PZNP8wOwEeLld1usYAvyl\",timestamp=\"1773211915\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"x+K7y3tGKj0qr+pdovu3SYlOczF1wEczV33JCB60O+BhNW2kFHEdK7qyLVX2zcxWC+Cslp0MXcXEOpnuJwHOnd+e7ZJ7MsPblyOm/aMOdFigwggstX3j/CHQv4HfPytc2oKywc8WVp9IPDvRX5R3B7STSFzl0yAazxWmwRQVFvAVq9it5S8KqVH2ejzkPvjXsBnMALb82OFsRgpESkT7uiK7qNU1kjDagI0F9suN623u/a3wVtCNbCeLsaesF+T54dug8fHSWAXDYnM/ofby1f/zU8ssUp1E1MlpTaygkL5aXfJXXNjRCz3F9ZQKJODfq+B9M2n6Erb7iE3KBnfFdw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA2C4CD0610DD0318D198F5AF0120A09F35288A8005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8ec10c6f881d50c5e85e47d706d13628\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MsISMFTZnBGfwVoPIGriY0bN7qw1OwK0fD4YokDW6CInYQKRaZubEo5lL6KR4FnCLz89qKHFt6q9kr0OYbGZ4CgIWuPTggdEt0n7lY8k4hiB5LHn8U5D5+hGN/z9ss8OjzxNcY5csns0s5e1v2xOudEuBsiWc3L1iNJookA7taQNgVStB78WUHV+ffhKVJ4Od7K1empaauNSrvI6z8H8/HmTH0Fu1X7ApszSWdFBu6XRkzYRcqGYp0qiqnWZCCIcF4+yYm8xQ+6ins7kY+WmaCtz50uKLMUTWQzvxmvHKaq3E8S5qCpJcjgqhQ8gBDrUc9icf196qoPSwda2ybQ6hw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211915\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100542247?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AvA36FQnp0LKfUTV9qSwW1loowIqE7ua\",timestamp=\"1773211916\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GBOJB+P8MivWrhvmzXjWyjqh1H1jK8f+NJXQkRuS+jzcjDJIQdck+i12Ts0tK1sKzs7miJ6EAsxvoNxSV8V6jynBPJVJRU268jaXfGjV0fWr60PJKI0jfhC7wyNrcTao+/dDsCqsMwsF50UHhBARc6NcyKkF0nJG9ooCUcpsiPP3ApVsj52NZU727yitw5OTX+/yLISzmNDC4hqA9zfs6EOTudKo0+q/TBwmfwpgX9Sa12cj91xyRkE7Y4uVdGDvbeO1PMByaxkl7roMwKBlVXp8J5zl7t52Q1DipVcQ+ZYEFUzshPRpX0CAkbZQuwblJGTd3G5lYH68XeEgYs/HXw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA2C4CD06108A0518B39DECF50120E8CC0928E48801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d41b7db5540a73da37bb61d8abf95bc9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sBTc9Ewt1vjbAfbQWfp9xnaSscNt+5IwIFLyhPZBStxAlXioV5voD4L73OuF4+mmFMPec8/LQkW8fB983T4xlIWIrUqrz/gDTAru6T+3yM3AtLa56tz3B1DRSQb7dGGfhGHuludnhXKgj+tPmlb9OqnM79TiU+TdV7KoUxAYA8TSo4K9TR96jaoY09ji38mmnaCRIHBprbnu9oi4G+QI9Z9u1KEV/ru9h2zHgvmLlUwPHoZXSiAw79loFbCpxTuNwjmYbOjRAbXqyKEHVj8/sQx29mAmMqVPXquPkBqMxXnEtfqYEl2PXO99+zsdudeSjlg8yJAZG5Z7CtgVMfoTRg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211915\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100832081?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"au482vN32nQ7qR1uJBPhYukUa6Gr6Bku\",timestamp=\"1773211916\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"D2HN9b7lo46CLXidOCiafUnWie7lmmlKJ7q/BTc+aZSsij1NcKjBcOq5juPTsc3HK4P881Tk+96E25s4yzPH673lgEXa3nK78unxMKoKXWyKWDwDkIqGlSInTQsOwTod57BQ8pFnAR+LV4ulvnjEYzriG/KwXnkE+zTipZkTCejLIXrAdzPAx+afLytb+gfBaYLPL7GjQhbpj9rwuERV8cXrmmsr+sQOCHTI5Vg0J8D2b6rj6tLa5gIW9Q6EhqxVPSqBFwSmbwOGPfYyfiCJdIh3Rb8bg9fa33W/lk4Lu3dkl/Ot+i4f7mY5q+XJQTqvCI2pz1M6B0CP85duWSwRTA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA2C4CD0610D20618D0BCF8AF0120D8B51F28E69106-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4ec24efb3e9f4de108ffbc151dda99bb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d+ZOFFqnkC5vCvQlM6pJ2Gfwtmq7HO1g7z9Smn+35HtUpiqahk0jDwzdkmHCqrdS3ISMTfwsmL1GbIvrAUhqDeUsXzxCxjqRRdA0clA1EYlbv0m5n/sOhsBey7AdrmLrPHWXJO8NZwpiShHaMi/hAqH65b5p8oVXnRZEnlC+ZceK5GCsYMqGPNeEuBcK2bKhTPxqXLsIzGIJYIBEQYqxCLMPimOOFu5hT/UM/hEwdUPSw4khi95RLvP2HfOmHO1E0AUjhSRkJsHzcKSgBZrTOWs/0TziGlTGCz5kW7IVZfqeHzQPKGO+dyqDlicWF5p40CB6B0KoKwbF7EpP3tuvyA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211915\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100912729?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CH86LrxxuHoeBhK1dMG7wIos5xcIyeJQ\",timestamp=\"1773211916\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xUGVZ0JCe68sk5k9bN+6POM9TMkVydkqAJQATT0E/VDbPnrsnXk70Nw9Dn1I5yf+/9T2dil7WblLc6T0p17pV+CMOztfUnguOXfQ3ZC4/Atz78dKVezNkFBWAZSkTe6BcPtTLlzbpHtv4rfqpHXOLJT6f1DdKUr7Kz43HfeGm9d/3mHMpTm9JBgmSJ8Ddnp8HMPYpiq8mgoS9ge2DHmLZ6MThT8GrIu5D8jdy+QyezMDZP4LTCzMkXoNnOe5kb87RHBtCHBeu5EK5HWze8XXD1BRcchRJnO4h9cSx/R5I8ubHSRItF326jKO6kzujnyNUsN/XfxdHgU9S5SJMnwZ0g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA2C4CD06100918B39DECF50120E8961728D8CA05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1bde38759059f3e03d055f65d2379608\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UHRszDbYAcCkQCai4qME0ek4/2NxTFIdHYmqFwDldG4Q8OxUoJrd4j2anEkwaLGCUmKbSpPsz9y3ia3EGE324I+Z24MziobTnq/r4MYlk86ReD+msbzP8iCzBWvNodrcJfM2QHlYqfYfo31WEUyjfYWR7pWQw1QW4E8J0XdYlg/O1syjCTDEN6upUJyWQv4w+Cx8lI6krBaMfX7gNI6atI5jlwVDteT021z5ZABjI7zthZf9mgKfS8dRswOg4xzSVegGHKWpKXsgqPOQrE2pC9G1jCWIb2QNayATEybd3Bk7pEAwewvIWkXl090+N+nTVhiMgqtTkV18Z4ZSTHAsIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211916\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123101185148?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MVSM3nhWTOVG5SlkB4WydAwQZEvTyIfD\",timestamp=\"1773211916\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0ZaH5ojzGqLxL6YZpvR52qMMCKrEC1/DxRffhUoVHGRLRI0dohS//gu6jtk2Sxkt02oKRc4cdq8VSnCfjJjhZqxR3uMPkwkMDTEJSEBSDZRx2eY3cD9a8XYeEimMxLD1LJHd+LfYgeSWuhRIFksxD5n2Nh/M3DZ70It16q0VCCXg5BLqLsHb1YvhE4O+nQOL8QXR0a4DohoKOVG7f2pbrosQ8babSr+8n92/V5pnA7o3t1E3qHkhz5W/bv5e/fgBBOL/T2IkFH1eJ6bYWvxtqWJciAGSnXWlTVkI6TXIE4Ru4wBsn4phmzsk4VjO7m5KD8Md3Sb+nNYN1ZlNBtF3+w==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA2C4CD0610BF0118D69DECF50120A2CD0828A00D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 488578046ff785981f0735320a9c49a5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Dq0wYrrKOs4B5VOM0mEBUriI3Iab8T9a2RcYjy6xA279zYt/a4GXaWmP/BSy3e+IPUOaXHnBOcs3UtOZ8ULo/uNaM+8bBjNE2djlGIgBTHXMEM1EZqn6gGXY4mduFSrJtVIxPe9vzbqcKIKk/n0uwJkUNIbDLJYM1B5wH1Bzri35MNW9ZubPEYDfhR13xbKRlUs6XJ5z3JEpGzhVsxNOp0kZFwojHDkNGb6Oc7boOxbzfAcT3lhsaLOeIaDb9ELhDMNePl//npSqbtfBEyc+LMfUkOPhSERx3Jo+Y7msBbWxtvrqFxliGHi235P20idx5XzArcV9iR2ODNJ9Elwtjg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211916\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123101447507?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8KQn7bp6nbBd25kDcmvO4SZTnoBTB11H\",timestamp=\"1773211916\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0wfDKCD+GFHcZfgRanyLL0qMe6MfPAe5OHhlikyRVNu9CcLsG95l1k8G/CT25TsrDUN7pev1Ql/Jk6IBr3tS86kMJWTSa8Hg/B0ua2jZAJVbDozHsLY9pc7gEce+GX1PUllPp9Er0YQulj4sV4m2PR3l/QaPrB24i0rIDNzx35KB1TSHw0SVOsaWYYjU4zw/aJnmYuJs5KdycpXmUHxGKdbk2kRhxMfGJqUGYzj7c0JY38DhyuvNRMq9fJytt18vZ2UIdmzP2u0N2KNLJSFY/OfyqjxAyvEY97Y54OlrZlXSe8UWlo66W8PUPLdDG+kTjL7xMXa6vm29MlWWVo6kjw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA2C4CD0610E90218F4C38C5820F08D1A28BFD004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c36b69baa06ade5487a1ca2902e68563\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LotR08IX+VylrrH38d1Mb9MXOcD60FrSkNiqSxZrIKcrMCilt795WXBSRBc4lBKL2jO6hT4Bn1t+r2if12oDxYvJ688mcmtdsCL1yquLmEM2jJhUqEXT38Xq7Cx5Z79xP/+xHYcQg4qe6Cmp8n2DraoZFF7EwbRh2XG+jWNJLO3jhTqo9szThtJMaYSULl7a/vLd4Wki3RG+gd0GGIHnh+RVfj4RXHJLJuteghkU5YjA4fvdDW5SHBHQ69D6y3/z53f2OOW6/UptLrPnQl48QQAStE2531N0uDnA+MM9R233MfWb6jJ6IME+13+T2JIsxIS3s8cNXs6mAb786qXcIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211916\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123101940388?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"j1FoTqpyghePwlCZnnsMp4gTQ4o6J7su\",timestamp=\"1773211916\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UxYwyCI7F/+GHzW2Ts4jURgvqqonmswDvixSxbeW9gmZcurShOQaJQpsELaGqNPrjRb2A9LQpJ+UH/eqAsq3dUB/ag2NUUnsmKIWUQxwf1u5K//Kdp8pSb8GPp5kRJO8lLFKk+kziSHtNs8VNd8yp99GCYr+dFQh+Rf3pHJmV1INfiAd/5DqpV4DRsVZEfwgMyr0Nx/SXj6R74rWYC3JnecDP/HTw7PI7ECNwMZoniiwaeR8Ko4FP0LX5WKEKaBm+2gYtvQG597Gf85oeqQnbBT0/N7soWqOgR4qDap9UUMHfB22n0soPrDtY0zTZ+U+u3tlcv941czE9p21h7hJ+A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA2C4CD0610A00418DCE7F8AF01208AEF25288BFF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e0c4f2fbda65545869d5e98e3e0f8732\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WtzgFTlfVeIlap2KCvMmL1qG//9kwiu5dOewr6LrWB2G74k3Zpq4H79dq/2rzfFLT/cvx3FoYEUe0BWHqCkBsh6eOCXv1HQp7mCl2HYY2jLCXzOFOpqpiWX6AOS5vcJew4fS2IL+3GsJhG6SD5iGwMU0xskUPuihCrX6fZh3FPSpUg8jx2Mphr2LcQlEutoxQNn/eZpHgRDneQrnAElRtYImROqJV9nZwN5A5wdW5AnHq34O7FXWtJ9fITcaXc1yJSG8gzt5ta6hTP8blnRer8p3z+0Pg7/I03EdZpKagdYKAJWV59NUGHx/o44H1SYMDR0oYdKsUOr9L6UiJyM1CA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211916\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123102021835?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"D4WYrRps77jiH1Q62BpEml9I4UDNXDBa\",timestamp=\"1773211917\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"boKJciz+dhDti+17UbAgECC+zuE5w+YVmZ1Y51tiKDe3xL+pj0hltl8Ae3ULtmTbeoFKQJDzNd1HOj82cDGSVefOrVBGTkBc0p5GWq0XSMOVQFFeTwipuTHdgcSv9Qt4GGYuk6L1YBfm59bG2fSORtG3bmIy/DiD7cBLDpqoxpbYHzgK87Ui2g83FU/xZ4/D3cm2SoGD4OG8GDzptVqfPXbdKrgH1ufobvrCK5Piy2myIxmKIKn7dO3ZWycQC0vkcoH5vYSNN9ywyMQ74sB4UwLW7esY1pR3dfYK0v4+JSpfjXxQam1/Z0j5p/IseL8VBIZgKVBVYRQQmJXG/+HATQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA2C4CD0610C5051885FECBF50120C4A90C28BBE601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d5b8e887fb9806a2081cd539de669e03\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XDJrYoaxCP5yZIxU77GPgr/z0XjMEGzcb3pkS4hKMCPM8cHWbkv8htcNbduHEogiGfekt9+mmY5RnK1CdGjodAeB/RrF7B2I1W1A5MGYaSAFIIQEqeq9fp5pfXpB+4bfVKqyOD5XlCz84PvQHyPVMxzNrinWmpIYnWRxe7Jzm3Tcnc5ZxkxYMkPVsAWEVN5yTW6mW+oUeDvsBE0u4XOpnzNhboov8jnJUmb4tZMfHPvMa7YMCEl32+94wBgr7Enlv5E/QJe/iQd69E459RURwyS7fvVRb9J5yItPSjMqVZpoJMTYP0t6TfRJfeJDGppEf/XLa+oEyQUCO1P13ty2nA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211916\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103120831?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tHPw7djieNwLQg2Dl2vX5CbgfKc4fZJS\",timestamp=\"1773211917\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ozWiGZXatpgP/5mzwGpww+YnUHy5J2cduuY+06JooILB19kUe21AD6EGVS4gAlmmes2h3tYdRk7Jqy4ft0r3ykc5eiybT32p4Kh/+WI4w5Qetco0CgsR7GkpoL60sfDQul30i3k6Bzk7A3XCQlN2/I5YWDskbAQSJ84xO8kH2YtnmR7gQoZOFm9DouMFUP6uzXDxU+UMDErMImeqnXiSx7Dp4uUasfAyLoZDrRou6SwNC6/OYBU3J2HKPhbZ9H48YbVmF/YoxFC1Z6lbA6YwWSVgZytRlAcK6L67C37XO5Ek39tuZISdxAUQSwp1nyNsSh9kvAjAxAPI8XkVdP3zcA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA2C4CD0610F00618E3C5C05520C8DF0528D9EE01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6e9e4a4fce933b1c6f9f252035976a9e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gIrWwaLXiiZLOAPLdwm1EEn43qetod79fBumApf5TPEw2RIglRJIcRoAQvtsqO1L7IDA8JIDxZYU6GsN/dya8WDyV7mG+diRqJ4b3fjlwWkpcxyNL5VJC0QCezrIP0kMS0JInfn+2tsO673iILm3GTCoORG/zsYQgKuGH1ux/ql2OMY/6sPqCU3/j4fQquM//w6G0BOUfuPGsMVyeUBbDJ6Xlm9XJw/rIVLK8dFdb8RKH+peZhLLvzhK5CR3p5aDP/sEKgZP3Ad3kPzMRvWbCOumB5q+JLT8bEZnn+iQl4bvJkhdH6Iv+41HvuPsH2tvvsSPgRdJ3S+V5eFMCj0hxA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211916\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103227578?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6jqmA1J2bX7bEU40Ahlngx9YDoqCO7gX\",timestamp=\"1773211917\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vmWp4aaKxs29Y2UcR7DWSsBWf6JB7+2hFkljpMArhp6/hq4SY384lgc6grMD/d2WIgedfnvBjzO2H02xY6Ue2VRHY9rkbspLGK0kmyl6m3IL8mhnPBZBmvPR9fXMcuuRD41Wa4ZDg9UmymGKbTH4VwX4pvRtXaqKLiJuKHBNic8/YMfqavPu7eKOOFunX+uJX69yJVehGWy7U49D4aXd4uWCBL11rVl37K7ubMz9pHjpbkXICY3qJS6t5YG4T4sgQZzG1u98Qd4AQNjribZmS6RsCik11E7FS/NnKtGmlUMAzGO7FVRElLwhHWUYnmP2JB6xTFTM/9MUkHs9VMIWMg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA2C4CD06102918CF95F5AF0120EEBE24289FCC02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d7f3199d197cee236e3d587ce59ea73e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Djr8mrDjvDVTz76huN97BEOfNVPSX5KJg1J8hsrFRQ1Ih//13k/AGGuf+MKqDM27y/JxFa5jfpgi4douck8pxoNqPfF9MbmxuatnDAEDx/q24Legq3Oz/jfsuCgCNBUlSymEfuQF+YpPJn8CgVtqEOL85gmBX/s2fqw+75/w0gUzIRheiiTu+aPam5Ks0q5Zrp19xEMjlQsGr53XheWB2KwZF2x15cFb0QY64ZKM7DDIevKbj9dANhowWppjsZhR7VY/uIgZ3g6pjZlyG9lrfdLRHtofg9lrLjn6gsp65Um9SjAa6nEGcKth/T/RBs4M5TPZjlGV21TkkJ+PU2Pz/w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211917\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103317663?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uACBDNGhzJMTdi55TQoDHhV85QPiBwkP\",timestamp=\"1773211917\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mSWZh8Pl1q9w6o0Pcebv+trzs6pRZISxl2Z68w83teM4pmdaawYRRem274aGsGJ9JFn6jYCW3DkZQRxY2BcO4mG6MbUhvaJfQ6axVq9HonSj785xueBqujUGGdGKnrjHhocjKpKJRt2MAL4Um+fbGeKu6Bj8TZ9Q/GSrar+ZBmuMW2WK2LgNkcLOLa8WB+T0MoprjmJ7c9osiia4Gt7DiUkwYwrM6AnKJIykOjV13RKs9fKpfY5HgWJ1BE5dfxTmlQeilr73gCbxCMvjKzMki7WYcr2zJSCHUK+jYw5Ziz/hIhQWtBinlsePqHQ5TXgj8pWmgqcOhDF6xy5tz11xSA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA2C4CD0610D80118B2ADC05520CAE01E28B1C403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 30b970c63523312791d6b1d6df27f015\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ml36HGmF4euManzCaZFI+URCGk0eu9aOkK9Sj/Yl1BbXHVNdrLU2+M5ez1wvh9awOqMg0p+FB/04Elb8L6HUP5MLcOwuJwJmX2j3WlyjA+gddYOlYqfkChOA5LHIjNLNaGnWGAiJtW0A82J8lOD823xFnAoYOYlw3lBToikAE2R+lCaRuJy2AWdS2P8Mf7QMjZG+IHQTAGo5Az2/Nr+3q68z1sMbZ+Skr4ZJrvinHgrLBiASrnPyxtcobaD+DBur0koLjbIwY0/+TsKYtO8tencJrONeQd7K58fVkbcpjeSVtlnsxcctqrrKjZuugIIVkEhlNuECYEANqBK/glGHOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211917\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103354883?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bJzdlOnrVqocVtdn7gH6W13KhSOLDzcJ\",timestamp=\"1773211917\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"a15qMKJ41fywUGAEGvOYmrIy3vQmsGRI0wrBmJDyFuC06SSWR31QwrSoETn9Hil2Fn1h7CrMPvS+x++6HeULAU5xMhynqSIgTACnl323GSywGMmudJBBF1kWglzgRGdbsvRbIuOD3YQ1PeHkxwtNBefYPk7bKWXPzATn1lvuUsh80hkiPzlbDRmzVyofltUDek8CK8Tgax9KqpqtXE+W1cKe8G/P1N5EKs6VT2h4ZsalD4AsRbFd4xT9IJ110+ypmobKUuUul7IvWcESzk/e93DlKM+eaMa0rp6tG30vX3fCuNeS2laCyP0inMdiZYu1Avy9KvxKirYZ81drvbhk3w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA2C4CD0610870318BEDB8C582084F9082897E503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6d12c5a6b6a1a281c23ddc4e7bfef2fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FOna9gl9C9iQIh4dZeWqEI1m7e9tYlhcAC69xV5bjDpAs8a8Kl3vnt6xJ0QdzmbRskUDuTBw7qJbA8u539P7Ts6h8iLAWJ9bX678AX34gw6ClM4pacuoa83nSif7uDsv5FAgYeaBW4X5Mam8+Xnxky+mxU7iZ7DQySPM4pjzbxVrAQ9BoW+U8s40jGqCIMCFxm9ZqJatfanC0jgzl26XQy2/nrooaDwXSRZG9DIF1mg6O8prifoL1yZ6BKrDYEIcG7r7R0jB20/5jv5gEOCIlwRwRsSL7Kj9FvJXQ/+5G5HGZNp7dpLLAPDoDHFih5RpBxhxsO5vzYSki17BDN7yWg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211917\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103760853?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ip0QB9Qn57FWGDcaEBPWakQj5d6d25Nq\",timestamp=\"1773211917\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"SgPW5NVopUULNtXgDytQILQ15+JSjheqEOxNvHo1Pv4rMI0bQxf9yXnnIXU284s0pebWchHhIBQrDtOeuKYolkgF+5xgzJq2uHGdVIUt1DUK7ef93mU5/F9wDb9yiAJ72cEvn16+fOOHk/ceFWnHEQwJTMuVZXyIKmPwqpUp4fwJkFhh7YmnyfToQCDAAAl6NwNflfl0OjXUb85Lqzcx5CaWak03K+a2Pum1YOqX9GRHfe5rn5zj2ghnAE1e5j5iS7mcoYtcHyCnlVYR0a33pFL8sqlSSIOK2UqzY4kwpmG4PJMCq3iyxBPF1A1mirQUZA/sVSad/eqCx4cDOnMxUA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA2C4CD0610A00418B89EECF5012080BC032882B703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1800764e98761356522525dc82da0f43\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NmC3YjKIENeO2x50e6VJwtOOWtOOdj6hcPO4Utk4Exxdg63MDcsKmYxwClmeAGEe+K2/7AfmEHKw6LtBBJnXJL4f1Q9CEVB5yjLWGb7NtiQwxErcv0PLo/tsixUi3lFItwlMr82OIIBm+nC5AfhkPybvkQ50pfjgaa43u69DvYI1LylBHsFT7sxtdk2xi6apJ4Cj8vP/FBy1L8XCRLGZvVmr+wjQHXDh1yjRHs+ZwulZE8O4t18Zt3l+twnu5yQe93YQTE/pKIkDRges7e/+GHoWU2E1UqlDsgmCFptkA4A9/n6wIurSAlL8pigSK6lqn1h4v/ueQcaqIhpQH7PRmw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211917\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103899151?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FyoOXsVfGd4zOppEvWXSitXxMvDwrI7t\",timestamp=\"1773211918\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3LDP3jvWaNVPsN7Xn8X8G54r1JckdcGuAPLf/6yIThWJBVgr+R/KkQY4oZBDQ8izVE+qFs4ypgWWDQoyWgR2X8+IOj3CvOgpgFce3Di3TDj+wAroRKDejYkuy198Z4/Ze0WwhOrQB7VLl3vQ9FoXe3Vv5IVNgvKrsKAIx29O3A/UxZyGNpaXSZ2zMqTXR5M0sDgfTeaz4T0RFPI4XgUKDAgTZbSpb2BNSG636cJhLohUUBl5gJ9hS2G4DrR2QtgLSi3oVQhfekZ2/p5UkHtoMxKI+zworzVVRU5VPJ39piPVzfdc7nVZSiRkS6YPhkGFg+ET+4L/aXCXTBcyYGW6cg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA2C4CD0610C20518AEBA8C5820B49E21289FD901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: af3c2bc23645ea75479b133d8bbb7902\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FtJeNtkiDD+3VaghCHBT4DZQRVkkk6y1RWdTQBWSr8E9xxZySi8N22fXydemLmXSGGX6MlOh40VxR0lO2MXKGxPkSDCLG9JsuYhYtFu4ZVuUDNMrlT7QJOp2lZCazI09qN6MQBsBbhebXb6AZ+qsrm1+25uPRYNC6W1G2up9pReh+2tGVpKV4yb/UC8qjNoXO1sGteshs3wWRIiByO5EUdmWLkYmQhBKHqyZpFD1tAhhIaD/bOkB8Jk0S9E7YvCqIs674m9BfzLbQ9sKtgoZ1Irn5tVC3FJ4m9DzY9q5QmSqeCaoyFi4EknI0cRp/qAA9pIOnTMmaToLXzDHFOk3dw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211917\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123104062766?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wCmA8jmp0XHq3jGfHIJaSC4UOwVAAIdX\",timestamp=\"1773211918\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"v/CbEyrCP+RoO8N12oFXkYDCjfk4oYx0hv5J0BMtbI9RpW428+k31AvRvpEJma9RWrrk5aWfvmmW2YvcjY8SMenblPU0XROWHedCGE04pIaxcT1gF/E/u58IesiHw8GVBdFhrghzwav5xV8n0IVvsm7t4felOOgJbgwxgFio/9M26gyMXFuLG0O78/4t8sgUqQWFoDG5JVx8lOLE/rlIhEW6E7QCrPh2rUDMKV15bKu0vY1vYfus0hfGefkcyJ3+DSoe+ElVjKfptrt/YD5VZcKNETcqMxGs/L+RB3l1RxQzEtXWeDz/+NQF3YUXVRgEMQ2yr7ImWcARY8rpsrlbKQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA2C4CD0610F506189082F8AF012088811828A668-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 54cdd5f409c27f1710a78bf81c90b17f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Fl7Sw7f1xJ+KvBNTLIPclQzr1YAnRzfmPQwiZlurp/xfHFbPyd4ctp6E6judlc9amwfIOP4RYJEDZzGnx1D3ZheO/NnCqHLiKZTNbZHdamsyQbvBjt6WGTOjXQ5H4xbX2AtYlGsDyjd8PLHC7kB+m4miRBs1MAbog+5GngL3oleY62QOgqSmqQ38WTbGkAPmnCsdFJGUQg0QQ0LM7qqu7L479rSTFaZf/nnJCoMzgpHhKfY4R7sLIW9RzafN7DOR/+12sxMCm0J/4ZzXWmkS1xO43iBk9jkd2ydn13Yyg6rHG8ec9OtJGcAVPr18Fbf7+XpNpukkuDtgW/IQXOyIxg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211917\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123104075751?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Dt8mqe535ABI1oJA9aHNmgUS1Tmkfk0x\",timestamp=\"1773211918\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"W/qMiSjCaEsoTvOR3aEfbPAsiUUsFFJ971i4P6t993rWKjCHTlD/ImC0IQPkuE0EVkvnJpHMB+W3ApLTX655OJOtAYA+QnmX3lDgH9Rs509XkBz41jRGRPXcJEo2glhTJakCF1+MRGBXF8UX2zvK8lW72e8sdzPcPNuNeAdfmu15FX64Mfm8tEoIP2/1MiH6LFi2lJMSPVDICLx8AqyLQW5upv38bxi6PhkFtgxwxaFqZ81DASdaHmsBnYDxYCqJol0LnI4SaGlFo+GLh3s1NWmrHlCPUbkDD6fKRCt4X07+Hx4TlblDAp0KTdZrft/v+baV0BjGN7rxU4m97lMWrg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA2C4CD0610341896CD8C5820A89B1E28C8FA03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b41c450f7d3c1a2809f9cabe5680ec57\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wdHU/Kll2HbQrI9YRfCVHrSRp6bQNGajxOKBsZkSxnQ7weuUkXS97dMtgvYEXuJrUdbZvBvbbJYmMlbpVnZpiuNu5kumqQFCCDrcmb45AhtGQGO6J/gf7F72MZ1hBmyDYPs+zWLA05ra8zJIGedrWHKj9CvfgfvIpGzfUjs9qop+S9eSgpJuS2P4cQw+nl9/qIZhkt6+vXtW6LB4KQBwbYbaLOXXh+7NpshZ1YdyZuaAR1SKfPkVW9OUVgIsq759srCgLYs+ZkA2nEE7VYSpI7RWG4Ws7tm2bqrLPsb5cbWRCBa3HmQ6eU1W/8rYHbcVpXGselMktQu5xdkNOXbVSw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211918\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123105062230?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Hsf2TrhlUQKfpVA79SkgSPi79bLXUZV2\",timestamp=\"1773211918\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sMKtWgnziRznGR9MTUfBphjvYP20AjPRcreziy7yFcpeRVqA45J6PXlnsmqLUfwrqyL4IzvhcitFP4017vMCfeo+iv2VUtZerfBluXXezHvhgq7SdyhVK4c4Ec8gSQkFO/TGD4RgK24iSdTVvbBibkjIIIfQ6g5N6rhX8r3Kvjx+b8/cFkKKdqJ+E2O6qZ0uj4vK/Q+K4aQguTXvu7UN28nlwvVctI4Wq9peka6FRJPTBtF3MpkbaMagsE5wfBJ0YcvVNi2WAPufoGAmSy8hHzLk/ZK6dNGBy+x5coi4FPeSXaAdAAsQKB9S03S0sQ9okFs3tmvMJIRjt1IopCEnFQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA2C4CD0610D70118B7D28C5820A44C288DB205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: de32e2a75a03c090e4749171eeb10a69\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sMQNtXsT8FDg4QAAoxu0fsuDFCNAVWtCreAKjuII6Uu5UZl8FCsd9LEDd/dJE1+NNj+bZ551Ifr1+WANxAhstDD2hhCsN9G5+TcKX7yBYsrZaeqOi6uEVZCVdvDb+qADOTPklFuqTvSiN9jz6l8qJSoTwsQYbeetl8nGMkR1eM5j6y9niuRSzF50dskvvS2ZAwXVSNlXIZj3kJ/fkKeTq99ornpSkqKr37G3YU+b0mFh0DZq6MtnydAVargq0TOfTb15FIGdF8h65FS5YuAQ05Ca1aOX3BdChSssVgY1ZIIdLPLIJpq2zL4T3XT8YqnddDTQMa1yZG1BEqrG1Blz9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211918\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106351983?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aDf0W9WVvudGwYpOsDSovlvHfKBmPc9b\",timestamp=\"1773211918\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1hmj/lOkpDsAF3Yz1E+jWvFhSDTrEylpavrYIWjOEMgOHlAaK0eYaHaJ0k/l8uYCzOV46Smo7742l9cRHJp5iek+5swPrcA/Oz/UaWGxCF0WqeEF9Jv7yrHEs49FM+Nx589orUnEJSwUL5qVxcgZLkuZmmL/7ZSOXYrG5N2KavBhtqjRzHQtoa8ZEWN18Ftsdl21lzSg55YcQDr666qOYkM21uw/Y2InxRHRzmemBnXlQ8pvBlnZtb/JWTwFteIAUZyVxTa0jetB8czckaDaqIy4Zje+oLCQarlIVr1yqNDtfugeUQGzt77NqlJKOKe3KWQDhlDcPPadc8JvHgGuYA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA2C4CD0610FF02188BDA8C5820C68E1828C3C902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c58317cec27f102ec62f1882efd5ee49\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PBe3GKjVYwSAPOKmCi+QN1fYNuFNluj6ge/ZRChbHSvpM5tRZawNYjrTCcfb5/ArfhLY2kYU5CnhpdJmYD8g+h50V7E/ezAsTw26xjaFs2Xp867wVJpEREKuk9AZiADU45PRTrNIEz6DWUTSYnCQdVcWJPUexCjbMBscxMuYF3bq9fzAAJIPpNKlXyp6m21p9cyTcjIVbKTyu+00y5AtFprDlosGhJ7JgqiGfR2YxSRMJpzixcHm2MNiBY4t08jmTRmmpWA64FdvRbz4LGMpUBv8lWiPcs2UpdR5x2h+2WjVdyTNwkyaRpe3nvIUGzMGNRUqkKZoA2R6rBEX6XMn9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211918\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106399147?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Wu3ctm0z5kJq1fqUa4G8yKOOYzEgPCNz\",timestamp=\"1773211918\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c4T5vfBc0UQ4DFjNCBrF22H1aYJ19Wq3vqVv8mtgfXdp9oQbW3gOLFpcRVz5ZL1/kEeOVdonMeqMklq2YgGNqseIhVUE3BfsI9oDwfc+E/rykNWDm1/35mf1VjJUSw6aafR2oNcRpaIQnLfBv2QttWSDKMdKNJDZNxg6oJUE+48QraI2g4LHSc4H6RctROaSRm/ugqu+qaYB1lkd3B+DG7psbukRTgqrxX410ZZyXpHUWkXW0GI7lMpZZgkwVAQZCVWF/iEfLToTAWoQ7sg35CqxeRnBHEGd1wZv6+Wbgsg5YwJdhKvDVPtolj9pQEOAZ9l89QhfMRYTfoamFInnmw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA2C4CD0610AC0418F4BA8C58208AC62928B08B02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fd0bffe3797a692ce6c93009c7ca5a6b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ikHs00Jfltj4FEqccSOMrwWmu/x5RvNPkFt8tkWvDxAzsHdLGtKV40edOr8BUbgAh9PjlkkRlUbOe6XRGUAvTXOaNpImKqRAX12U+lCFWSy/Bz0I8kmTzgCX61W+DDpsZbgH8RI9Xj1bqQLN/zwA+9D7RR9FbATFtoCiCRvLmgwbJk2Tw5VZHNlPjdbLZAGg8vNplVTZaxsg0luy93FVvRV1wCkZ86S0Y4/pqQpDory4HyVcaI/I4pFUHdMnWpuSDbiz6zyXpR5HCgOz8VKBLJB03sys3laXTUXWtmM+zP9wPA2iDSqzO3j++td8QUjAyaascUpdQHrWEqyRPO41Yg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211918\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106936299?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yM9yCxDQtz8WOhEFSPQ7oTO8X1o8qA8E\",timestamp=\"1773211919\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EONVoe3OxXDf7eQWgEopawFLh0f8LhUQM557vvujx/ISm7dtRl9/DT8kQhIMlymhoyIXs0fEtTsoiOXpqPAHEfOGHkH7v+WSr7cS9W5ISQ2kyYCWXizwXXHxmldUcw4CfVzlczL4rJhhK/4qvLQhsgClgoB4ZYCGxHt/hguGgoLY6DxsCORPqUpWr1y2FKVcOjQT6mnfYqI1OwLFhgeAgMb1S3U1bbmhjGCWidw1frH82iXymifAPsvOCQuYPPzZTvcTx8FAd9UPNNqvZO+h3T1D0dP7FSYbwm9HO1jWojbgMwWEYgZ9dHK2AzKjFD7wUMRvErPpGo1HFu0g090H7g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA2C4CD0610D50518DAC1EDF50120D28B0428F6FC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: be3da25d295286928d1f560ac3f24abf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wRDI6kPr0t+VqAHK0BIU/i777Q0p/4305QtRxRPaGNvbHd8bpkpWA2b5zZ7rTwqJXOt3EgzRSaV9Z41g3XiBN+ttNsasobMjN0ua9HwEYbjN7jJ6c+7iwRWTsz9q6A7Zz9grF+uxjJEPnw4PTZwt55dGfcDyQhZJIWuAOX0wRjI1kGLpaj+HhouCaxPHGXpe0I1xe1hxjLy3QkVRxqbcUg6/191hPI2QFutcEEL4hXhDHkKPYB/HRCFMgSc1ZTbX9dEA+4NQJOcOu+y1P/dn+l13WEOe4OAdxRBM4MrUbwZBRnzLGYE8ZCo3/Tx/rNvUGtAEzVJZnQUh/SbxP1lcJA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211918\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106999552?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QJiY7LFrqa7KJlLGB7wyhW68iZIrmpdP\",timestamp=\"1773211919\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"B5pDpBKfxZVAN61GU4E1i3F8gfHk9mKHrOEKIOIoCfBfrEGJQnXVXZ12gp9gGNYgF3CEC8vsD5Q1bLUtTxmQYXeVnL9gs0KXcmRLn9HU3/7Yf18OVqYKEBrGSXqnxFHII4mG6LmrDSZ7V+AXI36rt+6K5gYuOOVxy5h04eel1KdfbYkTLQh9kv76l7Osj5Ae6E2JsrPC2awUNy0QUdlT4p77Vlht2M2KxlWf70rkc1v+Zx2QVGtvRZGp/aUf0yvaYsrF08YgL1yFQYm2qlvWKOIrYHM+4fmRkKhIkuFIn6/cTNaF/dNiBzm1GCY2HHB0pSpwa6Vwdw3LBGx3K1fiiA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA2C4CD0610870718F4C38C58208A973728EAD704-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 60598f40b000295715ca5c82e6527330\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aPyNVdkzMy3Vom0+T4fXy7ShjKo77BhYkE0saKQRVgYmFLSakQCVXz2/kyXQapgq7Ri8r/yqmEEaYhmi7rWyimUERwGNAqrlrVZ291D2aaWt2pPlaMtut0nHsFHKbYHrAiAvlXOLZqHYaG5snD7iygMalzD0aoHLCW7N5WMipa0GhebjlaI9ioaCPoJpwchlWyVwWjWHEIT4KtgLYllDJ+b0/IjdbRRGrJXKwsqUnGuHSVIX75vF0DOmR25zfgsnYZoXEDwSWoJRdvaUONajw9CaX/olt0Db7vHk6bOtbwTroUuIsWhu/EqBq/V85PjQelz56z5BuEijwqhnL+l+3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211918\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123107311409?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XtxdNBBf6WCyvpCNmIcDLI1x94NpsBdQ\",timestamp=\"1773211919\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tUhonMVVKhZpyIO5cQDXRZq+/9NCBhIJoH3KI5QqoQ4uTITIJVObZgfYiTIDCJtpvXfLphIkTudjXNFLkR1qCEKpUd8l0bpfbtETcqYtSnd3B1ANbTEX64E2dy0MU2d9G+lVUOKqqe3S0BnVnEnR25RwNlLJjg/aHmnNOIUBH+CLfO7ua666Y4cbT/SnVtl6bYk5dWqiLO5X6lGkuCpyQ2Xs2NQmZcf7Qg3zIoRS0Yv7ZKB5ycP6OwkiMc0IErjigQpC77xFQbHWlYWKeWOa4/jSX8F7ugVe+ZpeYFegKa3K7NO6aj17bKFx571VGaMD6i5tAovXiPvHD1yycdXqLg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA2C4CD06106418C6CEC05520BCA60F28CF9606-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 85dbe228ae21ee3a956cbcf29973d826\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: m7a6cU5TSJ+7zBayMIN/Dc6x9ZJFdSA8+RDoZcwXBP82Zl3/CqIPsm9WlL0tO5TLwtFtGdsArLzEBN7Tfs+XkEJxi53Bdqf/IH4dJeYMDAJwcn8pnVjn690EVb5swEca4WvNre0NnVKFXwQGLVi1ypyKxydZXPniJVqwxBrrbUjdvYGx5uWwYYsGVOLA01go3XyTMdYWanZFuWxFrTPXnXR5tbq0PJ2co9yoGu1R/ffDBGIt7MKgKK4r+TYWgdHjUh0If9eLZgPwQ+mufFf5Er3OAA+ZZQXn+fiWbmosZ7dhSoiGPw9kLOJvL+y68LLuLkVHVCY1A/G9AudiUKcdIw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211919\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123107419116?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Tj3pgb2Hx7krDib5s9cpVrJWdXo0vZCy\",timestamp=\"1773211919\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hDw7KNVUktbRLSeX29zUOb0s4YpRoyU4e/OzwrTW7JkjS6OhLQ/ahcDW3saPCFPAg02VgMebcP10j5jZ/j0T0lq4P3YujvXphJ4nGbZA/BLJkWwCs1qgDbTNcw+Js9/3hGiwEQZgIkPPxOtZYdA1JkFuM5+WVGqyZ2xcnMK/Akmefo6q/l1jwwf0w9cMzNlqG142f+xrHzvzYyLI2JbpQ9j/S/ZUtSVLc/UJhJWOqVcyd6myOIdkeHgOpZ0HGZqWkWYuljpBBrxKXsKNrpaSy3emmYOyLaaeQ/XspoBqD8rPQ49vO0GGLbFByQ617F+vUtXRKnTKa3Sqo967KL/8Rg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:51:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA2C4CD06108A0218DAC1EDF50120EABA1028ABE403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1978807725cf18eb394a00610d2d87ab\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rgm57G/AKrdTF8iDkO3o62/chjgqCINbY/Q0X9UDE28Bk18R+FN/fkWXff5Jz6+Rah+yCH/ATU1MG2FhriI0AgNhO1wTo6xJXk4r5pIiyMDn+xzOoV1JY0ejMpHrZmU5t1nZnAfue5wKBCLd1P+4kfHwzfBYM7+mjYvhvDs9sYPx50/vWOA4vyxMUg4Pa0zhwlQvHxdpLvqf4qTh7oVdO9Z5J1BT0mJe5t+65YUefWq7N+eOxCfkxznUVCfWl4DXlirRDlAE9te5eLGuJ/AYERqfzrG048ZaL4Rj+dqquQwxRIxRWfFgrAX0DxrBupRNHs0EgWfpYwqNGG8Owf5gsA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211919\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123107698638?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fpvpFutnQb619Vsj1WWgG5Y2FvU5nzag\",timestamp=\"1773211919\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nhsN7Aoatx1kyS7iZLN5mOJsjp3A649DDEXUS/IrJVjBaxFV6K/175YYqnlSqWKYabW1SVnmrmh4t4HBLVgC1oj7rHP+kJTUmo1ctktFdKaAl385lKb78VY9hdyez/SF2lnWi6HePHFrdVEdshAJQHiYgBr5GrG019IRBtwSR5G5YlZSvdvhQ6IMm8ZsCqDa24bLFWUv0P0SF7c06yEC4i/dXr3PvlOgKgp8x11uRkqTNo8zX4GNrTk44ZLuegtY/k4+TTUCsLDkPl+zR/sUgV/KWq4ZaZ3d+TFL8CvZBlSYlrGyClgqVgPppFy9uhWPg8+wOy9WRUFApGJKedXpNg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA2C4CD0610A5031888D28C5820E4EB1F2880C905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5222153abd121f2945fe31b2ada9dac0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dk2mXUGWGeyQ92sEwUyRwO50hIo3kdUeo/jFFez4Uax2IPYq0As8MazwnXUQo6BBH2eNKkZtiI7dOKdvH7wXcrx+0mPfbFqhLZ0J7PmoBhb9t+Ui3nUCmhS0QlAVFe/c1ia+pjVSgalWlhAxdGczrtK7VwqcetTXSPYeDrTOlM2pzy+QmzuJwXB4WuHIfoxDm00He4uEEseyLMU+vevDNJdn3s5pvNB2Prhv/iBW9UxFjotkf/KYfquYHF0Q8z3ezPGxYtC9Ane06kT/j5PcoCpHszBkLa/mzZMpmY8y7ktSjZhbISCL3h5RVVzDMSmF/lT4jqddu4Onhblj2yCmRg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211919\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108000393?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"guDpD4cO1LIbdQoubi9tux844rqxLMkn\",timestamp=\"1773211920\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"a9bGrOJ98gIc7s34lDFxOCCNUhR6hzVjE0jy4n7HSsgUhGgTLXl0/D3o5Nl3tWWLIREwqxCzLaYLkkleTTXg/XafhZjFxRLisp1/165dAUriSTW+KTskhvuzQBUjKhifHzvyNm7GF9pLJM4FUonttloZ7MCvcWvKyvpXvE7EO+K0JA8xZLIdNClWEDiEAnknS+fC1AhAmVnzXQKiKVvWer6+vxmOwVfV/AXM3dDE8t+7vH1aHS4LMipobPTjYKFb0hXSt3qEqPfI2PMxOvjWkPN94XtaofJZrL5wJR5/e9ektIXBd0lmmCduF74ApkGe1R9pHEP128rtDu4gHCFP6Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA2C4CD0610E30418E0B1F8AF0120EC4528B378-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aab216a64862fe8de22917e71ad7c27c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dqxH+kb9v0YrCWsmFKlXVfkT4vwUjHq0CCdPE1QUZmadY0lCmP+iNTmW4BMGZft3Tcz8+Rp75drlb+XW3zvacgWVGhHZtu4W9nv0PEV9pxbTA/kAbJakXLot7TNgit9m72RvOIcRJu6D8fu+BklpRKwG2kFMkGs7RnnpbG7SNek5icz7pG8yJ7Lr0A9E4m5cBQ2P0yFYPAOQFub/De0uMwKQ3JwWlayBe94NWNCT+2RAiNRefZKBvxgMd1Nbd/rwPthFPb0q8VCl+ianzi8Im7byx6Yixd9616LNAIm52JzKimclo5JWI5LylI5MV5oJw+YhTSTRozrUs2EF+MV9kg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211919\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108249181?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vGxMWDkGxQmcDfWlTR7hXpYDAohEbSXP\",timestamp=\"1773211920\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gy1xCUOp/A3jclP0W2b/MI53YP64bnY+KvB9vxXlG36rKw7Q/WFqk580LwQ6+karuTexGRHbD1Jct1GQpiNbqSZVw3ZTIHW+M9d0Jtk+Z9clkvRm2F3hgaUBpI3gX/DvscLGJwoT5X4rgESBYoDgH40TB76nNUzGHlCRpsKY6FXHn3BKVmygA+SWvyXv3o56cdJWf3Jc3O9XrBpHXTtdbefIB4wi5BV6+lYGcyNutPDZq8zVvpJ1yc5iRPBNyenhRgHS5CKc9jAwMsgYGjPBHj6CKJvIXYzu9x58su1H4e9nn6iApH/nyFDzuVdB0ju8A8RnE6fZZib4XA7uDW/xOg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:51:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA2C4CD0610940618F7C58C582082E51928CB67-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8f0102572d3b6c7408a6410d622cf055\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CRKx4qvx82YfTopboKU0AxRi2n4rgRCGk6cvsFb29e67sEbcgJMbJgRZu4mrq7zi4VxWlsYaZCAL/a66LlB4cdq+HECMEQMtm261wJ7i4grxXPe7SPlEQZgyMx4v5Tn1L7ar3GYIe+p0ueGI5fo/ToyzMwziIGRa/bwGdVXhqCbUxbqMEGZlZ4ZahJ8yz2Co/YsIxlH0yfCeDv/K5NVJ6tPMwtP8E4oVSLF9sAySaN6sftAJBeZ3BJmi4UEwncMlGckcOZI1RyIxGi9Xh3FTsfazQrHq+TvhbDOuYW1m507lZ9h/XhZrKUE5GichUp+DDgpyYzLxjfFwEbuwHLW55Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211919\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108539306?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9xOmhJrs0ulRw7er3PkqE7ef6gXSiTDF\",timestamp=\"1773211920\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DhzSIfnOhPgA2m5U2meUq1vewEQmdW8Pmc08Z3PkDoOaw9oUdLOuE5cxyrphRoGESQx2LdMkv/sThOqYF5f/L3dtN8b1nVaayvTgSEelVqBSJTqtDUiC7Ro+fJ32IrIh5/kYhrQoGyGwR2XN9LgEmKM9ecf+j0fsQ97Ph5lEliEJfUZQ0X57ixeHEXq9ZaCJ66OjhMLvED8Mp1cMZ1LRQGkObDeIsu6m14iZ6tbH8g8i9Vmgaux1MDxp0Ji/SEr13dCtCEWV2Gz+cfTXBanwb746thAMc5NbHSC38tzYFE88VlqPEQWe1h3mkMwcLmfMIk4/1AXDc93XYUCCAceYAQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA2C4CD0610E20718FED08C5820F4E12928B2E603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9fb702e2974883b04ee6f67014fef667\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WL5MwigE3YY8YSHR8jOVpddNtgWNZqbANjk2jLsYE0s2M8ePRoOvtdcS3dhYK9m+3rzWQ8E/WHsLG3IRGbDL+sFXZEakqcxjH7FiN8pJO8IJUyMjC/OjJ+pmt7L36tqjdRswGa7Aujca99KOWRGT8NTcEkoKbo5GuMCyGp/6xji3ujLkL+A73klmWOSm7W4b6400BA8bcPjfnVymlib5Ddfvo80JsRosiNqudkajf9eE8I0/N2miJlQnzUnq+vAFc3cmbngLAh0peo6KvP5/I2+GPtEC1HmiihcofLBEeb/d2OEVQEF4IFRDtqn+EH97RaE1PlKt5npcIU9N3msJ2Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211920\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108914243?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BchyIAgWfkJYxHpaQvuJqqvIfe2bOjvu\",timestamp=\"1773211920\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GM88DX9mpHl9RCHAblLsgM7qM82zWoTRB9jMvbIeGypnJzqHGYo1Ufku2ITJ4XZkwt8HHeai6aL+spl0rcMkYIgEdfoG/YfQ0AQ8thjcxhFHNfVyYeEa8Q2t6HS8iKiIJF48Tg4DjsOGFM0gccQpn1LGAUz+8D8qu4Vxf3oN1xP7SGJzuWeJgH4vwEkgqrqqZpQdHTyKAYD8Dtx0VjmoGTpgJ4QDa/1RotyCuol9SWvFZnzLvVjLl0xyPnYPckVpnuR/g3M/SUk/pEEVUo7ZhFUkIqWLHBCgNzNbxNmJeScqLHoEaUkGl6AHu6C4pDE/QA3mC58/HQA9OGdAXMwVVw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A2C4CD06108D0118B1E5F8AF01208A8211288EC602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3c03b48d9ead382caa02be73cf87da8b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: A8XrnL6KlC0CmklK3CgzwUz6dPU4Omx1JerbvhPEThcew3cnAVGJrr4vJlnR2KGBmp0ObGQjYIw/atLGPhdzji658iKARWpH0kpwP54e6bPfGV+8eLfhFtlUumkKmmdF51rb5xhbmBEc1fm/JzeIMitHtbwA/dqf8ZP+OmhKFksL9yh3xn7a9Q5Dn8CMO6XFu4qWpet5nkhbYR2Y17p+jaa29cDPn9ngllZDkvX0llbwbpdZ5S16YPt0338eX0j7TDpAyJU96OfBqPwTCL1gaZUZrlC99vDHuoOlBpn8a9ekGQMQVgl7TztsRjpwxs7o+3yoRZ0tvXiUxCiW+PWYDQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211920\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123109339386?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YlEAI2yumDVtHdjeGG5RdPxxlUysr6mM\",timestamp=\"1773211920\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V8oIVwne7bMJKzlrv1OnqsabfCBb6yIt4qg7NPfV4dIkyEm57aG+opcIrOhgtjMGHZePDgu9JKCe8WufwKMN88HNFOZJnzHw1fa3QIK43dOlJfkSiXZT8A2DI4jCtFNnF94HL5nOoUUXN6qA7S8jnm86BFNm7rfQVlXz8GnIHL7l2x/2vkkGfuJ9NN+n6TzesHLJEBWrtjkq1bSMWXtdj47pBM10pjw28xsZSoZ4vV4Dj88aSel5As1DM82lQihlC8c7LHfkp9eVXLQp6q3PXMNJJkCEwMBeuCg659IjcAFTNphx8//lFKyPG0Rf6H+yWXMnYgUXjxPnjyxpMmMoxQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A2C4CD0610BE02188DC68C582082BE2C2890BF05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aa2cd6ff3d054c315a8768c577009c86\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: E0UF3wMsC8o/IX1y15DOBvUe9t3MxKXlfYDISNfOWlJxaC8EcDkIqqxJdWWd9vryuOhyIYudQJ4mzl+rdhzL0LUlxyrmZoL08/nHDHLV9jtpooCaArC2+2RPoez3iTOJXLzM9yvEvWjZ3LprmRIg21KbL7GH4YlS6c5iOYIsSBRiejfmIG95i0mVvsM3C0w2Zvz694DxFGyO/iordBfSwuAFCogr1nMzGSEASk4YXHCOItCZrSbyDcuW9s6VEbB2KTAikfShPPelDszt2yohC2zxM06q9a7BzW7IamU1F39jLXruQ9oBv1jkga96kdh6a52laYmIqqwSHw2tu7ViFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211920\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123109626606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"oMq2hdT6nZfSmxmCJ6EmFBEqxz9malh0\",timestamp=\"1773211920\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TxgubEAIn2mT0dXuCYeFecbDWULhTBT6qPjTNXZVZTrdyTpeWWkZYdBIMcPKHumCD88FTKgsmYswKgDRZKv2i7xeLh3Sl+8DNyXYpipPWcbuPnSyLOtLiG/He3QJ/8OBkYQI+jkoOSzD2fv098c4L/C+jO0s4HJ376u5gHQ+eD2hoeX/CwKOpcqv0KMdQmCdpv0FSnR7EdmEZGQZJkbWGftDjWII/GbXXgFUB/9NZX3FexKCjzijAFS9KozBm5BAM+DB0ZP+yTPA23yYEx9eeFJ1jqt7ZjIr6IKBb3FO8DXyV/lO4VHOJQnx9pI/ikzEoiunUmBO0gf09bAkRaNyEA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A2C4CD0610EE03189C82F8AF0120B2974028AACD01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e7644d1866c049c98ba8099ef69d3806\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Mn2eGO3MFa4UvoIHQ8mPx8LiJjo5NFnWZWKwbYnOCpOvENumKYmC5Wmy9x/0nNfFlKuBixqq7JGjpRHeyYNy7RpoN8GvOHqDP7ULhcUzIKCbRr6jOJ2MhS/BQKriJwwkXufv6TlYbR8qsEAHs0fJPDN/azRpy4KmEA5puv4vCMKu/ntwGd/EoOGUzTvOTaiP62JodKAhtX706quWUYzv3/kKioaBpY2UYYFFgcUIQa671XbOcs0t05BNLIRLK28zVrhMyDSknCjUdLupZpw0lnKL4tJyEPloQ6eDcbXQdpc6J5ea59m4CDBKaQzUWeIUwIM05umkdNSW7S+ISzHAdw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211920\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110148662?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MQqXo08sYQp9qrGkgd7xdDKrI1Kg6upi\",timestamp=\"1773211921\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yrBsMghXCUjX4bn1WJvybhTlo8qh+hy1ia/o1i7QGE+koYJJC1eTVdHhootygCdASVMzfmCL1i8otWabl6hZ/N/oPQn9X/aheSd11s6sNEu9cE+LjF/BZe9ybmUnnglLYix3dRSJ+usdr4lUlWBirYkfAZi3PrS0s/hhrN2DkjUUVBqjNkm4Oa6EoEbPHqeqwvQCkX53nQX1muohGsEGmWjQbWgzCLcNdqLgttiNoWvHQ2T+/mADa9ULjZmJfHfTxBgYIlivuc+D+30CmxaG9LP1qAX4irKcwR7uc2GZaPMwaEU4XfZdkzN8FS+PGBzpaEVBbZYZS5NQ3FF8ZbDmAw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A2C4CD06109F0518CF95F5AF01209ABA1228E19E06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 732da13d768bba461f2d118af7758773\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cNaWcYzD6Rhe/OpnJUUhckJ2umRdleUdUszaHiErxr2iB7TbP5dbP/l2iqhUW6uIGCJenlHb+J3MaWyAMNN6buT5uPj/dp3vMz1o4jv7RnCdtcYubK+9gsFh8cmEh+KrSxGUy4mAnhdg07okpokqXWeyJcClFMr7avZSXfzj8cLXv4RSrjJF5iIYvFX81LyBggLmY0aWeaGtDXaZNGbqZ3ECCsO1uqdB9WK978OXMX3U3nu1RhbA59+C5gfLmto3/UKAMk/H/OWQDE2sxIonuooINigx4435N9u3dplVYj+tvDSa0FKrmlLRC5IHV0fxlzlxIkwrLOozoDjQ5OpH/A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211920\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110173049?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5mc7ARB5mTdbmm1PdEBuPO5dh3wRtgYI\",timestamp=\"1773211921\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TK1So+74ru8XJBgIZMWi/puxk5kBJpKyxghFJbdK0/trZDheKvoABAK1gxULVlCXj7TRrQDqMzbQudhML7wh/mfVszowirSGpGO1VqVsAwi11tYPF9LuCaDWLRE+tqKDT2xPZuRjUescu1QvbiyWed4Bz5wIFXw5osCTtHNCOPH9qFsiVYKVedMk2BsDGd3K2QShbcfad26L2AbNot4UxJ8jUvNmJhhva/LUYsNAenYCGJFK5GEECMTsd+lj1A4/145fpaKowkg56hLg0MosIrbWs/5/+PQGCpJNp5u/x9OgP8YwnSHf9cWBkqfBqBlzfY44k/UW9c9HOPIBC0CRiA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A2C4CD0610C40618DFAAC05520CAB30128D9A801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 03a07e5ab3036c8f150d595ad679770e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Lmb2m5NARwbcej2XA9xpfmUHsa/WhtzTzuvSYROMKQlZgGBlHxsFKwahuS7E6aFOIjaMEvMmN85c3dxrzNIDG0kCoWcmM2EkESiqCfS5oioG4w8gVCG6dMdUA7+RSfTsCk+58NJXgNnf7Lr77UuYgZo083/1EsDId+hCzp8EMIZ4JjBrsyWCSM326p+6KuLBxnfMKMAD8dSZeSo+XnSl46bUzP+puDV6B9EwaaXk2YEyl9QD36iP8pn4jVWz1KHxTajA6SDHF4wkRD5XVYRzmkLRCp35JPX1SAy/qEjeDeYhzN2UDm+jmd6pkj5MknFErvNFQb6c6mBn2incfZiNEQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211920\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110260938?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mHaBvsl4K1fBYHkKUvlpwwNa5wpYEq07\",timestamp=\"1773211921\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eDwRqkgLLTc9D0IRFuwjbQS3jeeh7G0QcAPqZU2rCP85oYHA3W7TtowfgPR4EMP5jH0aeEVDl01VhXg1ejW61Sy79flgsAQ4ooyTON6+yTZN4MENq4nrdeCqNLi1H0a8jVpqbwfRYYJ/W8/TX74C0ikQIPdd6CNImNRedt1HgWwabuQXHU/Xu0WEFOHTnjZgNGyuYkmzkezeRpjax7i3DsB1eJwVGHN/Com8VD3Y+lee1x4yw0LnWuKPdVOuJBm9i1ZsqJc4xQ9UdMiinBBpu/L1DmMg6+CoCUSik/GHmG2ZnL06gPpzdVHa5k+CxLlbJkOc3S24gEjUMsO8tDAvDA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A2C4CD0610E2071892E7F8AF0120D4A70728CDBB05-0\r\nServer: nginx\r\nWechatpay-Nonce: 7a8174fa9afef2b79747bbd7e66cda24\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qxF49ti5/WSLqA/+OrWDXBOpR3oe4JfQFl2BaZQFrfJRHvE+Sl2JcrLxGBgiozizeiTLufEOueOykkAw4q66Jefh6xdnUx+WHvD5RkjCv/6apDyDDJCFrgTO8bVh4Var7x6D1eDMEnody5uDfCW7kTCeAZkKTgY4kQnDLXYbVG6wMFL2AUfIKsUWVC4sVD3vyd/OB3Pds/zIAFt353Kc4/QwDEtpUUWUEk990kQ6fxtMQo5e1M03cG8EziHLDKBMAZiNTGpqjulUlsMNOtLX3veKm0nsziW4jLB0nqcvXWvAWS3mxu5eV5HlvqXYD+36JFA0cgG7Hp/3RS6St5iMlw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211921\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123110260938\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110627939?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AnEbCCYVTEHMo4MX3NYn9jjxC7vLwSCe\",timestamp=\"1773211921\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c2ViXTzmvuEvr9F9l9cX2BL7Tw/zx3EDPc9lv+rfHhLXdqCFJYt3yqaL02ZqPjjynQhdUoQhCpZ/ABXuKaUE0oVD71MTi3uoTdFkELd2JVkcq7OvZJKo02/QdIvNlLh2v45ZLuJ7PV625cvlBQgNWNzu9xoLD0XVikVoVdhE8UzpYXbCa4ZatlRsLWuIxSEFtf/C5BQPlYKFUr1jU67o9p2wfj3cBWPfqo/VPM7JLIUz1DFdILD1aahltPJlY4LtUFO4oI8v5P1M8MN5vXCZP7MzbrchGBxytKsJgTtnQnbFBRNnRAQwlszh+BP69cD9kj642cME/OEOBZTQFlcM3Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A2C4CD06109D0118ECB3C05520C0F9012880C801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6d689c22dc069b09c20188c12b82869f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VDr40ANFWLUD9SqVEcXKwHKGDbRlwjxTR2CBMrZ0h0aTsEFOrif7P6t+Zz8nC8Fgt29m8KTOXsU1SjYfp7YAM7z8vBZpQusatpAUFPxmfplSPz/Pfc1E8KeBcLO1TVAh7offDsqpEol2Tl6ipoKTcDmEz5kj/f/e+khHKc9f0YgQ0895zpzkY5GP9S+939gVhjJE/LNfHflib1v+wt7Nu345e3ZlH6Y0N4Qu50mBKK1sV5j5OMsqX3ldNZNqMbjghbkJ+RtnExS7h5iiiOzgvrQ+wf4ZzxdO3u70PncJvYroAVALVsHFy67z360XrJpr5O7DLYD6PeUTwFoJYolDcw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211921\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123111152650?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KMYUTZoYvO67cmFgwnvcgMq5IfgZX4Wg\",timestamp=\"1773211921\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BWx5GO8z93i6I+mZAer9JtOzJNwAsyTnr80dAi3fth6fuZslTUtIkMPH2xMQzQ94oVA7PI0MzihCWnts2Q3S4DxEmg+H7oXLxEaDdA4go1ECVc8CWbY4WcVT/ibw0eH6C1vcjmkhmBoCEGcvSQ1kSwYH2lDauBxtvZfFQWr7JcConxYPzdoGhIEi/mlLuayEi9dPNgTsUNPHk0SvDW3btLV2UlGNdLZ12lTeWp4XAU7pA8km/t8TMSnDM9H2FW0q2Ets2pXQbdhdSRYH7Rus/5mDAfiK2NIJC4LREy7lLUoPHeGMg6iJs3eRAZ+0wHb89ET5TjULegx5f12clR/TOw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A2C4CD0610D20218C6D68C5820EAC3052899E604-0\r\nServer: nginx\r\nWechatpay-Nonce: 1e704aa41d9a16637bf4cf8dbfd263c4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SNx8DSOM0FkhMQZp//p0uCQNZpDlRGIunLh4T6dRvRePAgKADaf73XaOlqIo9qpmAhfWwmniuS3FVT6lZmLYpla/KY1hXZBYW/sLLu+ZJ+Loh/XJ3QUW5JxTzqBFb8+rjidT2GcW6xhx2486xyFtC+bo+wTq7mfNcASnRZOFT1H4dmu9LMwOYQh6J75E9Matu7jioh0w2tIZQC84J4cMpK+yyJOXyM6ZvXkyCuOxU0QRjOOYmNIh4NoIhxAuf7bNX+6IcpTBSOxIrejoPVhFRzEeTHrCiQ5i0zxoUZU/9FywL6nOt4R8sF1BzotFZ8ASnV2C8mgVqGRf+dsEajz8GA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211921\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123111152650\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123111471678?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bmA18C7MB5svbxrPyslawt92jLyZ9jsT\",timestamp=\"1773211921\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"n/JKu0YdJeuu5cjkLfKSn9llaJcssyY9MagVrcyeF9Xp9wAaUoXm6lVyUAMBJvRTaWGMZ1Z8AcTGH1Cmo1Sg9Uo8ixFdiEEn7yvNRaBXUOaUYECAWLquN0/dPtkSk7q98D8aaovKsGO6wYviUuIBiwMZcbdQXuLzcJhhO7UPy17ywZXA2DH7BvmEgNBhhKyj9Z5NxoL/ZARiKuNkJlvCDyzWMUNjeKplnEDICcd5v5JK5VJ3wqBz/sNJhXoUgqRZXsjYz/+9rHixIYWJ164/wc0FQT1nceYU6pP9COtSqlfxn0eOFqcBsYsSDjC/QR5wQCaNrUtVPHBiHUWEfhCM+g==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A2C4CD0610F50318BCC8C05520BEC71E28EC8802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1ee1aea7261c0c6b55200b5b62edea89\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qfqO+2OyBwwoF3IdMrxOo3rxi+UlI+csUPR3d59oPlj2VptNZX2PTsDLK6Qy57GITnmHuW9JCzFGSDmYDq0emkhpzG1sVLSE5lqqlOneXLmru0xhCu4hausKEOaI2m3iDrXDcLZWR5U6KIRei/AR7IeZvx//tmcFs9njtPH6sAXs3WwzS60xnpXz42IjQHzWNf05b+69Ao5MSWKiuXt8XUnSFjZkOtDUl/8ygYXCZBXjQkSQN4ONPMrC4Ia3nLsMmu968AVB4VGXQCTHC05ZaoU+1XYjf8SwQl/hmE6Uy59sd35Eh+YNwMTDvuyYtXviGR8aQcrR5aElRBKSFVfCtQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211921\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123111861414?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Z0aQXAHbN6dOm24yw3ahQ3fI65qTYbeY\",timestamp=\"1773211922\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6H29g90lswysOv5x+uZFMbDEM4/w+guYdCzBnf92RKZYVe6htebCsru38g2aDFu0ookIy0ZTQIAjBIUoxNYMSwkPlQ1+ILWXWCMOdpJ4hFiAoLDYivmlJsFQEqdrOMO9e3gKnSJcWlQcBRBUAB+m5ra3kXh5KWcK/m3nHomFA/tHyKi/7DAkFadyhcQ6hHjvtaKfP2V6v2pEI3IKWaZ/UGgqb/n8CMOKdGcsvns1M42a5JiEaGBLDh/k3ZyfvN7f6huoWTECxhk2gZZ1Uhq6d882MV6gs/PKHYjuhnChg44Jr95Yr784Rb84JPVWD27QTn+4LaSYqn6SLAN1/ei8eg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A2C4CD0610CC0518B3C78C582084D809288BEF02-0\r\nServer: nginx\r\nWechatpay-Nonce: d5e29faedd4afe2e13547d0033a9af96\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iagTHVGTQVyf+yZMhpILcW3VblqOLkYU6FYwTwf87UPBJjcqC5FXRI7LvU8hBJzXA8ekGwbB4TjZ12smYO7ei0Y97dhJ4YwuKO8ZvtU5PUCohV4PRdalk5vO1QBKL9WTwqkgwuK1uYX8KG/OXG8EY1HkSos9k+MzYQ3nOiT0ootaWkfsrcklUuPhvm62lYafGe5j+r6ysLv8xFm5FWbqNAmXksvdCJCQL+oIzcQt7LU/VrgO8SaqDzUJh1JL/w/3bXGsyK461UY8bAJTg3D1UTTLkkqEvogIrEacma/J7rEvIdD14WHetZitY6g+GWvP7Hk6r+nc9JyL97+PYOvTHw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211921\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123111861414\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123112234943?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0VeEXOARKgO96nPOiNGaO6a0vDwtrrWq\",timestamp=\"1773211922\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pBr89wBBPicNCdfpadJBo9cdZO8RJwbBRGmlwEa8gLMacK+t30foLY8rf57riyHqJgMGQWDR8gu5KYoh1HAlhyco/jYlsy3gUtbyJzo1++9ri0Uq9KSSlTD+mD/bQrPQvyqrZy6TFPP3h3hoBoxZ3IJzQ/F98qhV4pb3dtncemW/5gapPxDOh/8sKvIFPseo3QtYAvk0+WrscFVggx8xx905F6Fz1ApRAvt35pAwXq7KMcOvyMmeyJ57/rR+jV+HX92DBuFHlNnUF961t7AVR2wuk4/01f7NrWuoCHwlLGk0iPcIh3FgtaZR2+1q6WlycYqrjmLUn9TKPYHN2VIloQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A2C4CD0610F00618D2CEC0552082CA0328EF4A-0\r\nServer: nginx\r\nWechatpay-Nonce: e528316c7338763168023c6530fd8c5c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PZc0lFiEelFz4dyClWl/DlSMxpNbghfquA+I/6+ZgYlBZFy9i8JudctFvG0oK+ci7SLNTYCfnDjI2zGPMA/ASDrLm/ZNRgIIaVbyT6u/lgCnSX8umKJbAb7eUaEoifuJZPKBcxkqSX/iH1hS79LXbPGFY1ePOcHWS8Ht9HtxrVitQ27kWIC+qgBr8bKoFcnWFehOUn9oWlJ7A7NWHx/1DxviQzeInvW/CV8Z/QbOWOoy/fsoRB1nQDV2CIqfWxuL8PB6OwnRZILSxTRw38ZlYhlek+MZL/PiXdHTLlM35Jaeq4qqjcBdp0Gvt5wU0jQG8lvX7ekW0iC2CwpDgHu6DA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211921\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123112234943\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123112977159?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SJ52gNmauo4PQvZ9L24jCgKMa50AUTVl\",timestamp=\"1773211922\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"u4XGtWli1c7DbXS/yGyukNZ1czo/Q4citgPPUhMBt4tWcHVGaWfH4R1cuQ/3eerkRsu7nGAnu/64KMvt6Q68yKHbOaHwzMgL6lTFZ+iC22Pv3mclgIXz56o3UFqy+drUAP8QZGpyy01oApyomWABjGSX/7/xFIKRcQqICWob75pHu6nGzc0Px9LcStGuzAMtgmcEKAQG4XVOJnJnGVK5ge+ZWmrWzz7XFQ8CGfLRDZENGv8pSa8ho36hYQAMFiD1GNryZpQTYqXlmXq6wHtc6dns/F1WuDQJdh7LYSYcoWHlCNE/wIDVpR0sGCE3iWxAHSHIlDJ5bPDlTVHZmS+zAA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A2C4CD06102518FF93F5AF0120C2FC42288D4-0\r\nServer: nginx\r\nWechatpay-Nonce: fbe331dc662bc3472a7af261a02c6be0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RL+lE8PJe/wD0SuaWlQE13cwOmy8KSMQ6iEtAQSYNGGUaXl0qTwhfiL2dMXxuRn9h4D+qLUC7bPpafuQRxyAXLe6Vebyqykmnpbkb3CTXslOq80uJtJweVjHD4qn8osKGsCet/MJ+D8F7A1lNefU2Cvzglf0cQuSMN6wdyFKLN7Xqi/21DLrAgUH2Xhc2ZvqhZw2pSBxuxGQ5PpZaUGXHmbxLEMEyfqAiwh3HcZ8iDgBWl4tqzoS4KPTEH6pqBEyd7GyPfQII3yu3UpkmsjlCga0bAfEqM6C6OpSAgid7ATSYzS+Q+Bbh89sUTT0f+QFpc9U6X/XpybPEiEmq3p+Tw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211922\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123112977159\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123113040024?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SC04ydPHskln4mw8BfpJfuEiz0sbQ3NC\",timestamp=\"1773211922\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fZbYukXqM6fNi459woHwuDUuN9Pgsr9VghI4+L+0fP39kjitGJJ7lqcO5bGPJslXaNNysGTwvI8L+lpAz4M6UgL2Byza0ezTAmvLaPZKczAxl7juZBzDo6S1+uhF1r7bachdiJR/XJv0HmV4U0C4IEFV7R4IvRYdmd5PHbvez0QIKuSqS7Hez+F1/hzg89QlgbetlhNV/cBantvRkaLwbHy1wEuiFJx1sx8E3ALVk/PqKaVNn0zpqHc6SSgwrx8osmaktWFZmlWHbTK7ZScS+9UDzErNAwVWCLvPJnepYx862CsDpDzpRWclgsPfgNHGJVzwLKFuOhFBjj9M/0dHYA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A2C4CD0610CD0118B6DA8C5820D49A0C28BED504-0\r\nServer: nginx\r\nWechatpay-Nonce: dd5966bacf7499a75eb46fb74896c749\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SEswl+7HK2F4baruWpEL68ohzCFNQyj7x3wLak2hG2ThqIrn6UJfvJdA06rqI8VPTM3yVdEiQU22Ju4zU5QEOeB0naOOl6+e6/GOp3FcQ/2RJbNVw8X1xRgPDS5o88K5ZyuxXf+9PGIcDEU1bNbe7xRIuHkIZo5P4jvBHgh58pCt5cyP4gHgM7RtjdJleaDLxDHQMdmrTIU+OT1SF+Ior8UPyqDPAkIiTNL4SItW/AYJCtPpgW5/bucTz95L8OYqNz7L1b8uMrp2Yo8mP2dGnkbH/zt/0toVWWFXOKLcLa+5/IvK9t4+cnT5TLnXOg8HUYVXtO92iuw6vGAO1d4X+g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211922\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123113040024\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123113160108?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tdlvJu9LPloGa0red6i6CGiS3dUT5hcy\",timestamp=\"1773211922\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"utjYjIPLQS2IqXx94us7wvtJ64HI01ZhnyTwivUxNb7+eefo1DLUGeUNVaMLs7wC+uLmpkvnfTlG1bNiEapF3pF6ipNwQb3De46s3KsFdaY/hKpsOwz9MVS7jdJxpocV/V5K4ZJJFy2pV1p/BQTkh5lqiKAc8W9SR8lI0AsNLpQXMmUwnPeJ94KbDr0MOKhTOEZ3wm+g97r8dFzQJfrKQjh+VJ2flMbuey6Njp9o+i69x8qcnLsZuAZHQPG+9gNc438Kp801EqCw7orOuAMnNTqGX/SAVcUuPZzinfcf0FZpDtv5ZjWtUgGF2tFq9CfAkL7Z7gaR/Jx2OqXBD+7HbQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A2C4CD0610F20218DCE7F8AF0120A0E61728C8C705-0\r\nServer: nginx\r\nWechatpay-Nonce: 5c548afe904c226e695f0c711e5fea59\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Gr/bIcdgJJvS8e6IUaQcRR5sNXhSQr9smJ4fGcu1SzfxbNhrvRd4/rf1WjzBsWy7akB/G1TThc3obt5uhAWwbIQf2Ilwww1nUYas5j5SYBFVaSPq62GEjAH9jCmAa8owaZ7Eu8GNMEl0Gr0mL3Ie7Uc4OiRqFMnJgxqLhNEorGmkK4Q7SSZAMhbyWviIUfxliPwYpqiRrbFSCwuNvEH5k9+sDGyRY0iDsCwfBxeZU1GwvBE7neyL0lz4RFzm8BuCaaxt6/Wa1hWv7pyRYKZFyUxl1jSRt3bxd8k6+27fK26uPvMdgx9ZChqGq/etc/bDQCe6E/W2lb4um0rJjBHJiA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211922\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123113160108\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123113549177?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HmhynBndbyN5BgeZ2X2DSTBxNEJqamfe\",timestamp=\"1773211922\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4fuUJMW/fDpsffPBVvFqcXmvaXWKchnHnDBWv4SlIHTSaIiLm4WbBQNfbdTmZEIR1zLAziM3aK9OQVotmX3zLCe8b5EEr/eRTevOpdi7VLQ6H1PckefY+jUV+asSrwQ+klW2K/g5wGZlLS5EDv6K/sPSm1zEO8uz63H+tqIbeM2fg59BxPYRPw9Svw+pN4b6HuAoVg3IO0npjguLNJbcRhJtAUnkeLI84VYxdyx6fwpRqkMJwJUCgQ+NQS0bv490ZvAIdxJbck6ieexIklAAfNH9lvvURVUCDwi7pcgB18mHyEO1O7ValwvOFoY18oS9LcOQz6u8jgB8IS+hAFYDUg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A2C4CD06109A0418F9CD8C58208C95022888C805-0\r\nServer: nginx\r\nWechatpay-Nonce: 018eb59f35622ca85fb3b30402931048\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: O+28lF5j96bOrc41LtWzhY5PmtKrNfthVAp/9AP/spJkI9ztElekVWTVtFsR/G2qsQdSb2ozktBURytasB2VVBYSGq9HSy5/EHMgGGcloK28gyGiC149WV/PjpAIEHNDUbQ5sEsHL06H1rtpNW/xmB/lkrHIpuKs6JXbR8ndENAuUuS9Y/bVz2d0zGC7aCvPgXKrGqVyRuvpmCw7MEccKRxK8LQR/ggl8gc6cMQ7sQef6E0hldJTpAhu2z6PqmkJfn0yT+hgsDQiidkrfoGxa7m3kXp09/GayWqn7F79+e9qPs6X86XIAK/rJuNFL84Cq19PPXDWXUw/2LsIGNF6hQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211922\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123113549177\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142300758656?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YOTPjC57nfexDJN1ufJuEXwTFYfWmX3L\",timestamp=\"1773211923\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DaiFVfjwJdGyY54jKPnQyb7CR6m46C2sIvvkOBU9M9FUQIwy/7I0v4napIoDxGPmZdP45GKeCFRWo63J9h1ZlkatE3dnGFaq2pAsMIMvdycSZCHqLA9x/XwhoWb0lkZSkBdT7IeKu1iYmM7pY1klnZlLc8ql5tQZ5moPkEi8sxp68njUXeqkrk6fk/cdGG05uqYr6FEcMFdDpyeBfCc2rmAcz159QczxHVs6z66ZJnUT6ML+JwxOwWdzFlgM8QEQjxu533shOGTUVWHsvGsFZYV6Q04TCB36WczuRYsS1QGy0JNZCKBYSuwXbMWgSatQEUqeGd9vKavUf1IYNS1xxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A2C4CD0610D50518D294F5AF0120A0AB1428DA9705-0\r\nServer: nginx\r\nWechatpay-Nonce: 33213654a597fe78585deabc7168d813\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PL+h1lgecDC0D6bwl0x1D2iz3a/L8eVakFFZvF3s1DjVl9H7A/1w/wkM54zxram64VF8nO0XjeYLNZ2gP8Asc1qMfp6DNMR1kmcy/yFNfqOMPEGmPzpNphbDghifBMoy2RyAaoJxpeO+ksQ3oU0A8x9wiXvh0zq43t+MDOw726ZgSjb3hpKqExGwwUYiEZrwi19/ZMROuwFnybh2Z0oef0+Sh40UVa3fW53rgaOVZ8F2r/eR4JhQh0mWgdykUrJmvJOQAG8mz03MOjpO4Pq7/l/tYqxC98HPKq/x9BbgLcB8KHOVUYcHkK0D9xX8azDTfSn00lKSB+mjEyLzpgCmyA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211922\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142300758656\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142527612975?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pt5jOMu6N73GuYCsnppj9Lpz0JjVlwrb\",timestamp=\"1773211923\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2eKUorjFeyPehJkc59PdWRq56C1FP2/oPjs2h60Nv7TJDHWCDsZitU/Uy7XFOWbMs+uanqmcGLTUxzTOqAxmrSUvtENLHWM4KMo64PrkQ7U5LrFEk5lbEmRLjQqTBkdNuiXbfY6vg3RBoUx7SPpXc0yTLuUn98pieeeTTEYNrv2CRwKT1zGbNxZmVGoVnP9OV2+cbn+AXz0Lsz8XK/rffaqZJoi4fGO4AQyI1D6BLsTqBoLsjWfWSpSlixL0jwnZ4FaTe8odVJWhw2WbapYQhEnGzgEKSLdUu+efua8Z5ux1buEKs9sODAazZAsZpDKs3IRUCG7GB5TWaE2ukzbvFg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A2C4CD0610E70618F1C1EDF50120EEC30C28C4A104-0\r\nServer: nginx\r\nWechatpay-Nonce: c1e6171527c249e4f16532d54b44a9fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KFEfLXSKT/MN+FvMGj6XM6DAs7TpBOVxo9JnmYKM7gV/fPbAFrCKLY13bt7ihhkJ9AzjGu8vouzihQdnqC6HH98Oc2aFG20elLMmPyxcEFJYRaXQOzqw/qeTMp9Za7mqyT+qi2VM7KNGVG4f9039umUpRrfCwFn6j05lh8DJBNM8hK7iw0E5SVqxhZBVDTfixwBDJG1vOhhYQs/bOFGchgHStJ0Ju11w3A+sCsvvTZVVt/TV9KBvEe2857Bsh/9EoGxg5NkMT4S8pGnyfOPCrMC0BiE4sTSOPlIVFY0TO/JYOi/7izpBc3hAHYSdQUSohINEQe9V4O4ECeRW9upCLg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211922\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142527612975\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142941918000?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XgFOkYEazHQEDKug8tS9mLcTDsV1l9ew\",timestamp=\"1773211923\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PdHIi3rtA1L3RlTEfvB90D8f/kHanaMkP4OB8tnrB9hyHRYe7zR4F4qx0bF0mei4YgQqipHDHG8jXm8hybKh19case03Rqr7d/gQNk1hhYk/uQc8wsdG5FrqTU1SAL9Yxj35u2EcUNh4HDpaRXCwn2JTj2gRDEmTLMdH30HpvZ5hAHyZpSa3TfkOkWGCy/Tg17uSau62tmJK5MWmNrhkgUO9Rbv0Y+c2BMUsSQfdYnR2adX7CGweM5dFQ4VaVBAs+/50sh8aII/qZuNMqLjssdwHvPlsoSXIx5d4EisKfpe8P8Nic5BEhtb40xmJ+T9GSeo90I7xcBpiMD4F/V3lGw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A2C4CD06101818BAE7F8AF0120D68E16288ACA04-0\r\nServer: nginx\r\nWechatpay-Nonce: 6eec8421c0e17708a14ee9070a0f55e4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yf/F8OZVfqTy/cVZZAkYzhuWSpYY9Dt2HRwCvSBzZv2GTXhk/ym8koZZbGdduNO2iG9Y2mskWm0KuvYweafsoVVzPiFKNAa5M3sO/RHQAWT7jEDFhzqFXS9gqujBtD/UTpdGwyjuLe562058jMa9LUXmr9s/C+i/061yt6XJ4LnBC5ZGR8ufmXKcBbXYkv+SOr/MlSl9jtEVGcAg0XlFV+oC1NNDkak0HgOlIEQ9jhCdFs+gT3idqYdW3MJt+5UFuXm1GJUjvs3EIYozCqIwsz+gGHMCqSimUVXPj4Z8WHTWeowO19N9tWy1bQ4WlUy8jgeMfPSjUU52g1MDuG54yA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211923\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142941918000\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142942119166?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e9j4cSEGykeNr4u7j7KzlNuJydNw64Mt\",timestamp=\"1773211923\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"M4UaqbsEkSt/091JTDYvixV7ONgF/zWcCUPlNFvtcw96gJ4f32Si6VaxTByrak1Z2XfjPWKVfYC+2uORu/1EzSuVfeDYNJuVesU5oGCSkKIHrWH16gMENSlZk7PB6Hf9WO9FAk2JO4Wi2u07pe4NjPFEDipkqrOA8BGuwYZIfwAwNYl1UYiD9JY1AjjlPsFBeBWm0c5gAHJOId0E59rEVoy9EZQHr5YF/FezcFUjkBmp8ImmrxI9k0/waJeXvkGKedaZ7r/vUo0/qQgVwn526IW/ebkxpJXswrNrWS9LwSX7vVL9IIPmr4bWlJi6OrKaGM70mS4kHeHcgPQfH/TZaA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A2C4CD0610A6011886CFC6AF0120F2E21528E0AA02-0\r\nServer: nginx\r\nWechatpay-Nonce: fedb260ad3171afee8b93a40b69d5db3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zVJywomqSq1QLyiYwUncg0ohrgjlXKtVwFDt87CCkKCtPkeb7woMFiRGIIpxOfYjai6iac7vxd2CTC8gcB2FMJ5C3g6lhls9+fOLaCbl178Hc+zeDdIOt91G04owp6qgyz6AfyfPG0oI4ExjQLbe2pMLtGGyr4P5sW4FDbi7wbj45Ld+3RCJKEZcNynUXua2DrrPGCLsC9eWl9+iINyBGJDmbOWlqsMTOleZCJMBqH6Nzh67hlNvNGRQDta/Y1OZTCH7Q1a8wuThBKiq0YprhMQ9e3sYgc/miNZUEGN5c7tvo4+dPu9ON8BNPeEzyw8o8zTqy72UFCXhXokYTxyi1A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211923\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142942119166\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142950496170?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BuLEDtQJTTiAlkTCrw7qgwbz5ot4NWsF\",timestamp=\"1773211923\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gbkDRyFQ4kfMKKitbhy8H2yzm2jjJt22BJTFVHd6sAc5uTg6zASBghovu56aIQ69RwbF1Nfhi3linKxzt1hglk28p1uITH9sdfER33x+d0WsidR7mJbgLyoqIVotI4JV/PRud20J6ZXcJWVzjezUJgx8lxDuxvqlAjhQuIM0+La/5XvWNtabbRcHkH0NRs7BDbCpEO7NxeG6As+sOeCyz5iIjmeAq1OxhARjvOZ9fq3LJdwXZs6R8r2fIYQ0GSywDktL4jhRtQKOAyjw22yZ2qL8rkIm9uEIZJqFoqqQnDBOAoIXQNIdO6YyROQAerf8Pmo+v3eywmn6heJSvv/D/g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A2C4CD0610DA0218E8C5C05520E6DE0828E3B604-0\r\nServer: nginx\r\nWechatpay-Nonce: f4f336f10ca884bda1ee65ade5c27dc9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ymqkZAoePfwxue+ONmreEO0cgDRS57e0ad2y1Vnx+U6XEfyuk1ITXWdFvZcq2024iu/tSJXUG3I33OvGY4ChZEtbVlxtX9PCTPSanXjzo4Gz5GnAilktZ6MjL676R6z1biZLbNdP65AHE3FwBQZVCihN29JX5hQgyz2F8oGCKHaUmqm6rMSoRQQIhXR1JepZXI2yNro0MiPYZuWjX+vFB8HP+xkI3K647Cg9ZZQtigCszG2nG0HYnbVuJ/p7PRXRirRlszrx1i0PCfhLwc+4AP8Ea5DbdZ7CawHICTJLifofYdxnJ64s+lyfbCfAhzPUpxWeuV6ohD7VcNZfEVGaoA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211923\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142950496170\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305143013400734?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8zqHY92CziUV1cSxaJSIUqOfcl58Tyhy\",timestamp=\"1773211923\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"B5GgF73kkAIlWU2Tw/uqqRDq5Luq5bsG9B1IDtgn7xDXWH/BMEvxDIDec8VkxdooDQmC6P5xXYiGZoXJB3G8bW0WRK4I1Rp17oJEhhKtDvezrzWRWwR/KmRF0EoP9v76ogp9n1CEZBa81cYYJm+qwxkJUvdMrE9DmDTLld85VKwdrSpVL/r77/imCoaQ40KQrhJrDhsR+z0AQKL8lJ0ZnrTtD0YYPncZynxWTGnTBnqE0JcD0tlSUgSnuWGBMccRUoD9y9fOh0KWCwM1PdLV/Dz8Ska6QeE2l6DUy1W0fyoX5Qz1UCWIstdekqLthN7SQB+BT50CzuLa2IUKtAnA/w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A2C4CD0610830418F7C58C5820F4B42028F0EE02-0\r\nServer: nginx\r\nWechatpay-Nonce: cc88e40fd2ecf9aac6773500ebac6a5c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OlIayEkcLMyHwVVEmqm3OjXCslTpn/33qQ9tOU8i7EwHOSFcIL7Zpj/xh2M16+NWEXME086rYN/2Xi+1Ox+EF+BlTNmZlZ+4cpR65iBLhmmeJETuB6YKI2YB7x63Rji0xvq7ucFIoyA+owMyUbMUjfSTIYxDO41ReheusYp0n2sUOhoUeVRd9isHhoUEyF7qle4BIiuXixxODmDkXhOvR69TkN/6lNzdMY4+4h6pyUurFjsgE43ZDykDUOqwY4wAd1Fc3l89hfiOAiuFLo1dSf886hQdfzhs4ZWIrpA/E8W25W5TWJJEefclsYHPNPRn8ckH+St0wgT18ZC2DMMglA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211923\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305143013400734\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305143015963950?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ur1pr7w6L6ou12tmYSEnRL3pUTWYWj4t\",timestamp=\"1773211924\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PrTOnwOtc4kukHT6Lx6zGUscxnjRgkbWguUXDpCWGWW2d3wHRw8qfMr2Dtiy4ykkzJh1/vP8sh0ZYRQ6kmf+cmNXWTSe0FHtnbAnGXPWpB77/8UW5MvsG9aXYALt95hWNrQTCAEUq+bn5ZEyrjYBlOdwdXcIPzhlGo6/aDI4GNpjtZgl+AVgB9TxogAbVTFM6ELcsC6PKaYkQjMdhZsiQ8H6vjWTCC9cnyLw+ysJXos+g7ruArmJxTeBQRSCd3pDq8o4on9XmDeZWUyQZ0XdznMBvilsNQSVaJKQmglOB77CZ6V/PZ0KmF7gzKHRlvbqQfrLs3rTOKXzI2HjqdLGdg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A2C4CD0610B40518B6DA8C5820B8DB0428DFB403-0\r\nServer: nginx\r\nWechatpay-Nonce: 6c6cdd8b515e6db553d9156def736cd2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: q7fWf5sJky00s5y9ETFl340YxxmMWj2clYDuFWmCAeX7dkl5vzbZZ+ehtUCmT7T6CVCRhYb9itkVy3Obn3fNbtMejH56sGtLi3uW1O4gL5dk6np5Q9XR0bUXQrWrSpFFeDJqq/JZHcPNEGlXf1WmcYe/bvfCRMX3+EAQLcIrkKCYBNWdLpPz/C7XCfNRPR6eL0D/9e6+bOZmkx3pUGBbnXqWNIrzh4fJOUnAKa/5J0Lh6Jfg+q/dIqdGuAFNry9hBr492rnJSrC/GdKdCCyzst4veBRgV1Lugu1PiedYjNkMcj4lKBHJVA9Zq7rTSzyT6jzVMRNCr9ex07ohpQu05w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211923\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305143015963950\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305160412776209?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nEGfIpwVvM0rY0bwi0xq3anQXn5P3QSq\",timestamp=\"1773211924\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"S6b7nFfwyyVSR5sT51wklSO+dVlEGXfCOk54wYwfp5Kij7kNphVsUyJLnYTbDEyIUvln8QQiTlootq6icKWLzFoHECt6XbMUE6BK1Pg+FN5D+lcqrABVbBHm+rOjC+UgZO84zxUQX34pKBSvK0y79qStXDO5BdNyJl66onKNJsSm8HINgfu6yiN6BsQ8DhLIaENwtxbwpVCS9dahE0zTdMrsiG5Vx7y+xmdv+M4UXlO/i+bS5IgyiwVVOYFeowNXKQDO5z0HgTTsEtpox2namcoH4lTITGDI36Wg7N+gWiP09QbqPBef8vcm+FuZem/9INfkfKVWM500RyWMWbnJ8g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A2C4CD0610CE0618DAE3F8AF01209EBF1828A7A104-0\r\nServer: nginx\r\nWechatpay-Nonce: cfcbeb8d48774dedc1e9b9e041856b8b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iN43Hg3n7eib6UXmqsSPiA4bNV6QPvsAl4KXwtSdZwPmWC6QNrFCwPXnYps6jchgx6hQHVKLf2xOM9g39nZ6TPRBaXlUZA4LzXlPeE6IGmQeRD+l3GdrUJa1evLT5yftLO9l6ogfIJJFWfx6ZQDXTvFSGR3gLSI4O3ObiQShX0PsUGD6si1l2fFFStt7bMO64EYSDOMZSw4Cmoq8RpR3rPPPp4RVjenE5OBymTLJiKwhGNLs3qRNlyKHSmPmr9H+roFHo8o57laSYGeW5ElpBkB2qH5496pDbNIxTiRgwf5/f0BITX3NhRj31iA9ow45FHAiswXZs+zlGpGXhFvAEg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211923\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305160412776209\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260306124440714553?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"H5pw13SUOVdbVvSyYAJMn6Qf9akHUVJI\",timestamp=\"1773211924\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"t0a15BjStcGmVel7e1mkTi733uSqnJORI930vtKJzzeWaHNnI9lX5uP3YYYJ8VVqeswnHTK2gmh+yZs4xQWmic9SGikWH5ALNc2r5trnXCTLoffh7x5aFwOQTjFnz74rRBktOe/3Xo3bXd6+5hZ2Cz3wuG6uKIjWL4hgTjX2MpJzSKo+CoBU5NTuILwgLT44t3lpoNs0+m50gaJAQkbyQ1Z1hK6THLqokzSOpAhXJYZvQ35obbA7uSSibemeNSmQltVchTDlSHtNzHsll++Z7zyxvcMujiArf2GakxUHXhVABjUe2za3OgpdEKpwSdl6x5HxokhMo2Ms78BKNNh9Gw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A2C4CD0610E20718F4C38C58209AA31B28E7B101-0\r\nServer: nginx\r\nWechatpay-Nonce: 9773c1042b71077f8563648117534606\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NueLFMkeU12lr8/x2z7vz4ii2OktsN4v0tXKDdodyfmZ9tLM5bRv/VBIzEj0dsop1oWRxGOP+7AMZ88St4YonhielHtv/fcRFa97OunRqhKm2hZHl6sNB/wg9J7Ay8kV3ItJG9f1qXoJZxVTmLvjUS4cSGFuM7JscQ+tBht05SGrDMuNVAtCI8bPWoZoV+/Q9EosUDbb8MhNUIkRaUFLDkolLQ5b7d5ia5klf0JlkM7H9hWGAvzLn0AZfVLKOsx5jtdelisDw1NZ8K2h+4tJtZ5V3zhdNzyXbZ4H+fevPZC/Qc0bzFbRxaGjK8qt/2a6xJ60Lr6/wBd4XAyM/nySIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211924\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260306124440714553\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260307092935707893?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YhOJRVxj4F4P1GARklhuheusHtsAkcZC\",timestamp=\"1773211924\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"D/I60oV2y7YCgmMZy6YURsJICtmZ88byIGl3SYeBP8BgiYQEkrH0rVDbffBpIcjA6jORnEgZeXixw352oGZhMCXBJf29GbWSGpRCkeGau1PJ6iVmQkQ9/xiP87rP1OFSTWM17sY3XyFyO518VAn3T0FYeAn9N+5IuEfGX3ACNpHUvSGOxSSwCdzBAHmiYHLa0tHDncXJqRLy3S8Nd4v5PWFpn9D2bTAM2+G00I99gkzOoDciW1tB1rvrc27kHGSvacI5wESX9APSmg9GhHHDq0ottsDjkTj4E6AOxLCVShv8DDssbq/nbmlPIFKslK/nlQWThrwjGtmTdEm4LjeXBw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A2C4CD0610910118D0A6A85C20B0CE3428F1E603-0\r\nServer: nginx\r\nWechatpay-Nonce: 46370938d28843500b8a686b50edcf46\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H8CgmzZcrhiT9JBQ1yjCqFCCmXq8+S58NbP2yHpb6PyRz8BWA6obNax9x4b8yEmqAuBjNf8JPGdXQR2X9xkDEk8sU3Y81Zrotkf8zXo6QTAKl2/WaTDJFd8QUluzjL7hXq/71R6A0ezCTL2LNuh7uDjvdwMSYWaCRSjm3dj++PrQO/nRuG0w1EvP4Av3MlWimjE9z+xbkPnPvxkbiXfkQHF9Lq4fRB/PD07iHop0AfFmDw7cZL1WgTLo6kENX99V2r4Y6J7n7TRrMwWXfh3vzjUj9rnUBujjAHya6jMFgle9rcP/50d1SdFIlkqE6XvTqE2KfwDNkkRuDectdWKJsQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211924\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260307092935707893\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260308001233343696?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w4tRwFDqzjGpdN8TjVZjkSAlBzNXHUdG\",timestamp=\"1773211924\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eUJN+tvzP+XRzcuci/LJYfExP1UKY8OmYkemdTqnyozroS9vouyDlTDg+SkWKdqDrBMSX9MhcTni/uvCIMq8V/M3cNhDWxx2sMRYNWqILVIvCzIpqQ4rErpwVpbByl0+q46OoaDfYe8Bk8R1k5UZ3KDFXmcXfSrDFlkl3WgSHDthVL9n//xg+sRik+qSR/cfwr0cCoclwCP/hJ4wRNoVBAYYVh1xsHcywf7Utdsql2KOyed6Pp0FZH1RUBnBGaZuo/HZ6zT4b7LrO89l8oZPSGMUDyS+5hg1BLs4H4DDyecMjHQLTn2BXWnKv3yhC03xFSld1NIHNfcuaVyaJ1MOcQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A2C4CD0610B10218F3CEC6AF0120A8DD2028E58503-0\r\nServer: nginx\r\nWechatpay-Nonce: af728f51cb2db7d952366d7b094d2d20\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KoNod/vlkawTRGx2bs24u/wiavmwdzsrZRrKakT6/akyI62qFeIehtN4oeeT8lCCEr8DYP5WyIKG+vLybQEnQI1hIyp2C7eVrt3UJCWLQeeg2rrYr5yLZkOa0mleHg41rULBkzed6gDt8E+611cXQ7wu3F47RFAqhbzWbdC4CDykpTTTm7LysSX805G+YbAFNXSZIMsroNyKNdEZcEYFK6kw+gglE/pW8lenBtubd/Yfe3fHfZlyNgFKU9Xeerov13AUJP2PZ78nAOJvZ96oCsQu4o7Pa7k6F8gMgh/k+N2gOP2wcUPczaS8eIuMNVYYNTbJja3WGCgiWsnZapF+4w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211924\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260308001233343696\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260309091832941702?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dSWmsWqq2YMWiJLmp1yMz4IT3737fwIz\",timestamp=\"1773211924\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dZwmLtH08zCCK1+pPPizv2WkkawdqEZhj3T9pjMwmY8a6kn16hmRr4RSr6lRCU4RqLZuZrsTx9ngeNAiMTZT+/Dz76BQ5uqO2Tf8i28E6EjghSDO0pjEC6DldEtQaS03I51Hq89+MLfQaKWViH4Q+haWLnD2jtHcccErPUHiMs+pC5ktjxQ9bFZcboA9MDCIluUk4tSg0S46UUFshKSQOtjMjBqtOcNujbD7q9UYOtPE7MzIYBtIcvY75uOyC4WJ7Ec1yWzM6rEy3zxGXZdaNCgKsIY9wK0NB/2+OT5xB9zrCzLYXrXZAwtwOGugt6uH8ah9f2lwEn6PpzJG8yq0bg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A2C4CD0610CD03188AB5F8AF0120A0B61128B8D805-0\r\nServer: nginx\r\nWechatpay-Nonce: 48d93a38a5250256bc8652d52fe7371f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qih3sLM1nV+p59YDOIgby5amnjr0RjYYcbJ5JM0KZeslW5GZBVMbTO3knlaoLWPDIFc3tL0pjjZevF5HaWjiHlFI2VPZtxBW8HDagfmbpsSURF30Nc+A3DIs3l2jQ32PV+oHSOMRpfwlaZ9g+J+6zHK0EWRS8C8yVveuNyZY3ZCX664aucZ0huNyPN0mqqagEam1udQcp7cAgrk8oVIOvTQ3ikJw3M79STLzu6Uq39at5f+SxYQ184xv/DmY6RnK2MbqdC2pPMJ2TbaG0vhU4llPSi6GbHyirWFIJ+usdDOIJWumL76A+BKhbVmSqFtoauH9OtDjGmtVG7h03/2JhQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211924\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309091832941702\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260309104414306664?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"geGdSJDBcNU2kpXMZQKUIf7819cYy8TB\",timestamp=\"1773211925\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"SyCYTTH2BlWm4YPjS24Rc7qRUaxmTbBK7JssnGgnqrHlgLQHbMeBK1gDS5SIoNJrAUM7pd2lU/1Tdhup2JN39CZhQmvY2xlI9BCNSYAcHA//v8ZolxOd1LWn5VbAAMLP0/oMKoRvsw3v5U/OYc2mUn/Q5O1grEFhHu1py3fYxc0La/4sYTb0TX/v+BZP14WDXr/Kfa5jtYOyyjoKiCCipNpWNAv0frMeVpCDZ8N04XTkSVW8tGDXXF1yHce5SCSPL6p1eZVGzFPOy6gZp8m11ycHxEMTUtcugGMtd9lsLpPctITyCSHBVZZuxkBeTFNgIKN1HQkBuBVyp153nl4kzQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A2C4CD0610830518FCC38C5820FEA80428E49305-0\r\nServer: nginx\r\nWechatpay-Nonce: 31b838ca62e4b7518d5a332b4e18a476\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: krtO5egufsZBW1VuTch+zD7dk5LgLRf4D0x7PwHPsvihTrKv9XeCa1q2rwiZSSPQTAgxulUH4D8KuSrYWxs66AxnGi3nxbizV1ARgIYQlqUPPZubsvS1l7kEK7HzLu5alUde/ytZ6jiapN07NYz4YWUjv1no4lKaV3SZzVb6hFnzCbmWcUY5r8V3U2YCHShR5pU/HKfeH4NJgLC3lqyVg5ARrn5UNUXQC/PNtYoGzSJXXSTJO2+5+KlqWZMhOYUDVYh3Y9e5R/4CDVuT+iXc6WEURbHsYqERVpLJUcwC9b7k/hqNTnW29YpoGPATpi+cZgO9lFJueRZn3VUQQ7a+LA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211924\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309104414306664\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:52:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260309174649961512?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fFyS7VEkU2JUlKvfhfhk4EpDS2YfSKPl\",timestamp=\"1773211925\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BcT882SqGM4kI1ziIhy/QzNciJhItbSWQzyEd1szJtq8gq8LTlAAo+1lFi9RfojN7O9Mz7ERISmttWzIVa+Z6eb2ZZO25qBcfdW+lb76DtdMH1pefMWVOWW1Q/gGp58wfFBVmrQaoLyYZdjJpyYCm1gtjlmMzvO1z18JUcubSa85r1ofRc9QN61k27UK0rDzOrK7JR8uOGXkd0QOEbxrKpdNCbBbR+fWBqrcAblxiRbmPoEuZycreyk30bHGRlcBONZh9NxPDx442KPu4EutePmMmWt9zr6I2G9QtS2l3bjQTSGmT/wNC2EHK+OSm2GmITP1MeryT/IhZPukZvajGQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:52:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:52:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A2C4CD06109F0618B6BB8C58208CE10228AEED04-0\r\nServer: nginx\r\nWechatpay-Nonce: 63b3488e327e87bda078cab2d521fcef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HErxXk+B8vCJQekE0vT2VSrlW5TFfQr4eAT8tLLV567tLFs/v5WjAmHh24H+LO4IVOEIpI839RoZymg+LS8/DEGtP8088u6+18rTLtC5yFO896xZ1Z3klIajnxLfrmS18DpQ4BEwT1/JQPiZ5SRlgZSPwACNlY/Ntok8bukYv67Nv1cwlvdaNiyBwICbEm5ooRD6SXdIXrInM1XhAYYEmXPiSI4uThKZeoriU5vbTckZZqXnQDcva+NcC93DvB3ogzaUdDR65p5SlQH6O+i9sHxBZ9wsOWqG5l1Bx1pBz7NGE5NszGncgQL7VUumv+g9ulDdz7jPe0x/cXb+ujHVUQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773211924\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309174649961512\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260304154055740942?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"maSOEbwi6ygY8laXLNw0SxveyV7NKlRI\",timestamp=\"1773212169\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0f/sVILNt4PlTemA17MLh1TLGSdzqJBav/9GnsuF+2vgPkq4NNkTsWWve4VgTElh0ydUZM6R4QyyDjm3Dmn/4Yi7bhFIxLAvu5ow2wDZ0CCChKH5GGbhDno+zX62m46KA8vC95LW+9dj9tAvwKNp3TIXQnu86+xOY35zhec37yGP94hoJ2ZiBhjjBmQwFiZzKQlOg/oAU5iPdfBjjzsb0+LnPOsQ7sq4NQ0UeV/gzXgizg7kYkyP5qdibTg8B5I8TMTJUx0MfXTx6N9Ff/lspfrbHCuZgzVm99fsbuCQ+nKvKIbP+6TXN8QaKfyO2cQE9CgYH3+u58QyyTBlBT+IdA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A4C4CD0610F70518E0B1F8AF0120A4A60F28CF8D06-0\r\nServer: nginx\r\nWechatpay-Nonce: ca1b0e3890df5392f7eabc55a4bcc083\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: edixtaFZBBcsV6cdlONjuwowhsvPf240J+fOPq/Ft5GguIR/JciL5igWaqX/xZnXblyZuczW1RuiNG/o+A2OwBt+TmM+n1+Oke8Md8gMR9i1RS0TtI+4WQjuJ8bdowiiX8OKuad8d2gKxvQX2kpCEvoNGC0lplLof/id2H0kTNVdOq0HjMRhqSbwb1S86spkaiGMPbX5ucxocw3A8SPvvTER+82GlYIB+xajxf/jPU3wTT9ULf9N7TzbrbGyYR2MJMSg2Nb/+LEfsSSyrmyDn/1Z53FJb8mNCxa/IeuNS7Ol4l9rswxiQUUSE1BmVJw2SO7AoA5TapTXCalmJlG9Fw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212168\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260304154055740942\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122618011316?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XUqNM7cy2aFfqqWMdir3ra7OLTIeP7b6\",timestamp=\"1773212169\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"y/W3vj9+8WbVlLIh2w14lOr4tvef5yzoT9SIuhu+ctp949CbK0pxDn5aEAhgnHW5Z7NkHPA5hN4XLBfxxIyD7VfdnDe5s4qXrpNezSuIJ8dez44kBgGLoH9mv7ABDHYcstZKA1saVWC0p5KLZ236t+ccTTDhkUXwPkg7B38PG+D0yxjOmHd0Adx9ydSYVASKNzH7DRZ8K6xHtVIfyKL2obiY16NBRCJOsks3rrFuJ6ZHLw/JkTIZ3T8Y0169RP08L1FlCrR0H7JFF9Mg/zFqqAu1uPv6YX1NVhEdhiG3EpISKFpoIUYLO51EXw41mzGT3IDkQgtw/VfmWXt2zGMGGg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A4C4CD0610BB07189583ECAE0120C2C60728CA8102-0\r\nServer: nginx\r\nWechatpay-Nonce: b6f1f5fb2ba75309ea72a4bf48ed4974\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Jg9A4snMuFA6rkzds3vAVHBHkfJdE0MGqE4h9p3Gyg0bVh1B8E5vnpOXjc44Xej+pIh2lkJdLC4jQxIkkJ/H4PiOlspFTdUzQiBfrHavOwMi1P6bPuCPEJYfYPzHe1UJLu7HeISx2+TYc8vlhwryOxShNl//6JrQTx6aEPuF3dOdBuICCaRIfoZP5HAmvLCj7ws3eCc5cfxlju07cRu72a9WkbmNPMOSM5t1GT2mOx+/wpqqfuy913IGuSFLkDkw4jcNvl55qEaNQTKruscPzc4wQGXPFlOwhwrNEykg4BTGoU3vD8YUzx8kJq6YJDBN+NCfJlYHmTzcBLvqBbSgWw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212169\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122618011316\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122645323619?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bAWmX6Oclb8tQFtkglIXTX1Yqsfqci9w\",timestamp=\"1773212169\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hpvXlLUjcNCm2twEjbzvciknc8pIjCuU2tU3PC21+blRCT2HBJl+I54vRc+2T32yftUAmIeAmdRW+0RRSnIZQpVQjnQwxzEaTIyRwdantINGBvbumTtaMu38fu+SKOyL7GSFpTaS6C0XQydSu0rAsEy1vQmTpdCJOxiMASyvkNM3KopT7hn4y3atMGQPPdcrQbiDiFiDL4/FriV37h3dYG2kBlZKmw4qM+CGkLlGb0aJcTncuaiiZbKsaGuYNNx8iJ9jOEz600pxy/zSEx135+pc+eNE6jf7VbQ8eXX0CV6tRampWey+m+eQXb4D+FkwsCUnExPOYbb2yYQVN6BaZg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A4C4CD0610840118D198F5AF0120B8AF35288A8005-0\r\nServer: nginx\r\nWechatpay-Nonce: 4d4c5d29d8c8b61002834c87da767d20\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Nn15BhZ0IPJfoQgkqitBOaVmWbV6BPy2ztUUJbEiQRsOHkyABWuc2udr6pmRJgxwdo51eDop/lN7wyypb12LRwftQWy5PDXp4V/dtohUyI9T2O67KoMo7tjf6bpZWk5oXlgw3HytL93GaiunQZcDxVl+UryxW/MdSoxMK+d46rzjSZVaB3bluIijLbLPGe8K78jXrdFGVphRHfunhITYvezjYa4AIN29kyQWAdMwHraClSUX+HdSF+gf7LOQJ3v6zHabCj2xKaKn03v9lf9PriYnXVYj0f5Z0HutJBSzZm+erCrSKKTbHpSdqW5xFpiiVKtlREg8dg0UgRCP0r0hyQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212169\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122645323619\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122645425569?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6sSipfcgGpeNQrAaRgbORHTNY1Vx51f7\",timestamp=\"1773212169\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CX8Yk7GKVS9i6jfddzoG2abreFEnYn6onrcFsyNCuwMmzaOqwGPOvUbcgkni/495ybGE5vZ97piONRbBsXM5mbyt0dQNZJrqNBY+RY5ZUZy2wazeqKuBgyaQaQh7kVmjrE0rQCVyQdh1Zx29V3/cGEWxqzsTnw/J4b+Bcasv9POaDRyiaMe7EGFQhO+c++QbNiYRlxp4ujTScS28jeSRF8A6wLGh6KJ5qjttby9vzq7mxxgJ2sHtH3Q7lTkLL9hduTFR1xokTXV45E0q4s/0IrUzB1F0iJkZ/GVdXewWN965olIWVrf6P6oOOezoX1ZAEXqu1Z9tr0JM/1k/xZL3xQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A4C4CD0610BD0218C2E7F8AF0120E2DC1E2888ED04-0\r\nServer: nginx\r\nWechatpay-Nonce: 0035b1847baf8ab29cb9bae11d139a73\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dX+nd5EuUxHL9awzT89fKbQxeRH5WUuOIhjGIoJQkmgKt1qglAnTFTw9yzqmh6ONNu7Am6tTeZwLlmA6RfljKvWuf3B7VFOaxelvS6GvaFHmjXv2Ypj0kGX44hPCBN1RXzxdf4Bg9Xx4DfXv8kAWLNVHLm+YN0CNNT5BiPiBC0GWJ6SDrS70f0Fx+DVUDViKYnNRwNVRlVGVbdJ5h4DDCjPI0uJ3KLMC2DY4XtIiGc3bVH/IeufOQb451j11HNm+gLdS0t+YwiA702Wbk0fNp/0VTeNIMA0tpmorh8r2TbZZE76XetNmpdy3U5JiBbu6GI9JVQaxp5Ta3fZdoewgMw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212169\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122645425569\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122648193530?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VK4lJcHjw7RDlBfpDFyv9rWVj2dU8eja\",timestamp=\"1773212169\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VgU6ZmgkalQA9Rn1qGHp/MRTND677r2tw6u9ibLDhX9ahQQSn9m9uPBCk58F4qt57jtNgBCnQlE0F0Ij79s8skuN3dEz+pI20hXO5t0KncB0MYKQSZAWml2C1QjASgloinC8KANnbDeMgI3D0y7JlEkAi1LkxKaaBgx+/sDJW5RjI3jn06JRsgme+Gi9Fizis40ku0Y6/HSRDQncpTiDQDxiHGkjU+O4aYvj+gKjpnCss8I4NbcKyV5NjjSZ5l94/4y0YtOHuoFj7S8v0cabI8uZp1GYNIWFVWn+sWhpNggXjfsPIFPLq4Q/XTGEhR/hJDq+VsmzktyoLfIa/cZBrA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A4C4CD0610FE0318DCE7F8AF0120B4D504288DB701-0\r\nServer: nginx\r\nWechatpay-Nonce: 1dfa604f31d2170645ca3ed70bcc9f5e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PLsibpNpgefRYrKcv6lZ5tZ9UwJAy3HG2MbpbN3ctj/NgbhQgDagmA1J9KLFHGKK4aCmVHv/Y6eLqCdoCYKwHxjf4Eu+W7zwE5LLVx0/8fkVdaNcTCG+EEZxiuRdrzK+t6EyUE0EOLyciuzV0c3ocUU1+0/uqC8K1ONVviZAWdd421v3gk57QbEA04ipppo0SINhdTDQOhnKNKnVGVHAQy3tIxcIqEfiOehfO6kfUCYh8G56QyVAjUBUuwXO3+Bg7isk02ZKLffdXi7TchQAypA/LUgv+orzhGPY9A2rOgJLzZth0/cgMBWwXwZDsGRST3+rYEypLPUtIYTC+pCl4g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212169\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122648193530\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122650224568?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LRuL8AvKGk6rQAWsirxkdGpmpPcCwloR\",timestamp=\"1773212170\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lrB3vyuwDExCoX3NEWJwFEZjxDlaelX9Oas+H5dh7NmlrbYxf9MNLJsQrIthgeKCn7PXrFC2DHMlZdduCcjx4OOpgTicxRsIDJTIU8C/grg1vVezhYVRZkw9idfyC4no6OD+lXJfx3yJHTXffB8f4u+HQuRA7+BpVOzBLhPg9w6KLbDM/jU5DNx0j64lH1hL8u/LqJkknG9pBxaB6+pJUWF4OnQ0Gm4g7vg8QSJXMfieO6Lb+Z5IpTEsA5HGgyadMKO3MBWpkgiPU8CnaxCcTKrJOadh1CU7jx5LYer+7ERJrlWTh4zuDV/IToBfBpxbddpEwAV+ibEc82MNhTBrPA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A4C4CD0610AD0518C082ECAE012082CE3628F5FC03-0\r\nServer: nginx\r\nWechatpay-Nonce: 80f64af74a8bb4b4503d4020bc2f2941\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Q+hk7Q5zErxtgmnViTpCJJD4Y+6OYHuz9xRSTw/T32paGrRXJ8fk51nJVWRHbUhVVu0JKgHH90/DgjdOKPdVB8WEjDO+poiJpWjYyLepVxcWGNpNYwNM0207yP5SHi737zqDRMl+KXzw2HnmAyomL7yHmBBa80384if2yJLGlzYQB94rvmsQV7CzNy4C9qGHT6/yC+FI4T3HmxCDIfQGHkh5muZ0k5P3eeeJq4/eFX3zkidWbN5jG3cX6+D+ld+Epu726jaF7Qx1YpDGjfClOslXz1XYRulKkUcaktlME0bFnydnHBpVTNKIi8jfE/AzYLcBW2gszojHPumnfJXbyQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212169\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122650224568\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122901330248?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Sr79Q0jNVV32fMrRmbW7ewNY6qZlsJlM\",timestamp=\"1773212170\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wmpcSuo38H7/Z01nV+J5CIJBI2ateXoDDkfBAy2ekj9Sg/e+v0xG0Ff69IFKK1mbmbnfsTUMB7TtHbffE6lJgsh/RNkRFxSGGOspsXBdGyvvuEHLIilkAFCSAPLAuIEohCvkioptJgfT4b6nuYBJF30Do6w3K7Wx+nB1yAVYJ+nqiXwKHgM7gpVaMDB3twIiS0683sbVmZ+6NLF2cSTGRJ2wJUAK1Y659Wzgr8lIKO1LPTU/c6FgiEDLw7x4nejTLvdaZ1bNteZnSQfb+VkqeJngiExRUh5I007hE9+sA5hrqXcyNNBcg5eUxAZB8WG9a5Mo7ABDo6znP39gblmfvA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A4C4CD0610EB0618B6DA8C5820D23B28D6E805-0\r\nServer: nginx\r\nWechatpay-Nonce: 6b1faec06d81b3d32f8fc297bcec6d28\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: r6V1U5aGzmhOD6sMMNACY/FSJYIWqbaafjMpXcU2YBiAwX6oSGJDzsP3/kogrPYZvkVwFr563AUyQaaCF2nZnHIPPaFu0oAI3nECJJW8KvZUp19z8Oq6XG7HxXFkVvY+5lNDXkEdTATT7DbSrj81+4rLdxCvyYmiJEKiGE+rIThwV8a/Qn0gSSFTHxk6HfIc29MzY1oDxOsSm1+KsoBpEFxDkTtbOPJw6Q6Beeoh3y1zBpiMWOV15HUIAykBhMjcuEaXbs20jrNlve3T0BnujQai8c82tP5K3ZqlTJRI6ViNTxQG2k+ZEhAovmDbQ2lj5bfpNv969TnCN3MSsA1uog==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212169\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122901330248\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122904720977?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mj1XITbhJk2TQhCe1GkGm5gg93FOknZa\",timestamp=\"1773212170\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ttUPcfUGZiOktzEBy3yFmlpY0IReqgiBovpsucL0FkLLh3syGiiywlVJYF/ZKfAOSYiaIJ8+6tg8Cuio7d/9cUQuEm2UcfICe+o/a1P0Rp0hrudYxgMhhQGgvTiMQha5WZGShdVTdAbWK9pBEoDolFvG6tIuOItFUZxgyPivbmwj1X9n3ZsmefJDNPJ/Z3AKKyMWMLt96AKVUXD6N+PgBBanKPqiYGVWl2dQ30i3bQGJIfwffLxrRlPpccxgmD/FWN3kV8ai4ZrVUoNZnc0weFRkByWMb6Rhq7xaZa+qT+EN71klP4jY1EdxPD4cYEexgNeSBBFWdl4JZLLNA9wVYg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA4C4CD06105018DCE6F8AF0120BAD51C28F99503-0\r\nServer: nginx\r\nWechatpay-Nonce: f6ba3e3ce103e433c0d3227e78ff0dcc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GCEKiCNa6MZB5iV23RhRV2msDyW3gCmoHnzTfrbT/sWxWXhIrnuEHFX3SrC3ZjJXFAH8F51omOJeq3yF/o6e1LKbLoMEJ7BJ6PNErE43Qg03tEsG/QKKjxuZFwIMF9MdnCd0V8u7e5NBcC6H9yO3EIYoWskiAiCwZM3q+03alRViIisZ4VDYCT8j5Y7QUuT/aopVSm2dCnp94EOy7oJhkwDZurYCS7CLFxHE9VBd3XWUGq2mC9I8YcTtYSPVmHNRZuhk/AuOEqL1Z6ilHApyRqA4ltMoKNFgTcFprBXvWPzCM+QRWkher6SpTyvjWUg6We2wXE7JA8pjGj7Q5YJAAw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212170\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122904720977\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122905820527?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"u4ETUIpgmf3QjBdpmprztwbTNMKAoRan\",timestamp=\"1773212170\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0+RnygkOtwA/xvio70WdpfB+EBhlOs5Zc/8f7NpHWnsOxnZ+MKgeSc08u1ow4g43uCV8CzF+YhTcIyW4/fLxN6+njtVN8nD5dSLzcHJpRLguzUX1aQ7FcXsjQ2wYERoj5i/cYyZwWYMAe/nLbn05DLXLNvx1Q+6j0wuBrjxhFEar9fyPYlSyC1ZbTqhF1dFqYH3FmxO1UQqtZQNzJc6eZUj6frpbVciT280zwL36N0Mni1EmLuA7P83SX0Zvhj30n5QKTH33cP22LiKWjhTemI5+X1jazJjCpBRV41msLegl6Pd4ZY27+3xKhABSOWwIYVrn+z4AUdvXQQYUFnOWzQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA4C4CD06108A0218E0CFC05520ECAD242899E505-0\r\nServer: nginx\r\nWechatpay-Nonce: 63eaa48e250e57e3fce7f04c53daed9f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: T9eiDqYUtPzVmW/PwGAyibx1Im29WzJ+rQ+hFp4xjvnGYVvAPO2NLcUbtfGf9c3CrrjkYn/ypYv6e2MEFz9YOCln/eAoRmG0CessN2ju3CuiYWQ8+9V2K/b3wKhx0eWpMwwuinwEvaMxvHLMfuT0H+uqqhJ8qmctnWrC45+N735Ods5tY+6wLCnd7+r8SCkIMKHU4z5WuhHxF9IKMXkvbyJaabKSzv6V2/aiAytHzf7jgTegclmcDEosx3WzlQw7abAVnNAHnHZFLhoT+5ygSkWPPQQwSMK5UmEfPgYP1CyhSkUljjwOkXMOLaXh0orX4t8D+TurMaVXnZM0DH0eCA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212170\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122905820527\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122906977734?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"W3D440ui6lA8FePnQgsV23pgM4G1fRYU\",timestamp=\"1773212170\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eqlUSMaVBqY2uQb88p7hb95YNX63efOFd8Q7Xigc9+uk8G4kc010AXD0y33CEFet+6M4W09yrKV/MEgPBNlKkqzGMnHrbiFyk7hc5MrWist/OvOd+Yj/okHRy3YyqIlzWmB3j2XNN4nrUrnaPlqEQBdMZz/4hpk0tSadfWgXKxMM3MMU3pzHD2EC55+vhi/xsA1tEQa5TiBug2aFE/oe9AGjgp4pFsBGAZSbgmJf9ek4qHE5KMuQf62016Qg8P2ncspeFl8bZNDqc0s3QGu5YT6abluW7TpbONZy5guq9MYf3HVEs3T/1gY7zi7kUKgmlnmsGaYbe1tKWT63Pa5wog==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA4C4CD0610D403188FC4C05520C2C3052891A904-0\r\nServer: nginx\r\nWechatpay-Nonce: a226457bb0e7363a9fb062f40a773e33\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yxXJD0XO390UYE2o8QVO+y3s/eBPLSD3EvKwEvODbYnqmtA6e/uTRAQ0A0lyp/3wXMqYAg5R5FPdJiOcoPntCDqeS2Zn4crSRaV+DvYQtKrfrm7mD1yfJmuEIPwpj41RbnTQVVaDj0nQzBI5CGPdaWi2X7OjhLkH/FoazEq97UWttaQm9fOcvo7yEaOjWuII2NCOR5IeG9k2lp4a3AeBzETj/D/eOH/86X/Rq/34eYi0yWcksNg9LMj/MRwrZ2TedW3A38vG+dyjh3WfMtPl82BFeITFO1iVhyObkeTKLEqOuxCFy/ddNPVhZ/6jTupPhv+bDmxzuQXcOl9L5eL1ng==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212170\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122906977734\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122907834387?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2YRTvH4BM8TXXfVYNLT5pyKnHQDWOSfm\",timestamp=\"1773212171\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vwObFXR7zRXu08SXZ/B1n15PbyVMm+vnvUgEi63ZbxbaY03nIIVOGkm6eOlNFwUwCq6LvUREW3xOcQuIDmr8y+MKVOJgAVWQrMPJgx+ELBGRSEgeVzSW72FX+FRw2+/vZj8BeS8+GgRjIjKCzJAivPRDJzzIqrVlwxzWGRnsbWMdegWHKMCvvV4e6M9dQmp2yZ9TfCbqCMHc65ObMVFauUyBcadInDCdIsCfV19fDhej5EeoJ2eDYL8vbtTmJwdite1ODXZnuLtt3MgCaeCSQBmmlN+8DH0aeU+GLWcDaFZC5VY5IxxwCvyAm/tm2aYCrznLu5RhD/dehI641jAJHA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA4C4CD06109F0518BFACEEAB0120B4D80428F19B01-0\r\nServer: nginx\r\nWechatpay-Nonce: 3bc52b449c8fa0e5a8187fae44fda7fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AKW7FHOP+sQn0659by+phdhYSfrBQZAbB1j5jTy6G66PFxr9B4rOnShGFK3Knv8K7mfEjMqkUoY1qb4lIPV1cJ1gS+Bf/XrQeYPvt/SG37ws5rG+p3BMGY7d+au9E7EuKMbOG2B77LHjCtTnCHSL9kVk26cq0dZRVCbYesXDsjoXl8mz9d9rq0+/Tezll1MIX81uGT2/gaJ2VolZXOLH1lU9QY4VSv38b533FTG3VBRaONLD6WBQHFhfw24ZWK5CKzWzr5302lhwj3lWpEtkmR2VjHxIJVvv9onPgGXgmQhcq5M+u6HyEKiofRWvHsOWRTZZwi3bDXm0oL98U3dpSg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212170\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122907834387\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122909340729?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EUxsNdrrwB2BXeXBAv0PDc2EHbHcNtVi\",timestamp=\"1773212171\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nUSX2Yw0VnK6ds0e2X9m+wqbDUyfwqTpWyj2o/Tg14ss5gra7vlQiVAmildCMs1COJfk03+54e5oxPnbxgyajwZhVWx8xj9N/6ZQ14TxfTROrAleRi9XjJmKZRFwI+mIq5H19bZCHg+IX3gwEUiADoiy4eIVjYvZMGUHTgkdIZCOTedwh0B0md8vCOTyWMUUPiIObqnQu0IwbX0p8QbQ9KSrVjpSkhHgZmVpGIhztEAHtZpaTikVkcL4nOAf51Gd15TB87G0FUIU7/vKwPF4lJG93xg2be+3pq6pQTSlT2AwedmKzbCtrf5upmx/Wt+YQQ4SU1OHEFsBe/VaIlhwaA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA4C4CD0610CC06188580F9AD0120FCC81B28CC3D-0\r\nServer: nginx\r\nWechatpay-Nonce: 81d86c3e2f96df4959917a72ea7b42aa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: shkf0UedW4RLKq1AVr6Drb/GNeNay0y+xoqxk4YUDDrf7jGY4clxYALFju38UBHm/DitMPFAroFgQNbU88JQ3k0GV3vstT6FTgcXZN1hlbSRmzh/IdcLu+Aem6S+qKsViY751P8absYXtzE5rKgSs+8fllTeUuXmV8J+fyL/qe0JuPF4Hh/V4v5pKpAWD8jexOe2FpdEZDd0VTPBhpBwWFpFI6WAtrF8X2vApG+zyPQs5SVrzKh9vS/pgJg5Z4LpSmIwyEJJlJYR4ntCyRxfpxvsdb6mTuqGXKWm/3FWvyQU2JIO7ty7m8nwtb1gbcKfirDElVTaD6H5df/F93abkQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212170\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122909340729\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915016377?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1LFs0QtyfAOpZxOHGcaSZVvKWtgcOgU2\",timestamp=\"1773212171\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Oc9nbW3mAwNrkTBRh85HKmQwF0nfx1iI9M3OOXvoojH4Ees10uJ77oA2xfHx917/f3//gLfzo3hIYuvB4E91bKrwLBrb9F6kXkb/rVCSSMPuRfpivhf3caVzuetzu0ti43yZ7/PXlUjhHyvR0hqslX7nOXBblqSu+BujssPPIzN3oHsv+LhtocKI1gcuEVdaAjeWeZiqshAGNCRfmX/UHvT9WO3jPPlnjxn+yMsjhyt07pXmgWZKKRafsVkokM1V2l9+fXF+4EclVBRPM+QnL+e9jEjup7s54UeUebDIy3UievmLMxB7mFMsbbqEhnZTdmcQFNDfWKIRMtXFN9/PMg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA4C4CD06101C18B7E7F8AF0120D4D40C28B0CF05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a9e526db5f71ff29d0ac18bdc09a8232\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eYHGhL+r6OuF65X11DgG2d0XfUwvWNr2rR/3Wl1u1FtpAyb67FoRjudzq+Xygs2r2HY61cIrfE86GxfhCqweSJfRJgXbjdmWZRn87A93tysMY/S4whMjUahhzlVVoMXROajRp8PwPLdDPi3YMBSw0JBl+6eO2UEELyfllSs++kbQd3j9OK5IWOY5TseVFgjX/JH41fS+/apsCR00gGjga3UbuHfrkYh9CMyCqqlVE/KSWmEhkXLlBESQ+YNKn9ybzDwAp1kLjXl2m9tvPzCuyBxxjHo/1gMP23XRUu8hU46qFhnFYVbGFocO4zP8r/vD0XCpLzsqJf8n+ovGVojYSQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212171\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915238098?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Tz6a1jmMelSS3fvCmRhwDRIZTa2tIGWq\",timestamp=\"1773212171\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NUwfWPHjYNBig8EP5ELZwvYYW5eKGVtRsGNnQaFuknoG8QL0D0JWI5iY/+PSjFTCNi9PW7yVE0GzF8mc94R3hv/Rc7QjWY99fc7V3kNA59Bky7Ba7q5NuBglSnV+bYTOySL3tdRMHEF6IfPWMaLMszzCna6D44KW8K+kIWb1PYH0Niyj4xZFVRm7F8Q4BkB3/7Si5pBtNtZ38EGSFILJpqq6wxzN24yjTuWKxqbgPek4IVnMKb04WWTB7MWqOv/HM7uqYF1QS8TYdYuUwo3HjtmsxhcAhjn/72VCRn/dLEIbiseSVPfaoACZnELsHLZG2kngG0iru7UmQi9bRT8nFw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA4C4CD0610DC0118E0B1F8AF0120E6810B28929204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a10db0530e19b0ef832db126e6f5cabb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uiKWYo6ZhrznvKcxBMeRPCej+C1Ze7srriJ9SZ1cEZCBRNKfTk6I055JZLGPdRdo1WA7oypbmrOJmnehRRMCXcryBQuwxDTJW8mTGYjAIHMOOJ6ilnZfsGx8C9kogKkxDUJ1Ut1xJr6B4TnIgtD5k8d4xOrSoM3ETwlMfejhIWtF2tCY3zm+NZXhNOQkBotmdn4tocf5oF2WXeMUw/24TwpMLdI08TWEKLZo4vtWPUCZqdD5kLG1DoeXjIjKoG1RK0nd4PVmBjwUIjUzSjYjQVHCCEvW/pqFFvSDmd2WKFLH/aE1nYweuQWDKS0ukAcbWVMm6eVeyqzqYNI0CNPU+w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212171\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915241388?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6P5ne88vsFZoPWmv6AvmufKfIUg600KL\",timestamp=\"1773212171\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NIK4luEZctwWvc+fjyMxPO9ltAzxuvx48ZUCXQByYYuTgovKmEFfsyHWYjGrszib4j8LsL5UmHx+ls/TaM9VPeR7adwFIh18kY/dg/27JS857vTrcK1XqE7DfLBTf5klDyAYriAhPKAEdRIJjzMdY2fTzWdZ5izydr+J5OWfJVmovsOpoyeEtNmRYaKYYi5k8qq3EX66jRXvDVTU1F06EzRUHJl/Pa2D12zdZVBfuS6BuLysV9QIRtn8Ab/PXj+FQ42/KmRYzpqa9s2JAahqExKB0aNY2rd2lOAeHhdA0Qj88B1j4nwsI7TW2tz93M4sbZ11WVQ4C7ON0njMbaJrHQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA4C4CD0610970318D69DECF50120829D2E28DCDA05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5823a6e581e02a7fd46004273d655dcb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IKpolGjSIhiFz6iCvjaJJD47Uks9BGsX4S3rFAT0HKZEV+b3Uk6lCdzbWD26XFyun66B5qP2qdG3JO8zj3NajT+5D/13nROzgz9i/DFDY2yV232BDFwQuRsYhNIfMwF3TqbAREMNmGmC/k+/z8AiSu91Ed00yXVkv5AUIA7EnHOzAvhBrmWQqkKTqKa/5LaIIvI46HdhX+r0c5guB7ih9JBvRRrg5a1SJRnxpqVStWpkiQ0hmaQP+FSRquuqt1D4VmyP8wNKINXwmGODt4uUaxtp+NdVdRevoZSXkRWc2ODabnkyAOHmCur+9cTw34tbxKTxwcxwa91s6LrtBbKnBg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212171\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915559376?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UOwpBtjpOR1QYFrNGYlW3xPVEQajvEzu\",timestamp=\"1773212172\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vLOpEqUPSbH9fWn0548E3ybsqPCHH4dcrXwlLrIhPrndrr94WT/HAjX8HJA/PHFwrOm3SczpSorqt4hzVsDjpPDStIsDVZeZy5HdfMXeYkiQLyXRKFaYa4hnBryKhy8yflt9IYOKYw4JPqINssfjnZ+bAJUN5FXxzbJlwEK8NBTIUnLCwF5oTPAXhZh4prodijNd1B8xSbJVsIfS4cHHMhYzidWlOabYHHWtqNBHVCErYXgpaIhKsnT/pgqjquf0SLeM+OfGplnfhfBnNdZ2EAANdaLdmfudCOxN2s9O4XkbFyX3wL91bTYrHn4yvUD257Max82U8iWec7icxODeSg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA4C4CD0610DF0418DCE7F8AF0120FCBA0E28A88705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 13e904a1599f5dbe17b02e0dc48a69fe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zd31mvfoQqK0B3vq7k6QQnrIAMsafhv1zVjLWVwa7IqPvLJ3UgH634LfDPLYohvv7mMVm00RSiw1vl3hxj1VMBxdhK2besXgd+BabrcF3CWikK5SYV7XC5FSTm6126pJRGGQb6qf+HoGH/o2fpfZ7efNH4z2htZdpeZgdWYrX426CCAuidGsjjLlr/MDmsfZyJRIZwi3KY5tbi1G6BqMR66lH4olI2NBaS/mdeFYYpMcy+VzhWqZltiV3h0O6Wl1CsyYbDY2VWWjKPyZ9yaepdzHhCMzCmGuPQBvN/fIOWVYGbKw/N2sU1P39Xt9EvtpBe4PKYrLnysqSQBsVugazw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212171\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915577542?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"o6vQwQosc7Elb2KaXOazDhTC863uvpMy\",timestamp=\"1773212172\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"H4yTXNS9ZuRydo0gKiqttEQPj9GMKEMWqRQqt/WR/LU/2tyf8g+4QaVl5Wj04/BehCsQB8JSNgnZbcEUapToww0f5MfgTVxm7n4Fvc5aBsDKBFd2/yCMma/FZt2Hsy/4zetu7CFHaboFqd0hqOE/5Z4ClUSj1IK95HPRf9H6BXTMzWMlFuBy9wEhjwdtxNtdzsN5WZe/Sz1GXc8ATWLiPCpuFWwOknQqPYs2HgVrX+ZYESqO//YBKk6alyP96Bk/V8R85xj9ZEQxQW6LP5j2FD40sx09IRe5xof1vmvAbvFVNPS/USAqLsjhiNnNM+OrVIS3m0DazVSLItTTUVHgkQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA4C4CD06109B0618ADABF8AF01208AAB0A28CAED03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1378309cdbcecf3ddd9bcdaa70d7e54e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kv10V10GTigzinXbtRkuoEgwz4a9VLM2+9oLE/mpMqovG3ZMWscIlf6WsLsn9OOoyiNZJvyQjs/cQBDF/YPT3jPUdlv4O+gO5V5Iizi6GqCmMAGzpNVDAQEqGs/I8A2frlTo821hhnPplfHZ56ij27Zeb0yzRT4s8apgfbelC3tlA5QWx0rAYo17/miavsUgfLJRygWJE8/mv2V42Gkku3MWiviZFBEMnBhny/Z7AJs74YlEfYk0Mk6Da4GY9LMA2DW9KD9SkHtkidUuqgffXtnBoxS0Fo0747sAogP3ZEraKBNsS6smgHRQoBWHymPVeaWx1k2kc6j/NdjGZHDL6g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212171\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915589197?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fqT8OaDmb4c8pZUjWM0KkdC2D20bS3qe\",timestamp=\"1773212172\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IhHw48KZ8TQdpmzdoziH+l/nWTk8rEPUcZvb+gaRtstHqAjd1h4o+Duel7Ku1pAeMqc8oC4Re6UA+0ZE1FrUcTUcFF+hr8Xr+GvmQyZTZRAVf3esTmEE8lniYxjrAtE5uLebHrv2XK/kTZqU4p70ufbI5UTV+UVpEAU/AkozteYwey3IQD34zJLIq8GQ76XB0wLGBkosjGrWwwPWa6Fuq64vSFzgVCmJZkcIec2f/bbpnKq8xI7c4KFdLkFuX6qUsyowQKfAiWdPiyS6arbv3ugR5IHr5Y0+gARmCQaPolQ1p8coC9IQKmtCYHWU89/AgNB0FZgaZi7bQmjG0aQdhQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA4C4CD0610DB0718B381F8AF0120D0BD4028D926-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e3c265c628b14653c9e549dcf41bcce6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BmPnE4PX2btcdYtwAUqWeMMMri4IHi9EM1yV+D5dHeHd+o/3VHkpLcNPNoBzxkQJ5g1ZqiCM+wj9LbO680da7Zq4pAYVIIk8qOXgPAGUIsvURqizQwxC77XyuE7Uu2Q9E2G1pvtUH9iIYuPl3Z1qcgJjKgRGhss2tER+SZMcp0RqQkLo+TL73C0TL6GmP16RRDDgwrmS1dBe+ePoQVzEywzFB61dgzVkhFGMo0UWzuVZaE5Kh+Ng4uHSgwQqynPG/A/izLcG+tHM2PMdZDNNQycfd2FZAZRI5tI2m3o/jOWM6Nzaj9iTKKoyRkVVAMVsY3E0cxsYSgv9KtaBgUzu7g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212172\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915656760?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UjxQ0vHOg9b3mmJsLSjxKiRl8nhWg7Cz\",timestamp=\"1773212172\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cK9T41mwR82H/6ToOQwtGiQLTOjHD2OcEw3raYTZQCuaVxgMXv8gPQrjGDM9kgRlQXdsLKSMaHT4MG1zfro28R+HSIUPVNi+KBPHXMlWkObLHRQaxn9fqRGfgCr0N61tABiVajW5sf7/WXy3YwSJ2McdjQjaUo0ZVTbXGQwnlEzrhWRo+28ZUJ3dqes2IwcpHHwCqRP+SMSBoZB0AgqnEw38HHl4pY8iYFXLeYK/ve9lrf8RmuQDg7zUGa3LwEI+m+8KBjVaQiuBA10mVxOGfxBd14pTjaffhFjcM3RCKSfhr+RzuE/zHfwZ/vdNR5jiTUAd2pigQj8GDu+hVsDceg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA4C4CD0610AB0118F1C1EDF50120B2E30F28BDCF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4897172c20aeff9fcc3cedbaf1970094\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jRgKzstyJ2rkqpW8jT2T4RuBrc0kD+3Nc1YLLPRfp/S0SzCRkHyct6DYxdqAqtkhFo4dR5TBQpcOHHw2ILY8H2qsGWdf25nJlPmp1OKMNJuuoInmbQJnpFYCOiXeEb4pHmfDIfIdHJNfSxRQ/dOBNWlFcD7TU02xjc7z2JF+HuDyjqP5UwYe7OtruK8WGdXsmmbnZZLXi2Esb1qlyT5WOyefDY0gMMATm09tMCVwoCwmquwlTiVqxtoWS81+I9ZrG9eWjwo0C6foLifKwJd223b9NmIJi9j0WRgTqNsQ1LHTuvDyJB/8WteX9o3bZVmKS3hVKZ49AePTzja0/Bt31w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212172\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915685776?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bkzv6fAxeGICJshiRz1zYcKgb5NEOMmE\",timestamp=\"1773212172\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6XKOwoxdj4YAsWADxJyp0UkrSL+tep/r0heDL30CvukmbatIwFVTDd5Ay137YJl16Dk5AUBuAxpPPzTCN0ETSIb2/JlH3ufS+qvr8+obcNx+aMExfGAvv2NHS13YiK/JWo+7VcSst1khJARDg12SSpCp8CK/aKHq8EIy8QjKxI+9tFF57OruEyneUeYEdkeV9aBICljDMEE9jtD7TDMcYyEgi5H+IgxP6Vj6ZF7MMvzkXvN/TMhIxGIoWkcEKAjCqN/En+x/eqOjBgon27dKIoKWkM352aSkdgKWuZFMDd2spUr5uhIjQmXGEMhXlWN/BPMRmHevTCNl7up8ciRUOQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA4C4CD0610FF0218DD9F85AB0120E6AE2328F49302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a3875af3f09531567aaacf2cd56149e9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Br+A45EOjOGLvykOOOZCVYU/fDhl/8jEUwr0E6yPhc8IVqvqHFsLu3s1+52hrnB/DOSR/KoinE3GfjnPBTbEPE8Y3hQ8QphOfs2O+LynuNvmPyunViOYBaBjS16xnicnntLY6iIBBT+UgEdxLp50qQ3g8Kpafvc3IB7DyVpET0HeuVmkYv2DfaAOR18uMv9ktwC8te2vWQk/B6pxHH1z9nlW8S4vaijKAgYLsW2bKOGF7j0HZ2TZm3JBDAfZPHp4DCxcnPzNC1mBoyAhql7yXKOPZFoBdC+0V+D4UYRBgGI37HRgMjoDCSSYMne9JycQCZcJ0rPnBrSxwgC3/h1eHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212172\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915689368?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EpsBmgwC95hxM6UU9DjRVhzNHV2y66I9\",timestamp=\"1773212172\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dLuAd55RkG4tpXjYvPD6xNaMYX0IpSvN3ljGjkBcVvBzR+sozc3XpavLcgoxrAfe0Kbs+HSGhRuzR4XuG0YBqoWWjjWIVJeu5ALyb06aCN3lAAYQemJH9Uv1lcAQPgO1wXij0X/d2G4Ri15CZvfBf+v7HOnIdstHn0p14ceoKIl998+/wrPFqFHYF3OP4PsXiiNbh3CpgllXnXT5odxfLUOugT3zl4pFOxN2H6fHi/Jc00FFibcM7KLQRmWTc7HXD6K72PuXhjTuBRO2Vf/wdWtY7mbwQJvVYLUJvRNkTNXHQ1Miz/z000KATKYic1fNPfVbb5GvVbbZSpNQ9bNukw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA4C4CD0610B20418C39F85AB0120E4EA0728CC21-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 19426d89b93abeda4c359f7390a3ad00\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sX5LeFlDlasKKX75P4ymxY+RezkNoWAyt+UFcgxncsVjhKfFlk1Kxns4Ug57k3sXQN7tjiAP7G2GN/cqNPc6XgFhBU317ucyRnElAoO9S6TGcHtQXXYr0X/j1UO6OYCwE/OuIP8RTTzid4bQH3/TGU5oZCgm7LE9OXOQo2cHiL4WbwT4i/n7mcK+myIJex3FmjwMPwPfG/MWp+edw7vIRb+oygOaaLKsregKWDZhVnPho+AU556n2uKY2HxvKWWXShLCLx8t0+WxnzPHBgn+lkWp4BvuXePqsCCUGgAWmFp/ObFLNohhE/YnEcKw5suIU0LuGq2Kb2ZEUJfmUQjTXg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212172\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915697397?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"I61w8TbernU8We6prb4xfB0BLWjIVoj1\",timestamp=\"1773212173\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lamcCN70mPy8y5jDOB6Vt/ej8H5izWnycQmwbxFTmhY0zKYi0+5yolitKLmzUgR//TvowOpnJmVsCvN7p3/UE4Wg4uh2J/7jX0SCtWjc2rTMIVJLS+Yy4gWENmLkDD/jkVTi+/JwrVKQJiK4jeMWucNUvoaYkKSSQq0HEljjMglKiZGPMi9zQNTzeJg5Os+FBkYhPhPpP5pQEsBvrMXYesNFuFS/IBBZHZ6S4y+jst2J47UcoZb19UdPmAu7LC3gvLmktPnolfiYncJl58YKaLWlKIFjexoIh2aUIZe88yl5SwCQZ6SjQHQr1kI1vBCoF6V7r2vsz2enw9taUKvJlw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA4C4CD0610DA0518E1D68C58209AC12128D6A605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c53521fe6fd410803fa8c8f05567b35e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: y1ZYRiBc6gXNg+q14Mdb+fW0zKMNA5GlrdRCu4HYazwO9wPB28RmykmD5Y+/nP378QkixT2rPmTLcVL/QxtvlEZdnGsAgEbPGPifOQxPbJOKNjHSJgvzq1UIjzzku2gg7I2VfY3chzq63Vnstzc2U00djtbomFx8qBuaOxWSaIUksltRkgwUt1NC6/J/KoCpH4e+o2ixuAwfbOUXN2qqYDCJahTb+kv0/fyYA981q90YdWEQtGtdAWFhTPT5dJ360oo8SXS+U5l81dD/Gdyq4YEFOwU+gTFnNhWSWxY8xkbMYaS04KeQHH6rXPt8GkzEA/LDjDYHEzW6nydGmk0YSw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212172\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939165324?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"alKg4levB6uMFH14erVCoICxi39HZRH6\",timestamp=\"1773212173\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hvM9WV4z2iKj4aPPmI6jAC1MAeTrhsbby69iO7eJMkBfQLPC6OQ0aAeJc3TjMSZqlC0lCHTgI+6QKYmLCi3cT0SKM4fDtDWFQNPFwuxPDXHebKvLl1UtE59Ew1Ag5m9iGnioaEZewifM/e1rIj7lTcOrn1sBAu8MK4VabUMoKcA2eLhScL9GsDRpxWpKfrAJFWzlAVwiLbKQYBQFYMh4fDmlQY9hpLca2EwPSw/2Vv9DA6kV6wpIR+qdRtLnvjtruzQT8z/Dh+HMHJg0WDDknc+OJRarbWeNk/t0UVpdzjJm0PZa34ru5frbpendYdSKoVygJZ/QUA2Qv0xP2jcHKg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA4C4CD0610A70718A981ECAE0120C48E0328F2F104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7c428015db748cee09589bd967f952d0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JxfibU+77ssWhunniLRqXrFmx++NHNUHvoD02Js5G3YcnqJ/RZB+mUUSi8OPJ+KekIPPPce8QEJubijfB8Yat+Isq8jX3WjHehCc5alm+Vs9wcFTJjNUMpGXtTLwGzEK35n/2weM9srhgH9rZnje+lsoYxNRjZkiNMBdU2kBfpRe4bMABxgu14PFs+JDB0NGR6GraIrMu0Tg05+RQBmOisfqdR6DzNbnzhX8kDQcqPsJr9HHQ4Dmp7zm0SPTqiJeGYwUs/4odUlzQozu+jWc4dDPNDrWLJ6mVGp6/uPcfmam5zwvPgn8JBNXYMsmGmqUiVP9OUWNT+VIUdzBv7xxQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212173\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939466673?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JjZaKsYciOShYIIA5kkX0rt32D2YdTim\",timestamp=\"1773212173\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HFFF+3DDFl3gGxL1m5MV6qA5lWBOnQCJWXAgqKmCJ8m+7/5dApPjEDpJrCOySevWA1MdrHIQ88s1sZWW5CZ657uXsz8LF00n0gnhYfW8xF594BXqRWt2e1mQumBP9DuCfj+HQt7uK8609QTm90g3K8IU7c7xulHDMdYDyzWtJ+Yz0HSFU4fWDRdWHq7FC+m7xuN5ldOLCaVYa+tT+Hs/ll586fMah6hOMSpAhQl6/GkrgeceK3KrP2bc9wz1WcPvt97IvsLoLzR6oNrRiz4PqBymTHjKkHnuPsyp102OhcV7OGO4sZ/Q2+vrdMIcUah8ORgaSwdbr7hNn1beYuj3NA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA4C4CD061069188480F9AD01209E7E28BADE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1a02492bf32eeedc2cb79f232300b0e6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vqg/ADMqfnRzTmn2zWfukhuYSx8C2Kq7rRlBnkP74oEcOqdGHhFpkI3jmGp2X2NwMchFFXjYZ/qa4piNy5w7v1XfGtLACHhQiKSrJ9bGIiS5YrtyDj1tR+vjePTXxqNjbAbpGBo3/us7ryt10Enupt/4VhdzP1PcP2aC/PPskfT/C7X912HOtRszS2yOM9keyKxTAtRfGBdGoyCVz83rVeUftHVRN0FWqePX473OZ5UZ7D9QWFwrd23e5QxsIe67olbsMFjFiaj/UdDrzSgcs3pz8Le5PuJ2JUz+4EreExaWZRo6QJfhJlzrz+DWTXqHRWcORRouNEQgybXUQKQKUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212173\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939823237?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZpzbVbNeRLk3uyuwDHN75d22GKwse1Rs\",timestamp=\"1773212173\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"w7F8tVJhSP0JSYMy51B6qKt5st5yAwHLFrz6Xt/9yjybMS+crXJP2X4pHWN9y98br0T0t4sXn4oxG1F9I4oFYGYbb9erVdlm1RcLlgXXJ69U+svBwwxXrcZN47MifbjBr0MeSnxD3/wIaQ5UlX5EVow7LNegWJBuQRzQRjMfX+fC8ldHCmnJMe0/NTuWVUUF6qZOYCyIXzpoc/kLfpA6JMzbOi6fVwAXE1+bfkV1gSh7jIO+MnRQjsNaRlsA3DrX5I4fuvxIgwOBUXWFj5152+azl+O1cTu69uwZb5DCpztSq/r4qbUj8reFxtP/srq3d7d1T2+daqQuD8r9kLNBNA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA4C4CD0610AB0218A0E7F8AF0120E0F92428BB9304-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8da3bb9cc167ee1cfc715698c01a7d99\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XvTF3FKHN3HUz1T2R781I6ZqqerHfDoJNqhR/SyfVIOpXlXw8xljSJtXpmyf1O4cWKE/0gQ2tvjAKpHWcG+FX1c95PbD3bgm17W9gCIj61EsFCC8Xjr0ScAoBJIkcslJLgtAraMEpmv1mcn3fotMqW3Ib93A1BBTbzdYKc9wwRpg66mZO1yL0U2s9V1Zu7POg7kx96KfkrJV59JLNVu+rolgp0K6r2E3S47SdWOpAKJ8T37WUrU/YlYdpTlQA1rmU94HCH0bxjYdNzwZVQTFeUHdQK4VpZCSyhHlkZRiMMGFoF2MvWF4UjF8ZHhsSBy8L9ImN32Po/p82wGBCjf0Aw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212173\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939926352?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8R1yHxJWgm4RHDWZT4Obil25WY55GLPa\",timestamp=\"1773212173\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eWCJO+4J/TJThkm+Y4lkYS0PGqqhVTThdXK5Zbg9HMuBwsOfZaHjrrqQKIS1qgTD4DSTG+MvD1Zdly/OOsUdY0LEKEpVd5jmR8GaIguf5uV7wjvDt4eX4UUwSm3LScDFXl7DK1RC3GMrpgUtjx6VYpxZvhReeJVKLYdzmBwaRIU3WlToUxzFmS/YyM5PS3930wc9VWx/hYhr7cbxlORYOKTBEs93vygTKXT2KJqWWtaYLTLboCruJO5vNkWSLaLdcn87MQRrWcssOXlQV7PI46LRdR6B6T+OQXv/jG1JIYIBU36OSZJZpyWWAAaPeyEB8HmtfZxmMPcBgKpJ2YhXWw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA4C4CD0610E70318D3B4F8AF0120E4F30928CFB801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 97cc0f91fb807422e2b5db5df9de1fe7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RtkqQem2jnLBrHoLKTFYz6V6E+3esv0YtpMSo0mrtWObqkkYtUsxLbJdV4Os6hqOQqotQCSmATnWZjEoIyQkinYpzndVoWKRVoMgMaNI3LIKg4b1HaHjLEtWPBiOhjNFM053Q3Hqyh1m4h9BhMn1dQpgzH3vQ2+PO0kqy7N71IZ68BY2Djqw9bssbgaWVFPvL9f0rZjmwER8O3BkE/nrg2p+4cevo7tXx8ZTOklTNxuytZ7pA21Phjpra6VGfW27DltnALUoVjwB9HEPv/GMFRQ17lhNU/EWENPv5rGbpQxo5UjxQZ1cJmyOptlp9nDTrxjj9HJhpQAn3PP423O4tQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212173\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939999955?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NmFKGoj972c5hsKv4JYrWqVfoBMbncG3\",timestamp=\"1773212174\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xZNmCg//BySC0wcRb/TQhaaHIISEZrEgZ1rUfG4KQ5hOA/d0St22P50pcX890Nz+S69zMgShoc88UHCLGnt02E52qDqhb5f70pg1YEvqnLQRB36aLx3zDwiih4z+OgW1xqCTsH4U9L0t0r844dgrC7IVWrICW1Xu2g1pyVzzdzHGmeB5057IkJv8Rss/ZdsQyFz3NNz4QHzvwdLp3/Vo/ev0jR/aHY2Zv4HJEzHxse1m2A9yZpODW0k0yiswrE5BdzJdWLGisMNf9AdlCxrA0EIhVCo7Zs99GyJRs5l7IJybGbDqu/9s0GcbZpu/qrpNvxHREaO2i6lLrq2U/o8oUQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA4C4CD0610A5051894CDC05520D2CA05289D59-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7634b59f0dce4edb84e8e82f7240d059\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Z0tJJhJ6QZJ6eZV211HlIwwgrbUm2HC0vrMAOtdcabtsgn+2x0u6eLhE6SEl5KMZM6K8Ky6N90HFceSbnN2HOHxo1t0KvE2EqHKz1RErWyOBdgj3Adtfe/XINo4JUHjF/VGw/1fjbfAlFHnBu3Qpv+X7IiSTzo5/3Qncy1xIYohY2YXDqInbrRoeU0fg4JMnFD0qDsbP6mIVbBIVy79vCiJSFvxKacEg2+HxP2d2nDUcTl2atonwyBczGDKNg0xL2MoCZTOD26AR22fz7zmBJUocxd0asjik5b++zUBBWdjJD7F//962mP6qD7Nf3sp/YnRdk4Ws2pUAzIA+SiBysQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212173\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940123132?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Sv5a6ZlY2BC6DuiM39IL1CdrJ5z0MxOl\",timestamp=\"1773212174\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"S9bBGfUHPe8OnTfYm+TySbwXUeXuT9URoOkZKPiw7TnMAmJjprnBbxfX0l8PNTz5n7FE0DoZcTyXYy+bpLhTmJEJyFn1nffNKJV+KFO+BOhcYqUxiEC9jPKZJPKZ+Q8ZQ8jAw92AIEJGTdmgrXSwDf3tNLgeufCUeYFqD6Sf6AhPHD2bBf+vZ7pL9mqfMG5Qk5+uiIO/nb3lvb4btBkIkF6iKnNt/4mpGeZsLyW4LbBOhY2u4GZeiDfuSaU5O5YU48SwvqDePbMFoMeOWpCPYoYVPizSeWbD3kHHs7Nv8OZkNnpzY9+Xwqw7ZPJ2NRORKRLRoUckqN3WI69V3oo9Fw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA4C4CD0610F30618E8E4F8AF0120B2DA2728FEE302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 05252f01b0d9cef5b28b9dcf319e506c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: T+K4t7EoZW/rg5yVWx6Mv0WmeBT6Mrz+SEE9mw9rIbCj4Qv24MkdpkVpimp6HD0HHz5fzH9ZuCu7EwmRkVn7K4fVHsnzo7Z3nMta6EO0ORPVic8mA3T63wcwjzbuHheb69iKgnvE/cxQuiVTzr0Bnc+VKT4cSDCxiO7JJ76QY2FOQZ5KH9TrxH8F/1hgMdKyLXXXy6RETrO+ECWNbOEXAjRhUp4ft8oty5+BiHi5t4JbkFZaxnYOOHeP2YX8jeFjYEjab0Ro7v4hXL3T9lanCcLt0SLl/Igl4hGlpmI5TGeUpGuqh9Kgf9ikI1sL/89VCmuWlm8z/czrGKmE0I1Yxg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212173\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940297593?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7IYThofBd87snOF4PcRSYis8pe18CyyN\",timestamp=\"1773212174\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Af7OYDU/0u9msoHhHdd+23aHXI++8GLCtjo/4FOKKMlI1e4SZxd52KSFD8TV1Nmknpu2WP0OhLVtogh8IIebIXzFY1Er/G7X/1rEeY7FzGyzoQkOX/n3bcxKz+nd6f4MQWco2jsoYiNBDI/m+VqLyBPDHM3UgIG01mdAt2Ib8wHNrmoDN93gMkvSBo/U5vDn6hmUrd/yyYpyxfaY0WCoXEJKN4rGvhl1W1EarFIZ9f5AD9RX4kLOZ1ElBp29aCw6OPRbpAqjm5gff39ssqmEruyAE+AIfDFvElION6NRxg9iVje+FmD9WvKPaoy1GkLUmvkQdIrwQefrhy84pUc3xw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA4C4CD06103518DFCCC05520F8C44328CD78-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9c0364405e9a03790df736aae3d9b306\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hUqwyVi2qHdd5Lhd6j65PVy0+JUNso/5CDhnOMZWlWAcYL9gWkMo3BlfNbeQUVRRHiKdzBKjr4aTTUNJFNx84eDAh+4mn9AaGJ4huxUD6+IRo7ex+bhKJpfxrlJg0bmK7mrkZlrLhaCUqOa5OizWYF+A5WUzGSwtbhO3C1h/+xSAAN/rxv/x+m3SQoUTLXepK4Rav5P4bB0gsgW3NNPizcNuEp+/7j6D5oQmWbOlt8E3hrm8dCJQN7V1N1KpOUGkh0OQzhAobPjwvTaerF7OUMDmImCYI3KBu/9xzAOkj7UE7qMhAM/whsbmMGxJqe7ZLU5eLv5A2wktd7kGoX+K/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212174\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940373711?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wj9nrNjZVos52XuPsFMqPafV7ki2uqYJ\",timestamp=\"1773212174\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kNyLv4NsfUx4pO8zyVyh8EVCZ8JCqnmbSv4Lx7AUo5ZJXXDSuUnWIJn3Ng7riuHE710qCgJllP1rplIWz+TdIxVFihycQXPYuef74A2wPd+9zQbiH1UhiHbCnDawRzpSuMmnZCqRu4Nska9YEw6c3MtDOY6en4DQlZqtbnbL8ZBUeYkKPlOLWRCkYAzjfeYAXA+nDr3cYMscg+3AI8nqtrxGmRLC50p5449zbRTDevc+qMtVpFQ55+4LOYPT2powG/FzN7Z3xLUjeHdhdtqrge0ErB+13PGTItYIww2XI/GILm+LdbsJbCJEfU8lRG8qFIFgAC3URv8PUNBup93x/g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA4C4CD0610830218D2CEC05520E8C11328A7A601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a1715776218d80f62e30289f4c88f72b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: j20+MKz8rgqBJUNtyFocOzuKCwhNGrMmGsnZd3h9zA9CFamHM9zryCSmkBY2PFb9w/n6v4iGZnN70K5PmJ815ZM/mIadvW7jxXqsSw9vofk92syo+nXjWQpWTMhD+rpmCxY2/kLE3bj06vdF2dqzwrG3W8C6rpOx0Yy0tVabfJwnDcqd/0r5D56zVC3CHtjFbdz40TouyhOcEquvlKo6U7WhRPdUoFawyXQKAtGTc54ffAempb9gvceiv4H9Ahbho/+UjfR6PlHZESQV3zCXDrLWaGF2LAYxU1zQklcnnYRltsmzfDX3yMOvg5qC8Whp53lOKhRSx7gXYBzn43HFBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212174\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940697377?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LcpJe195mPUoUMp9KTaUFkcuAqQp69VQ\",timestamp=\"1773212174\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LgB+UJUY5o8PhZGfjHtiu5QQ+fGg+sBOYlmebhbqDW7XnurB/98xYrSBtiCQNfk64Bv060dpSy2ycImsGGtpfM3knC5kvsxdHXlImB2ddrxeGGsQKLxm3xiyfSCQRhYVT8DGOBXLG287nXmV09ROw2LT41DFX0Nxp4cucUPfGZOGfZ2KKUcbkxLXXL2AhJWNzIwprsRZlPJHpwe5D3USpxgo+mkdF3fC5oXqwjIr/BWtpcghLULlX1sH6xMYrBoz7ZDnAhoiF3LKBGxBY/pFZhOdMAk/caWjBwOheZ8yEo0rB82Deo8CWXwTS+tJNRIXpYSpqnwuIHBH9O9YCSS8Lw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA4C4CD0610AD0318E3C5C055209EA40A2885FD03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ba1d9a93489dc6581a71d91c733e7abf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aarXAxB5t1eN/ugoP3MJTOCSi7FMC8OuGG2uEtl4qcVRWylO3Dq837phpp+VFDJjugJFkN7UvUU5Sqg19lkYfiTiNLiu117NwCJkVfh27/UcRRtV4FRI/+nkio3L0JWtqjZMmavCcXin/nTH+R7uSYN1dZ8gRDJXWwV9/vCiFQjPCsy2+P8sskTf1jzZhg2uSZfl79/GH6BsbkYfwoegit4yoDYMC/fAdYJq6ChEiDl5Zckzc9UYZ5pqKpK6MB/JKV7HBGzV/3EYScTDe8S6rHA2JQFWeGTrSuG/u9ZvfvDUoGcnVnjY3t/RSguRUMBfEYQFaJWmvJeZCXq4epzmvw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212174\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940710641?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"iJZOh83O093ny2FGHfI7zqXseaUO5fHw\",timestamp=\"1773212175\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RcX8OCHzLndFS9HQEWtpVI2N88mQBlYwPJ4t6RNQY0YcBGGm50QV77dgqGSEXUD05zodfdIsGx6gEcuKeC85J+LCE5VRy43FlX6K4dltuyXO3noBR7GwasAb0K7cfdzpAVGokbSSC5rbkjpMYvvAl7ZoURQKT9HTfzNxyZcM7CLGGwEPzXozPKGUvB2aa4IdR64oTHM28Put6xnjtKwJNy3QuymCzdnsLR6PyufyvWq+CRmkoJSi0PteB1/iXqDmNycMnS0P7NXEJFh6xfdQtDH2Z9N9NThpuoW2djsrBw46zIyhgpldzg9fVtKv3FGut+PQwtj/3Zk8S32nZJ90Gw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA4C4CD0610DD0418B4CBC05520A0D21B2885C702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5b90456b517e602bfac377f7531432ee\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Lgu+qrsabcUyr5YuJmcblFqGjN7Ho6CxqA7mmssAXneVQMwJO4Sa1mQPbWbbuR1k7+WSy+lQ2bcoS6IpDbOB3Wy7WQ+sgHkq/T7GzoVCljl5sbByoj8ppQBs1XfvNYrPk3KOgtvmRqbyfI84HHb9oBbKXjegWU8VF4dsvMTGwua/M/HS9GtYitEwaE9x5vNLYaObhAdYWGtaE3GgdUgmrxVK3mK5ctcFE67OxWSSK3aD4sCmmtCQoPHLW5He1JvwvzCBmAQ3511rMuQG3lCqBVxmgbbVokO8guPe/dVfPychXOfyridNKwhmEiJh7g/eyY/GhCd2WT9zF7U/mhMJHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212174\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940773838?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UQIQvKkf99E5nZChw0YMBIEXPmXUslH7\",timestamp=\"1773212175\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"avL58kNVW2/8HeRkGkcJxc9dl5U9UOhsRs5Px0w1tFdnpuPpXDtfUNKtRX3RYmnoe0Hr1QpB4SMSrmfEpfEuTnttEC2n67/8B/P8bq/Lyf+kxFxgjOKhy9mq/SI/lYM8F4wAke5xejm6saRPzpIz0wzev0p06YEzFDxIMUx89iXhzNtnPzqsdFgh3C2nvIhybiFu2YWgx3yxmR4Q3C3cHYFJemfKK8/VfN+KjombAQKXPfVfXIoVQarOkyo194QkD1i8hVdb28a66AckfZonb0CU9HUphLVux6DnXARe3asDyY1HPNbTmQAvgtkyre33TxrCS04uD49hZ6xrFRdKSA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA4C4CD0610B20618C8ACC055208AFC1F28DF3E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8b9fc5855a57493384ef5fe4cd6368ba\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DgWgl+I6BlGvmtpBX9nX3OSaDM/5U0YWZzMNZQ9VduhnLrv2kdbU5xtbJnpYsd6HmEJpbBDJrMmRHaPdMxWRvLTNrNYXAHuaQV8yqAPhDl7VULLfUJLxk7F6t/71o7Mz9dCyqpyY94hhQCpoqfum22K/H1VuvWx3s4gq4oiZIH4ZpcGohkUBsVTZtU6Z1+/X4m9K3jYFtCN9JNUMHH3tOwnnvMEKqV9iiwXzArQNEnHdsyDZSnMz0CZLUiZRZDmS679fpQLVACbbHMxhE0ka4dfDcNENlNRKuS/CojGRkH+ZrUstd0Nkvfpz6R2KdfSw3Po1T/9veASmdlUGhCOLJg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212174\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940842376?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zKP1wBaSxccD1EVJO5bmEaoN4pzkDOrG\",timestamp=\"1773212175\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XFFRWme1/kD+U5OmxVyI9d+e1H+chpOmfmrUtje4L8/mSvEvgHT+hK+CM65+I3d4l6pLN69Hoo4jXuiWywVNQM9aayfTrPhhf9qx1F09Y8AS9QGSd3Yc2SIVTx0eqTpbK762WIdSDo2H9HjCUNFwuVoguVI14+OUSeSbk7e/WjbcJGaHNmOxx7XFKzhnysYr0YDYD9BU93pFLdaopZdF47GG79X0J5sXm/kIG5Fzp8LopdXkKywQl5SU/IpAzdQRaTYj+o2TKKBuLcVdWeMv7ParWBs5AWw6a7slFbtkNaspaMhcVC2JziTLS88pfQ1fNCh2QfJs04odMse/F213zQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA4C4CD06101018BBC8C05520BC9502288FEB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 145ef44b2f5d78d513ff9474eda805e9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: diWlK9aEu0QXV58v48QdKb22Wb2IVXLw+dZYl5OA9cbheHq9jbArExY19TTFP0mQrjBxdp3IcGAuyHv/L4MfmHmpiRLl9jTxW6suoMdiZzbm+vjryHSnRFBPWGx6tcCS6TF+zr/gIpK69gB+yFYuzhhDxOzlEbir/L+jT6sZ8UZ6ihu14nDOua8JOo7QReH1jpbWgkin1B+S+5XFmAw2sokwRaBCHKXOBsg1UF7KgMbwuUYnxS+KK93dOuWDXjRfkQ9RE0B6fHWN8h1FAf30S5ZGk4zJ7tMexFe61LusUAl+xtkee15vVHk/fwiQCf9BB9qfPnHDTNAVQCtI9RUdIg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212175\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941050911?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"N9gi7lTZUnMsBut4D9qiICbZf6WQ6tUP\",timestamp=\"1773212175\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0fsfU7lCALe/9Sg/X++RTAT1JBXTnhBGD9GZlV+iATDeNXw7w359NOW6hWuTTNEptyVTqOnjBgO3lMwZaFGI5/2JJA9KpDlyJVRNuMTFJ34DeSXyLpoL9llYktXtK59hJDeToyFQaqYP/ADZiOGSAlMRsKLmuIS0nH2/+GVPTHk94ljJIiYg2iV9H9o/i7P/IDD+NzxnEEIQvqNZmLfJSXdYY3wCcvpzIkR8qxLiH2KAU+wYtpeGO4HtRKRCtTRdY1q4/48a52seJs4CkUk9qsXoTP7PkwGdJqiFV6G+9RWp1dqcbd24HGW6cBrdbalpXf+vW2kG8NxmKeAPs7VKXg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA4C4CD0610E70118DAD28C5820B8A13228E4F803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9da85cc017791b4ee76a27cad226d6fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: idxQ4E8QhExAr1IssZbnDEP8mFkF7JyZnpcf8Ae5/W3lI3L7U5mLgC5biovL8A2exVfRBrYXSx8rpWDjjwm/NQ4EUXbjkq4hzDf5XIiI/5bN9BjdHiTAVUU1ROq+1RTNRN4GeE1Bx3fP2KBo7KuPqzfyU7mlykz85RSG2qdqNgyTJ8+KxZvkFiZOk+0Bg3DibkaeGa4LcINGRC0NxDWfVsXO/kBj84Yl93dUglf7DMtnlOv/9pytjrYAeb1nrcSpwGKxKPvCoRzxKJW2oJaRh2Lv3mxgZVkAxl1EUuCYSux2II1OAgbX7m74Pwu85QF9qmtnMjORzYAC07QJeBUNQg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212175\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941197720?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pWlWTtFNIUAQa4BS1TczQ4mUMfYFwrhw\",timestamp=\"1773212175\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DLvfjsU+/zfaDcVZnLlJjhXq9V7ZSyidqjBmPaGOBe4BABQXwqoyoqGLDwUEbf7D5GLLDtdkh9Ixg8Np/RLJkowm8G4ww8rKPyPZ5fLpdPw39HUTnRh9bWIANPVm2bExknHZSQtKWzHt1+Dv7tc7fQCtNt/SP/ivr5hl6nvbgxSVIaWVMaqUO7DeOT+HYboviATEaUaJLMqIJ8ETnZdrN7UYlAYHoj35N2ABVz8sqfOVcRe4DU/jvHHuIfk2RweMXjE8QCfafxfjhDUdZKRq+WpJK4C3maEFHVktz/IqS15GzNpTAbVTpXOtKWdfqiKbnGlaNsewbVysuLiGeEsCjg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA4C4CD0610AF031895CCC05520928C1928A7C601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ba416842b2fb8e8aa791a45e8513e2c5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WJc4PygxIHvl4qH0SwNPobDUA2SpxQ1l41dnCFSbDGcergYxvupQbkmCt/tRsaLjqGRtVvojQYjKBkiTTDPGrQ44n9hNV3TxE2AQbKa8zQ8WCrbQ+3QIKc1+lZ2eqJXYPUY09xtthVJOOT5yrjQiaRqWsWQsBD56jmVCsMrpyIdMEg9/+K4YROUXwFJLQljkwTW++IgF90li3HI8+TKmvZEMw/4idgYR0WAUQrRC/Tf1lSVggNDhpzxrD32YpbLppufcnFlzTTYvtnfKCzM8CeTY4hqetFOptmdvUo1nYUFHxkO3LMUTfsXAdLqh7ewc+15qVTTIHsuZMhfE3uKG5A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212175\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941215976?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nl7fQIwIodGgHW4Oyo8yBs5Wsiq3nAIQ\",timestamp=\"1773212176\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0POu8HWkn/eq1vQZpw7LN575j1Ofd2WBo0IE2S7xxex236UGOT2rRbKGr/kXCq+qgqvWbrcWYkzz8v7241hoXRWycZhAUI+tGrXq8sSXPHPNtaN8yEDZfSZgnktf09vapVW+EL8plGn8A0+so8Z9Q8ga3sKm3Fvy0NKALEkmgNxA+TpAAZh5suzZJtWqAkSktetg/4KJWXmdVVEg4QqKXW44atgdrE7rtb24wMilDhL4DiltBU3chxqZ+SvAED8O8e+bG96V2jOeqq4X0aJ6sAnhUqq2+Z1NeuOhD3bPkXarlVlyPVWD/OcHzVuLDM18h0WUI/cAfxrYs2AsAoV2Zw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA4C4CD0610F504188580F9AD0120AEC91B28CC3D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 148eb0d67949ac54e309ab04109975f8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Rd+dGwWMGYJeFdg1cS2UlSuFTJIPZod2/tpSRQdoC9i7dYakH9ABSOeDicby+I+30ekGElQ3119DD3fnuDxLzttSi0YdZkwH2SVZWcO9yUggxq0or9ltY7Eh/3AXbXGNeEAIB0SaiFw8gnbjWVi3Xe0fiQjXN3nTBiO88b+zuMn52WncD97gc6SQvQkhSnSHVo183a3mRDArV7rfFx2sS0Uz/Td6U8oi0A2d+NyQIwRSXeYSQIKcxM8OE2tG1F8hruDsh1n1n6ppqlMCG9lhiUO40RILux4qwIZlKivax7hXF2vJ1epF/gnKKU0Z/QtHMI9Uq721FDJnPRvJ4YJB8w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212175\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941509391?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4foQ6D2W8qSjkCr96RoO3VEh4LhYkiJt\",timestamp=\"1773212176\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dg8QDf2/obmz1yt9ZhpzT5UNjIq3W6gC+yAPqIg2BzepupobtagQnhbL/z0/vimBARhfXa6YQPzLDG3W8mav2ufXQp/v2rSN2AVe+qMNJ0ynlYmMjfikGklRfyeZYDK2/S02EH7UA0P4IwtlaqGaDBFaka4HIlkLXSsaAP68gsftueN1z523kFq1N7Sg06ryuP6y+YHxhBA6kyobeQvEIBz98gCXTv88C/F5Doj3eU0Z3GRc9A77qYU+okTn1I1AvC03qlV02gct3YmOSLcy1449eqMrI+ZI7ipzsnjCLO4+7/BrRikLm3xDEr5Vn7+tB+rK1Q7TdDtHwThRj5e2YA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA4C4CD0610C70618F3CDC05520CAB93128CEB902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c1fd12ba643a83bc3c64a728cc367037\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tI+VUevHll5/jHN9ZqfEe+aI2hjFoOQk+ZFvwGEAz6ubK0fwwx8Bi9beAXLsuy0MTb8qLRooelcDXYG66R3ob1t+/oGuZqkxBARrKMzFoS7wcwR91k36I1dyt2zSIME3sSIIHIalSaSw/yv1l8IKKnujS6PLx681tFwhb9L5CipqGhYJLkZWPadL/+yYgDyWAd6zsBDOPAd1xl9gFnFmJbdVDQkGy9ur6THKy7P4RXS0wsHfJiOvnGTQBmVrGxKXUzcp0xtO9qCml4YW2tcv4AnuvxdJl4jxI0++YPM/OUmqQ04ppbdXy21NbEhcIsviNtaxIatDdHAKxWu0b4F3/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212175\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941618597?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JsIhhgLc1whF8AJ2GX5ytr5rAswtAy2n\",timestamp=\"1773212176\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JSlilEtwUqZgC/sEMrGHZ8J2JU4WPNqyeVNtr4YlAiosJsMASNn3Y5XsewxIsy+rMDqzZU8X+ljNAN/up6/rNSnKPBomhEojBKG+O0H/ij0LWETVAL9RhOp0UGVQrc71y90FTzMt7B6jHCWNKr7Y2+79Er+y13Pe0dlXPh+t2uYzHlG3RyjvjCSs2pbx8DlSLTUVJBD05VCnMq4zkDnWTZxZ2d4po7Ec+LPg3j42OKZxnOnT35VMKlMWzpuMoiUy4YvgOxHiJ1MEYRmbr+cxAl3le7iOoYAEcbY5BT8t8fWZLRTnzVOfzwwwNbmrDqML/R/BCno9tFiZy4IuN0lLQg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A4C4CD06100618BAE3F8AF0120CEC90728D28503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0ebd4224548de06adf9b477c730ed26f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H8ADIFXDl/wH4UFcpYJDpACVrSj5LOlNuaEggnVBdjGTpTRkEok79nTPrt4l44uwmTMN4Icvm3/mgbgD4iO/plrJa+mnErYSOrwspcHGpkzI0JEAKvOkHSa8B3RWh7fKX9i4uLHgVEZFI36ZwQuxzueIRkJo9NtCUT9M6zkFJ7ITa1nsrHr94Ne6sCyX7r7We8jLI23pyDgjxsb+YP4i654WLTsthqCP/m1aX9Mhw4A2e2OWqfVggAhDi79z3X15+dn7KYWNSEu/mOCqVAK51bKnIWw8B78Vez+WpKGFi4V4SaZ62k9Tr9PXeWPoVGI6KPvcBiVGDYrAHcF+7Mm1cA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212176\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941698795?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"60vXhVeTfAtL3Qmwu8CA9UgMspxRUSmf\",timestamp=\"1773212176\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"naqTgnl+R507BvtbtP9rUj43faTPka6lm/3vH3/p4Wjuv4GWfsSLHc476hq0xGHBu3jdt998c93tS5kuq99b7NLEjdVlADUbFp+sI8BVUudmfMkYQ7xr0iaLCGoX7pMfvN1HB8Es/nJjnJyzmXlI3P4MAPSCZFuelwyXz+dsKNbuZLPNcmd8gg28HhdON507pJQsGeKgsFnS/SAi+CnZSu3Se+d833x1akNMT6msdeKmEgDt3Vr52ss9reE2M5+mRKRymA4ESsZzsBw+Ur1FQ0tWdP0uvQ2IJ5bF+l7TreghyPjU6soUZZUAe4zOZ5eo3SGLNvG5+Fg/lbXVF3cg1Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A4C4CD0610CB0118B1AEB1A80120C08E2628CBF802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c2c0f5ba542d2b77fa97f3cdf2a3dc6a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JyENQ6nwBvacz5X7U5ByaZE9CfbBetME6qiKy5Id6d5WZPZpO82nC+Bs0IHX/LR1hwtHnc7hideKRdxjdjZU3AU26PX6PQwUC4n4v3ZSutvqt1kx8QOas4aUP46n7GUfkrot2stdJpdXlPDEhhoqP0auUHEckkErn/Dpy7OUOB4TIXZ2MTeeASAwvRSMCQHfXfodfqYqB657YCl9JLflVxVcMFc4xWiCEeBTxfq5IEbzKUtZcSe3Iauo7hKgbIRrwJByiVroXzrJW1p2O7D9U/s/c/pFCT1JBdNEB9cmO1slqP7AFBHtGQM83Y/cgonGv2L7KS2t41NrecbxKpwjaA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212176\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942287535?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Vd7pUFnyIa6BrrCT3Xdj4uezuGekkQpc\",timestamp=\"1773212176\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tZMVJFb4B25ure9NKq/Eqkw7a6M4bn75AG5jUH7Su7zRKzp13VF0HaoFvjVn/QPVFAJtjdjWOH13h7SgdbWJAlr69yJrWhTxkPQDEFHtA9/JoHQE9n35vZlyjTJ+uLTxVCI+je7//rfxt0IbWRwlrH0Be1SE7rVk703UqwUxLrlBW9tVspL0uL/21SY4tDgYgEkQtyu+Ad/qWDhLRf2La+N5tQzjLviLvfejVmobqJXJhQIxgIPo6pn9tzQ3dPrlM76ROapEgaj/WwAKwdRC1t6tRmG531mRXHLXqNvQoid0PjXslSjqvszokh5aqIUoxlPyoppufMQkd7+SfldpEQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A4C4CD0610960318A7C8C05520EECE2A28ADB604-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d8b07d1cbfa48ef17f0527c7e5078d86\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kWQmadB5N4VpMggN70A5zOXUeWeL1zfQ5NKeIzLPTpYxOIWamu0nNYG7+kvQ1VeGNJkBHFz8O6Hp8kcSJ76uPiVjek8It2i/UVYzbCEmqy2WU7mthq3KAhvFQDk75IMCyKh8WSLHA8s5W7Bl2NMQ5HokEmv4KiCQ/OjjBrxP/7tDiGSdxy/72cFjoLmpUfrMMoW12YOVyFAChjo8dwS9mXmJ9inlyLLDjOjSOEpOqB2PxXKBwSKPwlJg6oPIsLwVxK2tedyqnpuYDxFN4h+E9ejbjPg469KAnXpyxOT/eDUX9+CMTKKonTFlSyykaFtcEupUzeKMxgXGb9iTUYSoLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212176\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942422771?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1ag5DeQbdrpTWcfSm8iKnqjL9bMhQIgx\",timestamp=\"1773212176\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NINGK8mdhCEB0kEH40PlQGycsOWLBjIjfPp5S7oC2rP5UTnfZQbeN7WeaIFk4rCPw+FmN2nUD1l3LFjLEYtJXA0ewLijhtw1l1dk2ySMdMdb5TigSeANUggZFHp9CCrbj97owUGMmi5JwZVqnEYuq9slM/5Y0xEvqNSvjI1MrcJcwVWlSB2dG95VyZxtgzaaj7LR9Jjg7KvLqUuWtndQParxdbXY5dAoihYRVG4F/v3GS0CmS2DOtdjid2b5u4nbFOrIoQxGQFHmbze5V/nww4GVmnNAIpm+exluSrlq25SkZA87wogO/9hcLU2W1jY0AJGKQN7WtfZRqEDPpLIVjg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A4C4CD0610C00418DCE6F8AF0120EC912B28B7FA01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d7f5bbaccee9bd68f04648315dc229f9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nD5rJh959rFsYRBkHwu+eWZ+R/L/uuyAj+elO9brXom7BS2eUFHbH4EajYP6FQemoAZx7KRty+RtsbbZahyLpOuJNvtn7UDwp0z769ju7qAvAeL89yJmzgQL5JyrdgLe5Do2xK2oPld9uKf6ojBy4XpxPxaPiv8H6r0XV8xxhoUawL+NpFMv+ZrJgocRMlUI5Sd0SejlKiGC+gm50tR3YzHhnxtj79+WYpgxQAa9TSQ+bC38qw82gd+usBkASdEeOnZMXwlOX5q88ayS7k32oeqwnHvg502Mra5GGLLH+Y4xonz2ysEzjxjzzFQwpmq59dctqu7rLCcA+WgXx4Ensw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212176\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942526984?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yX5FctfSvAGlsZSXxwWo05j4x9fNmWOw\",timestamp=\"1773212177\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jpFMAmr5OSRM/fCNI7+WwoNNjCOpE//rxlYmX7DKTfnFVfqZaO5Jhs8lY8uUa09ih3YhvdTHSLiGfCc0kF5rA5x7Tyss3bYGbn64+Da6l/eVPtKD4c09KPAZrWBk2mPJPZUR3AebpaOQ6yR/HQ7qGroyh57k/S6+cRF6Av4mgN/kyVI9qUP1Os83piI+p7zThDDMkmRxQ0EiTEa2TzPcQSx/qEBzCcCQ4HfhykFl1ojzN0u1kt/REBYQupSgsJFefXXzKnnwJpTmv6j41bHkb9fuserDS4BDr4TPNAB+7WD/bzQeXaK9yqe9asAX4E+OwwhddD/jWcPiENKRD6M89A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A4C4CD0610F30518AADA8C582098D92428F18E03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 27a9223aa91b751db074186fdfeea5e0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: o94wmnbT2kp3nXm4JkI912qlfoczLLFyib4QuXw04GMavNdBNnBSY3l/oHP6LXvjBKooHYUdxRjbFsiCajWk977UDCPq1+iJRrxnqIDH7s2vzZ5UsLpZH/caMrQcarIYHDhfBj+jHBe2cP55cy7MIeS7LVjuBWsGWavPslDSXmQ4dDuVxJG3ax4NkPkjC5F7Z575dF2cHOybb41SQBPd5qZpzu1CoPGeKIOlnheEw3KC91VArFr71xYAuFuqx5vp52rnFODwlE9roitb0Ql4YJ4bRY+zjdX/CirqtYZGjE35tJLUiPx4TVfhGH3tHGm95Mt4l/ATuSfjsNYCd9LRtw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212176\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942685693?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"voz55b5RyjNjLA53aZ1Ww6GChWxw8xqC\",timestamp=\"1773212177\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5dwrM81VocR35jhEB5vobnU841KO4CbILCu0rXOAuIGeuYXGgwf0MfRMwEkpsSTimgf4sP/RZoP7r6PMN36M1K0968uYr7OikehvNpjQqw7ehRB64nMy+j1hyp7qbgEJsZmoS5u0ZsZWpqHvfHAkkQf1eLwdX3SB5MoaFUApczWx3z5M8TUWKA3J9vXKSnlWJBMIJTsNFDYQkGZ0ZESLkpiDXmnIa2+BWY7Msi5vFkSjx7Hh8Yy/q8w1V5Xr2zxVyDcZPPBdTrfeCWibO9dk2SpmHGFZoXX7jfVUrQZ+e2aKZi9jFoANHQZfaNUqYwOhwRMfi3QbbUaSy3M44Duxqg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A4C4CD0610A90718BC9885AB0120BCD93128F9DA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a0621aa4caa12144d1cc7be417f763ff\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QCfu2ySj9bZemBP+AU2CNv7eFWR29HKYJO7ze9yRB1M7KXbJWEh2GVhHc5WXwBpbDcIrrOp/HnQoc8f0T1FxeeqRv+5t4Kn+nKcsWWkeH4jtrjWfJkd8csjXE/iDwFT5xXbr5U5w3AK3dTEVcCKhrGfLrkoz8KJBAou+MwRJGj5sCpSX/kH1BXilfVfIry8Ac+z7JeIQIT6C8pUTj1WIlRT8pRnxEEIPWeEKbQ//c5Smk2egkRLWcjeEtNxYmT7pIYWXCZ7NmSqjYcLHkYfThU0V4brN6utCNsaH10+uPH17e3MCX8Y54xfjbF3/GqyZkgjnEFrv0Sez+VCpLQzmmg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212176\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942885653?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0yCslTklmVth8yJJLMAYIywp6X5gNwI0\",timestamp=\"1773212177\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ByEPbhnNZF/llFuL6JJuL25wJlRXOseD6qj726h5D6m6b7gXTIfIVQDAU1Cd+ReCRzUAejT3V9jdny6lDGK7p5l06qeC7mGy6tuiMKkb3AOCHXxCHmivp364tjTOonxC4mNQ1ixJIUz2oDmiYeDqCcNnnLkxEV4TW9Gq5FCcHlG9XhOP9Z029zbkP+9E7wF7M0c6xQoDjUoyrMn47hcYZaPpzEIkuUzFQ/doWMxe9cs2mGHUHV4ai9TI3R/6DfzGD/SFsMsvP/1xg3UcZVwC4mRatcBxwIgTkCLDMtKbhrzH4DOh3TC7xpVN5rXIZYK6ZEXIgNYDq+W8KiCOg3vYww==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A4C4CD06107818899D85AB0120C2D03828E7FF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 24e62e0012bcd396c19bea6ab6f14cef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QcI1nOcJECcaRUWW8920kI9v85ZuXtytYe8VcrJdoh18gZNKkLCNdgaxdCdJ3RhWU/41iNXp2karYZikRAR7gea++0CFSYw7MskYJTn1tG0QVhKv3aSAf4TrNBL5tINvp8C7BcUtsz8CKe+agraIr6SoxcvvFmt09QDQT0G31OglY58DbQ1Ib/kVD2vHoP0iV5OMTAdSSt4XC2020hYj4+6aSCcD9q6wviMItcShj3qgrMteuGJpoH/iLpwYlmUcpQIiakVxDGiCO4FohDFHgcxVq3E4YkE/CxzGyJXX4sG8O43A9tdTsmwcG+QHjBfh48p9Ti0tmHChgxC/mUldgQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212177\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122943279917?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RACuSDgYfvIIpmW8aGGGrCEyGXQXuagz\",timestamp=\"1773212177\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MuiIDH3Var0wCB5OQK2Y2u4uPrZArmPAWPkCEhlHnfUKmVUVRqcsJovOAPInzg0RvMEqaEcarm00jMQxaYDECcYTw3kKNnhvPokyVRjG16CLzj37rhWyV7gGhCCLiWS9wbX5q9O0TZf/HK8MJ7SncDJphrVoYMCwH3XOeqtmr5kxtE/ZbiVKsz152lzxUQuz4bM2Yxpi2jIWhgVccXaoRKwHaKEO7qzxJqThe+FSV3w/Wdsj7CTe6NBa/Z9e2g5++fl58K6ig+PphIax6YfqJ6GorXCScPkdnDWiVXZ5TSb+xKnyfpl0ZOB8YsSksfhtboWbKPOszHbPHEkr6flogA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A4C4CD0610AE02188DB5F8AF0120CAA81F28C8E403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c6fe28bd287017dd987e1759256e8acf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: fookuWbmNndBaWiWPb9ucka6R/fP4XTmvYl3FIfPrLp3JqaAyz4LbpsZ6vdQEGqYaGTW1KAScf8EFapapYX/yNPSUz3AhQZDHOQbXfGKbIGUE7QxLiOfzZO7R0OspyTwceuYeEqBja3OFrIeYwNLZsFhZOhNuhncLkNXUKF36tJr9Cwz8rAJI393sx5IvWINpsLOj0LYnhmA8fmUCdR9hVAe+XYvj2lUrcJKGZDwenhomRpLC6Gdy8Pbiz02CatG+V/qPIv5tpATeZSTYyqoeu1CQT7xYuqyDjHO+NAswg9fUgnnE1+fi9Xs+7809HWhpX6bYBV6LZWAmASq0rycsQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212177\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944030606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rRvlKoJqm62SPJuCDkOQsVuySAiES6gQ\",timestamp=\"1773212177\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rOrOnnusUeCqPkN8RjO3wIfLBm67QUx2Q3lp0o5o2pF6cIUQR78nAcWWYlGizGgqh4VKPIRykgWMYkvpUilFfmxXwAnW+RbsnLN3aAm3HbrKXC0uoPgIg0aXpj8n+dLJfZPPIikOT0Vpvu1KLhTvmVByO0ZYmk5XO6rGpX0A/eZFMqSacfsa6UvsQfwM62DbnKFW9AE8jAKBrigqElri0X5PlqaETSDS8ZbsPOJgo+3iGgcg1Ag+E3q2zDCOJ+rHk38dEeJrfJYgheqxjcBN0kmGOwDXApS8ZHkqidAE+VWmXJb+iphUNkLVwlw0JShFXL6ATEecyPwLE2YZzZmr9A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A4C4CD0610F60318E0CFC05520C0D93228F5BA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 491703ae1aff3d968ac8f49363c76e32\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zDI7EBdTObvbjIpsLmPE2EGflFnZU9AtEDPdHIG8BYnU9wcUegTX1L3DTVJvgxYeiERCDk/RMvNimIvIATBXGCrPLlB193kzKOWFwujNTFSS3+9Ifj+DqAVw2Dy4JSw1lJ0C+BCsj9qya1n7vkL3T1TDWCnIjDeGlwnCHGQqGrXe9tsKPlxOOWKPOoK4asFDgh6OkvUi9F3cM/5KtMzP11Hm2qU+2rXO17lEeIUJHIKqyIZej0KiEfYCLldKKHQlmTTmrlS+MslMd0REwTPEX74E02IhIHstlbD01UEHf8d0WCcCfhYTwWMww1nUonqsr9mlK9UFXa1c1KULJ5HRbg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212177\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944572678?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"A2ExBk2l6ebSD9WIpyV1wt8aVr4eivvn\",timestamp=\"1773212178\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3tldhdl353mkLwl8wI+ZME4vTV8gy8/RySHCwbMqqOJ8eABdvKfZxlKwYIj5+VenqmIUrVvtec05q1w7gAxf6jUKGAqLUKRp7WX9jdduT7Wi9rV14VfyJYfr6HyT0GCV+kwwFPJj+//4TkOX9f7iL9WvKiDsUip2Q4+rKfOkFq3xaUM0KFkToQ8RNso5ggEHsW+8lKSjK/v9tmnOAQgiwJzxj1dsYHnBrUYoXkR5QPb8VLFfw8MUl32uR0TGkcHlp29gyUdVxd5e4xvBaecj9Fiskoy06oCzHeHGPuntQqCrMt4TlUFuzFWDdQjVxP+a6GsXmw+eef5+MkEyzlGp/Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A4C4CD0610C20518F7B2F8AF0120FAAD3328908506-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9eb5a68e09c628e2248c5be2a7e5dcb7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eX13P2ugigGk7E+DWARlei5bqEqk1SB1bUjv5/a56c6Ts7EOAWTQ9Vl753QB9eYfSZVKq2pj7BBdObavoEJFBDEFYN5dyzfL7eWeUANE31hqDe1+uD8RtkyrEosTiEWJb9lCq8gdTjyjn0O88Nnl1CujErWxiE7haOnk9Pecok6Zio9EZcP0EQZnnsk2PRL4zzSC+z049L4x0w4iBVWf2cbb4ee7K5J5inwiQIfWRI4eY8p9X6PIkw/DcMlNpe1C6cY09Os4kLCrBIMQD76TYd1KCoIvFbqUcicifwAzQuxkZd+H4XMX5Ghg6GODnxzuio3dsMxr1LW2ouiEVzUR+A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212177\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944985854?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3Irn95Yfu4kaniYDRW1UFQ2avMi8ScZW\",timestamp=\"1773212178\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nEzj+JwkQvqYhT4oIZ2T6iT/b+lowO+uGmRn2dLoklE5eEJK34GL85OvY+ldINqhQGUlYDJ3JMo2R2LsKDroFF0BgU2pvR47mR9WP8KxVUWWjz4okeSFmJ7WcnZ17Zzb5pdLsWV+KSf7f/uzNxRnct9EhvLoVakYn7El9B3c1BfY+d/KNQ2CdNUBx5eGm+/B2eOZ4cZMQafieF30OwqFw6vXEHPG78CDdvQx6VbCO11wH/Z7F+4ObHgJoMGOKfSoyheMQRSHR94pUfshP88N70d5CkMTzUSvwkc7PIG2pqaaxkgHMIw5JIkcmhH+MuiqU+j83/3BYpBKB3MtXQXG+Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A4C4CD0610810718C9E3F8AF012084D81C28F79601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 53e88fa99ce28ec520c1902e1c9d9a4d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Dq3qAdrDNbjFiysxA0h7ZTS28tGBNKB8MSxN8Edg/3fMZ6jKHQ/7NJLJkxpvM+4PFicXJ9anhoD2JFjFrZBhNmihVVlneq1TqRtMP4zfMZsGGWz8xgM3BTdk0i5gqOvuRB6/EMeYMy+tvYvfJfB9XJKdztICCDSzLaP08sgmcPXQHW4c4d11unULdzg8PlUv9MGlr20mGWOW863Mca4xbbZNNgKsNyLcq/BrBonsuBZ9bNSjmbvl+Xj9YGIF+Yd9vr2CUJb8LcYAt+AhaSg8M83CokbsIe1imQdlzEGz10yh6jXGa1pL/htdM6iZYJYEfkX7v98lTWUijHwZujAtvg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212177\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122945013789?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4s8Fbb5DQX7vEM9HGuHci1XInlKlK18m\",timestamp=\"1773212178\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zyuE+zuzwZERyMcoJ/j8FmOhxwBY3g8eKkaDTnF6zonQjwxP3V4Esq89pS1+0qC9CAnTpfJZNWgpr1s3A32bOnDMA4bOXNYVmF3F4k62diykFTz7OiF8Kk044vd6GmwgDwUpeec9VlaRsYDOM7lZdzwk8fuFK/yBDDD/MhbN/Hb0R9Q1k5TxfkBwg3H+lO2/tCyXjhP1mFxhcZCo2Lv1JZ6tv9FxpjR59e9XcRvUAIqDlf4bSAlfdqeKTGImP8Y6AW/9AIRWJtfEvLqpMFF9YkEmXEUaVdb6n5nLCtHQV5L+iKxZidZKUF4xE6oahga6siH/y8wVcMhdQ4JPOAVBMw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A4C4CD06105318E8E4F8AF0120EAF00228F3B601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 23051037e20fc5edfb78871af2391f35\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: J58UEZXDa5dOI0JzKu6yyp26Ryf5d7syUKooDSyKGtUXD7Yaj3vgq7yKix5Z8l6Lg/DdUuE+0azS+aIMXozQLBaVwdA1tomWvanQ9IOJa7R8dYyZ9xMPTk8t6fTbHkYD6cIIWDR7+aWV0cQ3Ha1Qz8KOx/NwIa5y5X5EQOfuGsNhbdORZtg9JdIESGBWktebxD9G9iUXKD95j7Z0GsgLJE8m/3/vhbgKJZoJeeWCOrmbBVMXx9mn4kZtbHjwrcSridVC3R7+K9lfOgyDBcMm7CkikiOtj/WdcSXOX+FGYHBeIh/ov2n1KvFHANuTUQV2DtV95p9e+C6q+ndzbPq68g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212178\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122945788204?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6R0SAuipWxz27GImRR3rCxnlWVg61Ne0\",timestamp=\"1773212178\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vLsol5FWX96xcKTL4iDgnNizpE59Y1AwrnMIJTZjXF+cy9EqKjDVsWJFese4M0Q0KnSzuxsW+QD5h1DsK6t8X0pS+g6OnHb+YmyS8SPtgTmCAUf+iP0z+RDj9pxew8X40pdDFvUvaZKD+/QSHve/Jb0th50RKdXnuke7tqcn93PMQv9N08/EpUrfpiOVpo5roCyoknU53zg6JLcSop928Z6zkSJARwxLlw1Hepqzq/Zy+ZGsVv1SuV4ICaWYwhmS9Oygrns00D6eZtqggQXH1IRz2Kt9CTafSflpHPz04tZXLesyuMnJBhhIltgCdpHJrK3htIPTlWJW8Ojo94sBJQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A4C4CD0610A80218DAE3F8AF0120E4A50228A0CD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 72303dee5caaaac0edaa40dcfd1bc9f3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tV1T3WUfVCPPjPzZhdxH01xSFzGRDHWrirTVzJXLHTH/fe7Q0e86v0g+pukDBXYm1ETuK7SIebhfnOz488L29Jri3ZAaTnOEasifxoPsH/ktOWLN11fbLH+NBDh1JpqQXShjG1VCh7EtL5tOq2hBFx1fDPm19I7odCo01h5y2wT7+ye6m97VPgXnf4f9PIKiCBNk2oQnFg9OOk9LZfA7LHQ3fJVeigvDCf68+0xa7Nb28melLPStLnb2CZGanClr1mg4qfArjYr5pTc2xc9E5TW/2/vk9SQg8QAvMzYla/EsQik7pLqIcYQTB1Qhlql1mr5j7nx6TSuONlz55WByxA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212178\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946373200?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"B564SQSuGuAC3YU6mfcgFJK8JTMXBxSc\",timestamp=\"1773212178\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"041tA5W/wG5f1b/ZBlXpy1IEu/ssvCj7ZZd8NXZwA9+4J0IKhsYHQImNGHqZwz5ydx6l40zJjoLkxfdEVJolAQ2E4oR3reZjh5f6fGHMYGciUee8YxY6Z4dkPLcFeNBWDSXavjtXVaHo76BofyBsnZU6jsF0hf1eqbzXNwVRy9Je2n7n+DW9nnvSRuCzhnYMejmphu+y3bMTR/U2rp+0NN8PnyGLGSqv8srOP7XmWcXXlFib5++aXrv39Rw/2S7HeG9Fq4QYGiWhDP0ZPuNMWRybOgji8rFFhlr2mVCl8T1oxvIkP+CJxnVQfHAnXl7AULqLpMGsywRpNQaeWYebiQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A4C4CD0610F80318929D85AB0120AAE72028EF8704-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5295aa4bedc13a0f83ac4aaa1622a891\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iw3m/CKXoPGev7fOm4PTQsHcLDlrYnF/lv/UBoIdxWoV/YjqFni6ieFuA5DWDqqTLJi0YCeLjAXakcaObNV9CMAvBJMi34awrWaIoCk9tf2W0++S3FhUj2HM/wk1VLB6yxWphGhuKuDOCw/J+BT3S1ynfIhollgil/5+gKl86qGYxW0Z9TNPZH+DV+vjjf6eOXHIliyndMtzndxNizt8xFMznClUfBfEJRS4YHmlfw3wDL19XHo1/eCEW04qJh2EMgkxC3skQ2TwlzpjWAZfbf5thniLR24MU6Efq1rLQOkMQi85bk0HFgLJa4+op24i1YEObbqdirM/LyscRSL++Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212178\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946393114?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wFSW2wma91CxCRAAlkHyfzKkK4NRLh67\",timestamp=\"1773212179\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VnMwoOCGfjmnFnFgD6BXpJeIOCbNbZd7ujD74HdsN54G0fhOl5r7mF7+otApOAI+vH5YDEkAn00gOeBlYQCLOnnhaxXMqoBGLBfBKtrdcsgHFOlg79YZ5k6IRBAYHegZhoPamX2yfIYpS891Uomg3w9/UT+pwm2kAOyFPw0ziE46VI8bLjF22Bcy187pof2nB0L2/UPMUTyhCB6XR+OKoColOnMGNnDCH0OdZXpjUtHybC23rLPKAybZGFHT+zzK0D09YCozp7j2WGiCGiu8nkvC7ZsA8wIjE5dUoqZm68Ccq3xNbfqFM0BHHuuw9BpUjLJohW4ZU5uyYOrEVUOLkw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A4C4CD0610D2051894BAC05520F8C12B28AD3-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5735de669d5bcd17bcb9baf1fda8d134\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XAz3lOkRvS89KhipTgda/iYH93zVBcd2YFtV39wZ1mPoNNPhFSKYiOXwiuefb9QK7TkGoFN7VxBx+vig7rDps0pZ5DX5jtJGgNFgYQi3CVdEIDiQz17CTn9JwQFXVEwV8Alt81cXAf7SMUEecfhESZF7iOogf3CsNT9Dc1s78j+V/9gKAAkC0XsYV1IBGX9jwmcEwvgOZACgLHKRvin5DlXoFnzMQG2LV+pPuv0K26jPJ3dv0T7LScLQAVQknVFsLxDLAcrz9P/uuN6rMy9w0VGY0tk4cdgb4AjotehaNaqiIXh5qbVg0HNMmka3X6femb/ny3LtNTGZpryTM4lL+Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212178\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946847097?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sAm3rVRNugO5brh7t5wcOhA3XSRi6g7A\",timestamp=\"1773212179\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ObyvPC56CQLdXkBotAPCIZQsqQt10n71ZX5f36x/SAyVzElWn6Q5oLnNeEVY5/6l9XBfipvbeYdfaZHu25r75b69jCGciPxGEkX7T7xRDtBljR8hVvAv7mck/gbOsqI6vxP/iApxpSYOSHaEAF1ocH0rW0fW4sML7jd4FnmGDXk7pmiAY57v5QoR9tPOflLToqyZiEsWtoDJ/rf/SAJitAyTnOR80KPXbkJDPfm0GL8woTeFd5hOE1sJ06zhNcrAVgTUWJwxN/xU8T9naLbryNlpozHB83bU5dXpPJXtmJdo6UsfQ+K1sXfk52oRdPLzDc4NJo9OzdBgPt4VB8u7HA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A4C4CD0610880718F29D85AB0120B2853C28A9CA05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d14055cba858982eca6bf29fc618ffa6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HN1QVuOn/liQmen3g28gVp2nmF8e1HdpmKx5yr9T61XSfNx/JPDzxgfd3PQKuermGhwDoEJPCY4f0fSfDqyImz0bFfZ4SYE4WLLZR3eWYd+bPiEj1l601efkkAEgBlI3sjEtNGJ7gjuTfiPRKKP3YMxoZgjAoh+7WqPbmwWKEhqopzFj8zAkhR3ghIS6la3IewDS2fLx6N6hBXhc2BXHWRbYnYgYK3Fc1TpdWj8jphFgIYiiISddqYCRQdTAgwQryvRjtW1vyal2RV7YLhuD/w5QWL1PKeEeEfPETLm5ZObswA2C2YT5GzEc/KRMAbhDQUxNhkNeP7ZjEp6gWD1EOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212178\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946897930?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ufp73IEq4XPgAWtjsYI5QNwn9G5ZEcOZ\",timestamp=\"1773212179\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MOSRl0CnfuXgNo4e32qy8+hQQUo87Mtui8/fGynO1Zx8BTpzXoGb0q7NwDSpsJxIaTRYGa12iey8HkGiuNCvmdQsErlbceC4QaKPGdcPnvnyrosxOlwWJXI7DU9jtdIriLnfx2SVd3GKQVNB38J/N75nhlVd0zPmGjs9uwHUeiMZplP910qJ6tP7Uz2+xYs4jcZA/2YbcPvnW21MJRDC4oMayOfAQ3qRGaCN6aGVkXQVwcR9St2ynNxUvJgxc2tD2MrAeObz1nXcCjvUTMrnkKjY30wR+Tushb4b7ZphEwYOql4gRarO99FcQFkoKVOu2O4Wwh49wFUnNj3uCol9FA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A4C4CD06105D188DC58C5820DEF5162890AE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6c589ea36bc19aebb5dda41b4f0fba72\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: p52Lb8i0/gi9FV/WnT1wpxy7NEbnW7sxOF9ysJBAD/hUQgDOhOkmWA+wME90O8pHWCLl4Rxj/2TPXU4rveu+i2u5OhTBCDIFB57jVEWSzjxfiWkWkAwkye0oUN24ipblRbH5Ei0HG/YNrTvffvSgDKtaTbhCPtJoaHZeeiM/dnCh94skbOz746GtkIXPSvaC1v5tYvMGjHXaUoo+iyqV2q3JjsDEjMIFREnJrteafozWWHt1LOqDWxpi3cMYS6uo3cYmrkXOyTMxIfiigL1AE2T1M2VkD8vx2QeqRh41C863zNh9yaycs1IRCGyq5S8SuPE2x5vZgZJyS2WychS8Pg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212179\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122947479467?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9wIH2hQ1aCrsLgpXAexyyPDxZ7ChrqvI\",timestamp=\"1773212179\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2/v3wc5rHsSkKMEWTd9niUrqEgaSgx58YnpYp3L4r0bPm5Jyrf8IquMP4LqOQloNlTcpUC21cFbp68pELuTDXlUXdl45quQsYZKcavukxT6VKaahfpGJ73O8f96OA80hthXX6us4lAVo7uESjS10NFOKKr9ybKJ2mqjZZoXvxwc0SkH6hGPMtNi9XJ4zH1Kag462WI+9PHWz5nSC3Kr5XmL7nuPGBM+j6jiPwpxcmAq803UlmDj8NIYtYq2YIkFWw3sv4VlmhQVI/aRobTYlhxPvd+Kpk2W7VeD9hpGO36OzL2Z9LkD09t6xoV5GKT5EVQLv9Ck5m+mvYqEjXdxLhA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A4C4CD0610A70218F9C6C05520D0AF1E28D5A701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 671bd462245ad6f67f66324027f436b2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: r/WWiCRMhvDsa9M/Kah57ezOhaMlPTq5vAR8miB/K3INQXd4GAUwbtVdpMPfy799ynW89gG4++cMznx4cvHBELWy2nuvjPeRaN9M5oytvWKpMMWgkHtXYO6mJb6torf/ucoOWaMCjGj/ZUXiK+kdWxh4MyANwQS/gWcytTUo1IJlKCt5gmIP0p5gNUvrXACc2ijocHC6jNb5iH3akGuhTAz8zRjFWhAdvmaEnMoB776o3fdrvTrd4FarPDHoqSZIffSWABYMTrymKr5K+sONtaSM4MgqEhm1l/xNCh656gLnNVc4uREA9D5yLt2ciS1si5IpbhvvzTtXhrxSM7zH9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212179\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122947917581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fPfnJvduQHDT2738idhqSpYQx7CopNoH\",timestamp=\"1773212179\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"F01Fm3vVUTfG/Os/jym/wcXEENHUpzIFlkoM8mhVWxoDMeyFk8bAJuNtUmHpKJDwXK2wE13Xp4VGQKymmvLpZfyvXbTJwFA+tSFP9hviM5NuLZcKDcg3HIFJYFhuNUzemAb7J9Zk0iby5TIOD7zs1cW7tWxTzg7UFH3YklwyPme6lR/pzlu/JKJqI4drSP6l6kpk4ZT8ONm0ws44359h+2/SairMl6+XPo60im8GFOf/xmE7ai7XBDLpI6BcPWqi7wZN6B++Ur8Mcpz5l8A20dIEz6QoB19CA34tPIt7A7QIw/FBLp3zDfkHNbvPtEgZjbkFhXRRFpIp81gSyIHBFg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A4C4CD0610EC03189FBBC05520B4A41B28A9E603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 26e4850031769882029c776ecbaafa46\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GdpB7KFEBUkZjPB2xdQjCTcE1o0sF3dAh+RCFXLeM7OOx/jFy6nSc7IctryEEfzTYuY0PUp1uU7p3JDd90HTyhct+3Uo4ORHU5BPydlBZdbAtsjMvgnAZBUPAiXb2BhFpiNl43MmWYYmhX4+wRW+5Win+EwKVmt+Trim1OrCaerigZCr7uo1FsRvvKdSscuPJePFfe3/yrlzlbN9tmIhHAmeZwfrQ5YtoRMZJPMQ5tI23vsUtANFR3oMgdB2PPtjuAgvCI7arSfr+BQlA4c1QHdznbsR61Rel7wL6qowxbhDWOxcO7XDxwXwanktjy4CRiPnJo+SIBn3YD8t1GV1rA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212179\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122948703239?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"H91TPCqe90rXTRxrYw9LnSrdKmfbynvb\",timestamp=\"1773212180\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XDyTl4WMzDWhq8OrFdmTkq2cZ+RaNDJaQ/SHOt9oWP38KHSnzQ7KT99VXE0qfXsk9SiHWxQeewSjUJWuexf7KeYkATWvfN64OHE1+E9mHqcO7ukos/EGRmTZtDwtx/FE5V/lTkosB2HiKuYnCrYFvvdVpblbERw2hHSKZhpZQrwBTcIMpH8JZF+dsvgUVLfpCnZwuXJLYZleqUkPRjohgZRhDLuk+T8bLAGsCXuNYpfn0kgVWrgyqInKDqBDhBhUT8Rd8v+fdJNvpe/YSgAJMFTL260tn2zEDuM+te15lOghoNi/K/LfOXEvB3i0XwzB8I/i99mS0NxdEfvliiW3oA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A4C4CD06109C0518DCE6F8AF0120E2F40228DAD801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a5cfbc6c74d3742119882829be4db9e3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yKrSRjeOOLoxuFUhZeOHcBuJlNCKliuDO78Dy38vAgD95DQ9uNOSfPwL6DpcfBTiLKLnFhY8Mfl123eG8ipSycfazdxHcxGS4CaQeG0G9AHIKgaKpET3Bkq+jCE8stYGMnTnvPu1yA2tvXXxSoHb0fLguOZRclPQH0x4JKpvycJ4rSiFuMzg/O97EEy45u4rqboustSyQsr880StdsRhZiUJvwyo2SWZCl8l7rtvATk+QwHAoMZj0ocrouXdreWev0wSRiHY+TlQLa9czXeCnlHBVhpVkJh6+I7gNxo4mBWF1XAOZ5qXgJL4xYo2F396n8szkNQbtwnwoh4Z+Yc9Xg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212179\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953053186?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XI3FnuRCwy9ZgIwH1eBsaHotFxkUe3rN\",timestamp=\"1773212180\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"f+OUw3HpoEQHTieOSS7+bH72gAwzoz+sjNEDX7rq5a+8yZY8ZDhe/Z/N+dgZ6dyFzGRKS3/nce1xe/8Z/rmKoyikim4HQavHvg4noPI7x8nQGCYnJiuRKUGs0J5wmwXGwQFs/7ALQHcZGhQEkFcPS5szAYYgyFh9ZYqq3hcQhZRPF1n9wcWvNrYSPYDMCqQiYhOvfio43t0H0VVmSO/9bskbALF7Y0ZXoPI03ufc32B5nDt7iKizcDUDmn/n5Cg/T4dk3EVDZkQf7Hy3jsukw4pnZl7HvIh7diWo2dLAfHw6wsu0/S7jIyFl8DnzsaMgd/anJ7LWAFEWAt+cvnp2DQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A4C4CD0610D00618E8D58C5820B4B02928CAF503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3fa4f2917c3d58f72c2cffd9b9d4748a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZR3IfKwzp/lyv3q0fLPz+sbMNQSkU64MQsJ1oydgT1ziy0JtrqZUHSRW2qlsZdDvtm9WxypYRL2H2DPxOGSjmayhpg7Y7hnFNFi7C0m3uUIBEXCJIymdA4jE/MSLlxVzEvSSkieWZhN+2c2JKIubEwQVvfH4FJMdDUQAEFubKT5ixah8rdY2/AXO0+0CyoNAzXuBeNGFS3sj7UK9P1xI0q2DMaeRKXF9KNFO8fJEYtcqEsiu9leQYIZXfL/jF6LicFPkSPryYVNBLt//7R4DiWr2G36+I2EwzYJuDNMvXlk1hP1IYM3epyiC/Lx12jgObxJ8nAxo6hrQRd5R/sUpKA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212179\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953502696?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Uq9Kmn5nXaYMfEWIUJNXPwmS2KhFq55P\",timestamp=\"1773212180\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3qXUNyG1m3u+drr6xIPBf0ffyi9ZfAbz1XL08v2UgmGTHZoH/7Il0XnKFNANf2JskzFoI48XPn2gn9L/rfUvPIxHhm+Ml0BM9SSJlKDQ+G7yu0Kz00jYwyH9qm0zqJE5Swp6aXamzvkCTtRdTKM/xnev9YaKHCYJR5j85jBJuJrLfVJq7B6DaRY7OXpwsWjP6R3+Oae3zrbLmm6TBvps52dguFbcLUfi5vQY473tOxmn44FtApsOBua3R3mbQ6kIqSQm0NyzeK1gT4KIfvu2URYPBVS1vts3Vsok8PrAbA+l6gY+HS5/Kf4Wy65/ZydtIpMN8ZGLtEjDlXxn/JraVg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A4C4CD06102318C3DB8C5820B6A00928BBBE03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c11696e06bc112a80db995ccf88b2bbd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: E6rDNWnAzuq3Azjzp9Jtos5R3P3Dux842YUze2r3wQoQYNlM4rwI4Nv3VDcmpEBeDCjSNFsTxnHVmFZP9zk36+ttA1QKAQLc5LQTzri2HP7yqvpqxGTl02JipgZStHHJVFW1T99/Xh5jChBVYipWzr0jX17zTjMnQL02r2ym+CKzn9IdeMJWweIBhO8kUSBGh+NBQ9BH68Ky6QKiaz22lQW52+s5RSd8WG6/7xtE71AXO7+jfit3DrvTgqZDZ5a3lpmi6UdmhtqXHwR+sxIuvFy/SrYb1GfYTmvZD0rK6gNsv9AP8PwdUpQ34p1loOz4oIc4DDpWNnrT1FioO7phdQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212180\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953798373?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"b8oyUaaseXqenVmUy0YbNjk2gvOXZKN4\",timestamp=\"1773212180\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mCApUKi2jdrlNDmVTXqfcWCrGEsutcxMvbf1USYWkRr51yYhN9dHldG5G/WQT7HTdCtFBBEsWTCbwJKr1Urj5QuZANExet/tnjfe09BmSB9cRdnXK0IeeY4Wzi2Vb+wuuEG19r+0VWgzaGPvf9yKYR+1xxBgt4bzmZf22/+TLsWmGCWXUjekRPA7knK90zxibaWLl6x3GtjC9RiUTrpp/B+07UEFA3ZZpx44Xt+rH3l+4ZDpTTqcF7AX5LQVMs6UVa9D963Epjkrl3r4lp6Qb729ThfSDGX1Vjow65JW3oFmNih+pYNYvh4cm/osNF8dr0muXegNFAd87ib+/Vhedw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A4C4CD0610D50118BABC8C5820C0892428E69501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0887ab7d69ef464ae0f2e27865919cb5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: v7BNwfz5uU1SNnpAXNoZaeTPm4AQ1d/QlhfTyzW8m2ReEJ5LoXu944cVK0B33KVdCyYpSJTWsIq37Ny3fL2BHDFzuh206npLy3olIT+eC6LWpnUyPStyjlMfuzq+TKaakOP86jKAAILqEhA4FCDz+zAiwWD5PFNmz3dAwv35qUFcHuSFTCjCAsYsOAZdYCMm6GRDqLmAhvdpv+EDUxse6BB1VzJjqbYFfTnIqPWMUqlaRB0l0Z5+M4ABNiahX+OzeBbmzScODtWMAO9v3W4hqSWVIr4z2NmwhJv/gcKPxiaTnfCFcdzq117H6qnvOEqqvQDM0y8EgFFa+LTdNT/vUA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212180\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953853438?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BBdKFP4z9yZ0tn8LFPqHj8OkjneZBUNi\",timestamp=\"1773212180\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"o3C+Ek0xT9y40k+VaJRUDHLQXp731oAAqPcvuARQqMfGXHESNRMwsL7dtXsu7EAXKLjseVZ5DINUzrvaQ8QqI0K+n4zwWIuWMW50n6B8+yzRCWhPH0gLw3FS0y3tQf7Igl0hufciwVPqhC2UbyspVLoHYDFlqUHsYPayg2x/msxg7ZpeTApUYSiiBfixOSzM5x8C3RLOnZqqZ5MnKEZfLkzM056/5Utwvs0q6xF/CALasTVLLblYebOUskrvIzWGSIF/1E+ag1qhMaq66PN6zBbqQlBqJi+k9uZSXt8Bxtb2Ors1FwPgI/nU97SjQ29Gfw5l4XVWAgnZ0moK8WsoJg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A4C4CD06109D0318C6D68C58209E942228F0A001-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 182933a89bc1eede7259eb6ddf4d59be\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bB1s+/WTeoElQbnS+yxFnNmTKfS/sTTt04kg+ZJHFQHiMRFdsei8DhCIOdaAvJaFMj7i2/zCOUyK9stJ4dX2CFzoY1jNKhEah+vayykNsoWrrc7jTTD63laU4/xxYi5d+GnUFfTWeVWp2cq+8qZ5KowipONBTmv3H0s4cRiLOlDy/LvwgUC77VHV9gxrDhnB+WMpeXnYuKeFtizvg8+jNrRVIvIrab6kqFrZruWdqppryVmScBE3M8/uEkDm0cnI/vwaNHd+l6vCCV/twQO69r15m/tijiJ16hGEBzbmi2cCS74Yhz1WLuAC3DatOHT0ae1orWO6CIbjdizLj6bFWQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212180\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953985110?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZlSC15teDQ3fioxkPa3OW6KjFTVzEvyw\",timestamp=\"1773212181\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5JySI6PSOVGdhgawH2gPeYSSX4faprTsgJpZ7npVTutZlp8fDFKmSLU4fPvSr6BybO7bbvYY4IQ+vaV6OBjOkqkDPIkWVAUd55Z5mUuPc8hnEGRMUx4KHltOhDXUzvP4Rrpnfoi2W47kqzNFWWi43MJ2FJS9QJNRPSwEkzdCGK30JWYiXpjzzN8ZDoahhxz5/98klOd0ah54FOnqPG7/mr7fw05w/mjyPuhtJi3hKiENxjuGmgbUp+Qj53i0pwVeUwuMBFi0Z6iOMK+rNW3rifrM93AjsuVjBo/VHTPUi/fgX7jf91KnUji8ov5Q/u+EuWFCIPog2UED90YCsLXo7w==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A4C4CD0610EF0418E4E8F8AF0120B88805289F9002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f49bc3fa9c81c17002e83d9e2340773f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eBe4RM0DjhWrca69AYZEe0wWSS3IcgeYPF8y+v2TUz4ReMSywDSv91cD9CxUDaszBaiDgYksuOJN8wKQEsP7slAeSDs5tXj8Mk8EJb6kNZn7HMDSbHBhP4rXcueey1de4yN60x7CvgwGf9b7DEwbtPSv0rMjPyaQIAWWfx0L39G2fAmx7P2jP93sMqh4jr5yoAXugM4QzyppWbXtA0BSzK22su5geuxMDjXHyz9jmgn+IWkACDn4g//mG7mFm0zP+CRoTJUx2+xCOgAfFa29JmPwFOgQFHlHjKGrVw7IG+7QwRjD5FejpoB+i8qtflOXpA8KYcilWGTYST81RfqNDA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212180\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122954061783?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aGasFxDZanGagpHqtlej4hmZ9pyRrQpC\",timestamp=\"1773212181\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pQYGtDeSTP/4/RdLY8XKk9T4bvjaeV06LR4rcAY5ilPbzb7JlIxFfEO2y3eEgR60FR9MSxOEsLrA5Gp5sGfKYrvLmLV/IYRcdeuOwgZNJzieddxglYekDvo0/AXeQLSOHzURdQrzSRkZIVbum8tAjJt6Gjk726WY7Wp0UoO9OU246oX7xVF3UVDaQVXIH4/razI9Xpvm/5HayYA2o5OGsyVSGUnIBHvSnQMv2fX9sc8GwbTuw+UQBwzbjuAWJYsJ72dIL3enBWFPsT5Ot5zFR+k/nqJh1ka4vjJ4f0Os4It7iTo+DYZAQRw2AwO13RqdtGyML7GqXt/Rx70d2UeYww==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A4C4CD0610AD0618B39DECF50120E6A301288DF303-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b9e84ea82d1dec1d7b9db7b04d2f887f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: y1+/02C29OBO6Wvs2fEOcvgJLXrdNBimjlaDuqOr2H/nLLcbYzrWec9+Wx4VRawUKLCKsONfdAwRE3QY1ClJfCWDAO99AlWjLJnpzmVJLj1eor6RDqrcG/6gXOHlBGnSqMafntvw7t6rHnV4Jb20tqs8I17/LQ8Lpe5tOtTZE7R1b+uvHVEbz8a2F3AZQgu2H/yRITRCNrR7eNFA1OBdm0TD1hRfXk+HMNMIIfy/8kop1Ybnq0Ys2yolQGFds9RQ2LxfT+SbbmGs8HHdH63f/6a0fYYco4YqHwEStvqKUoQ+RJSgkkIAkLlRee678nJUkVr6AVDkuRJfc0uOuIjpQg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212180\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122954587719?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7vCA5IDzZ3dCwdC1c2iRWnJEQqul7xDe\",timestamp=\"1773212181\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EzxhYCKQ7Nmwedemh8eZBGC0FxGq1WehjDFlpnILvqbY5CjJ7QBS7xib350izY9F/GJBrjQzgcgdzMRdZJSScgn7CjK44bvzpn2+BdEpYUWdT5sAhGnTeZvNNXCAyKKduTVv90BKi6sJYH93mubQ5ykDjt9Qpi2IyZfzKhcPOm0gMLB/fE3K9LJwOJ0LE2phicZwr2IVEaSpXKaOlt8BgBju5P6jTAQVlUoZAZUQXs1bHZOSPU+zADDDaMXhPGwf60ano6e/L2duHA0kWrR/9VQ4KYop0oWNM0wIDikvy/dVMttYQiLtG/qWLknUftaiBTTbicbIBJUINiYzfXnxJw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A4C4CD06100D18D5E6F8AF0120BAF42D2885E304-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 69988dc6c228ffec7147895a78de2f77\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kVWMsuVoeMpekx1aniTRumm+CdPfus5pVkYS3eq6PJnVw9OtHEme917ooKzR8n6O0itfyd4QYM1/ivbMpaQ+UDAGJZ0xzsrcnOQVm8VE+IndRUxceQBjoMdbTc5tx+BdwIvdcyN9q/BggmCRUNNxLcdmgMa2JUaUHXft7PG/CTsow5JYgBH5u0Lv9Z9nmECUDAZBfWxAGz0u6iRcg/TvIjwFA0dbID78O5GPVT+te8+aqBlMs7Cpt+uRdXA29fr0xTzHdNTrgbez9yYiur4Mo3S+u53G1gM81nozZuVMrYUfpiKXdEO0mhGm/D3iB8E9WDXdh8LHk3kufa/G+IsoUQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212181\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122955788341?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"I6MTmvVzTdnNsBT7E6QcT6P5FE9gRFOj\",timestamp=\"1773212181\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dRSLgiN947rcVP3tVMzoBIaV5IYTk22ERXUI01S3iUFjbh+SI7dJ9GvP313VnvGbc5vCy9CfmQAy0H8d16tZ619QcWMoUavS111WiyAKy/SzGxoRTqOBC5WqvAiP/pHZGOkEg/oghi9ptqhhnpMKN3hVWqFQHp4byamejwUH4Rl6RVAEaQeC6RT5Ktxy0p1JmErxrXZbTwnKI4baB+c3K0LWj7DGkN3K3bjf18EqnOJ/IXT9tKAcM4fQUIWlzaxU5t1bh1vsh/w52uRuAPeMdVUUsfslr239qyR/4KN2ObcxkF5dkzwP9K2Ne+KqajcGszAsJaKDPRU87Hwm5tB20Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A4C4CD0610D40118A29EECF50120BEA01F28A99505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 50e335862b9ad0987db1c75c5637cf91\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: r73tl/PmZaR92ShcoIAe/1QRoDGPPacDWLPCULGeJpSluEmLvQBQVV2CPYQ3cqtE+cHfNksjsBNA9g3UQAjlE1G61tykN1utEZGOIvajxi43R2R0K+dP3azYtMyQSWwonxypF7CtUUZxEyZUC7wP0DRk7XEjFqUG8fJqIeDKP/eVNvIb1G1syAWxcpEV6lI5Z0469HMfdYutrrpITUX3DEhv2uT8fdG5mvOY98fUYOLdtS3/xbPtfPuVotlJl5Bp0fDc4ZXKRU0WX+Gy+9Xx8ugXvf+nyUClJiuJUDPHwf2YsW2eE/5/q1EKI4TfSvsh+BLUzIIH15LtB4tZjm/LXg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212181\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956690924?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Rm3rWJWwWgYKVsjvYNC7CX5fx4XSzMbr\",timestamp=\"1773212181\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4kd9g1z0pmmhmJO29lHOZ53lZxSLwX9cHvd2rKKGz9D4suSIrjWlf+CctfY1DU+SXsj0slSz3GBY0Ek9QsjwSZDDoy+olmmWNXYAIXJxtgc1lAWOHS3uYMMCvXhSibHB+ycZT2Sf00qykj96q+Bn1K7rWxWRrGCSfmZKB7kv8hzdB5eIKXUQuR7w0UOjgGzvc/8x2blUa4zFa0n1EzAf/R6AmzXPYIE+eVj8qTPt6qqmV/f2t5UO12mk1TJ/GIRDrPtS2R1XPOR2GPhqisU0y7ho2YK4Z4s6zelC4FGGmOeOrjk0EHhy4iZBL8K20G8PI//2VNVzVvebUb0nzN7N7Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A4C4CD0610F002188F82ECAE0120CAAF0528BBB501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c17fcab41cbadfcf59993eeb84b10774\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TqyGpQs9EI2adMQcOPOBnxYd1Qle20F0xjaS9M20Xs9WzUJQHPSLohdyJ6ic6Y2M5kmLqDBYTBDgdzDixaEWYfL8tP1u2S1gHmnbtisg5/GY06U1xjOgyAEzYa1WjlYVBEuWIdCKrlQHOP0icidbckhiiQ0QyF5uApsEAUbQlU4udvfo+m9rtM/CLtUXnDaH+vDuDBNorUtKuVQubG8OT+zwbf1itDBOYbaSmr/IfNAVv+oVEjC1C61/ey1oHFz6rpprYehIbSKUOb8rtu0gxM7uF8ktgqGKO18a4En1U7OtNGhhq60aAwXTXG0WINgQ975a/S47Gk9Y5aGEX+3Ttg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212181\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956696572?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EZjkrn3kQpW4Uy4hVuv3IJimrD36AgM7\",timestamp=\"1773212181\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IRssg3WSE7Pguy9XOZ6HlfuGX2pBkTz4RF242dvK1jpKAMuxpgXJRPOSCZteOpFTNNLKrEgLdCjfeUUu5da+2HuLyJ1TbDH1sSV7ghMZteFavJPFI3rm9sfNM1f5GN9m6jiubNceuZkHVIPMtvcNMQ+60qVEP3LuyJlwKES4u8bq2qO/zSZ1R4ofuudpmTlqEORxWcArc+JdAo67RDTIaSn0olXTdZOIV9XDAFGryBSRs09DVrnkRloeJYH6TR35azGdg8oWwYyjAIEbCM4jy7oQRrKeWkLeSyizl/+BEGM441PitL4WY0IG2wY3oSxKtTUPm3hHAeR5Hs2kMge1sg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A4C4CD0610B10418BDADDD5C20C6BC0B28E89602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f3acf5f6adc61387c6d3d115917eae1b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: W1YIs6Z9fQnVVQLPRoNpsYcACr7lI+sXpJfsipWoI7GFNEizdCA5GXB7NvcII/QRXjpTloNGqxodTX52Bd9rQ5dg5M7EDs4E906OTp6Ke96GwuM9Kd16A+BA+nnaBpolo7p1p39uQeTtkaNOSsYcQjs+XxvXsO9owPsM5CFQYSTvz5wsvsgDz+bKkeuzvC5yv4ekBCHhMlme8LdqJW/ckFkO8XayAzexdkguMF8e61TB6DowPjd0GkEeOrjorb3LhIcPJXuf4BhFPiUCriW1/WKCS8jnh9BNjEXvthtDzvgqKqkxa+a9l9pJpGuJY/zwzW7pod1TzNw02OonPsGoEg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212181\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956704147?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"161aZCGqLPReX0mguFaXPcsZBbpMTWuH\",timestamp=\"1773212182\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zv/uUIbUl4XgUZclvUQy9DMPv/iIKmdp8Wnidd+rEGeacdixyXdfrblkYOeIMt0RxfBrm5aPpebBv99GvRgFetOazT8J0yMl1Vih9u4/hQzTvSq4p7gQVOr00H9YfaJAgt8GhobJIMFq/Uu2areQ7cGbVVqwt1UlS/Jja3szM2ZtJYSO9KQM/w7/QQlX+nOes5/B37RMsWfiIOZTEN+aF8t6saquDUsNOUSgKIr+kioumMx7//+EpYHXQaRRsOsadurcAH+WRSkrh/w5KUebmcZXch/b/P04KmUcafRQI/Spmd2Gdxrb4vW+IjnMK7IHhCnSCuHeVoi0Nho/RK3bxw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A4C4CD0610E305189EB3F8AF0120BE8F0E2897A505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 985689445bc07a4f6b6c8393122ea637\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kZIiGmE7SiS9SaOloratQitVWZnu0BOfYwvxnPSx6QkGTI1zJ9b1a0PaUmfOEjwaHDdje/IU6ZI49SaamBwl5YwP5leiWH9Ni4hQxgsMgbaTy+HUyBGWhcWQl6x8wxY2RlZSKPLv3kd8uOR+1ht8RUUBAAXr0Pmfpo5r6QwBOo1ANTwoF80aQZwaGj0RgaScN5K7W3kvcBf4R+dV6ldJkepTkQy7uLG9zO2NwdbklVuF722OLmnz4iBejxeyzWPrMKPf2hDtY/ivmOU/cae23t8Uw5GBazXgKA631SQMODUk3l/CTQtPJWSkCY7hZgX/3xO6D3kXgTPJqnuRkuNeXg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212181\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956832135?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"saSgWFI9Wd8jRUcop2ik3tutFmJDPLvQ\",timestamp=\"1773212182\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GKHp20mbH2Qyk/25w5eEeSv5QlPoHgh2WBhT64joTo0O6oybVoMGYyD0Nl3xPZUsLVfkiayiOpYkaS98YbxQ4vSQEv3TwZJvloguoKn7V7Lkk0O+plArd8P3+C2b/xhORhzyl20A4a8ehiHdt17Lk0fL+LukpO6HOYwLYl60FPZrVlDJKij4siBwVXc983+jlzfPMF7W1EY92PoLQRMtO6vsx52mD7CEFGs4uoasTEaS3b2+Yk3FLS3ksBPCKF7X8fH9OxebyYiIrXDLOzpWWCWVMnbjRKAiaPEaD0hIyDscc7RESa8waI398Kvdgn5XLFCkk27uQKaReNWEZNKh0A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A4C4CD0610A90718E3D1DD5C20BEF40828A7A705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 383895bc15ced20b4b5c54f7bffcbd64\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nwpJJkj8MWLfoDgiKsku0Z20MN8RiwFUtwTrRUa7qqV7g/BC06e7BBfRlIY3ofa4at0jS0nr3zWr+skTL2++/0cU4TczkKtL2Qb9IF+dEPa9kpIjR267lL1sKIVqXKs/RJrIV1oB1Aiv7eYiu0gqI/dsr9I9joxU3yyb2iIe0HdGFgBxKawjzn1MfjzypFFXXxoLVC1SGmzr7yYxs9Yq1zdaq6oJw5HM0PE7oyGsA1efioQbQtF9nRfGgwG5vHajh+vebgPrMAK4P6t7nbQXLxf08X5rJYLZeUMlAJNKQlgEXTirMzNRF+AnaZmo0b+IpiRXOKh+F5vzDVV1up8AZA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212181\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957478775?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nqOazGvpseKlaRFXCzdHaFr9JI5AFor2\",timestamp=\"1773212182\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fw9FNcBdywDdD+MO/5tmIXNXdCJdLmv3mDFzeDKdiLBaCNA+8PyD3utCcL3w6ZetNze/O5/ZkFKIP1n3Gum+XXQvKuu3aR/H4AfeKNhU1uGI9MGqWXPRkWEq/40MOd/yR/4lE/BwIVlyFrcq9vLx4JeSbEjh3i9D6nPgXUHJaVFyzEyUD6x3hBV+spWYzoH0IicFxaLruknGf6nXYq7zLARrOvN77/XuMrzxBYLwZFxSpteZLZ33VK+ig2j6G/QPOpli0SdqwnsF4x+IkAWdU448BBgCcBBRZRFO0eOFh38PM8JxHIUAvY/bkFTz6Hg3L+9cuRNnEUzbZXaYUuioLA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A4C4CD06108301188580F9AD0120A08E0728A8B105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c305d2cfbb788b327737e64d6756b108\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZIq5adHlxtIHGPnLXtRWGOMGO4iZZw8xnMMRGg2yNF2cbgYc1i0q48oNLuJfIaZjLEo+dWyct3GDqBK6xg47hgum86kzPlONHpp47mQh0w0Uu8o6khegl1X2rSQAtJ0weiygLJGm1r8qDcB5DcqAYLBbfLX9HPrTlOUK5lS8pfCtYtmt39XZDzSTZNN2zodoyy0ZK9YO5NhZ5vVDqEly2mbTGO74FuFbJYM8iyyro5yIIR6/iffXvN4OsFBdsZ8hPzpc6z4ORMF/+FnT+MCJej3jWQD6alqR6klRmq5bOyXIBYIHow8ZDd8RVxg6NeRnDJMcAFq7tzaeos8650FQ9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212182\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957647740?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8YvEIIvfY6U7wVZvQF5BdrIGhhGrZ2dO\",timestamp=\"1773212182\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4sU4lu7v03OMmS8Ia47yNOxYgmB2u5yHJZE/vbN+EGcXWjCHXyuz2/yREFJMYjxIEIMVF+09DRqbbFRmVENmiKdsEefjQ9UQfYUabKpFn1807d2SvFuNcoFicpAcixkP2G/1qTRC6BJhnatZEBa38LjzPyrL9vPYQDqX6zJ7nv0Ysjc9wPU05jJt4I3Ts/tXoCTRitsbL2ulB7cMx7hQaHY/AmTQV5i91hzyWZPomwk47+7+55wlvzst7Mmb9EXqJfM5IQsdf5XczdMbgRZTIaanZrC+VFwIWRzjgUHdnIF9oEDoqT83AWYgWRyFB0Ucv+MBTTnUq6J7YyjjXkxQ1w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A4C4CD0610CB02188FBDC05520F68E2828F88406-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4068234cccfca95f1242d3f0f1c30906\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DYE+sfaWZpBAg/GSwqr36wmNbaOEVJHBVM+3uhNh4vzdL6mqmn6MhsfF+DCRL2UtTQYAw68dn2z7nbeSiNfAEjdQYetOfT/5t9dH/5h7ABJqgpNCCZddzSd4tm1daSijntK2eEVshWq2IdbUjflEcuYzFDTRxq1F7j2U75j1VcX4J5fAjEsgGpBz6pMmg9MDIFyXEQP4TnCWMw4p8V3r0T269X251YlsEWylfNhbF3uy0xh9Xi9OR46KDLUEsTAwZerYqLOqMzUPJPkgVa81znhSjVA++x66xrQVQmGBQPEN3KTkh/UNEDt+/0nXhW2VvEKYTFSvOtSs0RtKTdkfQA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212182\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957648705?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"joLGTB7pjwhoT34uLxoJIVwimxo3YgWw\",timestamp=\"1773212182\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"q7ptYRDfotyEgtpoYDR4cq4DWLK7gP+ZZNpfqGH8I6oizgophZVKkHZATr2FOfq7Svx3p7BZNF4ZrUH9amRUyRwYUDJFuii8seaTi37Z06Ud+ktAcfiaOseZkURYJ24X81hBpmThc0ZrW43+Iv0ELc724THoq3y9so7hhEL8CUMz/rLD4z4nxsO/9BdKmfd6VDyRKsFMt6f3UdgCRRorkdxJLrA7cK000ExNrIkt1xO+MtWSoLoNS4kelWpHW6MXuxn0gFUGpY9/Xy0oAIFvwkQ11cdgr5fliF96qQw/nkk+TAk2kGNxJVQ22F948ISA/oshxjiTtTsGyxeWMU6khg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A4C4CD0610FE0318AEB2F8AF0120B0CE3428A3FF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 42461730777ce7fdffb8c49a5163b9f4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GQbNa5VKVREVqOJp/mfYes6Ykxl3LkGLD5nke6grAPwacxyiNVNTp5UXZswP2/YR4CjIUMSxG2n1ls1Zzeqx+pBHHRVc6Cib/itlYrkkGVkBy0wdbX/qTc2SpPoY6cfPxpKBbsqRnyVxd8qCzI5X3MKmdjgXWfCd/updiPJaXBavlMC6UZ5xiRzqrfz+spTTCqx1D0bxDXbYBIrT0CTeROA7OuJSXHBpKBnrC/LCtsDf8JU24xYhxz8wk0hbzK/P9QBX+YPbpsnowRIy1/4HoWKj9St6VspkSEtd4l6sI82HvN1CWE4AARg2e+SfbEmdBwnhLdmHDEjEqxKfy7hgaA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212182\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958003713?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6lyctt5nnmsnOF4WaAR5CLQHLxJ99mD4\",timestamp=\"1773212183\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VkRP+c+xUNduFyJXlDLQsm8x99+IjVbS6go1EKAp/dziYghrtqlauluGtKDw07i1zZ51931EfJRYrdZUJiCZGNOnQ0QBWhjU1E4k8x62Zhad1Bi7BFrFJ96rrUDweTQK543iOaobTZiaBtV4rAeckrYPnJ7rEt+fhIIBz6FXNT5YpLrVgzmMniH/KMNryAxlF9HtnaP3duAA80LhjjqZIqzQ/zOh10IlqrTwI11RLRbuG043WvZKqFlovL82K6fx6HY4J17/4GcWR6YKkLkxH2LS8h5v7AYvivwGLVMVi/Tv/+bzf53ugpR6gIHxtWnb9A+hMdammxr86nz+XGgdlg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A4C4CD0610BF0518F7B2F8AF0120C8A70728A84C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9d99b3ec78c45457d9a800a2424064be\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: a1tZjG9UhAHoL89qXg826p0MVfX8eyf7FqEyiIkW39L2vk4HVTkISyKijSXWhLw4GMAIr8Eqb93GADIf0NWiu5Ip2RgmZSAE0/TmLtAp8vNatnLwHma4GEBNYSJZ2OKkuWl8nZwSQaRWRNSHBDm7EBV+yC2phbooDp0Oo68XVKyR+DjLa2CMvLv8lfJ6GmQKTnzumk22ovgjezjcvWA4UlaEIg83OV8qF7BAaWEOHtvIET0uvvtSv7io0h33aQ+SkUXXXQVv2EThgIRMQniR1ExoUqypoLGqma5IXtmcMrgZDecK2Iahb0zNGYis0KIg1MOuzgN6EkisqGF7igWHIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212182\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958702927?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZtdDPr6Q6wc8J3cp6oKiixkvCxz23qDp\",timestamp=\"1773212183\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VF91WEE5VMtLpG5dKVW+l/Wjzzzu2RVDxh6CAVQ+oSwCzBNciJi1sSTwsb8R51a2udiS9O4JjeJHSFqBcwAv4+ebdtEte814LvBy4ruh9q5daosU+YJuc8qUPECM3NQBalqUYS/6eo8tr7rgG5uZDJpU8p7UQXS6cCasC+0TLRwqAPzR6lYpcrPIYR+uk+ziNDaZ2L/xUEINLrdoWTY324d5kNgXch1Zf9/Yhg8upDA2m7ks57b0zP3IXRo58wNkKAsjPXkjbzS+HD8fCaYGZ+G7hSrfHa7t0Rte1jzab7f2hpUgpst4l6ugdjHmZWMBuIHcU6xQSnMBabSWflZd/A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A4C4CD0610880718D198F5AF0120A6D712289EA901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fa93f9a2eb30112d4bb9982d0c08095b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GRdnytoHkl7XKEYPaseVhq1ZYP0F0sQ3Fe0vkMswA3laA+XWc6EdOAvUCSwBjjdgb0oxxncrGpXwcNdwqAg2EkzhPEBwJ6NY1eqKMVaFr45LBblokiiaN6Zr4lhRQDR74ze8MEg+EhHhzZ2eyBijIrL+HdfNaCe6G9f1QTs+v5UIuz60HddljFiC892DZPN9jx69WJUFMgRmCZvinV4mbFMX83xvrGDKm5JSeQz2YzzMiI4m4ecPXjD+QFprIia+p5IjrcegjBLTEtO/ydJWtmA7df9eJ3NlqCz+v+eWyXatMzHT84RdFNTV+9ZpaMuKzltbUzFQ44o+C2UX/fv0DA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212182\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958750152?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"P69NiIK4n6iu282gmCKFtHYhOgaOsko7\",timestamp=\"1773212183\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"prhYEKNK+W4F3BLcxTH99Abp7FF1ZkE+nFrpWx5+7ZLzb0ADWSQ7smpxJvM6VoBVkLOiXSoazgh3LdBWHvZGIs3OHe5iy+ffZskUdr7TCdtuCj/Enf4YwCSHSZ+cEHRFnC4/pej0mIxVMfsKRWArfH87vDZ90H3HVq3o7kK93Aq6J/IfSBJaUh5M5NodTXYrTYgSW3bbWUYVZVJng786hfXmjRx1ZIYWlOU2QU/gqHLU7n1sbBd3eAJBsHFG2GVpWNMrkPmUMh6j0uY7+3aYC6MhU4ulmMQsk7W/mF87LK6ecI1nLWsLm0bzePaPeTWgLCOfBvePYIkXE2aNvlny/w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A4C4CD06104D18AAB6C05520DAE03A28B49803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 33fe76a35c2f721d4e3a490ceaa5a887\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SWTD8js82Y7WGRTdwCzJLd6hlIz0ydsmPgagM/V1jd+lv1FB4mhW2w4HFKZmrwl64XwZjP8T1iEOR1NgSTJO9/Nvp2ONy5lSqCgkYirCq81vexFK82dHnWdNVyKH0N4cjN26uSh5lmwqc+7HDIqbdr/O9Cj2iS5FIJchIQ5YzNpKjhu563rTMzMFw/Snb/YEgyCTUr9/MChYt53wtIHYeAazMwQt2IT+2DQfZW3O2A1UtUgKzJ+NKRhx5v81oN73Aoun7UKT9EIFfRScSqoaG86QUd6zeQ4YGhEFpeX1ntpuYXOaJ8QEyoIS51BsdJmVVnV/PAauQDWYG9zLiXZ8Kg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212183\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000505871?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ax7C9Hu2UHDD0FU2BiI8bNm8OI1U8f3U\",timestamp=\"1773212183\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mxM7d71XSbKDdmd1Bo8n1CjywONih+noe0GgFs0P2mxhMk0KFcK5NlejIQHNcHm5jOTy7Ff5TxxVRZEyTf9Zjqa2u4Qpjrm2uWpIwTLN+3SdBQD00rPhkFdBs9Pew26hiu5EvpIGarfyBXlC7kiXF6jtcWfnrTBD+trSavsSEvf9hc6mv3HyMo/eNHLFTWS9rfKNND7VReOH6fQcXurnifro4WGxIR0p0pfkkJzl3RfLJI0PLrOrHBUHSrF6ErH56SS4bmf7UE6VOwDrjLxucKeJZDy1ds6jtKGzXLl83NhAY5xIwGjhG2hLSln4/4bxh1eyEiJfD/1z6WRIHxyISQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A4C4CD06109402188BCBE8A90120F8FE3328EE67-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a1e5d5dd7a79876498650471ffe15c05\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LrZHOGqcS3vm6heSh/4+tWxVPANLo7LxJqEOWo/2dZVhLwlrVJs7Pk06AKFIeEzUYeDasAlCzEkUBYaBaWutIZyLmRlBrYXELFiY7MAckAyKihF1M8SOTNFtjL5FKOW9C0tlaIdm1fOrur1L9s9rNOOMy3qAlntOFTyDwI6tKEip+FVpq52M/prX+swNb4d32LdXcYZ3XjWfQv98fW8NsDWCrXrtI3TBKllFxQL/V0PEgU1BQFW0TEcZ4GkQYyOB4yMC615z3KR2LQ3HZJ0zLYgTChRflRjo3ohWYBqM07HoqhnWOOtCCcDpO/Fq0fSLc2ehlTm3gzap2xUHKv37pA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212183\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000629680?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UncnseT7H1jVUMq4vZrtiJNIfqxeLzCV\",timestamp=\"1773212183\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"o/IwTpYhBleRRqV7e0QPJufkBnCOsjKz8d4aYEfnQp+6Hfvpf4BrjQVF6y4D8bu7jheMMldm32sGs+rXXYu5vAblZZTuihWj+rWdO0Bo6KwFNL0jVwJveYjhewM8qJJ3UDilFvsBT0jHmEBkbOneclDKpd22TnXTdlVyPZa9Ron7klkLzVRCZScBhg9Txl4aheZ2/KtvrxANC/5ldbM43wIYbCEKLkG9Zd8TwS4/rC6gNtDSufP8USqSfF8CvJLdMK/cFcWWk2LOYmdEAyo3oVYj94BIagUIZvjgmWasg4TyL9VCx+3nLeECPkIFNucfbR76omr0oBCfiZyMr1wsXw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A4C4CD0610DD0318D0B1F8AF01208EA81A289AE502-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 65fda93a310caf33d1cce5ab99cc09d4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BiLOPTvjyrpHcmhheNpFg+MwXrFziCR6uTdVMks3i45OH3zjflQe9eeh7Sb+nQWeAarYjyPobSYRoIKTnH2i13m30GA5d6aeZ4A5aWcLfj5yCdt+8WDLTeqKHm/h+AOMm/3Cm2EvQkxZWAR1tE/hkY+0XMRopqe6AXBi5+vHWh5stqs82nq1v1ArpgaG41s0LAquODnIIJUR02KpBL9rD03lQROEDgxCJohZWa16V/EXnmGQj3hD+V21JUwQwwnRWKBQEyOeJPlgK4WhLEN3GhmrDB2+Uhpb0OVhSFTM9oV4QXFUpevcIuYRv7DiWEhm2l48wgh2EFuSJfD/K/PT1Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212183\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000684024?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"l6y2pGaNfNVeZKeR1AsvGQ2YHJ4PQ1qN\",timestamp=\"1773212184\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"H1wu2cJyaN7pdI27P2gm/7OHW9dYKkFfna1SoxUvT14ApRRCb9rC/eWdAreXdBgNTfoXKcLtiJS/8U4873EOPCJdUY3GL0bhunmqXtKWfmpmr67occhLYQjMOgX4POFVjfbLBMDih4iYU4G91xogLStI9g87+CX4Ih7OmtOK2ZxNCFN7z7VCFmCrccrBfxB7cNeJJzpaqLjnWXb2hiHJg1/kOMVtxKe4ZBt71WyYPDpISCSU8IokWpgknm14m4mbu639b3gSHMHNlUHcFqO4mWXM/AjpDBP/wL6ILyJ+cISJMVtZPtlsHnP7oZ+aqseHxkuVY3hxXf+KvezvAs7PMg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A4C4CD0610B70518B3DB8C5820FCE41328C2A703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aa869d0c014f8894c34f50d9565e3751\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zS0ZjQXPxoQyxhoBIX7SXevJORjY4obORhMx614CVyJ0ygYvwW5dVT0Y7AAYsb3RXCNvjJhs8ETFkgIbkKE1sINWZUltq0GiNemMNW9VJz8R6Gg0OrHOvfKU8MP2KyBwdqRjqRnh4Dx9fPOvTpaa4B5DJtlSroGQ2bVsxlWT7pKcimA4zsAMn+39Wbbd7+QNu8d+ksXLHiFDmlTtxBGIZhq64JG7zeUNTvT1v1FgZowLMnHMSq9iyAs25sPEHLzYlcFZH9DwUex1NuOrxOGIk9uMu9R/kGpxXhgqBoTaSA74kjG5x3kUEwRKsHURGI5b4mWuBIt2Oxuy/8yXMFRz3g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212183\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000791662?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RxF5AI9GEmuPrVC6FKFAyUYPnmwdD6ro\",timestamp=\"1773212184\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"w472p5Uh62o7YrooYZNGz2Cklfh4zhLJNIRG+tXJqIH/UlHQE1bKxkeyHr5Art4hIvCZnKoEIhzOa/oMGd680NBIIETR3o21Nt2muhwJMj/J9R7yQEVLjBrN8K5v/zO0WqHsc/+KX2GJYQC8hGC2Aytn4JmxP2QabzHXp0ijr74EHMbGgwropVQ9cQerd9ImkzBcB21zIL90nlV2B+MiZkLjdR1dBgGhEWSR+qQKx6qccAj+1TNBAH7MaNPofPqoP1n8edk3jAkWm3Ykck75cMjt05C22aUnyN9eUdROm3oga7RP0YN0wlaGR3JP8IIVoSIRskn7Ca2RrzMxZBY+LA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A4C4CD06108407189CBCC05520B08F1928CFED01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f659da98613ec4b4302e5e5321b0ba1b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eQi4vtyxXm6X6PcMZYFqYPT1Uq3pSOg/IDDVQmUi1OVOilRr1Hx0DgEsEfmtapZthP4wqvuoZNq+bUh9h+Ryq2/Ud55Hn+XdTw7Kzr4jQ+8TI4fKMN23CaV7TbWQ1jDNs6CugZ7wl5h3rQ+Y4DJYQ6fFPQJacPKWL7ZX5BAVVR9B6a85dZALnAFWw+2wEOMUOckDmbCbSaBOd5wxo+tbj6eeelWQqZkRxCBNOQz4ascZdPhFGD9wSuWh9+wIziWLimIShZQYKe9097j3Q7i4nFEEC1dCBk5lgB5PcRrNgm9SYFgtXlyY2w8MYY7pXV5EjIaZ50aE+2YF1CD68QX5SA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212183\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000874050?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wqDTSe2BEjU1oY8HpR10N2tR8GqAxI6B\",timestamp=\"1773212184\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vNMgzZ+2cTX22S1tr9r/VndV+iok5yi+bvpBurVeGQ5t6dj9nl1ixN8FpMUOhmNHUi+FpMVIsPZgbe1TOzu8wCStCZCQbrdtcfawOb1+/JcB2ra2E9wAyjVwYXNVZL35PlHYBH6Ea21tS59moR0MEfTC2i3La3l16sFTxEgtloG8fV8Kjwov02Ye8pbkYWJ4ae09b7v1t5dBXzvTA22ObGfn0KW9gk3yDDiGU5eCI9mhoCVBVZeahTWCWkOcLMxOLTyB/TPWa51PIkkxRf8d5fOADxPrJaKcN9ag8nJHWQze4thUNF9vH9u8A8ph2Jsi+goWyTQOgCdxRR4puS9+nw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A4C4CD06105A18FE9B85AB0120F4AA0828DFE202-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 97d53c5f6b804b072318fc22cb528715\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KjSxOOSXGcDnaAhd8mcf5Qy3+zwYcFPgVAEILXKLJTsBzJ45pkjj3Hqvgc7q+X7YCN+1zIvTwRThKb9KNEnyVWAOl5wuYVpTgw9M3mjL8qetfftmU4VOpb7dxW9AYZi2+iWrj9LLaAdtiziXgkzRrhg9hXqnHhDIvtdmBMZXLN09vnmoZdCBdT46kzYMV/LQaTs4z8flBjjFB0vxezHygMR3AajAk9wGoMRL4mFUxhajNQh0nYE9IZj874yIO3Vt4s1UPg2t8r+kHy20NTcUlF9V1isWVYlPgGuxWHGF7blr62UvVR7qmKn+zzIBs039Pcp8LsJUmH9W0Rn1OrTE/A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212184\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001181641?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"920h2fEa2xc7f9aFLABDJ779ble00NTL\",timestamp=\"1773212184\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PeWiExyhkijTQA9DgRRXTBjDypu8YwLxVsfKmRblQFdbQRB8jkB2SivZt8zHpkQEZbTEo+l+Rs5/gGuMOXgWNdpTKM+O0W89CUN7roMHr+JFnDvoZimHzg2z34+Km2PBe+LCC0rL/bl+RzbvXvZZOf70wjn1kinSl9h76XGCHiIOF8uq3o+0JJCbTupaDCB/bLtEhuFiImp+27WPS705V/id61qLpCTEb+oLXDBpEUwtgw0v2Q2V2Nc/X2KIx54YWylN7AoKc5k44wV9NMg7ZC9az4ZavSQ+a7y5bStfEJFZ/1FCV7WBkNcvq3cs7c0HShW3KwHOu5+TKmWL7ZlgcA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A4C4CD0610A002189BBEC05520F6CF0A28C56-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7187c63897513cde854634964335f86f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oXqKRuwKiRwMLxElGmzh264crcbEqPXLkMD1M6BOi6JFcRxZsIdzLLLuYbmaMnmk9VUdb0uoMZ496PFTjAahwVu8Www++lcAEPkny2T8SDS5AjBPLzbhkWfUvETF+5R8kDtDJr/aQ/xb5WfnEpPbpbVZ+d3N5OtYOfjjNaSqS8g9AeD8dIivkxzuX6K+mV7dqLE4JaiDM/PRgz3NwR3fwGn4BHdyDxo2p5FZogoBQac8YWe0zGsEMsWelyHOXij+DZf1SyMyx9EU/AzqUIiLe0Z2s5GLDM6KzB2vqOsjFcJUSTFW7UBAQMjEq4+2qGRusoGTxW8D+NyuLlo3XNkw0A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212184\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001363030?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZtxolXIhT830UhikUW4xXo1SBvAEABIB\",timestamp=\"1773212184\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ho6EVFcsF9G4AepvT3dGfOC2K5OMKQRNEmmH2NcF2gs+jcenGlwpZuAMMM45wr4KXYOm5u+k0uQ96OgtfWqcaHKd9C7RzBucSw+Kf7Jy2+01VIHsS6bDvku2j3p1lOBSC82bmKTj66rc087cct9ddaRWHXQHnIx64N8fLs3iIUet57Y+SaO6/tKBtwrgfuAaQWOrjWAezTIPANxYrPpEIcfC2DQv6/8x30p07AfnLIkpDPydmkhWtG18DjeqmbpdIeRsjjZ1QNe7z1Bhb17GNcemwPqq7XQ/sOqYH/rJL2UX5ElRXumg3FyDtqZ6HYCZFzIpGhHb4E9kB0r7WBaGZw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A4C4CD0610DB03188C82ECAE01208EFF27289EFD04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a8b83d811675526f6f0b800608cc0441\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YSIuz0IIQox04vsxPoR2km7MzvEpERLwZ7RRv9NEqI6LxDXbnGuzUxHSXC9preoqE6HFZluaUV9bzkkAI3MZdMDQQD4zxQslzD8b0gGClCxPxbJU589SAjCZLYKQ5wylnt36iztcN4i9RpHN50VKpk0pr6lBlLXUe4+g4Lm+bhhmPur/l+JZ5A/UMSPaT4pVw1K3B4e4xXE2RpuF9iXg7qTBNu5936074mTt7eoVk531YX8zGU2AnwYkPRy8CBm39uhiOqe120CfsoTzE5BUSLHo29u5ZdNg9GVzVzdC/7ewcNogbF57eQOadWgehQOfHtSkcXY3pmyJRkvSjOp/vw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212184\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001443073?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XohWQzhYezB7hTL4A6VZmUEliznb0PZv\",timestamp=\"1773212185\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ji0kMe/0IGBxolNatMDa41AisI+ktiWLAzTFv7Jfk4gJgCBX8RqlW3Tfqpwn9P1RV+qQyVCABJc+vffdDMpXAQb6Tj1AoQ6MXNvxDO9/mpfLsOfNFDITgsu8afFAJT2CY1qkVWfSBhm6mbJ67GalxGQJ0vRcflqWNiLw95Duk9s8aYq2GgN7cy59Y/OTwg8q1XRR4VWQ/AN7QC7hA10KzJUcEAVo+q52op9N6+MYv/OzjsCtIc8MpWJRKzn2s3mmCi5OjHVqkxldmTwiSd0vvzpHNsLQtVNVWcz2G8bvazMIXv01jbfTwzZkvCVJNuF2vDHJmkXPg3uN/J2BhEO9bA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A4C4CD0610A30518B4C68C582086C11928CED004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 85572704305e228d3406e5f01a3df72a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bwGybN8N5LBoOl+eLnew+J4Xp6BVMF8c2B24BnRoOyThgTYW/rwoGr392es2GNjjnqdvlyyrYGr87tQTwSDK1MUJUAUSM1iYZITM5UypUeGzYdnsqjLJcvq7SSZqtP9CorOUvwYV2/1XflVBs8ej3uGwyyEn87dO6c5GroqZd6PBbyp7TtLnYeawcyakRpDTo91VHxxMNRXu68G1ZRtGef0GlNZWtzl6rqmSbzEyRX9vufIif4XUP9Nra29H6g7T07FgHonB1h/tfnpj3yujv7J2JE661y5gNftx7qcaYv/Yuvq6SIRa3ryFbgQkstD6KuodOtb2LXN6m3x9o1vI6g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212184\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002310792?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"smEdCpmQRA4yQe7nUKhqiGqey6NaA4OP\",timestamp=\"1773212185\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gZylcEHXGeK+dXEDznS70WXH5KTVgZsQx5yMjCOxeD+0KYu9YsGiPrbcAF/sg73Sf7oQGUG0H4ClG8+9Nww0DC2ZYZKzr8yizZ2kWyqjf30I0LH9WPygzyeykMR5keglOvTnHlIC/Y2WXgicrAZBIvETPyYyhuAEJRezrEbJ2Wjmsb9ACB8Wr65QQ1IqlIFVKG5YOl4M8eCsW2Me9nslnD7PQ2M4QuXra68Eawg0h7OxaSuIBtL9kFKehIQevbYk+CKlIhHevjxbS18/ea1F1C9EFRvvxoro83V0shr8T0CIBhrjdqbVlHvhk9ydI9yY187QRhfq4rUkqx62/PUssw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A4C4CD0610EB06189C82F8AF0120DA8A1D28EBAB02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 70c1aefc6babdff220197185a69f5c1e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: o6cXZMkBXapOhPtaRdOaeCA5vT8JETlkq7BlWz/UL+F9ypzQsZQ6rDHkFsNNTcx5XGOgezZralloXcNBjNTtiwYUjL2l21qGkMEYPAEtN49sxACfm00AJwdxC2jZrRn0gnxXyJ3LQT3qzE0TVl33i5tDQf6G2CLt/k7L70uwz1Ca/AoReFugvg8PYdEhA+ZA1lTUXJinNlI0+rH/bxjtCNdgwJS8/bP+k3JsyKuwzyuVYRBUCRWJBGKhNf1MLLJInJMb4dX9e3Y1dAW5UibUJT+WKrhbzmI2d5GkfHhRhvkvBtDXsNgrf3d3kuL09MpABM1WS+PbeeZzVKEjMlTX9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212184\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002559579?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QhCZfHC7QquX4HWIlpRE3NOfbra4OLmn\",timestamp=\"1773212185\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wo3m/kPT+WdmKBrIFwSYvqk1/EBc+EGhMuxLV0kjkh80EgKM6oIyrvQiDpNw+JjOPKSiuRYQ52x8Qs2Z9UDFL+DwZLzup2pDq04DMMd26KM5LY4cXsdbyZ5CNBUIShyji8J6x6vhEr6VsKqU47NSCmuq4yMJHvfnIY9Fg0HBcDA3MCJMs/Fw4yNvM6JpRm4vxm7Wu/dkLLpIVJ7Zty97bOx1oYxvrSUXDC/lErQEqco/8W3xqtTT/48GnOmJVfw1B6V915yaD7SLLZXVo4RexjjnF0fGV30GzPMDwQH9dJyqt3GunmJZx4RqWM4cCeuiQFgyXLgjLgpdqREyG4HhDw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A4C4CD06104D18A2D78C582090B92428FDDB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a35354da47e9a4a1d59c207298188569\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RIAWmDdPAq7/kEX9yjENn/BJeUWpB9K5GQoLw56Ffc4tolBj0ypaNE0iHc9VYTIqs7r646gwTHz2+xAP8Sj0cw3xl91YIco5sJxz+hhdFcAvkaeZKM14TgjY6WhH/ZhrkO+Z96Ml6RD/v/3I3spfGSTPOULeZFgR2v6h82uQiqAkiODIfGmw4OmRC7NvBxosxUhQtihnJKIJqvm6Hes1QL+G+DIF1uKQPLQJLzrCzzYoxCY4M6mvXMMJZTTke0skGyRzHP6J8aGtKoYtUfeE8IijzyQyJ0ga+Q+xkq5Kr4eM1oOMBfbgPbFRU9AwRmmj/hQwKQ/WFsKOlyqfIS0yTQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212185\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002721683?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3MKVMC71sbIYlawaMCxytsPs7bIwV6Gp\",timestamp=\"1773212185\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EK1mQ3ksjaFlfLsDHn5D03DfqRjfV//7lFzjwqWF/upxtmIEKMymtv7OtoxICSlBUTYqBVBDvbMC0dJIQEYR7IWZLPkC2AZhE81pQaHL8LyBpDRq6yUyBtod2RakJI2LEOW0SD701O/uilzLg9tg9NkY0OtFPI3UooGDoz3IoVoCyqsWs7LBCKA1W3w9nQXRTO3S5G9NMt1CAaKD/2RRzUo9aVJ/3ithN22/izAV2ADl9bO88QoZaKdTwS4xhqSaPoD6J8UxkR49XIP1/hsuSVcVnB0fGledtq+HZj2SErFslHDWptOczPkHyp+F/n94YeUOJAYMW2uQp/1JhHAhgA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A4C4CD0610A30218D6C5C0552092F70228FA8E01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b724603b827c06e0cdd2acce1b57f1bb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CDdPKPvP1pllDXbycTRgqpYQGmGLBwy9+PhvpXc1nvOUOFSSGaSOHONc3CVGQsvwkDZU+lE6xJtyCXpA0E3D8av6KDoNGmzVUllBzm4AtJOdEfvLax9DSWr4B97t5mns41WJjGDzdQWsxAKopDVMZdotj5jfW+oGdD1QtT9a1/Q1yj/91zNnGg5GcUuqYHktDXBi40tc6U/Ev3LRWuzc+giaCIF1jsu3EzGz7JuskOvGUeJPDDXc3RmEt9HZY/6r1bJt46iuSvc4WE2KdlHZqr9o+T817gsPC+6i0HY93uDphXjl5V2vGKvbF6ET4iixejXmXfStR8IkS8Av76YVNg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212185\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003041536?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NCUypLbIWRilGL9YjgiPLqcerkcw5za4\",timestamp=\"1773212185\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"p5/qhlLfXhnZ/Iy4yOsUnyeEGO+X9HdC5hMpvxoYMRqv37KjQ3Vkpi6nleDfn+/80Pse2SQNNfjP9ayRAUGMb6k9UBP2ODIZ6qrKc0NTWF+UuGMcnfgfdYavP86fPrBeFTtu0yRDbS+1fQpSxXz4tmCpKXEASosUfvSGtq1jFrh4bwcHTEQIq1U2kifW6gqyWeN6+U3Ex3SvBHZ6wxoh14ULrb3wvzE+xchSKuXvRNOZ5oDgPFBoRcIAvGtiYw2R0sA+7mvTPwIedg4oCS6ay3WrTsPaRntitjZ2tQhKekspoMXrGLt4pYUPvJ4RN+pSyw8nRdKG8jHNFaFloJhxNg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A4C4CD0610E20318F3C78C582096F02828D3D404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7e147744db0fcfda23e534eea08b4d04\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bjkwAAyL2luYjjyYghQHxXpB6KpHrJMFYIPJwHQhHKN9D7id0c6kgRfos+Au0NyIFyoEQOmgNHSmUPVecYgpB+hPEb3UUSyPFEucPoVMTArLumRHvByluNcMWCaLPo3kko2tBcDNZHSDs9BLtM0WeUKxPpKukuWThELueuijjDRitIsgvbpNiEReyelnmxOb6P7QWnhJ7KmCnaSVRsf+CcBupihkwGthYFce8NO/XpRKSTEf3MMVQv17u6aBqjiefqmu5JZTn6kV0W47RTf8H57903Inrhbgtg/eVc6p7+4tOAW+yWpIryqgI8vX6w7OWNpFo8N/pauPtrNz5xQUXg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212185\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003816629?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3Zjo2Qc8jrBZkhkKwTkjDsRc4fkMFfoB\",timestamp=\"1773212186\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"u59YL3g58sN4DAEvfnNa6wkw9ezIV8bgM7IKkagSV12l8Q+OTMCymcswjY9MlUbQqtOdPvPTXkPFrIpfhC5d0L7g/ujzjre4nDJLTOWuPJJwE/MGKF8nYw8TD9o+niyqwsnhJ8007D3TlfAWBORPHN86kyhgPgCv5iarVHftrce0RZS9+OfwJwQeMM30b50hT6sxroCNuk94FL5kqFtFMP1Sh2Bk/2p1FARBNJf4vzfOH5JUs9HnCNGPKk61coIkRhm5cxHU9syHV4g/EpAZXTa55PwllwfYuxXrZWUzuMkNZxKwI3S5c/Q/GiMbWYFMRJF2148aaXVeUk4jJi+HVg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A4C4CD0610940518FCC38C5820F8A7092893D205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6d6cd40ee1b9c66848e919d9bfbd203e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dIGkESwaXByS1/F7s6EY6GqFm7sW+ZkjVp6ZZU0AYIKQvmyEvAwcl+fB84hTnOAe8ilksrgg/fihQhrvMMg6XMbL32n29LFka4J9f08BN88jPuRdIOzlkdVTgcyi/x3ysKk7UV8qHKy+T1MewwAerT+XpnBv57gvUWES6Qg9ilC/X/RkWRKVPCRHwgLCv5sdEzw3HbTEoG1Xz2fUD5fSrZ8N6iDHj/vVtupzfL4zh1qPStKtN/JooPl/2mLD8EqCMH3ouSefVCaoJ7w/QRy9ZUgPHR8uhGjNhDCTduWIqBRt/roGAuMHaED8cVTJA6gum0TT0tIpgg+qScg4rm3HjA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212185\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003880361?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BRliPe8dSSlsJFouQenOgNAZIJZTQRnV\",timestamp=\"1773212186\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FiOIrjJ4osk7hR7VoH8P3O3vKNBHHbf5OFAveYP4dEOP24IBaqditKr/XOmNiv2jrG418pTtZ8k1KyxYBaZ/7e7nyxqW2ajHWMhMQqa2JrtzS7AGXUhIhrTQ3Ey+yP5Jo7gJaywQv0+FXqxF/sJi0O4nw0iRTPRyBHrxbQRLukgMbmZs/HmuUGLvlsbRxsqrtFuHgHqeNccp1asZgJv+JPp4qkzIXazfHfRbvTkF0vjwifqvXt34dblFNa9A1u5/1UkZJaTDszmhvGGej/DhBJZJU2DJI8b3ERRfzvhhG+zEb/xS8+hRz2OFC4tWbXFhb0fIv0LKDYiqJalXiyRl2w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A4C4CD0610E0061892C28C5820D8FD1C28A0C601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3d3431d58a2873a9679a8a2e9e33c4eb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZRJxHnOsCcAq1XLatUvVNyYVsTWDZkV2LEbwWnMjpQuUP/yO0oojFjOI9NUXDZlbgKHrXt+tvKf7BM1Hd0Q49awHvMK0QhVT+mBAPd7zFyFlNyiZRVDBrsJj24IR1wG9spWPTD7R09L4mtn43pJkvLV+SDIZ4kQTvp6ANgSJnTGwgvL9BncEkdxtoOtKpDZTYSl6nm6APtzQDOncgbSC3uZnxcs9n+lBzcCAlPBvKwr6hetId9PrzDCpZ2OkMuoEWdq2f1sBc4Y54+OqoGd9bvrAdw/XFi/fgDpgKYsR0Bfu9nM/BC3/rlETbQVYRkOiBS/mnCnhfz70nAKfr2MAcg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212185\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123004342385?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"m0fjReB8gL39ssNdxXoEpcBDBNbcqRlm\",timestamp=\"1773212186\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ud7XUkfS2JjsRHzxpFpkTjhm4xuhYtzNM3vhlEDIr0S3NPb690xYfQnoiWOZYNOohoFfjna+6aAIob0dhG7QYK+lNT+H1TC6IagyjXaZicPbmTGsmrwLJl+wmQXLlLoW5D4/mwQETCRfZE9I6D/gkVXZ2psk/7kjr8sqb9y0yOYbD1uxBUkm1dTp50cks39XiL1ResCONg1VB2fFh39ATYX1+8mkeDocBujDgmpDxYk+Nh8UZJm00fgpTnVZ6D/YN+cS7VPNBSn0e/m6xe1pXnIXAsslx0DC8RqZGn5xvvlZ6dKCQwUO6ZPh+ri/8+6K1a8xuR2iBZzRsYNYrQJ91g==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA4C4CD06104818D58CEEAB0120ECDC0428E649-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 300e5eb419883ac974baa88a91daea3b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RTt8zdZszdzzNhOD0bDL/FiT0iKOz+G/ztS/U/o5uM66e9LAIv1I+cPIDx5ooFCuaK0veBJyRnbvysaC8A7ihHATqV/ZwIfIDjhE9Amchv0nBiB7ulqZtZnuEbeImYgK5E0zY72CSAnDpJU5XTLKtxsbd0G7qmLqFI5FmyND7WTBk3CD30g3r00WRSSYWK6ikAdbA80ZROHoqdOnsnBPtTCDfMbL8lvYbKmmtFmHFIJp//ApMankuqz6h7sRlAJODT47Ez9YcNkFo5RlvO/M0lUm0xJDyMrXLxCZjen8e8FO/+9KcgI0pNRqoFVfCAmJSaYbooFn42hkqAr4gn8cGg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212186\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123004746546?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"64k5L5vWz82UdEFXAER50mI84bhKCQMk\",timestamp=\"1773212186\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dTx6QPqa7PFkE89DDt/Z/zJd6BSygrZIPx7pOOd1S2QlZdaOHrXa9GFwhrVDMo2B6ikPaJIaQurLcua3xIkEK3CD6xiLubMI/9QBAGRk/ycyY0rFjgePrB4i3DYEGzjdh5kN+Nwn3YR7xr9l/Ygl629e40qLeYgDZquCnW286iZGODI1RRiiKftngd5xwA3sZZ6Cd2xCrCts03R3GJRLnvj/C7I/9gpwFCw1ZgXj1oXWBcYqOtNXr7FVXL5z8fS0K1BdsUA0el+0GTli60EFDoZwZPKcOZTXJO5a7v0DaDTZp5sLNaHnmytgQRjtLPtytV0IrzP/QSHF7zeBS9u3DQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA4C4CD0610FA0118A8ACC05520F6EA0E28948C01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4aee3f35712845b61e6dd255128482c6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: W6YWGTpm/uGfuBLh6kpIVIgY/G5jOhLS3rdp8F/p2p4VaAOc38JLLyDrl++E0kAOzlc5l088A9HHkPpmHt+0ANjVBVNnpxT3GtJY/0pOo0e8ILsiDUhKHE1jwBNHXSRqBWA4GQJvIOnKdo1u46lZcBJV3Dr5G5cBkj6+pWgl7VUd4oIQxPDrPxxTIW3PRFNSAtSVag9BuuRYDbto77hc1wsope3wk0n/2jcK708pw2991XX3yU+tO3zKLs8DLz4Nl4rH3ybyChgSMqy2kZ+WxtI+hJAUiDALmGzEXIcteFhSF30cKVybtO7QR2aTZPZ9+Kr42S2YkfkaWCnT+KIQJA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212186\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007005637?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0BOVD8XUjxq1RPdz47JadjU6NNKuTwPy\",timestamp=\"1773212186\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2Pg+WuwC1N67OxagYhSWFOTPAxpSvRAxvagllEa1eFso5aZ4tAq6JppxyU65dH/HUQQIla0gm5kuoW0Ar+3d0HcIvPjSBjkfABUHRRiAF+gAkjm1fiz9Tn+23ucOKgHmr1fsM4AzgrEx0xu6epFONpCxCsFe4iLwGuNRY+hITPygbvqbaNC8KTFFey5NSz3oI1u/Gk2cNr2YKx3VadJcnBzZ2rZ+1FMWV2AbKvZ5gyiQtc+J8rukOkfrh/denNQXRwrk83x+RXd39xiswN9mJl8xGcECtFVzUGmTnwu8pYHpHbpvQH+393G5Hlng5liEhzhPOX6XPxnFB/b/NhZHpQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA4C4CD0610C80318A6B7C0552098C10B28AFE602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1594824b7df02ba8a208eae5034a51e7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Dt8X9edEXMFEjz7MmYyJRIW6lWXmIBfbl0cDLxJYqWFdhhyzYtEJU8L2uo1Xajt0+hqdnRs4czKIusI11xu/MUB1IHThnaGZrcutNzjf6bNUw2qHLNV6bw7psyPPdpBCX8FwYqP5gcDiB6mZ8L56+dCaGE2FsQsIvJYuaNi6TaiTT1h9G7SfFD3nWd9h/RWVzFEbvXMVI6uT+qPXzjEk6l5IAe4V2wOX9RL3BdwyNGzmHcStPlmkYmUXc9ReXCEYrCr3WeUyyxprIYsnoCEG1lckogJf+BhvhkwckjdiCgTP1t4ETCMlqGYynFATtEsqb67Pk9tALQxGp4EBRLyU8g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212186\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007058589?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZmyIMhkS5aS5nQqG3HVFr5zRkzUP7IwJ\",timestamp=\"1773212187\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dH9L1N54Lk8vxsUog2qlkc/+Qq0IvNliglltgUeptZM/y4Wf3Ri2R9jxXuxKNNhS88yWhHVdMn2DDf/kC/uGenES27Wf6fBYfQ+6Bv/Cany1YI3KSKx8eg8UiZtqko8WWh84RiIJMhQ9HOQ+CtcJaILKRJ/IaKLjdzdxAfVdEQmmUCKg5f6yg/4ASyWB6BImQ5w/qZoH+XihTsqbndI8m1W5UP/iSIwVql/aVnYjfqLwyy6c8hJWK+Q+dGPIL3fo/ckdGyR4WGo3gUv6U9KdhNWQZD81l1q3u9jVGH+/QMfs8FO9eezrV1LDQzFW8ONGgmVCAm3pZhMpUoqQnardIA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA4C4CD0610860518D58CEEAB01209AC00E28F9A002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 15e73dd541fdf5344d7f494219014106\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZlUeivHdh6BdM+yWth7ajUR8AA5Fw1DMDeIfY4vlY48UXfVV7kC0VKThYqtwXmwkfeZfoAz81ePQ42PeId7ArjjDZfd5vtqohHGr7ShdIZ/iDj/OGO0BrvWwfrxWyB5995nQtF/k4KkGkqNlF3OQVsqp+LmUvnd3ugbZ2pl/aSZ4EqFiHFek4JYGlJHfUIvZVHAI0LEul88ofn4vOXEBhw5RDA5w2QaJHbd0SPhV0bJx4XiqhwIPrGGJrjxhUEPlA6bSnSOMHXMnvFJvlz+xdE4n9k456pXbJ0/SeNuU8N1p7pZP6EtyYLHiGntm1dHqa0yUb0a1GG+DiHMdMukdpw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212186\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:56:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007430400?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ckSbUOKilxU4XcvjQjhPmkciA2rgUNwG\",timestamp=\"1773212187\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cJbJAxc1BSZ2dP5gS0GO+OzcnOYOdRslSsd6qf3WdPtxv8dxb8jUTPpu9+fX1O3N1Qmd6Smhb/Eop0Xhge2CNHmAGHEYHinFo4pbFUI/sdQc/l74kOBTvhZJnVx2sYuW/PxdWZUHneTy+ZQpDQZHongTn8fdHn+uW1CeW/J+LMzh4Sum7jhFdwJSo0ZwyOVUqwh8ILFQqcW6wAfK+guTPg2JMphAwDN7IoQCaUqTLQMj+l+Pck9tO5gPRbS6sBfevp2bu0iscsOrcz40MB8dsTM5xPrWguXTQpwaz/9wPC/8QwkCfeB4vJBVzpEPNu49fI/BNznJzQHYNYbvQYMGHg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:56:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:56:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA4C4CD0610AC0618D8AAC055209CF80828F98B06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e76645a622cf5ae1d4dfb83d5dacc327\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qLzL55lLuESXdhOgXZ/EqzQClgsL67oEoZ8/bo4hqR3N3HwESCmYQqaP4txi/cBp3WE82cIpp787cISCy+EJpSmJG27r1OzZL3bJsmE/OOtevOUlHYV5icVWvAIMKvBtzblKw9VGUmNA5ehIPcniZVlYliEt9RRXcvz56Q69Bt/Ujs2A+aXM1/c6MI+RIbFcoHWghqPnoSfkXgXnxKzyU4VS5+rxo6xtd0Zs0phXhDwxtTyNsS2wZNHFh5dWixxrDa1DWO78fVDeUU6T4jNn+0p8YjKaFqdBOWP5BdnVfyh/p61KSZjKOdLOHVzcnxPCC0XbooF+6cThW104TTkMTw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212186\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260304154055740942?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QbBv3N1J1dZmNDuJK6X7atnvMrpi9QVV\",timestamp=\"1773212251\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QiXMY1XiuDfyQAWAC+mfpF2MfU/Yi5mY1LcqmuSGCtiFcVRAwD8ebhOo0fuFRnB4R8qRz70y/Wib3zZgO+EADRtc6zWzrg3LmIZ9K2A3CUIEVm8EWz8uRN4qu8ggExPyKZ7WkRBWwPZu9RfVnUsz3oCqvbvLqLUUksi5rLTKeJB/GBim3nqL9cj78FxXqU3aGIiX0CBiw/EG/y5qrrVXMUCZ40iIpctFSozjWY2T/oXsZl3Hddcxm4OF3TBrR/KVFZpEFyBsHyLHz3WgUBuduv3i4VwjbR5RQeXiSP4MNyyTs4dMGI/RieBqewT4CSGSA6dYH/Vr6lXF3C+DZjG78A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DBA4C4CD0610920118E9C6C05520D8C20A28E9CF02-0\r\nServer: nginx\r\nWechatpay-Nonce: ac0f4fa64280145eb89d370542e8c752\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: j/PnXzK50yvrG+AeS96lr+XkFZACWZ854ibiyZ/8/WCGVN6ITCZgDTUj75IOu/WKL6OmOA7pMFRrAHzzt2IMuewELiqfFrOeSAs9s9Cv4GDXG4QQBzxAColX86c9zja5C6qH4C7IUIEUoSZ4jdKudBDl/jg2V8o8ZmRsMlkt2tYp7HbmW3J3drK70fTdhaVgX4XVXuUYtvWHouAny35ySaiRBvhfPfl8Lsf4DbDzrDlPTg6WkNSHJ9YOscVkqnJg/iMFtYJGP7y2R/68jwmvlR9ba5wcFdKf2qommMzd6zmh4WJ8UBtR9gS2oXaj46C3CwwyTfId3YD9+r+HC4jNEw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212251\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260304154055740942\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122618011316?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"98q683bWExTRbPgS5qCwWR6BZOn2otSj\",timestamp=\"1773212251\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ngxmUCyRSSO5AMFSoeiCK0rrpdSwLjZ+CRholNtzARZuh0w1iTlnU94gVUErMdgE3mG+NoWHId15wao14pm6o1RN3W4xOKBJXOCK4/ovX5DbuLQpym6lNzNMy1cCtJmGihD8pHNCLkf9a4ZrCud0ydOGH3oyPSPLCHbezJNFuAnOHo43AYVJ+VhZ3DvPr2+DBE5N56J8jFtx/iSchiQcla245LZkwigCTL2e2jqJTVjw1fN5DH/PIFoD4wM+iYOwW749sP9UXswdy6/2XRDK9kY1V6L1jNuKyzchgwoTksw0q7Kq+sXnF/szsYBljwQBmGisQsO/uNudvcPN+GsqiQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DBA4C4CD0610B40318C3B9F8AF0120E4C12D28851B-0\r\nServer: nginx\r\nWechatpay-Nonce: c4210afd7b78dc52155a8691de439e42\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: X1HcrHQ75ldIWwR6WI6hncZKH654NSp43WHC+U8tdHhQ7JWki4ygTIDSkgBkV89AB50USWB0SlTDbwpertFXjJpCeus/tZmy4ew92ISP82G8FWfZTRxOtO30xY2WpJ26k09tQaXGsgm/+zDFP3toKcObwbrL2ckivNeGtVk8QPyjvHXbgOU0oqxho1L0RBueKUnbZpz/bi04zhDOoj9GgAhbC9y6ltfvN1OfRwSvDRDgtDebGyXI8YdMBuXTjlQFnmPtb5rV6Q6NPVdmkYCuMlxCgpHcWEoODjc459Lo4G6ufikI94PqOyuVn1I+yzc5wsBegsVH+V08hWZNyj036Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212251\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122618011316\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122645323619?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"t4yt4yrir1VO01YgYsADbO4RArQfitjX\",timestamp=\"1773212252\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EViuT99v5YRgXUQ79v9oxCN2TejGlL8zDLiNuhLlqF4WrUb8JNiA0zJoh1OVfRlopse/Yazxf0XYbAKGaPNeSzbpvKRUJJby0fgxZDNEBwKsZXsGs/Xae2TZv1wYmsN+merzYMblNlwB8AZ4XpmM66lIyiKzautPwVOX2gU9BSl01WQ9B0zzC/WhSk31mQl11oCUlfWL0CrCihGOF0j71jqBDhfeVd1bnIfN1r5TmdLzbq5wKkxQZR2IQ8/v78vesqblMmMuUVx1yhqUyFhD3PG7DT7t1h/8s5nybdJCmxHZBDTE0j2Efy2XRGjgY2yMcCSKA/lLK8LxyNauhazhxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DBA4C4CD0610C8051887BBC055208A9E2928AEE103-0\r\nServer: nginx\r\nWechatpay-Nonce: 0ee0bac1997cd5fc9e059abdc2d57ab3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aych761cnEcx7yOIWbo5mlnn9hxeKZp+bfDdwUgj076wnQdHaaT3biK/CIdfpRs84IHN9FdpF5jhk+QVQXBBC1DT9+1Jq9zYkanzH1PRoCGTcYALM+75+McnekZXEymNKFs0EkWUP0zEaD8JwZakt2GAm7qjJJij0coLyJ0tdF7ybErJ3yb+Gnzdp05vX0OdkccEhXv4tzPtDy4lc0l73/Jvj6w3nhmch98JWtlMO4mNWk+G79zuHs6rT7i29g2tQMRcX1vfty1+OwO50wjxbjjNZHRqbd1qoe+32fRt+4HFFafDr9/EvmyVJDRFXHCkmr7OrmRO6T3fkXyQuXXwEA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212251\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122645323619\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122645425569?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"b80jdj4L8nMfhpZF0fv9wyNYwRd2KXkB\",timestamp=\"1773212252\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"aU7jz/n+dzz3DRx0t3bnZq4QA8yzPkjZc6jUgmA3vTZSJcKOoLlyKxNAd9CzNY0kNBsswoXcFrMSpeW4WT3cCpNx/6KqaQj5Uwt0qOWQL0jgdkU7glsGukn+PD7vd6y+r6IhrS1Xd7h4lIp06++6k3m9OfzGrFOCXgvhWnvlAmtWu6eUEDotEqRIOLcFKroWmugx2ydrdLtqJTiEx3+dhuSBhSoBYlvIi5JvUKe5AD66uXBAAw21Ac6JMrFuMtjhSVh0dGhImvBq5SLHWBC+bLOF0VF7J5Y5Fe1H8rIrc7FdH/JC4P5R3ZA7/MOv4VAaJ44DA87kIKWJj4dqudKPqQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DBA4C4CD0610D90718F3C78C5820E0CD2028A0A204-0\r\nServer: nginx\r\nWechatpay-Nonce: 90f087b2a3362abf3d3fa8140f0fec74\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: p45Oo/DVHOch7uE1Tk6i6QCJMuJgU6gO2AjnakQ+A0EjxNjA5sSreRmQKWqJLz/MArIIt8s87uh8aUMYCnpiXriajC9DjpSDclTrP0NI0/OVfX5ip4iAQKxsfMuUxm/r/X968yPDoEkR/6JwiSSDdSEsZi1pPgJlmeumt6gcaUuqMPPhjx5WXvmxxxYn0QxNoekrGMunKz7Rj9lJMBSMpzmBAaB7f4bzDZmME303L9vynPY0pUYqijBm8iYmHiPcs4xRjCyKTw84NGI3I/ZXXLcz10syr5cZcfrDIDb0rTrEq6O5rzgM8JuFzl1a6j7FW5CyW8QML/P+g+qnoR14VA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212252\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122645425569\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122648193530?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qp6OPswYMAfNC7rQCYmLehhq69H6QSIm\",timestamp=\"1773212252\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FAlfDPHofl+nFIknSofcJE+tgrSGoUAe1bUPxNuwPK3KvZUPBR4p0aUvEdaAANG/qDngZwxVB9vJkbNjcg2oBJ5iojgLbOjrD8odMTHVuOg3vhSuf0ss2Q1R3pD4LKV2xhMjjfmUqywhWCaUGU1YxWtRtlXQCAHR+RE7BZFMHGMtPynDuJ76w+V+i9PWczllZhLyQtIh9U+Q29grh3/q4Uyl0BCs9om60/V7WLO4iWrRk314QdD1FXiPcSBMjG3nj+nwp3ufjI5SdgQ1lPbyMTz7/ehbYUDeeDC56ipuuVxOF6ZVz5Mdu7C3eAWa09pWRY5DGDT8pZSiHztOHhHCpQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DCA4C4CD06108A02188ED18C5820ACCF2128D28D06-0\r\nServer: nginx\r\nWechatpay-Nonce: 77f73e08d3ec40daf26b1d510edc8fc8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WWxP6l7TC2MROC51GeP1XfgeuKUG+J1D8AE87H3vJZq9/oSLPBaJW5t4HPDU0Iow3kFmAVLDhnzuJU+/wgoXnsEnQ1wN7ddnVrymBjsH8I0H5vpS/HrqSLQ7q9WnTizo603ALT0ILa9QVzhw8YQ8GFSDUH7z9Xfo4yMETV6b2xn4hW5gLVWZDCCWMIVXArVvPAIeeHcafGM1kCgfuIRfSr91Sadi+Rm2YmAMic4Osdk3rwf3bSAbCWC5k8gwghC8DF+r1vcWRG98Czd5cDxipF7VRcimvwBNitp/eRBb89Dv1Olw25cvQghoYOHSxMVSDrtTBqoJ/AGo3xTej6koKw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212252\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122648193530\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122650224568?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"u89QRJT16vm8N5CvgWUfFasMb4n7LXe4\",timestamp=\"1773212252\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fBSvQvM03rFK/bUjCNemde6rpZpqYtQzDxLjkz/fBw5Y/QlJzqz/AQkTK8TqygJ0MdAAmra7iumPRM1j9pjzHkwQFcr/KrZUhsS/Z0hywClR+ZW1iyQynY9fv5KvVVzObtcaD0jVdQSx22vmk64jJ4KfDPDJ/rKippBe98uEZ9cuJZ4/FJ8reLy9u17nnXC0mEdBctCmWajKTM88MgMAOPioVo7efpo7H5yeptP5qm/Wf5ope9njrE/9JdmljdgImzu9Tp4/TLaYrhIf1tKDNTDqgDshXX8Y1TL4vosB0aoyAbswEWj5mJZndLe6oxrlQEGLJYSwIA/BOCKtsFdN9g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DCA4C4CD0610810418B8BBC05520C2D31128BB8F01-0\r\nServer: nginx\r\nWechatpay-Nonce: ff760bfb0ba50c8f1143f8421f92404e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RzSUG0Ng4Pp2ZlR2Id0LkhtUc5LMM22PznopM4OaSF08RWILz22s+DmPSvRBYkTtMpZCZnxeK+1lKdQIuWLufVb9ZDVlTzMxwlQUuV+ZFKQs6HxIZzwjUuEe/gQXBqSwaZ2Vr5i3nn/ujLbsjJUZDaIMgkqXL/SrOnatO9KGUT815HbTE4u+WhCHhKDNZseyvEK4Vvh0ZGx+tX88MtM20BpLvqzhd9oPqzi+fI/Kqags+3uvutPi+eLRga1ndz+UQCBW4lvT9zGbWINrRps4GO3Wx/UWZTdwCm9EnZEa7IZZInPxu1natpHNgCUzHZI4irRWwYIKNdwjBrCS5LniJQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212252\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122650224568\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122901330248?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wGboadMZ48Cs2m5ABb5BY6AtrS0BoKBp\",timestamp=\"1773212253\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uf5X1bIwvLJ6ej9qgyLYk6YGIsJZEiGjKDs6++6Y+off6pt1jBbGa/u0SwteHWPEXLHdI6aDO0vf1IEffphqqalX2rLgrs8vASL4XvGAfbhx5eFBo1lSjaljU6HJJgrFR117qtYS9JOlbM6v+IIMuo3h1i9c45cGCHHOKKsMzsUWnaT3ScopB5tHMq5QuOzVHKq40/4Fo5xjJ2uQXULFsgAIz4wVBQ88qdm4tU524CH/cdveYebWVd+623mz80PbmrzVU1KWbpYEw1WkyGRA51CDnZ0CrJwvSM3MK9vV6V15ZV9RD+QFM1NY0ZIUpTV126IM7HwghKu7szVy4m2vjA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DCA4C4CD06109D0618CFDB8C5820F0D21C28EB8304-0\r\nServer: nginx\r\nWechatpay-Nonce: fa638630f63e1043e840ffa83cd6b649\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tb6Kfe1WH2xBNZBrWUNoUVhhZ/t3xd2hTAbzUHH5a3UtUWHrYY/SAj/Ma1Wqk55rkxGNPszWQ/ZaPeh4saXlbreB3vEQ/ONUeuDwN1XV17iohianxp5/OZqE0slUx+46nFMh/VroeFXuZFbNSPPiEWufmLUEqJSymhfGVL9Mh7tYnZW1mtZ+vu6aWFnYkesEUL4CIcvoIMlFqmRVN1SfJP0itRbPlHTlQGTdGPjDDmAa+Ow81TbOVh6W3OaZzjdaUClRTTmSzCR7qleYvNhvqkGFoTMEl18dfKAKAm3STQCNt14qJrSHae/bLh8h6RcGL1wYnTYkpFmsxgOfZcaGVg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212252\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122901330248\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122904720977?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tZ4MB1C211aEtCDWfYU98kQoFSGysVVK\",timestamp=\"1773212253\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"u29hEodlf7WGHpNDE/zr33pqKWn1OBfNOvoNV436mOBfzq//0LJdOSfdUnNu0nyUfJSH11faZGzTcvhqiUiWamlt/hauOXR65ngAAXWIEGO4d6/njJidEx4nKujgtvDeL41G0fHpi6G0Rh+pfGzbCZBJvOvTZo5c3EljqlXdkJ2XTZzFjmq42QnksZWD40oF1lnWgwNZvFodwhDCpXfFhAQsTymhL7aLfbCF1tMlLpQbYedoeDR/y+fs147SWnEw/x7hWAr4br9mEJIAgc3N3olfsmE0oef6n/ZKyHGwtXuLfPkjBNDaV0ULCzm//ciqxmrw+SK4p0jU9TY/DMdRDA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA4C4CD06105918DCE7F8AF0120EABA0C28C43C-0\r\nServer: nginx\r\nWechatpay-Nonce: a5434483b245eadee3662ead2c95f360\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Bi3Rq7yCCiFFCPQREyMn5LifySMmvbaCju/ef9EqFiW03HDcOXHbw0u1lH5ltRDABDx2DHZbNhT6B3qrtDv1lbmJaR5gC7uFdDswUaMstddwzM0NrI2tdX6kZQXsDkbBt7MOMkxL1M6K/nNGVF2SyG2NlYLNDuYGaNzPXOgdxFw+ZhUqZ8sIjETq2Nen26LPVNZXNB5LxSf3nd8dPymJgc29u2J3wR1OMDCTUjzyzhkVuI7SHHSOCtge+9QWqLg9p5HeyO5ww4uYiLwD1tiZw19nUYJRAObrUdOJS66VvreNdjTqLtYPouCet8yLZx7iU0QpYYw5Z2rV2cBILlmIBQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212253\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122904720977\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122905820527?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NNJbD3wCO5GdE8VBVMO1iUPzkcbauawB\",timestamp=\"1773212253\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tpK9QAimIZzdNuO69GXMB5CTKrnKMDcYHSxFyQ/w4OySljvFcP6gr46OBq6P5o3j1UWg1IcTsc0zgLQ3w16Nf+ukDG6e2ABsIL4HCoWO6epOGVEmoAoxv1Ah7KcIjsPJoMX4J0rRTekfCge31UQSuV7XRgyzN+ia6mrAvrswluBYuYmqAjbRnzyxVH5iODuxamG2M8ZzkudMYssQTLBuN8pr00FvO/A93/aCuDugFf8z+PlAEjcFr7Y1ouoLayiLtwOSzDlOs7ylJcjd+/PmfUXQnaY1vL3p+gZm8AQ8zSdmqTO/jfK/uukxbJM0WHJryJNzJU1v3hSK/HgLQLKipw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA4C4CD0610E80218C6CAC05520D4E61F28B129-0\r\nServer: nginx\r\nWechatpay-Nonce: b62e415742fd53322ffe8ad9872ba744\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Tp1feDWvpfWwk6ata59FHyJ5JnOu7o/6QdoOH2bQKYjLh6dpKtquBbuSAvQsM11sCkE10zz4w87Ru4FhKMM+/PEH99kPgPfRGQYUsDKM7+qZ6emL3SZm4a6AdGvGyvWlARrUABkV8853u2c3rQEzRyHSq++QPv8bRWPgAzN6s9JUBGIkbpa75rW1FVfTsoKXgILEhvqP/MQKSgWDyZZy3KAo7CNZQLN+lbCqMetyufbn8L8+7HkwilVmrGYK5Azwk6hdUHGiHw8rNy/zzwx11rHSjml32iIQoubFHN2do+Fd0b2uDUoP+WiFCDqI2mA1r0BnPZV+gwAvYhGvaIRWsA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212253\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122905820527\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122906977734?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VSWCvqVhbB6oA75bjtzyEkmd0410ufZp\",timestamp=\"1773212254\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4vu2fbBU1x16j1jYSInMooS7OgTLBHY0Drmyd7uCDQprgAPbcMN6+DJxtQu+stRgxz8B8ONvTmuMeVYKJYdpF+vIKqd6lsO3117/zKXPdfv7dX2dV2HYqWBFpFzgFIieYmOoHC0A6OzojOxLTMI28z6QKhASiRnjL8sNIvMY3Arm9s4M1TbtWuCZiHQahQcUfpCyhacabwHF8TpNw0whyngb2ikk7Ni313pjDdtBnqQ7pXZktX7lbFm3a5qOD0Do/yZ2epKF9bXFyZiqdLqbAvrQ7mRABh1vKAvWbXC8D08V4xakzrMMVRAMpfMfCgewka+7VmDjBDJp7z8AcN4+jw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA4C4CD06108E0518F4C38C5820ECC50A28ABC402-0\r\nServer: nginx\r\nWechatpay-Nonce: 9a7c87187c64fe3de3a9b8ae9bf319ce\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: i3PBRn1ND0qrW/4rfV5KY17SCsNIqE0fKp8iJy/wyA0epvAKwxZWGjDE5jp9P5QeKgfkY/WnhdrymqfNJ7TZ2XdJ95SQ50DEMxyCQk0Py5oxehXuaWkHnFmejPTEupTwe3ZLOK0kbsCx0v6xdty1zO1JQYXVsNdg8AHDkFT7b+/+k9/QuhzBGqGknNGLDFsdseyeA3jB1KJrFrimTAPL0N4ohW5O/pNRuyhUlg9ANtM7JBDgSrrfLwpF3orm6/bNPGNqSjiWkYRegac+fKoqpZi+xINzeik2eSbPVuD9j55au5qRFDfx4uLOJ0WvBLjkFjEckkiatJaAxpLzFykyKA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212253\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122906977734\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122907834387?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0z568KZ2jb0ldTTRxLrexVF1y5lPobyN\",timestamp=\"1773212254\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QRn3QCuA564R3XoMUOtd13Q3Fvq6WiZ8XvOkX5oXHPm1DiogsDB7seDlqtzS/RYV12sZ7OW/vk8H0fND60cwmgWw8jaf+j9sHk99r3a6dXwnArxaBVj4Fi/HbWHwcDBXIj3yNnGHuzP4I8LeVClybs0f0MjCz3+5yxAvwUPo90ouMlBcRQhArzoh0Yv4LaGDh0Dl8s30VBVxnrC7FAyidgKCnTZo+aboBMU1yR2IDOz+GDQ+T2oNV/Qc0n7RCoSMe753iVDsMP9q7nqROL4smXxyc97JqW3b/iR5ForjPxJ8nf4khmfzsEm59EI/sySH9di2JaIefrFGflwUm2FUVA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DDA4C4CD0610A307189C83ECAE0120AAA22728C48902-0\r\nServer: nginx\r\nWechatpay-Nonce: e7569462537a4e89fbd9125d172a8af3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Nh0HmX907LCOpozQC8Yemhwt16Ekkrg+umoXboNcaKs2Tv8j/xXwZsR1NYxCd2KSQ1TUUNbQmt2Nb0qZIqwq8yncWP6+ggHZQuJofUvzpg5eVyzb9N9drJ4lbPsqqqe/ZZVEChS8b9jJJC3Xk88f+g6Jsd24puM3geWhnvusRkImAaFQW+GzQNNiUPregoMqIxvuae7kCr/ytImznhgCWkcE12CQQIzcuC/phep9d4LB4s6LNg7/9zzzP7bb/JH0j/hHhwO9GhG9pzN26fmsZCFz251JnfrdRiUtg2kYHYsgbjpWi3ocIJv8Z1lfx0Dldxj2IsFjmS5m3R7Mow445A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212253\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122907834387\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122909340729?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7fY8xCRa3vR6UWyvMPggmo8OhmswJvHW\",timestamp=\"1773212254\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"slvymPHSTurJbvsX9nR0tCndVDCmhyWmTtPpXeNyYPZ2KvjXlUa3ZXkD06fx1bcEhAoshYl1PreBsDY6BjENmVg5cjRe2G7hHXyYh2QhbXoJ/SRjy97KLXcCx29JY2Rc2KD7bKcmGPVgGo0KSd3iZRri+/DnBIQPTNEdc+92BC9AvNDP0e0zgA4m9YWkyUVS0blsX9/eu1tDejQkEzP0AQDbn746ALxe8HK7Am0ADx2MEbBHwGLeggBJoyK9FwwhC0ed5eJ+wtDcinv3qHvZzTqR64b7oUwV11EEyyWlwzcjBaC7UdxbuCvXrr9b5uW/oKKSrkauVSocq74sQrrsNw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA4C4CD0610C90118D2CBC05520AAB51428EE4B-0\r\nServer: nginx\r\nWechatpay-Nonce: 76bbf37eee0c59017c93bbe7c5259a5b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: n45aYMdeHDKHH+1N7x5w1xm4I9GY2G9THbQQOgyFwa4wW3yD5JlxmNHav876XJ53CiRsXveNiWcUc/6uE4jaMP1AVI0YFmbKjOhjyaY6wBNyUhTs8RwIyitdeRChdicfTXuQ5iKKDJrJBUaRP5VWwZNd6LyMV0vAjQBrt0iBIkEwdXcCwS7/mEOcFSb6c2Q3KEVgVLcaV8iwM981oDwWoXlcxgEOrlg1z5eyJDFK5YdXVWy4KHq586bOYNSX/dJohD8fC/gKjxK6LwzMwi/G3FQxQwdpLBbvG3sZ3sXdc6h2nRSoGfFuAicm7NDojH9cyaabkl5HU7goorhfmpxMDg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212254\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305122909340729\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915016377?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sAaina0gMIskFCvrNHBTgAkwp1CMHKvW\",timestamp=\"1773212254\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OI/OWJP3RQxlJiS60k+tq494XMgiRNziHw3z0aIpiL5SFu6ZYA8uJ/skue22lQ6QeAG4hvfTzqWYh8RfezevlqYfTotOAigcU9b+tXMU+tuIoiph4KrBeYf1Fc8ZWsxoqcWxHpQPR/UDOdOy4ctS38C9d95JA01me63COL/zwDNJWT4T9Lf5/7eY2Dd4IBgrJymymek40Wn+YFL2zvVWppRcw2qxG8jAyGrWYmb3lJK60CzrqYWtVribO2OuptpCns3aVXmF47hL8c6Li6mzmjKAJRpNuj4gin8bpHlH14VJRY8/YLRxN3ixBaCcOpWqv2kFzKS4C8eKlQBiH9vb9w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA4C4CD0610E60318C4A9C055208EF71028F5BC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 972c81cc67ef39743b37864cb6d0f168\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mY1U4nIioZ5RUeHdxYllBOaD39Sd90eJpNvUKFC0Qhc1NJr+Jnh0h4Ux63jn+vmpEiiz0/Kxwf5w6EaCCt5badN0mnTnY9LxEBlk0oOAUeOWL8NzTVjfeKm7iUsgGqByvkuczENoDzSL7IuIoh8rFz/WcosZiWx0dNfHp1Q1C1rjMNVMQHbJE0nYBP7yTb8eAeotU1IlB1lWm8FCnuPcqNkEU2AmY+8M/p2xfNFrjx75aYk/bc17p8cSQID3lUbIfUllnijFm7flcC/a0PFq08JoQ8aDOQTayp/1P11cNddVXMXUCIchNX2kw/ion2FY2ESNjk+LaOXraXf4vvjaNw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212254\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915238098?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HMxpdzG0bz8qetrEfF1fvgsS5t8Jgnbh\",timestamp=\"1773212255\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XWfwDwCmtt2APkQXXCYdv0+DYvgBe7l2O2wAbHBrQ5Vh7rjj63NDsL2Kn22wAtbZw6O49abDjTbhYVgAUihbieVsbPCa11LmqXkrYN/JXZeXk81fsA8/C375+HlWa7d3036+05iSlpamKywiMsqv4x/LgOOOr8pX/CR5pOUzqBvfZYNLbhUq/zze0w6m90QKApHBih4k9Qg4chjhdUtqKpTso4TyNS0ubaSUipvvnom5FB4ABg5PEzmOO2cOHiZyVCk2Pcj6hELyiVtEeqgXtX25kn0hdHTeAi2OJKYFuSGZbAghtKLL32KCdjAlYE4KGXFk2VQYCfmkAZu3iMdQ1Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DEA4C4CD0610F605188F82ECAE012090F82E28FE4A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 14c90463aac7cff59898f17aa6b95329\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FDa6ftm7Q5eSWKqWOIr81QfmThoXdPYYzYRfyBC+eBi98eFcqhSq574lwK92uf9EVN0PxNQ7brfdT1Wzv9KEUlRbCjT4gmPmndg3yN8qOWCKxV9nBJc3nGesa09i5N8DzunlZiilVdbWAjOds3hzeh67wW9Nq5CR4/r1dMaOS7gPzn0nsggx2uL3SAHEJhRK6A0fKOls0ApHxv7IBdOhuD3gY0yilyrJ5uuT2M9y/vh+GVLRp5c7EdD8XadvKYBQf2WPCMGvSAPYAUpQwlJC3G3qJylLtzH0F7koiPSRuP5YzbdNt51ZizVezUYFyuGCPXg+mP/LuMEiai0OBMimtQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212254\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915241388?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"22f7PMLWCz3dVNJhs6mkFqJVqMsmxjy4\",timestamp=\"1773212255\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"U9s5aztbx7HdpQkyinPXQlIOJBBD7SipJQl3ECnDzTGolnCPS97lUnaKUJ7LJw+PbagTSKpRyZFNHrJeJDnmdtskGsOla9KEuMonV7Vx41xCyC0nLN6ghYrGxBN0lORsJOCfcScOYUCc/Q0TYuVyObzeReNbGWqw3Ag6MXfZ7HBTu0rRDvT73x4Mh94043PaauYEMXEylNNjwLRHscLVdtWRK7wRxMnURY2r+2Nm0NqRKKsl/634b/i/FGj8S2srJptuMkzNIup2qohPNaqshDQm0mN33t9FJxCtU451OS6N8h6utmzIn9rVRLKfEUnMEANqqjHT+lr5sH/lWMZ66Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA4C4CD06101418C0C0C05520C8992A28E016-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 249753134b09d8820fe85dc12e5ad033\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eTWrb/fNB8ckC1MVcmyViHzrYTDK2+lTdbJifVsALw2xEOhx1OLtoMU8hyzTMtuTB8fD4lGZn3zPbisr9HiV3vDMt78e7d6w0orgRm43jK7v8JZASxtXfRQmpJ3e0iNWrQrzISE/mjggfJCcP/fS40QLawg21+ZY+Kq9aj9D9DCBZ/wgeFCEEkK4QEJD9zBekEGMRRHWsatAyLwHRA5un1FOfvNpOH3T9XdK3RcXcmyO9Qq5j77+dtUfOUnUdcfbdFAsqd+z0AqtbHd/1i7YQd43Peg3Lg9TdP6nz/i8JLdAm86E2sc2FxjRol3tlVrVxvAflhCXQHH61+s4k1/DVA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212255\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915559376?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wjsFB7cnwE0gKNtGOaRmkEYh9JzBHrjC\",timestamp=\"1773212255\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cmOKX2IY3kUkHRi9ODu/+/DQKPeRgQomT4ismeOseWRglQJjsfvyG5YyciBHj+KRF4ymE/B/kfJMyWy71D2X8jSTOZIwIA3gpIDJfxZ7G3E5KqmthMAwQkHz95PZmhk4U2MUGXES+ZfftkB30ZKmqhOoQhRRNh1tO+MRyXgaHN52ZMi1btI5F19dmqt/bH/ahE6KejnnClgV7rvsXAeGjn5p3gzsQbqJ6H337tEUxgugFSacDYL+1ud8Kcl9+tfEjfylupHoMxOES3IRbQbKb7A3Am41ojW6jPlpoIe2rPDMN/vdjVL/Wxe9yM7G6h5FDDdJHdd6jZb1O8cHCbHPGg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA4C4CD0610A00218ECCBC6AF0120AAA93E28DBC805-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c1382b933a35ea4a2b9b417f9e0ff918\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: INI+LlTKw7q7etLviDR5HhECnjA7VNdCVSxiH8GojYwKOCqk2jk0PQa5RKsUP5EH1ZmQRzx3YxfSpYebnSuFheBznQGUDnE5Vpkou6L8siAX71LXKrIknmik7IYKVkDyKr1ib/rYxzPLfxMe4xjCgUaKR7O/heB/eTPsAS5eibCq70oXQ7Sqrregiu3NB3yM8mn+/9wlsQ1k/qmsIPqccNtoiVEipGNs/TgMKvuuAygOxOTLvMHbxMCAQeDaLOkCehOOjrdpwN55U5yCkTO4dZ0ezxYKIefQnc/XQs6jjMTFeDl7lQPDjfLO7vrDmHau6zikwT+loAyTs9qGlJdJ4g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212255\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915577542?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CK2w4vXUtBpZ8y9p0IHUV9DnRKYXi7QI\",timestamp=\"1773212255\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"G6qYXxfy8hqaMCRtqLlSr2B9AqAFHA7lEU7EQRbTWYppuX/s66pdzcoJOF5A0f+FRS3ZT6IoCJDTt9XwGMG0Qw+vmzhz8BsmqPMeOYxdJ3S3OOtk//h51G2PqCnw2P7aUk2VtGT1DJ13akDSGSGabuCElPbxYpqdqH31QfAbURq50EyRocTE9PlJMN3Or8G90SEwgVkhts4NvhrOrUEp6CDqI/ND9PhK50bRxVSVaroygSk1nyxPKli+TXwxfRCjWCaPTI5CK0jFNyy/FrzHHNdduAC+KuaNESFzUuFtYWrNNmFL4mUCC2x/avixxJo5nQLsVQGA9Kizn+NA+M/ncA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA4C4CD0610B104188F82ECAE012096F82E28FE4A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5e19c4062576502f272f73dd2d7603e6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RXbkqjuTlpfMytW1wMnQgGfOAaPiy6penvl439o2XImPIWsEHcG5Yb6c2gpDGF0vIPHPQliBMlzD4IVH0bMcbOeb1ydNUy3i4g96/Ym/Y3u3ehXSeb/GcOvaC+ADxdD5Ip51o5t9MIwuUUvcxIic9abbiOqNusFuHmetVElDYDpQRU+2cJNJHNxYP0GRFpwaMKBHk/rVPGDAnzKOQElWPbtYMn/7HUaJPXO2fEvvhKp4SMc3s6e71X530Mk0IygKBGqKfPOt2OYm/fTNRfeu0S8fFpya/joVxVW/8F5/7jdlG4Y3ta0nYAl8VbhhwQT0QBJu7W3G/1ely0ifMkg1IQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212255\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915589197?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mRqfQAsHReVHexotGHz8qAH7couorsW8\",timestamp=\"1773212256\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VVvbmptju5PP73dHASjxL32U4uDRNkM1bY+zDYXTyQ1JdS6WJG5rdW3LwfekUNdVMmvzOHPW0wxZgvRVYnFmOnDachN+RHWm/tJUI4MzHmEe1ZuzLmDymH+zsD93Co985QcbJN5E1DXFRY9/CSEBZ8beZclJQWkp26VWQDmHRVFeCczZwaRYJguhpZeL7tm4rWPuPz00YrEYLABFvb3bPUAZA0z5UbeG92cVWptKQD6SsRCDixbKnaGH8Pc6m/d07IO46gb/VeidCBm6zuV+NgIhOL2+qRDYK7awh093OmnLn/HKvqXnRiGxYZnT0Rk8070LzOx3/eNts4y65LnmIA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DFA4C4CD0610D90618BCB2F8AF012088D82128E6D902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: afed27a4ff9661665732ea12a23f34ea\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eyZTygtBpzdGvQ5/vRGg1hHGt598MWiMXMj7WDXpfpLJnw7kNLB/YroT2w+wBObt6zy2yESGUsGvtGiLpLh0pdtWHXXCWRDdNpFzvNb0tSD8A116zIOKkwyZR5cu15yJh8LVmI9JpWrZXJ7I3u7djKwoQ/hgXDZDDjmR9cx60dy3AJ7WxfUqnuHdY7VC9z3eLQQAJKKM2CuBfXEQhYef3Y9M7RafzBSy910hIn7nVWx9TRyPdWUzdQ2J24C69fYtdObifBnaEWh6PZE0Jm7CpAFy/8BT2PTZqR/YK27JdQiAjD/ZkJj/3ZulZVqWMfD2lzJLxl+WiBBKpbTPcVrVtQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212255\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915656760?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4ZuACsSAxOc5jiNWGOSEX7GJ0K7FqObR\",timestamp=\"1773212256\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UCqW7NQH/1/x89K/q98UNNSz2ZSFJVHwTLWWW/GMzWS5Inw6fQOSJkujreHqd/ENvyiQUCyT3B4bOMYoJRLpkTgHIfm4gnRjuwK/kB21k9akzztS5q0+p/t6CgNEp0y+8qp3Oz7YTynN6xVKTXEp3UKZdVCLxX9OuuRWHjbvfDxpniAz+ScgyZZ3a1DA4ZlAK+GP4RxKtSRkk7r1m8ZLN1VYT4o0j0LbLdZJgAtArVj/PFeHSFItSl0nbjEzWrkFNiLxErmBIcS9UL3ZIzKzZj35aGcXKQi2aHvMeNrpOX9Fj0wKNtoPmZMYBzCwjmEuOsxJhuv/c3Hpz8zqrWn50g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A4C4CD0610980118C4A9C0552088D70328C461-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f3e7703705514b1ce0a2c1d7bbf556eb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xNS05BQUkMUFBnBaE5FrR0LTQC7Gu7zpUD66TefG8HONft5na6AO2ICml/2OLg5kguGIlLD26FV4dJ7R96xK60Mp4i1h03ZX2yPLwA7F2GWQz0Yo1NONWdL1cIJU79E7NLV1apjHBgyxaaBhQKp/kyD9K3VHfH2QuVIbhEUyxLfwtWfAwW6qbV+TlK9s2QwWc6xZ9rFqTn9ALGsO60R028tIMVtc4qYsFZKb+kME/F0RGKnRhMBMmTGzhNbKyA0jkTp8Kw722OyaBdsK+CN7COp9vfeOa4zJBcv0fPcZjvPjU/dsloWaFYcdL+J0n0iMOLPJCiZMF73adINEuj3f2A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212256\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915685776?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8BVG6ntJSebFsFOjqiu1b1PBKiMcoTmZ\",timestamp=\"1773212256\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0ImIsyK0QMuXitZ8z4/H5oz0oLX2kSrSZV2OBPlHVR0HBBaAYpm5HQ6tdLTNlH/rPat0hnx0bkX+4TajR2R7DTpxc9Q3sQ+504ZtPGDgzgrW7RzhOXUjLLpPF/uCsSzvzi4UZdDQ1UAvolkyk7GUHDF8OSyimfCwRIztmJRNlfbLv56RdpcaRxIYPT3mxKBbLUtp37ryUuC0kg21TnSLcVdTehhAtmLoa7i8ov3i77cmQ0OGN121YZM9KIz0kosH4bribtpYRqweZy1xjeYHg4i0DS9THqaHsQQcDhihuQtWqc6MgEIaGQZmGtsQHL5n0/Dm2rL69Hp78sWZRX9kww==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A4C4CD0610BB0318EAB1C05520A28E0428D6C203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e03ab2d52ad26d8684d0db864efae1b0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FoeYLj3h/eK75hXadlPXGilMdZ3tLJ5LelwSosHpi6oAGvJYOwEACc2B4psIW5BcJd1nLKNZgaptwnC454TskqI4P/LMFQv3E16YzKTn0k4JHhbAgZ+2v6SfsHv+q6Z8VNSKChfLVyMt2RzI4h577n83r1orVdyrLbioRKJGe2v7BS7AB+mGR+JjrwZ2NgBqSzADnezqIUFcSNcR9efOc9ufSU3WnMGO8Nx4bJo5lMRbJ7dk9T9QhLOiim/AgPOmwA1tSpVmM90uTOihgFrdDvw+fxaLrUBOINR/Udbmp2WgeMAcBzDlv1yoIkGsqzdjecOan/RAvXJKwnlaM/rZaQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212256\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915689368?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"56N6dtmgzJEU9spLKOu1QgIKdR6dEAMU\",timestamp=\"1773212257\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uKNw67v97ty3hgjrUyISUDxOBinhLq5Cn3e6C5kfeokywVbyGxBMUusm0v+HtfVHozPbvshHtxGAcdzs2dQxUgyXojLSwr+/eaDg/8eDAEJnjtErlC3iuGEfI2bvjpll9ajzrO24MDaLgn+c9Bw8RJ0qdMXJeVXCrLB5/KsD5ZcYv2TTd8siIWvDNO/C7BeYLtoDUkQ8RMIOT79HK+TYVf0aAw262ri7Fn64gJ3FhkPcqlBK7EIMZx/WUYIXqjFOnZvfbbwsOr1fQ3mQNU9zaKQD6ur5UQEOycZw97fTXV+rR9lExcUWe8Akf4cr5g+J4KyTor6VWh0ipFYp/Ko2Bw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A4C4CD0610D405189890F5AF012080D03B28EFEE03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 328f3438aae7334ed66a2fad82e912cf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QaHrJ+AvCG525T6kxCtOMXbth+FLvfJC6xx6Ejxtjgaa0pvNod9pU+PEdeigwMNz1Zls5vr7LgXMxmHWYmVmVvJN3l04QL9tlpEL2XhLCXZez181eFcIW96rrMOOKOfuMlwpwXleVvRu1qODoLN+jW16aIX8OI9tql/5dGMnBZKfw5jctNP9o5FENywOIKl8TcvZVN0PzBFJ43HvdKTZcWSMZnITeryKtDntcyk64SXz8niOiFhoz7Np/osVr/n/tTlpV7NE86LJnZlN8ApqmLKUuBdgNewSvwSIe42h8K5TgqHxG/RqKoRt/g+QWryTiQ5RkDBob7umBv5F+UKj+w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212256\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122915697397?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0hSjU07epjCBGOTSbRUctMBncZnxnfgs\",timestamp=\"1773212257\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BfWLrCUEDgsBO2XtVfOl6kb9dfsDFociTS0uWY5DtIXQ6e8F0yWTWiKew/uLLQAzSRn+cgc93/vXSLFxmQFKTigdBSq2xMxUrMOPZP5iY+k07dYUtCIoPw1QLDTO0nCavsWpunmD47L+YSOo3w1CIP3/UizUPj+QRCYzfhAMcHbAyAWsnHsjNnmWOwRGO+tuguP6Cu2f7YFVub1sJligtHwR7qeMRb61tqT+ZQDDmaU/Sz0GK3UWSUShrd0aMNUTxaOaP/BnDJALZqVBVtSltYXIj2U6VL5kaYO6BhgyET/On/0JkY1ETwbtYXQ50wc7SEFtgvTrbMzXxbufShRJlQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E0A4C4CD0610E10718A6DB8C5820A4C73A28AC5-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d802669ba0a14b1774c1994f8edf5016\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SgrZK1erwEUSmoqwDR0iKM53/WtVwDQKmpZ/15yKmNQAEWMTgo2pX5eN2V8ioS7l0+nlzYmyRvQGcvHN66bpdMAcGGdIVsW8RN1TTAMCwFAgAT108oIg+8hdHkSM26avu3Q1fuZ9U7m+pmq4iERLphkkGCLN2WKnoHnA0bTWvMasX4D7wBrQkZfSzKcvaeqZotWtgAhc3So3dkJdVE1tGMp4QBgH9fzgXHnboHMIKb2kEsDeG1I3nj2rYZ88hgWisAb88YIordRDGeiTCIsuBtmY8ef35ShQ9WwguAxXQ2ZkDWKEOPdshAZBlV/CDDNKPJcAZbWId+xKMT9O5NQ8fw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212257\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939165324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"k5C9Ej0lSVp4RtsJawj4I59y178xfkRv\",timestamp=\"1773212257\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zgUH/AkLqZSSKtnys9j9fnpfnmlSSrcuUueALAp/7IEMmKxqSE4HJ/RPXgl6UHXFpe4O1xzauqd+6xCkIZCfCOPlDF9LclVc7Xsmgenv7QAIiD817roRLH9BYrfC8ei8tQRo7nRPBdHKNtnbluSVpPibJBr2FgVcOnpZDUY9zpui01w3JT1HFZFV6qP5BLJnxfrzrilmO/KF5djjExnL7Dbqwe8e0cWpDK6CXPBmH4xCa6b1+LxYKfjUwpk74atMcpgl5HHsHSNQWb9fhRIjzH/GBMC0aMBK4vdF9+tlDEA8PLGDHRLgk+fNWXvtk5xJGe/GQqg8iNn7bQTVTOmdKA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A4C4CD0610810218C2A9C05520C6F31D2886C801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0b09d21a520597e9f55f3e9b83dd5462\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uchlwxEwV+1JTdf1mudxXWdrl7686sHRWVrXMUOTmht8Lt+xdp3G9Qx5T81OsyExAwg3vBY5FcJmYZTuvqjKOz3pU+hQiJvaKvLs9U+xILVFUSXN3lXd8JVUGeQoelaF3ABnblS7DyKa4hZQG/jeT3UxcgOfWsh1ZKqxYr3SHd5NSwuR3tjg5m8dwA4DFVTj7J0JHqLDe33bL2zMNQQjaBNzTe0WoYZYSsR7i3rKHZKyQbnekxOXxH+HTZqyzYn+nMFfhksMIK96NLArF0uZZ6FaGc4B1/7VrNAj5fOg5t7BpmrO/fzef4dexADOhJJvyc1raQJa3zp2oAmVlmsseQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212257\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939466673?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dC64Hd95WBF1oYwo6qyVAU7qcI0VXkn1\",timestamp=\"1773212257\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"frHLcCsbMLLIeYB/B2GtgZ3/L4EKnChcptSaoktw25iB2qfGWeUG7wU/bcmyASSF9cCErbeQqAXbOSnz/spKBDgW/nDFp+zQHk8oZAb720jHU3tX/727TWUEpoR+v8Z7NGqgM1uWqf8peagLYhRsdrUSjPrUh2A7PQLlntQC3BB4yG8uUs1SVQSCOMQ4NaWMurIjDc2obdqPf47Fxxl5OA62sSiYwB9EzpCZwCxe92aalQlTZ65qUBROVCfGGdmzT4FJ44gPZIIhdfZ0vQsrZnj5aVqeOxPlI9CAOmd2bAMYBj82BU856CEnnfq3jhwYAxtBIta60BHHGoxfWWXfzw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A4C4CD0610800418BEB0C05520BCD32028A9ED01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: de53c8853603db5dfdb6dddc89e3421b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KHF8FELUxMxkq+i4KuygGRv2XN84SyNkOAsaOdOkYlq8jSx1T1DOiYvegixD2Fj3OZTozTvfHEuOhsvyW839x+flOK+RKS8pRZFhL3XrVHBI9jrVpAPEEubIAA688lOFi2La+7Sxcf1EMYOnDHYCaDWgUnrPY1PfcTHu+I+R0vQr+Pvrqc+sdzgc6lQaUeodAByysGD+pHdapvNJm5e8+McHEvaOJ3SBfuhCPQd1p35qmrha3Rxzc9v8oWs8kiU2UTLVbD++eL9C5CNfHGZLmuqb086WVBwO71I6rno5l8efw1lSfge8pYvhMZiHJmtbapJuRWYqdloYttP5YUjxKQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212257\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939823237?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JE83d1x5AKEFZAEiQ8OXWnIdYlhsgDSo\",timestamp=\"1773212258\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bbmJJaig+pQxhA1CApFBSbxT9uht3g/8T/tcBkUWAl5ZRgTM4bBdRHZlL7TKE/QCa19uJ77p7hP1FZL8MwLYdpmExqHAaVJrPDY+0x+9ep99PL6YXVgi6mcIbF5r7xK/XimsFp7w0AvO1I3wsI+IVJhr52UB55MgXj3u+lJLU+6C3v9XmMBSmiIwy/TpQeO5ThPCy/Tbrix/1BOlWED8XnJpNn8lpM9qp+qZPO8kefZj/xQbQG70XtTvYawq2ZRm2kdc9wseKmueVqYhZaQKZRS+DRQcp05A7EQAeVweZ5uh+VAOrpAbYyCZ1W+G05Q3CMa3IfTsJM7VIuQRAdDcqQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E1A4C4CD0610A80618E4BAC05520BEA01C289AD305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f5da171f58ea63f213eb6f516435a53b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d8xyUlgF1A7Pqi/ZfG2ZiRs/D1SNvf6mWsPH0+mU4e6ojpQK5pzmyYBNLhSEIBBl82AIjVJ7nuY/MC3Qg13S5/X5b6FzXLDoug7uRgdqEIjxum9oGfv2QO1Gis0oKwCoq1tOWFyroBEnn3SfwWOzCIYL+yc/yFDfPC8iwk7rBh4o2tLDrRjuUAzgNAuS3+VaEF21w/Dnx701zWf3XUIQiJrCyJBQJeiA/Nd9Du3VQvR0Aml2bsA7ME64OYGDmr5k/THec1B0S7wTnqR3Te78hbCmeJMR6HNEqiezZ0HbHXVdxZic3/S6gb7jIlGNQ6PAN2CW2R0L/mvcg0pIkYekfQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212257\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939926352?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CY5LTcZzu3kXaIMCTH4gRDHbJbq7UNhC\",timestamp=\"1773212258\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iAzWc6UN1NAUnBp43/+6VAKUNNXdw/PrdGSFv3aoMEDeZqzCDm/W1A37Md4PyZl+TtmLAAGltELTsE3E7/jgcngwG/2SLbTqB9Mq67z+CY4DD1wFyrKJDjgF1WFic9r445Z8QRmSzcudZu7pY8wfqRkoWpTWIHAhhm42Up9Is/6NTxk6L2aGl0mF7PkjcPv2pcVUOlf8Sw0AvJiADud6P6AEQNVNamv5p3R7x6s+kK4iv8Fdy2Q0fmKXzlGE52fWog9aYGxfRKV8/b8M2EhhG0EnxwlvSylHjufEoALJnc8TGNUMXlF2TIfGlk3LSy60VrRcfo/S5QDFe+Gen8JWGA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A4C4CD06105F189BBEC05520FE8B0A28B1C902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b5ef7836295317ebaa7702a2537544ed\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uClD1HmF3Hw+Nj3OidCyKYylovMjjbAFkT5SUVurYCzaVQ/kABVQqAuAnRmxVH+9TXAqX3XYV6Ik+EA8QoOg6QSEjl7UiL+uW54b2KBWtQCL1E+GrL1YykdnJkpWvXUC0GgZBMGv1vZ6MtWp6NC03q34Oy7YGwLD+GHovpq4IOTsI8mwG3/mvWoaldPE06zIW/lRdX+zk4a2r54apNcAl1VdvEco9salxL2he1ivox5KtRSQDLPYStEcu8Yrx/6rJNSp8dEFkB8uY+dXqUmWfQs6V1W4Yh2SYGp9QJZ+YXGAFm+zuOhSOjLJi8p6xGwOBVGhnVqId28GOPeEncJUzw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212258\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122939999955?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"92dGnE4U0ulJitd9GzqqEjrfsYSTrV1w\",timestamp=\"1773212258\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ck3RPvljz+UPUlLsPe3o7cDy1yq8BbZQchQ1hrgzlqcvP2tCVMv5Q1zVtPHeYG1zFZ6svi9XYZZX1BC3Q1pkZ+xHr8CZEoMCATSbF/IessPU9PpY7CW5p23gbIcThegnmU2mz9FRF0XSY5JD3Wm+9yPppKw2/rHM8XXp0NxwQu/BjKjc4D+RMWIJ4cluVIspITbQQUOGZj0F7feeDFf3p2fOX71MSl9YSh1L3GNTCOCVL7Fbu/tkVkMl6xAhMeo7uXmQiST7y9P9h03AzOMDIAu/MIomBD5Tok2ZZaCm0gDZFryQVRJw1C/7nrrrE8AEMsTfBqivqSZgXllahnJjkg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A4C4CD0610E30218FE8CEEAB0120BCD92928B4BF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 598b33bf7a6a05a70830ade7454d20ef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QeGoXJ1NFHCojyf0y2Retdk5oDxGxuyG8DZS/92V9dBmLPiNzmgODP/QfA1pGDBVtTRG+EMrvPRrLvzWj/kIKJCWVw2ujIv7N9YO0bd48HKx12nJNTNWyryC62Erwp0yNH3CmCWdU391OSi8lyHsqJ2luyhl0UtfVxl3mtzs9ivfLQuiYREhVzzFYUihP2t0A5ywfDdbf3COGjsxcQaciVOjsLQttWM2s3eAXUFtPF9G+b8HnA5l1tBhEgp3DrCqCAslvwJdZ1iFaeyo/IcNedwi9+3vOdkQsPvAp9O3taixAPQs6hctbmHwIXPXTTDDkA0urw73/kyiBSlUiaOtmg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212258\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940123132?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CWsNPEc3ORjdiCyqimUCoazxFoybsoWi\",timestamp=\"1773212259\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xdzIYgkrp6bNUGXnrn3v0XpoYw5kMSaZAHlzNO45DDTFrhsFL8uHpI/zF1VB2GkQWJUAPYTp5FU3bx+KzHAf+toQQVU2zgkOZjNeZDwME7V+CA2VEOg1bgMc69opVu2xxzg7yyGPmebkf/207TCRefaNT2MftMUPC/les8T9b9R2gTn2Oy708ZgfYU7jOpuIRmxpowmtBC7L8lEFwPMoE38N3xa3Vdr1+SOhJywSSwv4CMTRa4KnMkpOoiHFmSbVZiwI2uoIo9JtcXq6MLJR7rQ/SXzs7upNQZ8kAc+YLzmEKaSw7ufFd+rt4cSekMzMyoKYpQk/sHRxT0exVFg2kA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A4C4CD0610F10418C9B4F8AF01209CFE2328938001-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2df135e685ce3b4ddc0a123f923b0080\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WlCsQKimhYNm1wJ+PFk2vLqHGg5KhbX0Fcw7EkVBKqtPbXJBTS27WJGMX4vqZnke4QKbgWuuyIN3b5HpzUHPCQn//GqY40ibg4FOLwZ+JrwBAQ2X/s9uS9Ey/JwvFpTUbAb2g+1CFhLV81Lvh3YZMR1v1Y8nMrOYrUv+F4juEFk6QL9IY5qh53u74BGpMGJvocuiD6hV4qU15yL5CGS7CbR9DhNX8DjzQDbMGK+QRwQFysq7IcOFkX0mcHOQ7Mbxhrh88ScLWY8y/R/c2m3R1BTYdCNSzEEH+cCq+f+BJoO2xTbrE+rc7+Bud0jRHChXT3lxdxtm9xTIInScwvV0Gw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212258\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940297593?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fUWUQawzdn8ZgQmB7JpwZ1lqB6yUahJ7\",timestamp=\"1773212259\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"k8bswFll7M2lAoiVs1JrGhUq4GTsasm0WkbtfSay/A0lLNT83mMVQYgb8lX6NxuksmfcD/Jns7s2vRrSc+bB975xfnCDsqv7uctojUnAuiDpF/DN/J9SWxu32mNA2Xv3W8L2ukA9QjpZama8G4IployRcxDHjK2oKvsjqMwTu9sHjPpMZRN9fXCKLHl63mtE2PgOPc95erwpKQr02+uUqz0LRdfulgWINrASRspBO75LSAfMHgkLB1ULj73gVWHL5VRGVAyaITls/1VZDr5S1WuBuzhepfVA2JbIZNxVIhsANzETXOcEZSbungb2vP9CFpdDqP0Tu2VhY+dzrT0b/Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E2A4C4CD0610B10718BEE7F8AF012090C9172898ED01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1196c853fab80e4bb94f5b17f60e5441\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VQhT9LqvOzwlHTjVHQrQBgcSJYx5Wetg5g2OVBnF/yRi3w7NOlN2QwH0l/QRKyAItUlIzvE5V4GiHV6emEVmPJ0sTMFNFFMOVF42OWtuJVGto7/ey33DHcHEQ9OXOn4ctTPuFlTOasn/8y0HcluUgwt1cRPr8x1vJ9TsXvz12OIikgfMNij0C2fDCy/9ZwrYVFoopfwK9pw3tT8uRGJPrW5QZV8gHLY0q0gZKy2yDbwZ/7bC0xo+8Y2bROBlOT9UrYNgOOkjmOqDnpBgsFucCdDQ/2GQwOiqRtpcjltKqvmU8FNqIaUK/ug1vWCDwINRPzqXxVDCsqHbua8kryyGIw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212258\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940373711?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"C0sSJQ50cMlCERcpC3ENz9Qzr7DEVz0O\",timestamp=\"1773212259\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VrD9yQGYKbukUmWq5xKRSac/IQP6KcIxU/Q88qcU99i2CyjsRhWy9V2q2FHn8pQyfiq8IHje5tfFXsBJwDaKZm7VzckInDKL7y2iDvQCuqFdpHE3AjzQgax91oFVChoJ6tCYuhTVO6UJdgKYN+JK3cSPkZAeltI3anVjAweu5hyUPlZkohQh8DU+zoK/X6gN1imJLoy/Q9Oiktc42wqL3lCs+0ZwGvbadIHVbJo9pD//TvCE/mQQIHu3hgMcVcHvuEoP+Q7zIqzqTNbUwxsGepnBsiXqQzIBDSKkxmKHbC/XTX1pRR/ENyA7f/evxFhz899IUZL0w/TwOa5FeJmoAA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A4C4CD0610E20118C6CAC05520FC8C1028EECA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 886b975c2b8447a2034aecfa61beee4f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LQSloKpXwRMRijzPGP6YwZFe3dYkE3wQvHHtYnFL01mgsnR/nlS+dgef7E0YqoQtaYhKVuYNfzr5u+kzqGQvoxmw9o7oSrAnGFHx/AgLjVVu10Tm3IgL30tfHrdeHduyYAQDIZ1l9Dw0oBDQji6iqePQHJytKdD6RFB3Bje7Y1gDWPL2pVzofR2MPkS/n9kfgNXySu0ZXG3+DBHZyYb16vJ2AekgT3/45QGEfAv+mJEkKa/gkXBCI9RL4BlqbSVZpPQOh3vlRNwRvm9OZRxYtZSzDzsa04wuMtV5Sdc9m8Kz38PgU9RmlyEp7xl33fhSIWAOfALCGKomBM4Uyc2G2g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212259\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940697377?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jPWyRTQ7cVOA4DZrsI8IdWmRj0nIeDLR\",timestamp=\"1773212259\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Yo+byebI3DiYusLVZSM2P8qzz5aImQriWtbAvXssWqP2+fijulGwaMpPWjAq19HVsfOV9IhvF4L91ar687IMolWEN0VWA+bO+Kl3dIbiGY5W9rWRqPMkMiyfmMnqs70aXZeKLh0S7FibTEUHLeRVtmP+f4m9wgoyVYTXmmVcWtd7v7UjlTZSRSf7wn/R0VftArhVsLTr7DWzxUfseNzbrmuJb2fSb3qywfU9CVt0AAb8Du1fOsJZz9ZDZzKF7y1t1MIQwmdvLCUKgFiKUIeqvepYo0Gw5MnjiryMfSFT8/du11TZYCAA6+oiecSvKhckj70qCDFShM3/jaMgG7RTRA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A4C4CD0610AB0418AEBA8C5820C4943628A29C01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c85776835375e9814a918383cb4328c3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: i2cWYqzvnA4HDYSKf600jQWBMY8I0MRsxYrrYUBEPpgwOWnO0f7oMgzzcGjqRaYQigh3XKTiwWSw8B7tZXnOXNAjKEUNcHhVZTMYkreaaBC9H7+oC1rP0ZyQdYNo6vsAkPmU1C+r71t9eE9Oz1sDD5Si0t+PpO602DTAEd/VA+/R3xX1KmhfHWDjohjB/kaGctEqLDGL7F+Jk649cTfZcKpcQPTDyNbRysV1LJZ8cWNhpKi5goA3ZWGbDFgq6r1j6fWfe0jUNjrbmMeZSfc35sXQBtQGGu3yqV7wgkbi20C1w9JSMkBjxpqE4OGm7DMKFHH6EVqtnOyyeX18w3X19Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212259\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940710641?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KczGLswYsw8bDh3wXS7kQLbuWcgfiTeF\",timestamp=\"1773212260\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uESDx+AOOSppZAT2se8GItLuxysqbnvRV519sgEx5+2FPthlRdzJrEFP1yvJ67gah/+tUy5gBfrY3LSWfrmzeH6zMNEbIJq1s4xJ4XBPNDmmJ8hfKj7eMfJdf0BI8g9Swwl3jTtQj/hrLmOLwyRFUI6LkUp5BehAqknEEUscP8dWfScidebowtd+Irh7AyqSq7GLHKsFHMLFp7Pl0DC4+KWZJCowh57zbc2UcPibf5bNbKYXyCtlS/u9t8RMzOfZAGUEgaPP4b9wgh+s5vk59JcPog+HS7ldWIT83HW1hk3GiEeTRom4uDXjJT7/0tgdHqixrqOGy7vVguqLVtf83A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E3A4C4CD06108B071895CCC0552092921228ECFA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2bd3b8e80caa4f43117314caed520cbc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VlYGfEA2tpdO4FP/6a1U7KtGXfRNB1RBovvG+eObia/3QlB46WrOqkLlDZNaqmh0hvJnoGrAt9durH0EXyO/0T98tJfuYflOtst/VTEUjVHiBixPUs7oYoXWANhFFvmfy/hqFiI8tybIjc2u2GSMXYEWoOA9cA9vJrvDhbiVPF+n7B2i25eMWdojOCAFqhRkH9TbMe0+Xes2vU1ySb6OZmwCwe7SHr+2L/0qH++mB1EdQXEjQ94LZYk1xKrCKIWwRi3uMI2Ndt/pgZVMU4R5NpUyvThOkGDZ2X/H5GMcCGPmMctTjWY872XDVZGiovVzbWbtTDj8sLyXpZ0xEbM3eA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212259\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940773838?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZpzdlWdvBEERXzgOUxyouhKVRvx6RMz2\",timestamp=\"1773212260\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nXmDrbPf4ceYbFhxkUxQyAUeZ3xRE6DLlXpa3A110j8yYvJIuyTtxQA3y4Kggxa1BsD/hF68LWZZhIO4LwVLwvQPotuwDGR+kTIuroIdBnFOCDZyzor5xmzyrJ/fVbKM6iVPQiSWlVvxo8Z9h8c31dKnhDrpSKWOmaWuX2Oh2td2op17rKvPaWPGs0IEgD83eWGrhrC4+mrCGyISrOCxyIiu0k7pjmKC3lMMkbC5st6RwmmveMJVrXqxTs09nJ61gGmpb22e31ULWJ7u1ceV3vFQOMz80WyoNvs8xLOUZd+d/5WXYmCTLK3Hqq+eoCPshhW9nVpUngacaO/T2nk6qA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A4C4CD0610C7011884C48C582084B43C28D0E303-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ad260c3ad80bd8d3585c484efbdccb89\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GWDMA9HXo/lXXJOXB8wi2CsW4IlV7h6fi2L5M4rfVPPPkVhxwlr6HB87ns418FiHpDTBVp4cRjVOAlr274sIqIlMzU+QjSVF9OWcJSIkyS8kr74dqIfmaaNCoU4Q2AdmNdcK4xgJQCZuU/FI3dhI6jy7sgXpdntTh721mInOZU1IKwmZfdyF10tAeTepYwgF2nDBW4G0se7TSOVPsecZ0QXwwXXAIuin1ar9IPZdYGTuGq48TQ+rUszM7MnplNqIXnzwZMX0UJy/r1zsBTAm7gEizfsgjKOik20HheS80VpCeE1dFFX1BJFdOjqYtLuyoIQt5Ydfnih+AEX88zKNdw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212260\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122940842376?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"S8w1988eSL5D3jKc8ubAroRxAENvXCkk\",timestamp=\"1773212260\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KdghaBCXrn3Kw9MR2samy6v3vpxVakeMZqpwGslbzJOjmWStD5S8Rx8fQNprRTxbwUW2l7RdZ6bqRuPMLKNYX3U2PLD1GuX26UZTrQ2jIPThfc0TmXkCKVPSIMjYoWA9oycWQo9oE1J+CA6M2hcKDscTVR9L3OCGI8gyHXr2f9iaRyNOi3BhGdlpzKYeSDgOhN2OgADrivkl4N03gHKIjIa7PYLVVgEiaW99UK/4wq2Ee/J6Pwamk8etaLr9TQQjNpKTiEKYczz0WPSMxwl0QebrbykprBcmFPLgBWTYtKzN/YiF+dHMqecRXh65IAgqXl3NkgxYIxrSQwTCaCny3Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A4C4CD0610E10318899D85AB012098942D28CCCC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a73b0114b106ccc729365ec7e5acf5d9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: guLnV+Ot/Fz21wzJim3eqrl6rOAmmZD4ntjPoBycwX2GUFRyIQEguKdUWnF7C/jT5Hd1/9BPeY9jg41cgSZWeSYGlCcn/k8tPPBlNfAPFQD2/YpwOsXNMweRI7vS8EIlXdmCIRjfjIoT0lcORIBehKrRQ+aXln3cUEVNeXWSrLFKGXQgR2Q3T0o73hUONw+JIyWUO4JIIbwxyGAPkR0wWlw+IXqIB74kp3Bj8Mb77ues/3x5qch3oGn/Oj8UINsA701wFywcZI94eTaFal57bUT2rlAd90q05C/B59ojKNYz0ct+fKvUSCmxDY6O47t+C0gX4ku3EWTF0JZ681z1PQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212260\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941050911?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uTWJK3DxJ1qCsXPu6CF3QS7X9VTtXvMk\",timestamp=\"1773212261\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XzibqLmmHBpERG9wyNrvZukmU076H9IDxbp4PTZJHzhVuxR3VNNzZl/freIwtLbmXW6NysKTpP7aE6/YBKfz2I45BDhM5DxoCgS9u0f8umsLsUOkM4LP8GNjKLKHd7o71ltL7uKeHg/t8bJNoaLqoOxRQSBHWtN7VlnDMu4D1AdlOeyDqxxuF4ZiSfCY98JZPbihhlmHwQNsCbVDChh0kHOp5hFh4RRVgKczpE7N7UNm27m3UsnH5rscjQciGOGmEgyyHjcuqaIYFfqvN7/cPKRSHVRtPdjbveZvehSTbe6YqStJzQaLrcfGa712/0iOkfaPuAMrKWZgEq2F06mILg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E4A4C4CD06108E0618A1AA8C5820CAD80D28D3C703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ecd2cb160d582ffe5a80a4cfdb2083a9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VRj+sQ6Wo+5D0Tl9LmrjznHw8hwEQuUqhbQ9NFHmoklhyFAK3ASYVapZqPvPhY99vDGyJwKY/hI6vZOECFRH6DMLlZZzlr2lms36xiBmPQdCAxLbiIpwFGPfjwsOmzmIpcWHpdU0gFTvFsRzCFQhyjlFoUM3FnVo9Xl8Pyj+cxG3jFXxby8qwhBaynlkJ1ASO6/8vYkj+5Fbh1EpxkATp1gjnyRJEXm62DjE+GJ/npc26DHnd6NVQTHh4YNAI1gxlIYMUavyiAjQNxdMKagsICWcdmmhO4ZxHLDBUNFSBF2xG5/mGYcsTbd69r2Unxz0sRFPXo2FfRdSOW/e2N2LWw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212260\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941197720?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pnAO2aXb5M5rQk590CFu8jxj11N6gCLG\",timestamp=\"1773212261\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NHMGhvuUTOVyU9Yub/rEu8LOBw7M9wciUZuiUsOhbV4ERPwb18zpCR8aMAUCGmwFxOl7L6Um2zZh+BYQrjRvNeAbodliUuoa8o2Df16E4GqJR/0SoY8sOkCe+vRjD3exXL+SPbTMYTFs99ygEqXkvqPVlqREzma5Ut9m3ZgMNoJH+L28AZ+Hdfpb7DDPj+N1TUAnWpr4W8VthAqhxv9mRJVxHjOFN85da9fgmF7TQpbBlqnuLkzyWYfOIRyx6tfhyVUI2OweB9ZlcN13VwpiILEPLEfd8DArnmRtNFeGmAtzfbyGonKsHryfaCjTxPKkIZAt3DFpxVAzz48ufCCV6A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A4C4CD06104A18F68584A90120D8BE3D28A4DB04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 040f85fbe80cb63c86e65d49203c608d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mDZLd/ed9NmC94k+u/DTRXhKW0/l9jKt/Lr+3qg+LvUOqibmDb3yUwdwIFk5kZjdD/kcD12QN1ZVvpmCP2BqtDHaIITDCCZ+ZgiF7FaP+vYk700k5pxRVB5sPtoiYoefLtGj7MeNRExesrOKclfhYXx1kFpqbr7xI7J/yzxM1p3OQ2WdDLYaG/i9LYsamzsQEVq7Yo8myhYAzbm4O/Fc60F3tRySlp04Y2n7awS5C7So2QoC4KTDmg+LUBLrWmJZLqNInMUHytZ1RamRV/AZEqEOCTGo08IGu/j3aL0IAMSFFxlcHQqOJ4JxWH09od2jUGDQ6Bx3AGfz3pOpff6iLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212261\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941215976?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"48cTnTvtStvK1wmbM5TLpEcTJmBxBzWb\",timestamp=\"1773212261\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Pp5ny+UR6/o+l3SS7DXPfmYaCr/vb8CHO74io1baSpUi3oZRJE8KkM1X+4brN8GVqWmXf0sfHxOcnFz07OkEhxULoL1D52f78WcTHNuMa03Yu9vZA5jnr9CZSP/t6nTWEs2JzdsLlHu22VMj0mePqYO9mW9jdOln6yoKGzXvQckbY+89sgAadNIJ4ZkkmUpJc39SYOED8SGjsp5o1URIKygRtfhV8JEgPhAFX6m1IqKyCDWj+7L8dYYWcABNX1HmLIrw1UntnmUYIX3XLuR03LiArl+hWIA3ETkHYPxNXSmwF6HVHFoevg7i9z0OTHSHHPTHAgyG2xC7G7SuNTarOg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A4C4CD0610DA0218C9D68C5820D4EC2528DD24-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 16597953b64788de60396afb9dd80efd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: onQiltFrbdy0t2spkraIuwC94wt/5csCmx058UhZJQJbHRGEe1Ij6qyzvOshEKvo8YjBYUgj/i1/GEifni3Ni5JmyNap+xATdKDKoa8WM02EZqv6L7ugFwo/Z+oHPFuYC/L8W7I+nml53YOwnPYIXUKIdlrDz2DlNsyrutEeQR/+RUd9x/CygZk16TVQ4IwfV1clvZ163PbxDmTdQKf+bzMjkWBcr5Ugh4Xd+S71+uVGiXkszleeT321ZnNptPcTdYB6bCV14rc6ec8RcOKR7ri2MWFNwpem7cfLbmgEHQMjBVkx5H/KIAOThEI54F3UW0Xotj8yizVOh4Wbip0Onw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212261\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941509391?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EhOfPnOBBRNBBZBskk6EErGW2LqopRH4\",timestamp=\"1773212262\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ACeIIdK3LuctPx8elDHyJ6xPH6kDL+Gz3XeLnbUJ3J9hL07Q5UWycUko54/saIGeL5k5Deim0jQGCnkYnlvVoELjF60gn2WHUOVOyOP5AIhiIMplqEiCuugNcexD4Uu5owMTuinqlxpar+hDKfFWyB5QRuP91Iwt6v2RL9y7BTUJk1Xl0Xqk8LuCHKEU+BQhCRgzVVlRm2Efq7HXANor64bfFo01M/fNb7w39wQcP7N1yb4rihT+a5s1OCm3qVij7qjc785TKrXQCi96fU9QbvF3Rh54RRZ7r3bl7FW1d1dMnZNO7h4/APzWUMB+7QNGS2iaQTowT6O31iXuWY20Qg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A4C4CD0610850518A981ECAE0120D2801128DBBD01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4618fc6ef8a713098805d121b2ebb84c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pjMAaPkCMkd+uYk6Z3xH8AveYK+IOOD3JrEmUrLK0mnvpo63hewM3WUToQvYRxAskRZxuf+6cLSbdZSnKpwvDsJ/OEKvM/ah2tQxlzd4ZD7zyN1FQOKkx0z+ItnS229ExxAd/Ws3t8uEJ7SgqCnMVN8hT97jEEY/oD3LzSpRn37paMFk3LdOyZt74KnltZvDytaK1j8ZpdytXWIpTqropAkv8MQCykk5GcmAV3Y89QM+aGMnjyBfEwO9mrZj/nTDca2+f+BgAkWMkLGUwSZh2rxvefwL1EJ+Ox6Hu0u0Gj9vZOZMXXgpf3I6N3oFhEFdbceXs4gmDZiNh7pNJ5lOew==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212261\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941618597?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Gf20RJopMinvimgBHCVmQaOAWOexnxCZ\",timestamp=\"1773212262\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"umU1od8OLXfuSDdeFGPLRGTFoRk9Qc8uzV5/DwCIPolOOeuAc4pymCSlE4Lnvj7IYux2Wo2EcTZqkdhVYYOwIKyrOglXSgcwJaeUAl3Pda4UxKUzJvsZHkJP+49hCwq686l+s7m4tG6VLwBNsTTYJKJJ+OIGlQTcDQ3R1tK0TryEZ0Xuc3tjpMU64CqAfjPKBy4TOjjtbldi4jj6pn2Rk/5n3JUDZMQEE/uYeb2mHRlZOOv0rSpWz4ydYTsZHazJgevMbBd2jnvSgR5iEgHtB/VQ5IhUGlPB5UM2PRK3Bvg8XBOmyNeklv8/4iesU5X8zpORIVH7AIryotZfsOAZDA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E5A4C4CD0610A20718D1D28C5820BABD1128948A03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b640be3371b23ba2f193fdf5bcaf42a7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KOb6U9Miq4NTqVgfhB9VP1p1lwkGP98fuw/wMuLPpPxmADFZ8/dyIoAbfYSA/n6NEK6vW44UUdC/TydmJ73Wg/+l4lQUbaw6SzyKIqRWzIJR9K67YEqFYobDIJSEuK6cNzu0AaPeBIu9/FFjM01+fuLFDZLWyM8pHR1o2XX+pUxxdutlNdBHuCN8NSex2QTQMzbkIQzuhXiNI0bKCeYX1aeXbTYQvuEr5u771WQYYeS1FedxLRkH6cVpUr+hwngWNZNo3KpUXyYRTPeJlFvkBpmIdTAz3Z6AexZVjC/AOz7XrI+AyPKyOlT7uzj1tQTbiofLayH2vEB6TfotxGW34g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212261\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122941698795?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"N8xWIZ2zS06kwAuLnNgWyQ0JpBEyAEXm\",timestamp=\"1773212262\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TKPavtoFUHti5gOjMgN/0kZuyeI7HPvNTP5Sk+sCdw63NeZ7K2y9f+y7diQw1XnNPzUu3Sou4w8g81hR4guwNUbtJq/swSfm3WjnUPQ6N+IfQHmzAa8mf2TVLhsWT0E6cTELMtJaEdrkGesU7aF3zridHku83wWJwa5jPDE/evQzbo4N2I3KhJLSzztx227y79bnhPGtiDVujBLtMlVXkRK7SIcqnGASW2Ckw2D5M/TBgOdEPAJy5hE8KsKcc5tD6SRs6zfFx4zVpuPQ7q0EF07wVoKaVw/MfSbaoSUm+h8kh44hubdq1Q89GBROMzTVJ2lADHAT1yma/whhiKqpzg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A4C4CD0610CF0118D0A6A85C20A2B93128D11E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: dbc4210343e2b9a0e1828626d0bdf56c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bL4GU8igr1gjkKwRgeRUhgaF4pP/p0FIIBDNsm2IzuiPXdRPJwpwoc2DulvTTHFPA3uiXstKKi2fiwTc/yPBKoZrWBdcyEG9qBSjEyIyLA7OIHR8fuS3kaCcMLfJNMug3Ad0zznR+pEoD3WUN+j487p1K2H0V13BgOxUkeCSQf+x41IXYwuaG4HopAPR5NPsZd/nTkOYeVvLOyWiiACAvJCBTHYCHUbpiMFv3JTy07rMUjw6+whWga8ldnXkiyrJ+JjmFB76LkTUsJAaWhIp5MmgpBHHxDz93wN6/mN2hI2i3zElpQ/nBCZGyTRGIeATeLPFcjTDvlCKL8YcPBwwug==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212262\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942287535?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"90zPGSaF7EOwfTU7SIQELkvej3hInwTO\",timestamp=\"1773212262\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5S9aG5uihKllRiME1xUozR8BPthL1ONrorMojim858kPjqbOIGLrCh9MiL+rfW8WI+2GgeesBrTJBNU6Xuje9wSX3OfspEEanlvx7eJ4eUe6lfvnvkS1mjBA5In2VIfi4fnBqKMl7bVzgXTRnoFYWWLbFo0csTrLLC6O+eLuMUwTJjyi19Xs0u55j24xfbdIqknc1T00kS5epgFyf5UinZ7p7ZI5rarPEheHA7gzaeYKZMaRUbv3fDeQk8n+rGv5oChhkNPQEE+f6aeXiFvbxpt3MKC8kSyuPFGJp9SBDap4O0bJQf2WyLWZhUMrw293R/fqjdW+WBV1HpQDa7dS8g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A4C4CD0610E903189CB2F8AF012080992628D2D105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 82cf6f75178926f3fe9a909a1a2ec95b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yT/55tgzYgSOxrTgkB0GL7LqH701xnxbYrf3czH09FjwUh9PW3qQl+QedbNympgYqcq+jF1Lr8yQYdnCIhWMBlae51Jov+c/b+c9Fs82O3aceQm9dKPNPxYE23JdcfmrBlAaDYmTN9ev10oS1ieCu67H0NFa8PuOCymZb/8B3OEPGmiDRYgeq98CUCt/RnNncLPbNKa02Wff6vDICIdGwTAlk1mtcHi5EosMVvVX8hkWRTAoaiIjsFAXeI1SfJJKjmKa53L8Qq1lL3CyH2bv1wzwFC/brnrsNusUOg4jxmImuealBWLGD8n2d6MiGPIR4aiSiC75hO2/KGQhvHQyuA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212262\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942422771?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DCxki8Iu55olnViZI9WB753cxJ5hUEZU\",timestamp=\"1773212263\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XdQqvBsIROXMY0hIeJhh+IcrapPh7AskMnvS+cGEAF3v9xgIiU5iQZMH2Gd/ZZXxw8tWEMNp4wYei48Pfwe19MNzwCwtt6xkB92COtXSEJcCcNE2p4D2Hp/xh1uz3mhgw04RpahKPbxMYJkL792F8IlRGFrCYeH9o/b+pFeDPBLZwLKmxqXnYQlJLjZt8RXe2spuet5KtRmPBaHIGAvYDxcPCIIauOwfE1afjsHCu54Zy5mtoAHWGRkraSe/iKjItcfN9fYhh4fv6ipa72O1qOFvFwMz0I7XW0E1GVRpB3w/CqJ/dDozJR7Uv671u7urexSP56tNgGnJBkV7QVh0+Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E6A4C4CD0610E005189FBBC05520C4FA1628EF62-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 660dab8141ef9ead057149145de261b0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xgAcqvDgN6TE4oDoeDie+Ra8XL5r+cMTREn/HHH3VNx/+JxqUOucK4kkodWAnrf4lRoKnnYEM4U5S1l/ayAVzy2ixOf0i9Aal9xKxRMWPrjydhmwxJ6Af37k23K39sFwdkwBNHJSeGH/icemmCB4a/JGhJeej4ONBzs8BbrCZBe8yTYCnqKVbB/66Vs6TFfqNTYnN8iSXPeMyOTgh6Z+MDvkCEMVJO+aQ3lnWZWA5unCzZONuaAVDi+ZlHMQnkB4uZ+wKalmYZFCWYvkWxwB3BPZaoY/vgZCEQ9p7KX1Pt7txrjBSLmt8mMT/JjrjCzjna1Ens9sRU4EQO9LzSHv6A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212262\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942526984?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BW9I2wHG6xNvo6iMkIsjtmT8bZTLdirg\",timestamp=\"1773212263\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GHRDbhLXpxh8QNJ6OWGuGJt+8ATcY7E9xNs0avODDXxAojwlI5d6yKlLfMvXipLsjHtrayXWUMtaiPdr3Z4fdhJb7AwO2OqZZnuYzTITl1jL7xZJ/Ejo5e9uPwF1qdO7QHKVxoGpwdRsICwFbviVZvonqcvaVgB4Ov+lPjpRcGu/JGR092IyjLZNhJZzG1lhpdNT6zd78IBxHaqZgKODYhCSM17j1rWrgyoyY9z9bt7V1qGNWZ6yHx0vQbzvfoqPqq6J2Nc+KpghrdgPPuVYscnVqvLztzwIudGPYvTH2g/WqIHdqHdHQelZM+wXyeAlATS0XjOfdi5bPHe7vq6dzg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A4C4CD06100A18DAD28C5820F8A63228E4F803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fbe05c2819c5e40161137a95d4143dfa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jg8V3rICzTqds8hPGuV2J1LPwViP89S2mY7HKttD9Qb46sPzzGXM5P9cxpO/XXmazgBKXU2lnRYo5CXBURgTEQZOifaDH4/944rHSGW13Cub2lCitq/RD8Sh0Xgi3BLgs+9TIGUI1h+odnBPE/JlfpU+SKJmZmirAppDHqBzCVoTTcoR0Qpft4A6sLquYIkkyBgGnwm2FDhvK7rcHeGq7mWYnMSG2NVPkfDPjs3q9N5KK4HrirEMkilNz8AsDS39ionZ+TimPR57Iu0p0/klOJplBTIyuktBWHAHqotzxM4l2eUfIXyeIX9JEc1EOpQFic4wvQnOFYPgImDds2qeYQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212263\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942685693?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"k4GL4aQMPwDfa9UnWYK7R79vMSnRs80P\",timestamp=\"1773212263\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Akwy5YhjNrSICNVh0iTWnx4Ah7c3CcIAkLPoxQRArh4yqx0u6E5BTn4WY6/5ArKzki3VJyRneNG9lUu2f3XD1SC5rjN+YV+r2rWofdn+DiSQ25ZXcXqHsnjFE6L3GfWmrUJYNnPK4tD17sC0b/14dW44Vm/C+09p01OzJrNDO+X5uWLUqn6acP6wopNhcDmBjpwSQyZoGWsrztKze9loRyDPdm9CKz66kMl+Adt/BU9Nrq1o30DSAgRm+LrMNsDN4TAoCE0IbFELhzWw2b0QAsD43ivPdkDVL5U4Gokdvx4j2/aK1A/lD3mQknFB+S2yeBzOnFSQjSC6e8hquGg+Jg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A4C4CD0610AA02188DCAC05520AAB41F28C225-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b6ac842a06485eb17bab5c2756cebf90\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H1amywPyDasO6I3bw3VxT8fV9Hq/0S0Ov0Wg/9hWNhrhJ/p7jC4C2En6+F7GIC8MTBC7qpOw7dLSFW1fzF77Qo94NOXY1sNJYwdWNKFAEU7mVOBrqOboCqyoVoMVVJnQ6OjgDKDK4RiTjJBAq2YSl8ZwwmQQA6JF7mLL5m7luFkpwupMDlmfAdVR7dXWOsgg5oc0HcJOop28Alhe/qe1etdjKQAIugfB094TaH4YLGuifc9IsYNInJa6VYgw5+s/6gPwD2eB1gQhOHzKd6vr0bfrdAvRxN8DS4oTyyrec6KWpxzyrgKT6yXozYtmU553DoWsvjKfBTm5e227otiIZg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212263\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122942885653?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8D96Y6Ru3zcm2Atr01taJ5g9zuPFXnlo\",timestamp=\"1773212264\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vgs14LtlRNHjmfSic5n+TKOqakckftqb0eRQ20TRcmuTVqK5/R2L08STT1ahIWsy8a8ygapbkI/gz5kXYG1rlSt4Il8w3O8VtgAQLbct4t1SoQXE5heJks8D/NfyJukLzMGydqkuN1BrD7YOEjjB93pOHnHrG81hElXpyY/DCgqVWXG0vaguc+tOj/rgnjaBa3/DGqBQK/Jnx0q7CiokP3ddKWgmo0BcLCGXbzDqu/M3dSonM7/vB3H5ssVolQ3A3HMXhtnQnlhZdh4l4Kj/CrAz+47JD6miLnsuIjA4X5fGpkztjIvF2Bh3VBJSgB2ZAXsU9b6aHO0yo2VaccuByw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A4C4CD0610D904189890F5AF0120D88E1B28C7F705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f429e6d7be498343dba56a9b37e232b8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DAZxrNT/P3dCQdqDbrD2gJab0aGhSfNCm+Po5iE5xDJAlS/cYIuuf2ClF5+pGB0AATe8cjF5D1f2+m8UfTM9ebcQjsPHJs9DjM1r87VOjFFbuoAjmsZhMVDvc9IloVV9QGDHr8XyJBjchHtKQySCP/qCSVDoo2HqJqcfwnJKGJpdNGLP0Wg40r9hVEM4x+LaHXnebtYn4Y8BuCHL0MzGLrlgM4XbByVahVei0u54LpgygvCNwliSzKprlF7euW5vKXpqpBxzABnZk98QQpgipff8Py1qboVAypVaRm2H8zAbLo8EZeYHuBK3UxWB2Un0koLANrlWoWCTrgJVJuXC7g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212263\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122943279917?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rAc2h9EHHUqZg50i6n5nMBwk1AVd2qfT\",timestamp=\"1773212264\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sXdvzN7Kh7ipXVx4YQ4TwlqY1cMy30qLrgc8nWEOSFHIknqXxmivrVKU6wNXx9k+ippcskcdF1e/Dwu36nwIpX93rgz04KMxIWjbvnaV+4udHb7SmQlIcRVF0c3x9YlfVgqlmRyBb+Sh2VG/R6PMEmIP7SFrQD3UkYjFr+Fr5r4C1LZ3/LFS6pIVN4AHDsLPIpNuhIupwJU6HLfPoHaw0BUK5IO61yIzeW1e6ESRxIhgL2h8hbtSA6x59WpYqb9aGof5KsWUXL4xje2EFn1twSRKx2o/9mErtTngUl3YtKUtR+iaBOWtbSU3DMepxEyW+0kE+YO/Fjllmvs0i3jHUQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E7A4C4CD0610EE06188ED18C5820E4931E28E8A002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 108d694a6a7692c8ee6e6e7db128905b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hoOztPjj7K1TvEN2qWJJ+bn4tPKEnutVWpkXgruHPbsI9vcz+YMWQUdXsJ7HdF3t6CfqYdDRAWwBTJ04cL/I8tsMP1Hdy4dCpaNbOEwuqrNgvNgzOkdkSix/cKvabz284nJIcT8YYmqx1B4qwKK+WJgVLThFLql93VlbG+6MacfpEFjXRf1HfcGABZDAPe3/O96IXHLhIRrRejvWM51EpO0NdbTUUmNe3XnpAjGzgbUGJTnL7stJe56AJW1etyIYEECNCPinWga2024s7Zne87Z+GJmF5QdC3kPxQkQ2xhRoPrCdeACnQfpvVvjEZvzU4WQ2jk/J5vG8KLGhkHjJeg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212263\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944030606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bVsfoLqfauALX9XhMAjEQrup0HF9wXxH\",timestamp=\"1773212264\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WsKFnnPxSEEnTgMq+E3padKfaLIdFJy3U68U1JP5uhbykz45ehv367hbQOTLxrSAso/mJx/0ujwVk/i2gsddj0Bsl/7ZqthzldKvTrSjqLaodbBUW1loxEvR809dCFS4fT+l6uCRhiRTLDXT2BN2FDfkOkSWc6BWhLzVA03Qt/6ouNSSXQSPD2JxrZXbW702R1ROkXUGnOYVClmgLRKPDCUarY4kv0WKOIVV63XV56VUGxd8voWHE5WaCFDress0ZOZX6hPmPRrC4L+7wBPGY6hqbWpTLI2DXEO5hdzPw4Zg1M1RTmq/ZR8pQ2v2Mkgdd1aq3kHrcsArmWmocsKGZQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A4C4CD0610800118DDE7F8AF012098E91128AC8E06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 46bb0d3e4b3a340d0370458aaa84d103\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pO1fk4ITg4SVvvial2a/cHaw33+FPK2ob8mHI/Q8e9DCdgRxLUd70fsMQm45djmcVyu22c3du63MTgNQuhR1AIENntT0nv1bbs0prU60Y2O3iFQTv97tiHPwmYJNSokcGJL2QeZoNywFGRYfXEARZCcy+9clBkVE2KJsr3jLs1TZgm0M/R5iaGG76oxnJkFO9MbPF56S7/lHox5KmfrjUdrXi0lyroi1nce6MnvGZP/wQ1cfHQx7Ksy0HYYIOvPhyvRsUKNWS0NOsvipmnuLn2vsvDql/tY07qQvFbppbHCT0WuoJQsNhTxkLc9vf/R4a7QLBquYpanA5iQFeYT5UA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212264\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944572678?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pFLpQaPXM87Ja98vEoVcKFEsFaqDqOp3\",timestamp=\"1773212264\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5B7VNejjmvSlXcMmPYi4FAK2TnC7vepPMDJwpb+1PDY6jlacLP3KCzzqnaojOwidntzjrG5l5PwTDTIfy1z6Jc9jO8pFDJ6iV+x3ry+S730iI/Q81VUEic/0PRrltDwPExSWCwaadFg6MZru0iPGVTfQNOaigWKoM4r8nUps/l4RziHrCKm6YP4v40zM38vyMi1xcwmbarK6AcQoNB+4ig0pdAjf1a/R9AXbseOYTRAfXgr9XY6EyRhsGJdI7JnnmdeKC2vYuctuyAsiHtRghN5b41HYkZ8omSisgAxdLN8zdjZn29l4DmMJfR6loJuxh8ytLGJUJnRMvp4auJStFw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A4C4CD06109C0318BDADDD5C2082961828E98703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ea86c3cbb32f80e980850da8dccb7a67\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MZYo6DF1/7UCeCep2p8k435fAVFLlS+aKJcBlctNc4xL195bpDbIi3NFFBIZMGZOsH3FutJUznilEDFsLLsop1i3XVTHcX6SGf7ScCQwpgRMOJ6cHCcEsJv/Y8x4rVTSOhYz3eIjwgv4QFus1FXNJqZLKhspYFze0y/XatiODwu4gWwAzuYvO6iywu/UIhBoHLBM2W1lRTZpAhLMKKprWduDoQVZ7p1Dx5krXhmVIixuHHWzc/AG0+vBDXxHXMKA/GJL5BSD2BSM2ZxmfKPasY2UezHCLA0LHue59dpHMHebdcKw8XTjqvsXWRt+UhhvUxByNgyd+vW/9zcbei3BBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212264\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122944985854?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ixd0k1T6bGJnqVEfjko1bronRgbI4O5g\",timestamp=\"1773212265\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NdGlLXnNjRcfq18YeEl3gT21F5cvG5JZW/8dvFGgXDZV/L/WM1sqWWOlTU6R3EjjdAAcbVCKPwRv0NdfOIBv5QflNDJRhG6Ll3HDNTMimOGhB0cdw21sjD97c+wNdvBpzQXBuISaeHbGVfefiGxThHy4u3OF5v2wbDYHQ2/jF8tB7fGY+Y2z4borduXJ1DwGvHjRJmKm0cGOiX+GL3aFgx2io/X2zhsCl78XWmeKxJAU6q8lkd9XnjTfxI7zVoN6FcVD8VzalveafStyWTkcqpIbx+aezAayKhv9tuXhv23MhKudNyt1pxJJ40TlZyvdxZCn5fonhqOEaitw0sqO1g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A4C4CD0610A00518DD9C85AB01209CE52628E49E06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b21cfaed385c4ba55caeaac22aeb230b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ll6MvFYdyELQolbqw7fqzBVIzIa3K9sWoL5F/SfSV39HGSg/TLrdsi+cT58AMSX2M0SfOwR5NgAYe7uXjN4uoWQypEBclbGjKMkW0eA+sfPDa49+jfP3dwSYxrZ5WLBXVgjdKYffmJodELwBP/6iPc4W/1sen7L/DSD0w8Rxs38ba2s/JXQTuMHhPnhG+0qjPBn5cqXTNy0kyj81zT63UhF1xwRjkyyIONZH3+xTybBbooLjowdvbgztnFc6bDQ4qGcUHoGe9h/ZxgMRED0En0LXkMowIUJaht7HXjydaX4FoYMoU2Krltu1VzNKc62PjWXCB3HNUffcjVYDJIC/7Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212264\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122945013789?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ql9tG7W3KVr4DomDD9fm9LUWNIz0XTHz\",timestamp=\"1773212265\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zAglmUoH/sCD9N1MXTNolzKgGiJMDvx9Ys3m53Vbq8zLjfXItmJODxKfPxfd+eUVxgobj0muJOI22Eb7qI/La5rzhtSgaIZBTSvwA6WpL5uKJ57QLr1oH6G8E0jLjlqcdJCbo0osbPEi0NmEKQ98D+v+OUMxNU10HK0zE3PzedvwmUqCDE4l6JCT9E0UTjoC0fsmrxy939bkIrqZfPYLpAnbvTD04lHnfZuCFhnI+shInEuc8EwVAvy6oUgV33PvSKlXUa47Xk91kn1Mp7n+gx+OHCuS/JnDUZ5NRFHE69spkeugJ48p/Zwrewn69mYkOGXPqlYInVl+BR2ZO1+RbQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E8A4C4CD0610AE07189B83F8AF0120A0B21628EE9503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d06e8cf904a0eaca748c8799293ffc2b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AR98X4DoIM968XQQNh+HALiD+0eQ21L1K9hfjzqtZvganxN0YdPpGVztLzihGmm2mfkFWmnVQnC8zIJGpuu8ki4/4w8PGzS9106wAW2+HwbpBTZprPpkbuHNDTkrc9mNZ5okIALav9P2osH+QugP0lO1vQixkMluNKN7eUkJhtyk6KUpHPyXbY62YNC/LQ/Rok5ggUyY2qgeeviw620zpVawriV/TTVdoLShRkrbffnltmEVntCTiUa83OgrCgeAhBxVz/44FNh/YsDi9cGa+7HDZB8uu69nT6JVCYyMZyYrubmSrr4oPFEJNr3WKegDghkoJl/Wom/8zCbIspsEDA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212265\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122945788204?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yHer7ZKb1tb4nNVgm0RQvRi2jDBPFyuu\",timestamp=\"1773212265\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"REyQltXVT77DJZuUkoiuC9RjBtVQBgs/H3Xklip7c7IZ/7aP8KTnK0d3R2gL8ySvuPY3QGA//zazZpRZjc06Jh+zj/VSULMURyBJt0+gDzh5OgqCcCZjFcEVvZ75BQ2uEAAnRarc1YxdEsXZDH+6L5ZdKpmcemj8A40KmiYvOyAf+iSXzOfgepj75urJiDvz5P3an4sHDDsMPQM7Zk2RKq1WcQXpKvb+J+NDpplFRgVdDmk611BzaZ9fdUeUX/p+t4WsXU8wblBvorVBPxF7xDHqZ1m2aPYqFET+b+bNkiJ/wEX1eAQfl+WyFuU4U8ZcCH3WpAkaKHpGIY46MVyc/A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A4C4CD0610E3011895DB8C5820C0A92E28E8F105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1d8137ea6a7893eaf834afe2f1a9dd9b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SWUredltMl7hFUnKKIkx7bf5CojQ4WzuvZ133oSmN4n7HPlDacnkOrCVgsOiHVPwLPCB4gBZO4KEBuTld7J/BPQYw/qYPBc8GI9zLgOqLkM9p3eMFTlMliJLrKk+/snyMUl4Lba5KtvFHWgTWP0gIcDq8y7Av5S4QF5gGMe7zQGQBJqPf7cTuOn71v2jcLoQQaN2BTem6sSXvUZSQmIQf3UV+iBaFKr+nkV+uXNvd1hlk7Pio+te2CLACgcEcyjN6AXkELyM02rrPzaFvBplYntS7ZnjvV1LRAoY31aJOOqctRg+Qk2hNw0adNhHYtt4+wLvSleU/jHAmSUzA8cWKA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212265\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946373200?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eqZ5LxOAH3SF4T43xJY0ixPeC84L6sEr\",timestamp=\"1773212265\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hRZR4taQla/hypZOulY7cA7WGiKQhh0Exs6fVeapj3BH34GpWP646f8i6xjLMRCFLEZ7W9Lv83nO0S//zmegBd1mntYAUT188jcT/aGQqBudeWoXNUFW9T8yIpOEnk5nOs0V8lm+XMKsnolZQ8np3afuklsAsfCESc4jHmppXsvYRt4YVdEgCb1gu/k+mff2voGDZ6n5jUboRlrxJipmg9EgA3SLlSoW3FWsp8dpwOFAp6bZpWa4W08f24BlULZrJkWSpSK8J41n+i/zTW/HU3kaErcdjyiV4cexXlBT0ymUXTatj3qAKqM3auzEZBveI/Rb4miFFftvFnhwGfr7lg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A4C4CD0610EB0318E59FECF501209ADE03289D9402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 88a679fa11778466670b0bebb09cc447\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: R3G352lYg7lZDPau9bHDV9RqM7jxWBdxuXRxwmn4fX0pOCyNUwKHGUMSl6nwQRF7rjsNniVAZR7lgr2GxEySIX2j8yfF6x0Olf7oo24RbDvTFAADI33+W3dmxjWr8l1VBkVJWnxPBDLQAO4axky18ob9oZeJYSun/NB2QbVbjUI0vdg92XH27WYpMnLQYv3ohQtva8skIxTd+NJk0U1R1x8HyMu7vs36boafrcUGpl9crAVms6kpMYLd30S73PW7w+MtTtHcXGRQx2mZMbaoW4gpEiIw/YhtJxuLkHh7FgFw0oha/CconlLtFTUaZTW6WHNeZuHKY1ivFg/9Mdk9WQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212265\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946393114?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"915eIPCR1KCsVVsq74VbSIRfWMu3VKyA\",timestamp=\"1773212266\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pk4TeawM3oNEbgvJb8lYf1geXUCiPlLHzBApuERwlt7qnNDuCG8o6OuprFlelSN0cSPRScmGBUIeR2H1u3Zp0E/TWhoUXYNxljP3laE+XoiGf8vRKWbiazmoOzDxPQlfWireoF7aHWl34dhBLln+63DoSoB9DcUzi5GHkRgYaDKzOg+nq+LMpr4FH3IKxxmH26nAw7ipniRO+x13n5qkUU1B1RXOyc168jdbx0CiG7J94DKYkasdEoZ5pK2IfcgD+EGd8W7Fsnur4CZFu4o7GZPzdxo1zEBAeuxQmC3TGoVL5ShYYugJvOrveGQNL4ALkZ/ai6tPyxPsdqDAdLvfrw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E9A4C4CD0610F00518BDADDD5C20E2A80828C1A404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4ea3943a0268de516c62e6574d162804\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BsH9ZVqpLiMx7HicvtVgwuA0g8r5mn2rfNDitK7LLZJIn2cN7nbDoY6xc4u8OYL4ai65lgexYdps3xJ1a1aE0aHN3jy542YGyqNoPWpTmwhQRcIQIKNbywBaUvbt7prsUjkvPN2WTA/JtmhpcYeM48Y1rf5MGY2+fImVK1V/l07WD77ojZ4tXY+5/PtKen6o9TSZCxl3aC4g1Stblz+ch6+jiLvvU8uVDCV1F2tLynaQfjNtRsYRMJXEw7XAmK2hNupF3E51lKexfOekFzodXWcDYR0bRr86POp9hJKEgPwivf/EASwpwG3TwQn7Bl/HRtqcoGbyxdF2WTj7vzrJ2A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212265\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946847097?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zwWgs4WNHVYKebeKY2HYdtsXzxGJHGS4\",timestamp=\"1773212266\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BoXlZ9p7uU5J8iic6hAKUn7SqSCj0ZZ2QxtkDEHFQtsfnB28o7ex7GvaZP6Pl+0lCoLCjmbZv6qKdEMLSZkozFniVoovA3OZl48UdOui9nMwGopvQ0B1bqX5PtPXMnz1UF00ddhv7fd5sLrIsKqIDh93QRsfl+FaH9hkIqv/tnCqfdPoz2EfwxbDwH4f/r45sLIF+Rxl7h23ecZyAB1f0sQ9KFNwVGn8dkSakAjT6CLD83MMwOfxLgDgw/l+vmnz8QkRXOlA9r2O2IbYSbGQct9pU151LmpUHE3ujdwhNLGaGuPMAjYUMJxzDR4Gf26pjzSVQrPTKWwGu+qrUkdgMA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA4C4CD06108D0118DFCCC055208ACB4328CD78-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 20a7793f1caa652a7157410d33f7d046\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: m37pqdTpDJhlsAc0lCySEDbdpI61nln6iFel5ZH7eDjobP32fi2NduzcEQB+qQ0NhrJeHg+l4lk5l0Jnn4Qc37vZZf3gSE9JHgE+WOvfZyu3wEfrJiAgjcj/PquOVFAP2JICIqjXDX6ohcPXlSZvHzGzLxAYDL5eawLvBuHeoghffbLM97T2UL6wmTy3j4739EAmnaB+YOKbD4PNeTksLA5fKMpZ9S6YY9Rw8j/BX+KylDSJw2vZwE8g2C6SfllT6oV6/quMGb1b0H9ivgbpnTWBIQdopV3pkfJ3dZ9+WLS84o3GhpEst6V+fyLqS6S8+y6laQ5F9M3sAL6V197PBQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212266\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122946897930?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fr6lwQJOBmQE6QlGUIZKTu6H7PQWivmx\",timestamp=\"1773212266\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qEBRYtA/4bQZymULxc1oWgCeoTq04wd4EzRV8bKojd6LfVnNXWpLnSiKgIUYas0thpf/ONS4KlztUQxSgDGffN4nsVujKyUlekGHIjzlBeSOl90ako+Xf8FMKTrwy98RnvKDV02LUi2YurszRn/7z2h4xdVJ7ilV3+x8D5EAub+6lhM7heH5gz0O1GHpEPFu/a8KP/zPGOmRctUMwAhd3ejvdX1+3fzjvKZTy7HnNtYbVDAMU13+xE2nB6j9VLnlne3x43o6d9QVJOyCFZmZoahPdsvpRFlsGAxC9fhaMCT0v6iIZXn8CxOS+TzwGBcAcquw4ix41otNIdeCYAWS8A==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA4C4CD0610B50318C3B9F8AF01209AC81128E5C505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8d028e68ecc1ef06ae60999438dd44f4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bgN9en2XPlrXmTS9LSfj5r0GdPY32lD6+zSEVcLidd4akLzeQeJCSv1xam761sxgVkIOH6a70wLcQ9/bBDw42DlD2j+ca0/WY+aql0g3hGucwM184ERRp+ylOjOI+m17zYL4fKWJeUvKVa0mOyRlD9PCFEwBuB56z/Rk57kbJcVubMruk8rd5/Tf1rhP1zsiN5Ui6D8sgqo8ufrloxdH/fTBpMPfDc48Riw1PRyPBJu/WEPCgIbBZ3KXzxn1zU7vVrPezrjOtz3S6ItOTNROYuwbNOcPrgPC7XxrujsKmsntP4Ihb094ZkA2pubXUPw9CMW35ol6Q1llO2TpIzJYyA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212266\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122947479467?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kgYxZ2I0elmTtozw0VaTkISEH1zv9jbH\",timestamp=\"1773212267\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DWitGBqoQJ16NSDHdZ6w7Icg+B84SOzR9rubNkwUeK20XroLfRfQge/yh4wVgUN8gnGm7uSj0z6Lks2kDrCFTUQspJZQTyxxKC/dmpGaatKKFl0MCpzAz+ADLfmCObSpsoJt3V1GLkqwLy5BkKQUFKWQhuRVsL9vfdfChPCQkJrvzuiEhUwAD56d6n0qkHpviNrYMWBX+IhIkww2X6gR7ZX8X/XaN8NINqBWRGVpgN4k4LVx3qFdaGJbFtpfz20+cnKCu1fDDI1CEItslo3SEVuO9kZyAv2IbNIK+9IKK4MLUmgXXsOJmXC9PAW5LtuEJdqTnuwK2XGWvV8vnZ1cog==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA4C4CD0610C30518F8AAF8AF01208E9D20289CA202-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 66297e69f23d49bcfb7b9776d05c758d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Kt6sBaJd4PTf8TgQ6V6gje/whA3vuajssUNkx51RAAGa4xDXYpNMkVSQKX/FNeQOVUvicOPw+kWTdDsMy65/VmfkbfZwp4tboe6tyD1ONeBtwh6TdwyZMTRNKDtZnGEy1mnYfwD7NBHZVJYxYWniYglBHzTe6T+W4A+oLwNbID6JVaEOmP4xsT2NKJmP9LaYznS2PHfG+1vU5hmm1bsFXmoqdHsRoecbUifmYYEJV2fcita5oYrC/KQG4YpJSOIi5vlUEQ/jiwOU3Daw1NPJXRItSUWkV6xg9GbtbT3C9iwf5sMFg21dIPQDmXW+MupbPDaYQ8zVXgOMutQDejyN6A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212266\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122947917581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ao8MVJhFwmj7fjC2etJempthGCW4neua\",timestamp=\"1773212267\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tBeDybD690Mhk3TkbxYl6HnPXfetkPTX6g5VTsu1dn5nxrL93L0m+kbaFJh9+Bs+RC0u9O+anNLlv2CsYRDyb+/LiaFIDQ+pvrMh5jpDt3YnabmvB4rRDljCll0JVq+BxaphGut/DkBs9zyNwP/B5ZS+E4cGJhUwMizb5I/brWg8YqtNy/+g5F2lCCjIktirLnZHnfnayesL81F9V6+XLovC9+SUykmrEO+kaQjfSNJxLqsL/YQWvTEFz/xdh+z1chWZ8MN6jrSQVqY0H/wVrjZpZ3phW279EE3IN9yixqdrG67bXb7FFquW076YjsO+cM1866Idei94YJk0UG+hcQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EAA4C4CD0610D7071894CDC05520AEBF0128A98A03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ebdd39dd2577c6f1ddd7513bea32a6cf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: w3NpLuzDDM2BN4PXlKFML/BEzHVJGQgXqHfkd0/8Hnor6yAnBRpS8RHqWZmXVgpPR53JmKd+O+no00eWuwmbj9XEd2fOLzr50xq0AMEJteb8qpOTarZtFIH5DtnNkwOVyAc+mFboRQd/pRROn3CbOpWz8Kg0Ys7N8KGlIp+O49HkzFX+Ek2aoQm2yEYQQ4caXfmhf4RtfC2o4DJ/mJSGnOVRaGSPFrLHTa3bQqda3nQNzcVU+/KVX6UMK83KXgBCTM7AD2P3wP5oqDdnpyeyPsiQMm6U4X6+E+zKaBXL423icd15L/LbUsapnYu3Y2gvkWNdSexJzvGyi3+bGNeHZQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212267\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122948703239?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KlOzYt5BzDL2QWBoqGYpyaULxFwb6dtf\",timestamp=\"1773212267\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"evub+lKAidnuYZMx4RrONSY52SoCYhw39bEGhPh94Ol0CXDwZTLFHiUiQmm/S07o9mTjsB/ltW/JL1+FH4Wsx5zTFMM9YP4V56fF15iz7RotzGkHzpM3RnW+lSMfT3Xa7FoJK602z5uXslHiv/fWk5kySf8Axeq5EFkLIvE/jiZ9DMZbkb0fPoGVqnx3GU+pPJAevkKVxkL9PyCDL5zfMFlw9ZDSI+JQLiZKVEnkBUOcsgVfIBzObb6QumyX2H1Xn+4gDmN+ey5TjdytSDFJjoBBjDqLV6NsfqirADsLxgQ++/mA898cqTcmGxegJMkRnV2Ua9pIDGsAxI7H7+cpgg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA4C4CD0610F30118B981ECAE01209EEB362889EF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 09ad87ef8e8b7242697e8267e904f7d0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: A/XzVhQ0u0lvTb/bwVTsS0pXumwrpogQJdyF/ROTwq06m7YwRsAIv9AyI1M5s55bdVC7VdQ8cjWpIlnDx7/ffcQ1WYapSFiE358dzG/xncr6O7ou+wtQI9w5JW+n+KThP4Tk+8Xgaste3SubYuiOLvZxMK4Ix3gKV7HnKCJV1QR6VNK8hQ/9+CEN0kjBJBAXyMhfvRza7g8LmBrIViDNNo+frQwdXj/1w/Z+Zcd04uLd6XCtj+pzvk58BOxNfuA4VdcOThu9QxrfLpcwR2I//QwWzd1v0jJ9OO8D7NmwyCbAjBd9eiKmFz/ZA6+zPvsrugtrkwAE/GmvD/KnJikxIw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212267\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953053186?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2cco8JMYzkj3klrXmxelnkNybtHCaQ3q\",timestamp=\"1773212267\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zRMUu7Jzz57g9MhMsvQSKNM0ucarYzdz0DWu6dzwcwHcDNwTEj61kmEkz+CimBY12tBfUbMCtBLgJHyn1KsGoP3/pgTgeE6GeLPGxxUoQxrh8ig0l6lgpWMDaiF9A/VYlOUqz/P6vaLXemoPc1dzMqubJK3XkdwTwf5ESr+kXS+Ne9GTokvQegwwSDhY8vNy3DhNTI0tt9c0NWsOFNqGF349OhYZobVRkvdSS7jO8NbVwT7MXZazIEbcjRn/0RDGbTOvAH9xEIrvXjmFcix+EWotBGlXeTObjyTe/q2XBrbG7HNYjo6oRulTrdW9QTLyo0rvP7UPO8hMKZ+Ti051Ow==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA4C4CD0610FC03188FC4C05520D6A1252880C003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 53a6b956b6f98e9ab86e3863ba799431\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MQ4Um1CGW2Ix64wjc4dyiLrv5nsqrvPZ4bPL+QVlL2hPqZ8ykTYQKJa2Tvxt5VLPKgi76YP6x6S2FuwHgBAbmekR2Zz+HBB4RZJ3UNeD/l3JnYMQOkKPKLUQl6wstf8hLvNCla6/2Ve+xJ2CWGPEcMB3XNb0R0i61PCBpqCFgj2Fk2o9XnGEge/sOm3pgdFvy6AtdTveH0RVE7jzy1klK/SlxFX64Sq7xuHNuSisS13SHC34qBM5IwRWV+d2UGMg2u26FNNu4p9tENcN6lLksKdD2f3uqdnMbh1zq8gXZivUP3xNIkW3lxlT30SXOfpABFlc0p0c1d5k9zx2/mbobg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212267\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953502696?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"oNNst0bo3Lqk8TZ3xsnEO7bJsyTmqg0u\",timestamp=\"1773212268\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MNdGB7Ng109xzwERXy7lJ3oHTxPtTVA1S6gMkYvpVdN6OxrwoHovyZjIlzLHmZsOOYbE5QXL9+54SAIM8iJSxW/6z4lVTb/yUpGh8tXc4teq29bZEC3pLNEzNRlhZt5U82e+5osZhc8PBUe8cICv/KfENm4Xlti8ISvIgEWyjzo4dQTMoFP0up6lSsSIw1Jt/kCow8veF9eF2wOgVLmY2fT1qZLxTzVbu4JOzBkERdMRLXAT2ENKKhsGUUBAvaP5y/OlwKMHtauXXB8C1M4M725Ipzks455qKnhunl3aALJl8nhCuYl3jUmSjbioIfHeU9XIFFFc7BUkN1OmUTjfVQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EBA4C4CD0610960618B7D28C582094FD3228E1B904-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 73ffcc748682ca496691a3ec9a553129\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PHbxBvB+J+1vDnmHa36nSGcyUO/4ccu7YnuL93NpJmQT0HIpRpqa3JnExjIkGF1aSTmERdRUdAQidIEjZ9G7htUZvjzNl/ao9v1jPhYP8A5hj03o31KH0OjuHkLHaMTjwwvtCR03OLfyrWCUJuSozPm8TYke9cT692MrAF6ttRWjEQJwLCPwoYbygzP+jo+dKK0nLAK3vCWfWHe1XbZuhn9HUHPmxC90HhcX5+EQuHJHL3cxrKFTtW2D3JUx9ia7U7Q+3t/vhvTVR2dO9VeUyJvzJifMx2g4b4xHykKkJKaPjZ0QvWzDaC8TSAygBuKZEekeMCuq4VZqcPirGdWHdA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212267\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953798373?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"REyVM0197NumXSjS7e3XBE4mTbZdJBO9\",timestamp=\"1773212268\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qU7uyIOwLJ1QdcI7/HAtlSwzMhEJIeGuLn1lLS/tUtZbhe+GPCaZGR/j4IWA8CNvBph4DqQloiOM50JvBpTeqTmLAc78uEGIhiBNyjUtfpKCmkuexoDg5oEHmfOEiA+LW7M1n2J3634sSdapiYCV4W5Q+UnhXJxP/t+6zmPc41JHnJ/vgWmPXMK1BsVEkYqoM5v5KrEeF5587JyAmvvqHPXsHLNvg7ZR+ftB9uxYxfxQYCqncqNGV4RwM4h1Ugss7HQvDwXd+nZbDzdTnyHIZbcDcEtKv6DDw29rpH8FPNLBi4Ps3PTvXwjKRAGf5D/Gh5fzDKQAYl0lxRqHfAtyEw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA4C4CD06105D18BAE3F8AF0120B6D71728E5FE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 50c3cdfb632026ba8ee748b0802237ae\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZyB4Y2Za919tJLQdLRTlors3liu44lH/1UtOWbBXokwcgczs044XRWOGeTPK+Q5h5OQieEX19zEo4ru+0M8jZnwH0OOCjxOHdqMpjogTCuJS2jK727SuHG4BIjUmvZXSNehUG0VfzOZ1yZjLrz2uZ51nxAzZmLs+NpxV+ggDRKpGcx025k+Px2gdmbGJAl7GEfJdaetqXsC0SW1aj3zdzZOCKuM3k10ZJWQsjDGRB7ZMBG87oIYmHlAM/5HlL+XeCd88jrvxqX8o8s53fts8VVTftKqcCmsILbvBsF7zTNz3IV5kyEZLOvfDx6DqwHX7j2zy1iXFIYax5hLoqkb+sQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212268\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953853438?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Sl2wXUw9CtDgWYz875ZHj88w00hKyiki\",timestamp=\"1773212268\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YVoPE3Xc3MxzdXmzp+rd3NPF48yXZcTVU1I8dlkyXKGdEZONtcPEmZPB/NyNHZZezyky9YYfzJabCU44kGy86F34Vvo9noQ3bdxlmrUz0G1virioxQ2RhMnjGKQlhGULsgCizH6WBr+D5SNt9n6hMkt6Neh27WS0trSzC5dmJ931ScNQJDUfJVv8ImERQjT6z0fUQu3ylwaWaQr4xQj610Zh+pG/72Hue8QnSedkOIvB0WD/ZYPXHwDeQqlWPwo4NuQMVM3ARYgCXn5oBe3PIBAwRN1LJPtKPl7AnMPJWNvG7dT1uaSqb0sKruKxyg7mavTU12SJfv4ssEgUA0L9tw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA4C4CD0610E20218C3B9F8AF0120FAC22D28851B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5bb0d848d8df98602efb8c1b398e1334\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pICr4uMTwtOyTdsHdNmCgXcjMBJyPsTv++x1ZeLf+OTRy4BPoHnNqkdW7oKuO6CSeb79kpnt+y9thnI1SgS6Whld1eICbSdhfLxWhC+YS2MTfROXGJ4vZb4zdaFmTE0D3pfGHlkN2zbvDzBZmgXcq+CfdDg6yQl0n0s2w4+SgQGdKvgv3dcd9hscWNjaRKvKiah3TKZjQ9yVgriTWQ7V9N/NX1LPYemUD6IEtZ9LW7KHAt9r+MjmrloLEUSl3hZpM91I3iVKNPJq+oGIDIq6hOxREtGN5xIt9167TqPYeI+8F6KhycNKyR4VQvLq81+tC7M0S9CZVU/j6a64WR4g7w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212268\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122953985110?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4ubtGTcCkDhMIbpXmCR4TIYZlgVVTk4e\",timestamp=\"1773212269\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HYHHJANd4tqj/xaEjtBUiogbyJHuUf5QGW94wJvHhU7VY3GxKZxl5bFqb4zSEhw5iDnezxq5ywzw3kouAeSitDzeyvzT8FIm9NAEyAWBGkD6xqSE5Ecr1jEguZCiUU+6tw5k8J48Dm+NQMjQz+RW49OZphjvRj5xRYZRC6q4z+rN+LURuBxqwIakY4ECeqpEYi4IQ8WwEszHft9sE2DFYx8nkIjPoL7LlT4GTm0DjFLQwXTIfio+UAl3czMArHiUF8Nqg3AGsxXZPntp/gG2+2gKZpqoCMAw5N5Q7UHl8aTxviqH57KDSDJkd5aM7J3wm8ru4/aGQRYFY9w8qQ2xGQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA4C4CD0610E80418FCC5C0552096941828A1AC02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c095d5704207adecbfd5e478d591d55a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TnbhGjKJ1WJL7GMjyOV1QxB5+b5gToJDYMh236UoogPew1yrRDEIAqvX1oqKmdS/mIMuZazkRSp6+hkOqhjP0tiD7ySlo/cGrBpvNcDXNxhwyFyw/6g8dtztCa8ku9VodlhEkQOjp1JHQUsDSpW+hP8ESKFIdNT3uGlu9BkK/+A7SmZ3hFUwB3Skiex41HPfdE5EUoKV+gKMvQX0QDrgK2wVnBhwqRGqFefhnGo/kx+z68IWNXuNC6PgLq4IMak1RqruENTJ2WdoKi9fJy+2JSj2jwTLxdruLJK6uzeQZI98fuacA6ploVP2baWPuTZzYB/IL3M8GleTOGXvCFBK9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212268\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122954061783?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sBL8Ysf68JlIFAFBFh5g5pDgSfdesBj7\",timestamp=\"1773212269\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RlpRHdpWAxQpFEd8t+KgcPJprJq2B5IoktMA0eHuhA+TMEfBUV8pbszeB8qZ1rQLJv5RAxauSXuE0agFGjIznS8mcuDEYJvtOxhFK+nfyXeV/BkiZyJmvg0+xZP7LlnTb2bBHfLooZCcv7A2qOCOLVrTSC+TAq0xQExEVs3aBtSj4UTsHoclWMBIETHqNttZ9tl/n+q5UfjGHq4dOV+atjjiqkUo8VyMsRU1/JiDb/QdJyqZMlRbMc1Y6OHxJxZPtu8720p5kD0Fpj9aZRHxiLbEcRAbemgbsgW3AAkqK7OYnlUT7bsdG1+gNbG9U43zCP28vy7IXOMRiMEvBFXw/g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ECA4C4CD0610840718B6DB8C5820CCC41628ED9003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0b42cf0f457bce9e0c437fcedfbcfa72\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SKRVNAt2S3xzYkNdNm7m5UeEPmM1TX3JbesSC4BPVJd52yE2nwOTv2UeuK4oAxlZbDXJzxPVCIBb760DMzbcz9qkGJnFuaRPWiqkkV6JTEjztICXyM0m293BJErIkP6nOsQtrwMan3axKWv1t2xjDYQbbTWUb1+A5nqbI8wYIx+5LAAFZfn67HZ7+FEQhBA+xGr1QeV2O7AZgd5bMUpJGgXAz5kxxPjrgh/YkQBosH3FROEWsBx8OQ0K+OAcpVXqSbIs88L+KU3fZGbFHJVda07d0QkqWWH7yR+cPSrTZrwbRKIkJHTehJXNlSPv1UeZCGuk/0wMf68jDVEu5wGRoA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212268\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122954587719?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HULbnTWe5dYxpVMavvCC5YoiWG1FHh0x\",timestamp=\"1773212269\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V8PD+7lEPsG3aPGJJDWGQDjey8+X/8fA5xwGT47pOIs+yw0ZxEhKRWsKamxsbbQokcKEZY5VcrFdaUj5LkS+kURhg01eBnpigI1U4DE4YBfoC2eK6LzzRA5kS0bEwIRo1DAQIJO9EWhwgnNX2Y0z++TzUhz4q4HSiiLGiC+sC3kq85iZ3dgULa8cdnYXTIMS1PmPZugMau0WE7ZFwuJSV4ZM8VW50GoX4jxGpRikI1XRMCZdx0Mr3M1qnquvZekmSYasy5y58ttiYU8stZj5mANAwCoS2kPUqvyJ3lqDruyDbBitI/7VoD6XPOa7aRLWG7cjCONpP1QKVvw8xQ1Dfg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA4C4CD0610A90118F7E6F8AF0120D0810E28D30C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e017c9bb1e3b8df533fa59c97badbad5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AehgvN3VZ9l5QSXk/ub3//gZ/HMzglvjSVP1o2jTefOG7Si/HdDm/i/MpglvNU9EyRsCY+HXWsCo2AEF+a+XJ5DmyV4Cn5l6hX5aF0zJnz8HW1MjE5k1mRpGQkgjUgLUs/f1Q7nH8DQnxmnt6aenIhHzh7+08BuIYsnhsVLZyFabOotUwNoqX9os9Po04ZZZbpYNDM2sZl5Pu5iGcMxn54/dbeQIlazSNYY7uHt6lp3xZLAJqjyAbfVvB8IK0JXhNRJYgPwO4jDmUQa4+LBTxCVUXYQGl7eUGlzhEjEqp5rs85Jo4we3ARhtIFA8x5+VoyApsRUC2BzDkyVRsPIYDA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212269\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122955788341?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AdXN01fKs3ffTE66tHYGeClOLQxCK4T8\",timestamp=\"1773212269\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KKCwL7twrp9kpUrHQzfKjvX/eb12Vw2fWE48tk5Fr6pddXx1HOP30NOklA8gWJo0l40GVKZpCBuQUhj2R6uCwQD7MqCBrtNFXopJ0Xq2r05Louyc+w2mXaLmfWlKwGQoFA4E23MVPWZ/D+R+RitcwZxfwQpETcau+COBReb8p6CkWdBmc+nqveFbi6tH9MTHw6nUn9uHvfvBjcxD4ee4Qii7Cz2rvEKHmmSa6CszVYYRCxCa9WVKwlPqeHGnh9vT7QXvPYyAZsF61EEOoVd6/KtzWhUkJhCF+gmPdPVuT2gV5ZBp9lQCkkR657ZKMc4SA5YR9hyrz7hB44a8hXVgyA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA4C4CD0610C90318B6DB8C582094BA0228988F05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8951107cf520b0bd9e1cb2d04ad0171a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sDugHrRILIs68+RqD1rBfvYjqFY7/cIz1wKr7qgucaNE7nvWw8S2Sp5oiYJpQxOALNkiTt22/z7szSWU0QZd0keObSkV2+N5EzHvsoE4+NccsT5gmLD40xWfMm40HZqPXc16gejrvX+5kO5iiK/aYb2ujqsQPyjIEQtC+Pdz2M+B+vWD4D80FeBmF2zfWYAqA3g0btquDZJBSIKp2Y5FNqTRE0XCA7A8m/RJ/seZ0AcHzFa87XUDHwEvisDuHQh25DHAzIAG0MRs+iVH5+ItlVIIcA0LBNjtCVCn2lxziPZtHyCbOu70lY2s+JDw0g+eqHIvtz1b8ftZYwJw47YgGA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212269\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956690924?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JntBJuNTTaBKhLBORLm1KP5DUukCbvfw\",timestamp=\"1773212270\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fPYH7xL51SGUubHDkDMV53hsjLSwrKlOjPJVqmAD+WILZLuov7xETiFsvRyrv0Hh9+yS1zbF+5dpkjRDsMCb88YOWv4MCJHIp9My/oKKS+PLobs0c2TzE4oXWwpKp7o1R4lkbGq9o0pz46U/5S76IUJ6c5yUNUmAN7yu2beBK2pjBkWVBTqepj+BcHQP+HR3cPNfMScjnztrjD+fdbAOjKb2fFP6AVB1EIBf6ENv61EqviGIPbrLop2mjv4J7vdJK72V77eDlsNcTeg7g6nnGVLFNGAhPvkTZVgG2lgrUS5N1rL8QreLBKLXbDUl99ltfwTf2qys9VtbFM8FFebcZA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EDA4C4CD0610F50518A2DB8C5820CE880628DA0D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 917af5ef0f3b2b6977f2f86f10375353\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pE7+cO7Owola9hujFwUuhh0TEd66wTJ5HlQGjTtcEI7IXLjAq9EO6o9Tq0fQeAyjz1TpOctR8BcWG/5Riwaxiz9m52S+loopvC50mkwlCYa/xA96ZdXmPbSfswcrapiRzhBV2SD28reF7mj792ZKiXjhRUR+u8vf6OxjYyB7yOUgPpW8b7/lbcnPZnaSZC74NwB9uEAZKewx4tKC1jO4jZt3xqrLFnyFvi+4E1S7EMtXQ3zBtG4WmGZbYjsmArQSXkjzwHv6bnxkVkLrnaQvajWtZHV6E9IEDAUTjrV7AK43aLH+ApQREHvy3xMYQ+NXeeScF6ELba0CX28biSQC/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212269\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956696572?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nJwkXO4AFUrywQcrK5k8zNtcqDHL6XUf\",timestamp=\"1773212270\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"efSXMMfOvYmotg6JhWCyw6444GqbmMSRVLDWKOojW2Cv8EyncbMYXCPSWpm2VJ3udPqgLJuHuQUjxm95Yndkmn7NbX9vSLVtRdIrpG90JgbYOiF7/wqGp5/441914r2oZ9vITg6mMBTUbOUSHBC1UKttzoPsy4zXMSXqpTh9zknq1vaGgZxRZpJAiBew8M6glp8jwMITh1gmAMPzSKDYUxmVUoHLyf2/iw96tHy0weVMhvqwsJSsM4RZLt46q5p2VSoA89XtAeb7YOKVGq1h3GUUaZM2s2GXWB6WKOjzJoRHuTXGERf0Ki21c/yVPqPetrOmj8YjJPhSoD22a8cEPg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA4C4CD06102D188C82ECAE0120D6A51A28988903-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 619ceaaee223f610ca6e75915c9615e0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BjPBL/tmDTb68Ry3nDYSwnuNUpB6QPsmT5sUD9h0k94Ez03aVU1wRaaJT8VLaEthmCJRixxh9rFrFvrpACX5FPo5H7YT5NLmLtz5o4iT2b6tTTPDGPcSIpKgAJkcEsva0KNG+t5XkbKPcKvsOy8gHmzsgCJUqE/nzT8WM2D7mDDDn6Tt0Q48MVj2lt6DSlz3NMiXmIqteQ4YQ7WLrmQXg94Og0LvtNPBogWeeuYymO9K9JnMjyOcGP7ekKbfSEshJZUdEHl747FQGRvwG/cHecwmNDuNuAF5dYJe4Xd9knDgU/r7vWlv9Psx4NA9SRF4L1bmIQnVSWhR9CJZ3r7X3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212270\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956704147?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dxQne7dpiMoYuPZYZ18ym381Q7I0cucK\",timestamp=\"1773212270\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2IgWP5OArdlajT5jEw175eq5OcvtDWCKZhBawzbQNtjKHdmwDN2CUpEovF2EPt0bK4yWT4UN0Xo7eUPnF9oIpWUyzS57PMzD4nZ7FlGidbDRs8CDadsKfzrlEFuUEhrINPwIggjD7GHl4se6F+TjS0H/yF+C7jqdEuISrZ7w1c33O9zvSJ+lV0nGsEjfWxvFt422kQEO1hwgQ4C6PFcfs9+YpesKup6o7O5m+djAlLkvckPXk0+WwTRbBOHlG/yjZzscUvRqXyHaxCYTkgT09RuJcTXIiKbbK6fG1QGUAepuO+2kCIraOBAuv6w702ejC242dMNQVjbAYtla1LVV4Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA4C4CD0610C30218F982ECAE012096F3122890E101-268512771\r\nServer: nginx\r\nWechatpay-Nonce: eee0d91d581b94a64c16fa4e5946e2e3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vHNaZK5ADiLu/WcwuVnVyUsoOAdFJhpeeGGJj0/0a3G2Bdyz4UcFDtowbojPcTfPyRfGMoIA+TT9QJkdsrNrZiZTc2bAEX+yV9PzZdPt+uF6Xr7177IoQvQM18iYqd8cDWe3l5C2qJ8gC7Cb83dKYMsbW1gPT0bCc8fKUPgMp54JETR2CaYm5VyzbQCCUxIslGbayal6WT67EbRfkqiCVtqSXwjFXb8P7oz7KCpf0uvJ79plWoa36EtdXe5holu5b5KLICTU2Z5pTTy+Dy/nINz11Xm0HUVQKf7VxOTQ4gUblj/IhOpjI0GI9UDSR28h6lRWClaCJBSOoLAu9JMoTg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212270\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122956832135?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TpwlKek8y1mj15UUohCkjCBDzC1xk2k3\",timestamp=\"1773212271\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"aJT0ofWtT+6yEaKPF1Jxz4YYeDhyEq8UusM8PyrYA+QrjKqdDBJcITzCyBg34Vi/Dwx1V2xoEgLN3pdB0OYtdQscL4boUJAUbgDAKfkb+i4SuHEm7QVjjU2oWgHjQxMNdx9/hHnhtCLqHSWZ2AA2uwDwCOLlSbIv3KObYSL9pIP1MzFCGEDd+j4VR/ID3UlXZsvOlkjV26X0S0+LWXZ0g2SQ3JUip2mcyEzrWcw/SxbRmEdZ6ClJpkNpJ3FTUbgiyRlpxMObJAQKtLLsXEnO0Xg308PGq9vT7at6LUEKVP1TrUWoEfs6tPlUQxQwag3DCCLQela6fMISR0CcZdetVg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA4C4CD0610E40418B39DECF50120C2D622289A25-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 220ca72ebb4916ae528871db73db089b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: A2fDF59TlML6osu1PQTDS4t55WOh/R8wwp+mbRzfDoOaQpMt75B3t6MpSIdHpUVU2YnL03XyDn8dA27p14sfqdGTOipQ+HOCBP5YPt+uvrGK9DCOs/Lkve8PYy3dlDc6nvSSqlyZhdtsCaaAI1/pGe2eAohRTka/chY2e/eMDyAiNslODedGP5AS4yjOEGKY1v3Cb3RIFte/uEzy/2PThXBgBx52yIjPtiOMjbm0ZCXK6M98kzkhRXfiHgqb329nes0nJlAVG9+++d934jFR9kT7vUNfbjI+bjkY5MNYWRemml/y7tgP6LYQ2QElkcDv0LdfJj1NftdEY95LbUlTUA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212270\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957478775?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xY2JdUfk7sUmXG7M4gAi80LdYsB7mCW4\",timestamp=\"1773212271\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YSLZ0ERZlnQzGbhXmAfwws9BE75fS7VEpO/9Njo/6PN/epK92vuulTvUWqdjJv1QIN19D9t5P7JmA0xtNuDhxmbXtyIithjrKLD7/2tdLC/UIBBvS9t45TBJ24czw76lX353cXM/0J/hMMO/Nxv2OwCR5enHofB+xqswT6rV0YCPq+tI8toccoa2CRErIaC+CGXc36vKQetS90EPgy+agzDQ1xIYx8x0TQ41ZYcVWswWZxnx/sKJqwaygIASmR/0vu9ZGcbk3VEcS95ik1Hus8L+wif6RejmHar0xcFJrZfWhXFmZ+LHjI36wMlLpoesFagCrMJG8qNZ4r/T7Q6Ucw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EEA4C4CD0610FE0618DFAEC05520EE861128AD17-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 007dd3ee2c8a09065a0aa14393bb7e5c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yC81A6OY9hUxaXGFxyhQQ5SfeYTP2hbM4K2i1Z3nHXtGNJrom9g7x+n6FDSMN9rWe1J9fBeKVijrvXe5lNu+s/+GL63CVPMHprwZSP44DBa7PpkjADbpdVmgld5COL1BM8v5aYiNo8ot5hvPiC+kQCTqJHLrIA6i+zR5jt3fQyBykNgCUpd4uW5bpoSharByGAAHlTCdemlUbjmgMWDHFNV7MO735wOxIWDrlHEjM0dHdaGQ5EVtPcli+LMxi/PqE7OvXClDB3EbMYa4DHyKS79c+O/OpyebX7US16jhmkCPRGDtmz3hZiJYUXCYyotl4i2ieJ7K07KkEmfmBTiwbA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212270\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957647740?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tRNsDtWLXLXQJbIZMb50ikQzTJZ68Snl\",timestamp=\"1773212271\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kxbJOHtMoJC7eND7X5NUWGpp1H912DVAs5NdTXsaV8COsQdzMBnW1kN4dbNHCw2kE42C3Z6FTnfoYrgsYHR+/3iYDMo0WQyU1B7+O2gM1rsiEc89lGy5WGl04u/GAHgLMjH6f3DHCgWSJU6sfePvlt9u+dV1kZvCzcavPWvRLm0duIm/8eN19+m5lzJ+TJ92JxKaT9OzfmhhkKDKPmPZ4Xo/A37JevdmZeHjYKY+nCkcV4w/Tz0Tzc55hBA+KAweDjaZUNeIUoPv/s7Ri6WnZ+hzWpEZYRY162eoEdkqKkxQfLIubLvwXRrVk0xFPEFao2cTrzfrl/CdMSCgDGof+g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA4C4CD0610AE01189B83F8AF0120CCC92028CE8903-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 566b1da151374e19a2ee91f49ff8b90c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PdeuFjJ6tOm2XYDnOfdamOgaIIcssBh6J9/I9nRM2pNQ/Z8i1sykWJ7NGwbcakH9YSSbyBU6wX5dIP+X0gXX9yE2QvFMfaMw37l3cG2dyxyZHcxYz4hRhCbbHS/2e3aH+EGRcwSwYktnbuqrYj7HFvAJRG3oYwkQlZI4x3yCWFSyuTWHB9pd01RZntEoZFwQ5byIKLNFV+0LmGlskBO5B7KAznFRHofZXdTJvyHwhfj2XCYRAFY5Xl3+e9HsbYxKpUFOxI+ZMyWe19+MOtaTgPOkDlWOBNEtydVzc7HoyEJRdJyurXMJPzo+o2zCBKlfzz9SvT6mwuF6Exm/9tqR4A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212271\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122957648705?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jCvb6H4JIGwASAT6cebDIqAO4mf80S0P\",timestamp=\"1773212271\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uhTs1+4e3Z6mWdeIKSH0UZqdMkTvC7L2wlZeZSpjRKhHFmK6DHWsYv+TLIs5x1W8cSRlE63nwBsIqmxvbxz0T3joLAmEbWA1aIhOhpuIzzryjOrkBJZWdnhXV8rwHZHRLLGujTwAiVyBjEOKSZdp8JPeHsyclE4B0hC0jS7xJL/2ZBZt4SRIoKbHUeQFAQF5gGOfnfm5PJxx26Zpao/yWNKtNH046w7sQuhRV7OuuHnjWuITphtPsV9Qhot80sDDsusVV9++mQIheBRyoVSWM8UIFXTcUKRtd7EWbgudxqzXsHflQcBz3Atd4VSNRfCPOyAmznpoSHV2dTdEONzHkQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA4C4CD0610C70318DFAEC0552094FD1928CF13-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 945a61752a903d83dbe22c5acc9b36c1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: h7STjNaL0qeciCj7Fq2SFCPNiHHwjTb9VA8ZLUqJgOnH7Xc2lD3p+OMWIeQsfyFGAIF/ilI//d3XHtQUML5VfnX5KwHmc77UFgWRZLtYEZ686qqmL3ghluXlHcUgOkOlxDoaNx92pz2BQ8FukEqFTevWqqAjV7CkVYZEBcBYUag9JQMifYkztPJg8Bx2J/hKOyrK6pq6cV5KEAUfxAkCGh7RkAlgH77SshrHsYGtZqSiEaH/+dV1aKmIOdGFwVNCt4oWu/pAiZJCcUzmRjV3Ux2zx3yhaaIaBxGNlzvjverltBTVttJG97rWjDbr8MjMEuloB7UQX9TIIca7k2EcRw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212271\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958003713?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wriyarkyXWzqmsIM0FcC1USkYVNqoApu\",timestamp=\"1773212272\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QLagvUc8FxXQ0SnZtlJn1aVYRtPQ0yzdWibGb97o4rzCDg2SwNoX8RsEacgbFV3bdxP25B7fEVTTApmb+ea/lAvowcBC+bKd8iEcF/mwyN8Ktu6pYqiP7OvwWCS4auNnHTAOdLQEGcK4qti4iyALyHBYhjSXsA7fa6sxJ+BZwTivF2n7zD8YQcaBMeplNWXsEoLwt/fs3khI2vXcJcJKIlFGvzg8t2t4HGazVQyTcKxgp9pZJtqv4v50e7RM8/wt648lY4ki+5pkvHQYfHdgTov3k9lZOU7P3ceI0rSv58H3qx/3mOv38CroTcOyx2J4p2o0+9VHKRrGkQV7RhVrFg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EFA4C4CD0610DF0518C494F5AF01208EE91428E49B04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e6345bd4893c36b5118bfc8a4b348b09\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kOcbHIi00PPMY3RnUnae0TycZBGhlO6Z/CZkS2JiZx/+Qk9sP2GJrQ8lhChf7QxI9lMkR8/zD8I6hseza7EWh8LDh5sloI5USdDl5S0Fi7Rqu+FhAHP879Da5Qxe3AHfSYSn6yE0GXwdiwdcc0K/FQaTxxjD0o8/pKTb9vuE39bmOkVjWT+tRHJlz6wxLdT5NmTNoiQJrUm6BumEkC9lud2EPZEdXAQL/kkGrK1wxQ/PFXWET3RLgiIGl/33CYtVxLhTIq9fp5rT/MJMVDPbKfZ8sF/cjiGleU6gbVcIUM3y1e/FlVxNd4qFIr+fKfO2PjXUHrIJFljgAd1dmITF3g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212271\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958702927?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"a9z76xrbmcui0jPTeqPmytmwIy3L5twt\",timestamp=\"1773212272\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gRlOwgrh21bIycErNKMaYEKDEtYpnpuNNnTkpTsegrCRmqICve9WIOZkNMx9rwHmZszdvB3g9N298+ItEJ2RB2h5SFzNqud0RcyYLzzy5HK6tRtc401RV8ljhxWHlZqgMNQc3jQ0yIrJzlhB13vGjEwsqeMvW5YszEwfDyGfAw4jEKx85pPnskww5BYd8Wjawu7XpJlF09GTlqqxTtnTculL9acr9A4Mqx+pURzwI+cdUOmfyDWxKZnGn8tfU4KqwD7iezED3ZsnB4rmC+4y/Auk1AyI84NFAmxqMSFqNtmbBwf7vSVOt7LqBF+d1DZrRg+lvBq30+sh8j7iiKQz/Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A4C4CD06102A18FED08C5820D6FA2228B88403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5a914b69df59e49c498bed91057816b8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vsnbalQVQKOXHaP+W98ZzIBPSmRi2+MLHIT64dg+BP9RamrhM5veYvF8Z9sLz7fHkGetWIAIH6u7Y8aAJm/By+zH6f8bgaPrcmMiiGR2ubTCUdmh9cb0470OtoM6gd3sUqoHaVJHCePiA37iKVoMTbbGZpMD9OgHSn/gAI009KuuUI4yTHta0gA+B047e0n127l86ws39BJbck89mewSjxekzaY/dxwRu7RRKqyIY5799vhxtnW8+r5XpXNJOINXXVbYPTit2dhfZiF63TyK5bO+ubFFi8dQJbTwM8vfBtQIsRydVXmza/oKLKiSmMsT/0SlO3t7lMBzycfhvU5Gxw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212272\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305122958750152?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1TbsQRoUJAYXOmggQlha2nqrJRpi4XZd\",timestamp=\"1773212272\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FPSp7JNu7WbL3IVbQVpfZPfDQWpYFTUqxyX/oZ4z8Pi3FCcpDus/zZqI6VxtAquDpejUGnG2WJ0+xraTyKU2Z4qJac3MffZiEFwLsYuqfczPX4CtghUH045YrmHF7H3pDDjSKk7ZXRyc4PToi4/rEPs9UGVZTphaYwiX05dEmtuE0FcSjO8+qxu2+8VDU3xQexaH05PWDSbUGy+gNQJOEDCtJy3V/szhYIFjGtTgn8C0WbjKqiWu/ECJFNCoJbpXyrEr9uN8BaKTDYLkAMpAVzEW5cLAuESGTn1+gMjOFQrjLOo8R4fDmMOzGLaGDQoPzp6pcjTvGwZNb0uN6e8d9g==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A4C4CD0610A402188480F9AD01208EF90128A49F06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 36bf78bace27510089b9b0379847588b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gS6bIuy1NcbUJwZrA/jobuklI3AR0+lKWrDNAMPY7lrTsjXNB4aV5UxUNjnliOiD2ewBxDMIzJXZj36twvjs/Hxc7okrd1NrmOIYFJKqRzwpwhaDZpezpMgXhzC0Bq/6omKKb0itJLclhWeN4Ghm8zZVB3opMjCNFd2YswGZAyqkrsEwLFnynol7di2glpbWCXq2pWoeaIfqoTi6yrozSHuZSFL4waz+T2s9Gx6m5rAHpcq6jU7IyfwleFVkiZPiLPjYbki2JIj3arviHGNOFUnhgCRAE74zQ46EXZem86UbjanSgxYsoGsYyOZQZJ5aV6PWR73P8I418GUyrYYj5Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212272\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000505871?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DwpeSK1QvCBOMINhZ3oz3jLLtrX4PHM0\",timestamp=\"1773212273\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lVcxSEAyTk32NabQBVZ1t4xNE0ZZmjBnabRxnKB9hlmaUAeFKnWwIcGqConntomQLjzle8icgRawujRPJVyecIPqeVYsGY8ulvCt4Jw4Dy08IUv/XZjDCwKQqeFH9NLEaDRlNEMAR4HQgy78kKj8ggqa/I/olvzbSZZcIeLK1jEBfnuL6CF56z4C5OwZgqMA0vhE511LCM4roOdK8k1Vqr3z325mgYVYEwaKYSEUHDUCH8KOD4Ys9nBAWD0eHy6eyKO2CRTe6pGB/vSU1fYFe4H7Hvk+i0W75y+jYCbXEgcaUHvBNmbAWm3dJxikPaVFUCh/mGO1FLwbb6Xhuu5YLg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A4C4CD0610B20518B3BBC05520F0DC1028F5A501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1bedeb236f2013de9eba3dde5e520ea3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CyVDfklp+AklhPjPBolRZ53Qa7QsfH0JRf51gggcZtoEPDZvItlnb5P12VJzETufy6ChY8sgWCYTGc6/cGixVv7DpPATJzS/3PlXJMOdE518Hbh7Tp4vy+gXom80D7AYkm3VuOko6XBKDmYD8Ipd1UP+wG6he0gCGFajPFECWyT2EfT4GEETffiNc1mGkqaR4xuQbZqKjyg0kAfQfhUqDeGsJGCuJcdSL9aqFE1UhEBiNrWxT7UNPHy9ptCh/R35SB7wJMdXGEcZ5zH+nxXFHdArAl0qbg9gQ7w/w0d7oshA98rHKRl2Vm00RVcsKlRH62PtzMdRVF6V6dN6gWbmcw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212272\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000629680?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ICWwcMisi9MTxBTWfGTp8FZsgyIRIqfq\",timestamp=\"1773212273\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fpTZ+3+ob2lSiOJNuUnC9UF5u+HbLya416Nah4bBer1p1YA+WR5EE0m94felbB3CFr6qLXInvzmiCIO06FiYkffc5tY9PBEncBG873dm7cFn9b1PfDxWK48+NraY2jWQ6UP/QNEO3zqvXi7XFZzFNanh/yNRQfBq6a7vzvKo6Rmtk5BlmJCWtMkI4iPKSfkqItQHuwhr6EmNAx6vPl0ozg3OqzuNYQvB11xlNcstj63NV4lrj+O+5f6vqvYoEfFTtpvfhJ1i8P1hbY0hipBtCuPir7ZtANHtLb8Jvv+6AgrszS/+1wFk2n2hDmyyRG5fWx/kX6kzV46ORpgJcZZtWA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0A4C4CD0610C80718F4BA8C582084DB2928B08B02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b695be6d0933279a8bcd653e7de7ed24\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NlGDqEOBrd75XFXZWYKFoo0dCrQPcJgDyBFO77+I9J4a1W4lwqdmgRqKEO87fLblUtgdteKDWVL5FIoyWQDl33Y3U5kRNImThVuW4LI0PIFgBVioM8O/D6DmamTf7QtFGd4O5qImTaI05vTwveWb8an6GzcbMSsUGE8ApoRr8YUkf8i9EV4QJgED2fveK61HfO6IvLbYgaXMl/yaOA8/xtjbu1bVDhHv98veIBE+QTFCJL4KwRCcvRP081jVWCmnNAC4ITF8/DN+tsxUpSUoXaqB6YqqogJTExiVUIX18oeS0sDxFdV+lggc5ulVQaN8u2rOmdYnHPdFU4ylFRt94w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212273\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000684024?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"s9ngM98tJkgnaaVOJMsPiPqvkI586RhE\",timestamp=\"1773212273\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"N/mGjWRT0VicNPQMCYAJv51j9UZuiTmdBGVTDTX7d4HZarbSSjoSIxZL46q6Y0Sdcn/OpL30k1F6T4jPamrWnUD82B4mIE/ocI/+rsUNGO9NlcAyf29HupuI/Og74LLx8q07oXBb0L4F6MA/lkEz33xVZ+dDpw6HGLfsbjHskBYh0PLcaMLsUwdjLRwBPLLuXIjBYDLjUbpPXdWLBz8RRCkT1SL5L7n8lgeHpr53oHUXmuw2UlJR4te4iaHxKWvAmp63yCV+M3v3I4//bUroXTTvQivBa0WKWQTe0RqqA3g+HQQJFGx5VOJlM7PuDCcAtUMzQGsxL6c4FV+3A7SuXQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A4C4CD0610890218C2E7F8AF0120F0E31E2888ED04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c43254ad5066aa8168a7f7e4d76c3dae\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cs4PnwDl3G+JIocDv9+JeWzqQPcBY2Y2aGcvoUUqghmfRPaiLHlxy/LcVvVY1YWJ0LTm+zLJjNcFAaPWVibrMvXqfceCjUijmSY8KLBfsEjO+bMMjDtBzDZjI4tGkCDrVSPIVN1Luw160/jLQpvi5vFfgLyTC47twQdbC7Yx8gBmhbQLVgsRoqKjumD1bSQ8x5+1xWiYlGv4lOmMFvLJPfUTpqMAe3jQEksd2CWF5R85TVLB0vYvL3F1S2lOa81ZtDi2/6JUargw+lfPiJybKqXMUp27kkKezbNorqiHHSauNrtiUXCVJGpTMd3981Dexxjn0bd3E4Ya0TkIkH58NA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212273\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000791662?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"abDgdczdySlgRE6Dtee1KWevlQHbBRBG\",timestamp=\"1773212273\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2Ie/Le5/sT7l1BZve3G7OzafPCoTWXQwc/EkUGO6JBb3Om5ZifpJAl05Scx610Sh4M5EYQUONNypEcSC/7G3LypF47g86ADdiM7gThHeI5xyfYKpL3CNNgqlxP7oGGclU2Bqc/JCQh/7zoac1eaYMhqppe7dBPD71aslONq0sdrcpIijmNjgEwQzTlYpue8C/FRXM2JXR/JNPeKolEph178Ddpy1fFiDuR4zYbn1tkimE/bRQOHD8PY0QqHtsxxyZ90dVEZzYzX/iTSmQlP16nfoE4k+TM3ANPh7ywYfBa7vpwxuSnIU+7U3UsQ/YNkKTuP7Mtcp0HMPLHzMjIeXcw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A4C4CD0610850418EF8CEEAB012080B52B28DBAC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4557b6afe8c6359a26ed86a37fb5ec0d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BAAxpEXfUhLDy4NcoUcnvs3U/5idv8PC5aO4EwHIifScz23Bk3j2jDTBjVUZnxKMbBe5M1fwmLfMb8YxTCBTvYBfZHpPdiY11Tx8DO5OXvA4YniFwGN454nR+43UbkGEOz/1oC6eQc7r7Djmmi5UFkQy8XOLaEbdqsUDn9/+KA1VS/P/VTJPo3bPbvDwKC98AwPu7m6W8M8WWNeaGqiSvb7gV4668OD7FtofwqLCeGeXUWr2iREddo1nNqe5NI5e01/pefLDakt0YqUSfLQs+aKS4NSJ8DVW7PtqmhZKT4Kv6lR6iW2ud0XS+K9RqjarjNCKVb+jmAQIDYaHWgYJeA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212273\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123000874050?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tv4VaDl7I6BvNxwQHSnvuI4R08EaMkeI\",timestamp=\"1773212274\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"k3+l9wdn8pKmWSL7mrk6F0qnvZrc2f4+C9XV/cXu05x6JEY0YdRWpyIvnCzh+z4PaRKf9/0PHFCHqxLqbzX3jmLm7WMy22eUKsxAyO7r3iqOIeTWGCaPHrg89g/GTyd7+uv+Rs39rI4tNpeb75UjZcPk1Y6VKe2IJHpaSYxLiL39ssatc5kTYAnmMwStPtIWh9Qf8nAzT/d43oxJGlUXs2VDL1Q35mDHIjdmZ4LyE9dTUa55LnvFmzIsk2qbOUA8fjGtarCjEb4m+AOsNZYxDJvjWL0jM+NnfIooKLMvvi49W+85cqm8q0fMAgAxDTHUdFCqLyH0UGY+rtiOs5X5Jg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1A4C4CD06109B0618B7E7F8AF0120C2911828928703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8d535b01a03bde1967b9854e16c6be80\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FVLOVM2NXmKfsz1BYYgz4pNE5+0/a82Q+m9gaXXq/qk3X4GDAk2NPzTXiRhfHWAaVFcLDexF8n2FxsGUC5/XJjI9N/HjpOkItJr2mC4VQuiYZRw6X/LpkYzzlL0O6AY37zZOXxremB7lAuhIhWqPQVSbNHqCDeiGDieYXEmuOidN+TGffg8ysKjaz+VKVn8S8LTzOB+N3YWXQwfObrGAfBq57QV+09HboPSeJCpOsn1d3pED2x1SGg/YxuXVA0FUlEhEDgn4HGQ4GHpsC3Eogw7Wos1DLdUcudI6usPiSWZawpWdAPpgH/rayKVNZG9aFXwq7IuQD5fP0UfJfjjUaQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212273\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001181641?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3qriAXGLMjVBHWMgisNcLfwfS8dlSQ31\",timestamp=\"1773212274\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bVk3kZXFnuqm57U1+iWRY3JI28QNWsxPNPDuR4ezZIjBFGzltRFlPyTi12plbh8jbF57fHTe7Wyr3ri/uHUqgLLquBFjT819fZSg0b1k+5v3rszHNktD0rWiTD+onXd04JNyFUBI66sQOmGAIZU50DkKRtLfGCkvSna0Bw6kxIKzkDcEJcfxr+Os4fSlA8EgqybkTo3DaUZ+gIoz1mgAMPK8gl7KCV2Ktdppg/0afI3KqGUS9lSOnn2BRgL2y0uHwETRCiWJ+f1eEjZiRyW3RTAhbWFeafBD/sUK1qOk3aft7E7E9mB5vyfpDlsRr611WkicrVXd72EUqO+O/Amu3A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A4C4CD0610501899C8C05520AEA505288DC101-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fecbb68046da07f4620b7f900b488cd5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: F8CESpsiY2Ivau8JgLtQ27vIQn8w32L5M1VSQfqHrD5TrM9BvRug8oQyMOFzW/4R4BADeE+vYa9I/NPNBtpudwD+N6rHHtBoHM8MwFaQrzm5nCiPG9Le+kweNw33+Druovb76emM/Rk/dnUGKR2XmBF+SotsOXxbQg3qBAegEHRQ4EHRS8pssEIWNk7xW3dfLHk2VRiHxcy4k21oXR5dNitBvzHaWU8zC0Z1aAIZbhRncz2RYY2SUrdBd1+nFsZPts70FCfUxmo0VXuy/9whKaEJ6awcgRlXC/+OepQli+vmD7aQ/2Q6bz/C+0OI4T7xSlu5bkx+bGv7u0Q5N9seyw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212274\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001363030?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"A4eXFT8OhksajPZIkiWGvOl5tDJGqrAJ\",timestamp=\"1773212274\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5PW9FTy/aU2ixWOqT84j6mmBg/9kLIJ8tPvbYn4zcmZkZwp5vyxm6yg8W8I/xd51V20nyBDu428D0w+AP+gYo+UICLS+A1NOxs2uQa/+6dy4bosPegxaj4I9WLdk8xZonxuZ1c1huXdeWycZDkVNxtUtD3iJ+SN9c8avz25KpsWpkmbhGrGd/9aQOTdcJfpyxL+dd+0HgQMHlwJ/Xloh4i7thrueCh4JMEKgBjdK01XkQquMsKs8qoEagvs3SbBzC3t/V4nbMXUKoGdAIdzmcFCORcXGKIp2DCYGePRgZbvR/dle5Td99uffWURhS+bwq5MA0a6xheaDoEdwT7DrCg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A4C4CD0610F00218F3B5F8AF0120B28D1328BB9C01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 68f5080c960d390ca35c55c6f3f67356\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: y+VKR2jB1oIcK5jJPqaSL4nZ9Uwu++2IEG6ZXa67xefNVd1IyuksYa7IbtZYkbv7U3ZD5dKxu/Ho1pCouHdHpyOZj3asPEsPfH5IHNIXnft6dXvbc8zjCRWNuP3VMmA/6pwoNVdrErfd+g1EZTQp9IC7v1x/HrOBA1fqLLCP0tkt6uB6UPU52nyODxbcZCDGaIbFoekl/7HbB3SjzlC5KSBHo96vRhMaz9oVhI7lT6+grAaiEEq1+FHCO+iADHSTIYNTi4j5XSvJ/VjGNeiloSOlKvIje2fl5CJDD4IEYq9IjmKrECsNqXxISRzvOqI/o+yDglglTjPPYEZ27BsPug==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212274\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123001443073?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wxazJPZ2DBPJU2cf7HmhFroPg3K1Rmfr\",timestamp=\"1773212275\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rMoy5rbMdDrgBXObvxaRBZWDzk/6XLPOal0W3Q/5JUlKMB383sFoYRco329ReTjFnIer8b2fAGk0jK7yfZqrilUAbk3NQRlPbkZu39lwlf0Y4i1Me4oY55en+9ogxwidDGazwLnLJZ0M6Xxeo1cF0nRj2wO4qTn2yl1RK9jLh33zdWQRZm5UquyGHTpU50etklo9dKMkdFJkkdMDzMF7E9X920Vqcwch9OqINyMV4jJO4ToQenw2ACpSKI1ZL/eqcn5speoYSjmfWScRKuFKDiEntbM0uiXyQm2ZDZTIBcIO256wgETmMFjezkEQj3SB4WfPNYAgivEgJhIuUMAiqg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A4C4CD0610810518E19D85AB0120BCD2222898ED03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cf2b2d417c4b048d0244b21ade3d5db0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FI3+P4CJKmPZkzTvXnsA8GBBsx9LXUCO4agbXNxVpT/Gqeb+V1dT5O2B0VVpEQqBqU6IkXrvZpWboftpn1kmaIqKuo0+2WRxSJpk1tyyjlquFTm0KA+1atIBbo12YWeWNlf0Lj+YxBMpdpHTugudfA2LPKYJ/KVpfbzHW98Om3Uq9GDjBxB/+qqInXdNqck4M7T8XoB8EOL9C83mWTRdkZMYzj+cTCm73qoII57QzD0Yjxrq+t5Xs+JDdUQrEFXKNRoqDbvCAegIuvqndbnnuek/x2dhZO55RqQv5e8dwi8+obXC6GzFE5uA4BXkTi4yY9sXBXgjUFqORLFl0nR+Vg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212274\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002310792?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wNGo62GDtw2I9f2mp4EDkAPqaVBT0XNP\",timestamp=\"1773212275\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"I77+iD7+3SfPlYOTVMs41/AIe+QtdIy4DUjqZ5eKBO5W5eRzcg4S6SriCddxfMcLE3Veg33540nSFHh+AcCUdM0Xc2Rmv6g9KNqgDVIge8gRIOLxRbmociC0cI/o6F8dS+CyMM9haUfPD6idEIS3HUsKCkel39qLXs4U7pIkGZKUMKdJ2mAg9JwDlh4thg+92llem8bLnrShinnxM4Fi3f/boUck8UyCievB1ef0iJo6LJw1wXk1U9ZuQhF7SwDolSeWhIdYziWmDo5b0WWP1TIoNkmTVNYGI0bWIexvnHdIeAPw1LOIdffnxP81REMyJ9Iv+z3Qj/YPRyZfvQsxzQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F2A4C4CD06108C0718DCE7F8AF0120E88726288BFF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4c8d6262077d1bebb1a86a64cd499150\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HXzWCk3gUdeHPKQFbXEVOSNIqp5NXwCYYpOcflLJOfhsrOhQ2aeOPmD17VUWaDagVHyfVKaYxL+DKzI5MP2sQ5WwBG8P3bscOQbiYAnaOGDu4yzlAmpctGgH8bBBowU3ruk3FdXpeUs9g7uY1wQq65AE9fuVVQpLeOPf2C6Evqc9K98Ja/SBMHNVS0O/KGFPPiW2VVVWe+UMKHFD9T1HzRFSyXLi6bHoAN5TprN9H0tdaSR59wXWvj4fj8oCSUx8IGUtTOzko5zziVUHP4hCqwNVfUtNlcaS6uX8wflIqCzHGlnovxav3+l/bHRxvxr9WbKcHWgcffrveixHXGMlkQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212274\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002559579?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UdtALdF4L0l3bXmj7ATjNXpqysPITqsa\",timestamp=\"1773212275\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YXdsj3PhwwTtNvgJSuSaQ8e9xG+99EvqMYFcjkxU2YUVkontUEW0IsZWiifBbLNcKZbRmXrHcBgUWsO/NWhWxMyY7SXj/jtXm3hT8tDJD2naIxHYUUG8LUTnhvUkwA9W28ofxWZ8l+klKTG1G84vYmvTGYiqAziwXXsQ2YxVxnTa/fU9t0744hRS6erKiJ3vLk4I1JJdB7kiOXhS+yTJKd6uRSpctb1Q7qv0mtVoLtvJC+gdnVA+GjoPcOpKdoWKdCH5JnhSWb6hjAkbgCgdbUA/y5BGRc7LTA9iMEb2edIfIkV90DiGb6KX58foCmfUtA3HaE5spxR8hxBSYehivg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A4C4CD0610C7011880B2F8AF0120F6C72828C0E304-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3881288deb8399dd3a64adcac4d44986\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: g5ZAD6XBl6j8mwQjrUkWMaCqQou3XhajWl+rKn8KMShEuEe/WlbW2Do9Da96tkJv0rpOXna4u2+Dcx+KIQa2pTnurbQ3/O1n2c44J23weZeKXueB0wftUJFBYQs6wY+Y3x+VeanWaCXsXNBimTkQkaAiVJTOFhBaHlj7h4aMPBL0PzSQ5f7HRrWYwQRqkq0qDRXCX9kfP4BO5dyAF/eunh6naXpFWv07yyi8ao8xv5Po8gqo1p9kX/axIZA5jIjtLNGmNJ32TVWqcbKVqK8L9QwmKtTiV0GvgSy3MA17CPbjwh6e7Mnc3ggBhzy1IdpwOruIYMeb/PWX1LqYxVVK3A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212275\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123002721683?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zHbQWUrXe5bJwLjUEt131u5FFyz7KpaR\",timestamp=\"1773212275\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IWcETCvX07TsJwrsVfbAqR+czdSLUBxTdYDYEaCLQOntTk8Rcdx6QU3CgAGuAMdEuartSGmvFVkIgHI/TRJBn+N2Iy6bM3ZXKGkyzYEBuXOwSDK1YkPHvDIGZKInin6m4DkbWUW3z3YwUzirYXJeV7Sze7bv5iVjbm/X9j0vJyXYnKH0Lqf1Xs4ITKTDZztd3WRcNv4ug0a8bhP2fb070Aonbvq5gOSz9CSRGJCrfmJefBRRdbQXN1X+6gJ2Mk7aS9XK/tE8NoavqKys06z/vVt/EcGHDRd2rcwvmukjle4heKPBLfyrzwBvbZpSe7SXDTG3oMbjaBT3jpdzGti2OA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A4C4CD0610E4031886C18C5820D4872128ECEC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7f11f8d99114b3800e8482a4b869c181\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: h2h4YJIxuzBUqqi6mJHodfwYvbVTEg1CRSDjtlgczyFFFRC1qrr7M4NnR6b/kLT42D4KDSmn4bvadQbgTxkZAimlsq7mODtm1VT37gkkdA7I8rr6LnOvAe2YLqPRyerXInNb9Eirm9LzX5dxFNbD6lp+ldDiCy4PXV4xeAQtLFsmsR4R4Ar26UVon7fPJI3aogEz1sZU7O1DyZxQeJFSyqN5ooceIccgPjxtSVJCbZYEEOrBb0o3MhYiTLOomcehiPUMHeAlFMBsU9V+kvEPmPmXt+BU4A1KP09UGX/Ji6o//HK6ImI5lu1JuX522FTBFd87Wg/gQIptTt1bz2dr5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212275\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003041536?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8IuHPCH2PXZbbcyUqs9vjDPtxhe7Oe8W\",timestamp=\"1773212276\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tzsWHr0rhFrHR5CTni0YjG6vb41R5Xk8Xf5e6MZk5xl7IUaTfyqycDXLZ6pz2GJaKbqsH4ddVJxUUoMbJh3bu9Czxmd4h/0ERwhyfkjIOqR8Yl1sv4/skHtO0XX6gCUzajNPfGo2muo8CFNEUkA89h4XrDtlzVlk2tMb3+9b3LOi5heRZG9h8rzBV5p05zMDxoCm2NUaPUpfDa1pqQq6XcmZ8AAWqpM32SPgU1vPH9kM0gVwmWMtyAr0LW9IpBHNk/C277St8LgRkZXXtdMCtZzmPw2uBC+AHgdQxuU3gvMLn5A2uvdb3rjaYrRZLAXQfR8GQn5qnWEioGXG94b3rA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F3A4C4CD0610890618E5C0EDF50120948702288BF701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3b279c53e6ea23ab36f0b126f3007373\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: e70Jch5Q9MoKsWV/V2HXkCvcOE/pQbBwbHepjsXwR2aIZ+e0umlZSdMKXiPaY36EHE/KgUosy8f/ZymbKO8wrRDPn+u1akvPndUFb4JR4qsLMDQ8c6z/Yg9RmjvzqQIx2bd+pTdoRViFIuwPjzrpLUJJW3bfE+sBrJbJkVkUOHWgS3PDiDkBr4WLQ2kJT0czyBmLKXYihK4E4N5F/bTGr5a05X7uNpeBZhZn0oKvqzvphRP0iCUndug1dqw5/+aJLfNARojNnhXV8iCQcgYmmQR4s823QLhH91+4OwaZjiRsKox6CkrN2j+bz95D8WmDq18UEzpwki/9hueb5XfwLA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212275\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003816629?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TJDMItK1KWqevlyHyR2DEzQrF4g9HJHq\",timestamp=\"1773212276\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"56dCWnjleOXjOyyrT2fJim+r17w6udUsBI4mHuc7WwV0zyyIPNkulWMkBPyi1jJqetj7ZFCtXY8UOjEhQYlO5gmpyQ/lVGO7U6jshTHreJ6aaBb7PP/+xnu2MV+Op0Ul2qCrS5b/N8g2z0hp5UdOTCps4K70KsbpD4yF4a1QkVq7Dbe9GSMI9d/DN+ms+YSFUGqZX0Snd/mfGJ2wDQjDB7XII8jhUijcbS0QfMYncZUExyZFbfKZKOzueqD5r67Jkg1q/0mBXNQMlzb8B/jESp95R09STFBlaWaDwENKIA35hHKvSJH6YTtxjSu1IUZOcDLZo0+ENXmeYmXn/ZSG0Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A4C4CD06102918FEB5F8AF0120F4EF3628E7FC05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 21800c11a00f4763e2d84044a003dc2c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: K70fKqbhPQ18WUFn0ZE+OwzxKJx5fXmeyHZqZS7XyqaOmWCAtY5H/EkFu/dyqZh/ZZFZirs3dt2yrP37hsvqpCdSDgTwMk1OK7NieAyoUwidE3GlmeYmbtmG7onLgj/IlGiWA8LMrnSZEex8/Z8RbA9/ln2aThYk1FaV1wd+9hgnBakNM6UfN4J35CFvnLKWAjHujbIDMzOzoTwKjzaekvu4dDM27xIWqgX2U+49cER403hq9Ao9a8k6O1q+mLn36kMTYkskpxLpiRDouNW1UZ+jW21IJesPJTWAiB0RgkAykVhhiCVNL+sRC1nfZZym06oBruKv8PtRgVLWh7+a7Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212276\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123003880361?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9IDZHzwiIiEkgrzHlc4Xmi0tory0CE58\",timestamp=\"1773212276\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EkFAqbo+Qdqfm2pHPLok3ZegbOrjZcXqPsLyzeL2bkahge+Ta3NmxeryMzf+JZ2j/XDMPS+K2e/TT8SqD791SGV7k6dPqEw8ZLF0J/KvIu93cE12pqmbPOTbOxxCGWI3NJgscwt+vKj+TreU0VSyEdteeQwK8Euj6S6l60LV4PsGBxvofZ8Kmb4RTTcT7O+J8mn0gK8SY7sFWTCv+T8Tob1iCVqiBWzrBvfntddgLjhZINrKRwbnpVXQQ03Xth29vFcVxJjsgml5nGZWfYBpk0Dz6Enh7SSfsU9bLkoBa9EgxeOWaEcV5CWV7z0UPHTW5wnClH2AZ0izwoJcT+Vl/g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A4C4CD0610C60218A49DECF501208CA00428EA8E01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e0693f85aa80bc7c126eb9f63d742c81\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AVJt1kCr6EJ/bMG0kVSJa5g30lU16c0fGpsBEOlURn1dxisMMooz5N+C0KnB52QzFKAEj1YqPqZ2TYscdkoUVW+V3HQfL14KSj6hdkCPcne5cbF/ZHTatAdsolrT9EGuG0JcLmu9l2NheLqVjvT3v7DnGUgWupk3AD0fB/TtRvIoI+hsGk9p2YZPesqtWwm44UWWLlKVXjSQiJVNyXdYyFMyNFxOdI7uEkiUpVoL1Ch+P9PRlFuwfSgGNwzM5wQ/TOURLlgDo00qyxKUMOSyDFnf5K+n1bopo34yGrKOO+5yorKDqGJPUHxPAPHmIiUjcbV+KtXZNUk6bEtRIopnCQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212276\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123004342385?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uc8bZ7nmSSBkUhnLzGn79uSNw1GQPTJE\",timestamp=\"1773212277\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EqK/bmWTk/RrEDnfB3gsCQcXEAI9pXuxCcI3osJjnqPU9h9RrANdzp2WtdQtpjqcow/FtzN/CLIOcExCSHgZLLYHahW9B712BsTE26gu9VpEu7Ss8qoKyNbMCQgmZz3VIBskdD6/0znmudUeaauROS9qnZX/J9KgRonvNgRcvHAaHp0Lb5g3B8PLzH9soW3SqkP+ODczWcbIbb8ejxCz4ms8xKpqQ21ZkPqfnlE38VEsmcRhVst6elHa/Zr2NmNJ/IY56MHRNCOIvIPmEzKs2XeVO/qaeqnRGMobMpVPa2rUIXsGqNe/0HS16dcERmCwm7EMkph4BrX8suLZGILzgA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A4C4CD0610E00418C8ACC0552096FF0E28F2E204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3b495d5db078fd1b3c21e3180bb719f2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gjW5PP1UO7SePUDL5k+gYsjhXMW10AwYiBwUp1jtKaPV1D2Wzr0vDQR7r4G4S0Mo6lqoLLMxr43tXC+pJ5NEyTL2+xoX11xCR7OpLw+hYeOEczovGip9QEhUoGoq0+2xKFO6Qs07KapQMmt38OLb7YEytj7vTlRf/EICC24kl3vO4rlaSZnXZv/lXCj6v9Ayc/QD8N0YVH3kRE0ewCiL4W+MWxBmGK4c9z5GLCXVnDjMDDS4E+lZNzKtcUmUcHTasS1sugrnJfbKvbdefUngrsKBnC9Im7/POwm4ShB/bh/hWwuQCxmPQq/Fg3PpWg1NUJwfxicVGqptgqoT5Tt0bw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212276\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123004746546?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ij1gmI7PimxmmUMTFHdRmjfHqowQxTXP\",timestamp=\"1773212277\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CWuDYPtCl+pV7mmAySbPghYPSz71CJ2etsPbwr44Wcx9mXzCFHWZ1XnWZ92xEir9MmH/uNgnkBGN6hFTUERa3yDBeUD8Z7QpoJxAanraQUAC+rdrZd89pySMb6c7DZDIwjHCXXlwsF3CdOtCHem7Hw1wFacQ5IpUM1mCP/7zYAUiFoHtpgsEoOcgQ28U/2db0frVc1A/qXRfpq5J7e6RNZiB4r1GSRlDK5EC/nGVGyAnSPM7koysqRcPLg2QOoTPX8jKhENibSl/bwOSgYGDc/vAvIg5LHosaLTVBpXe8faKtGWl8a9RdWRwwCt+/ck6oPQ8r+CgRxEbdFECRYGPuw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4A4C4CD0610880718AEB2F8AF0120BAA32428F8AB02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c502836c411e779dc60139c776f81c45\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nLh7GqkauBrmMPrAl7lOtTzyf7pLSe/qHXvcb25Ycf0rQN0wSaNLylNiu5kCo3kMoOYgI1k8PEjlPu5R9EOuAZHGG+IY40Mwm8G7kaHGLCKN3z5OMTc47yRQqcDXM8UFIlBi/7jELgmGwh40ZaYDRdYU+6XjOx3MhAOB9IIgFra9W82XNvcSqRyezaSQ0xLdo7MlDLSoF3aTD03cYy5CfuJcmJp4YH5sAAhREwE8pzA4/tQVUJnay1c220U2GbvZl/f/EwJfjM1NGcx4Vqfx0xZBJLlvcziOGnvdG2/gqqs9ff0Z3vUgj5e+p4pSZPQtzL1bt/xAUWQ6Gfsi6UZvuQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212276\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007005637?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kJ5n5CEvLxxe8tvV1rBrM4I6b5jMDqEm\",timestamp=\"1773212277\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Kh4AAukCZTsgoH9nckeWF3NF253+S3E0z0sxEndA7SohsbMBI5sQAV6ZGYz9+MiyIg/+GUkKaKN5tWpWKrbxlRz+RIRrjCRs3FCSDsAtVay0t4B6F/tBzBP7wrwFBgy4UirfrTnlz0H2DbnxKfQvlYGYwx3cs+ESwwKkap/4oPgVotE+uf1zmlkY+UNciY++CVG9fFshPAEvHFZY1qZTz6aS/0a7VHf7r/rBr3Kx3LEL3aPHSmuU8AdCVZmDHLqA0P+Jog416May37FrYaDqndRoYeBGcN/hSabZDFk09M+L08IaHaXJKNfFZxXxCbiJasKYZ1DJFlQaWbpmVU8zTA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A4C4CD0610B10118D5AEB1A80120A8A9072887D705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ed88f45dad533347b33b1ff67876d97a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gx3oqGSE17W9LjyJAW+HMTeaDoOT9XvSQDEC1ZaHxW94+RAGmYIBFW1LAe9UWpBCMRSrvdfVASaVfAJxhdJZ0W45VEbZPgKQ5AmKvLAmyW9S9tmvnrUcPtQz8/YW9PsgS4hrYDKzm6g+wybC2hYwEU3KXWJqN4oJEgGNO1Se/9Bw0tlBxxI9dV0yOiW0+yQhBblILeUFEAz8bBGRawK9rLJMrklHM8tWzcDvKcLVWPBkHlbgglqBBQVhzhfhXFTXlK8Ctk8X15oQ+dqrVsUf9bT79q29ysvjGitdNe0AKbMSKck3abGU9ahuKUm3LkwYbs4ROr2aTFn9HB/GZmabRw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212277\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007058589?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vA2GbA2T0X2ZpeAFnpxHRaLZp8yJChjD\",timestamp=\"1773212277\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RAVvvtQ2YUV3DfTl5WEahAGk4dEYE+b1LHdH+4zxUQ/RpA2CI+wUFWk9W6CYRoRdMUWNriT+s2xOvh7GIkR2DooHD1kb/dPrTfW+rDMh4ZMgvdLGr3iw2qyGXRA8U0/YSbupbp8Kdu0Et9zn3av0Lo8SiJE9uHsl9CtCcIE7kLSwb/mLVLHJK8XOa2//LPqUmp77tp6pmWVcvuIfQDxQyFzx6Nse15jTb7Lowzle0hEVLL/ld6R46MtU21MOa5hI3mAVELk5bPuJ2KpEIn0qpDhAGe+yW7mt5WgFiR8PFBmFJhXtoBjliFBuF9l7QW4tlaAe6Dkh0bFjQX02SB9oFw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A4C4CD0610DE0318C4A9C05520C6EE06289439-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bdce1a2542339f9f68be71f33bda7614\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZdeFyF1HGtQEuBXK5PJRL7nbK7PsdPcRlrLTWPbvY3OCrNolYMfMR0a5R1dQOfzVjNoRWtXidOrApvRmW3mbwZpBxzmv2O1pyq4X+WiQ0JKoP7JOuKisjNRCspZ7XedyO4NOPX0ICEkT9un71dczKrRCpzmI+bzKSjBa+1172klqN67h8VJnX1mUVk2oSnT0bEIRqUpDR2S7TstUmuusE2tYqjSMi/0tWkhQPIk4WJizx5hg/d6EimBgGg0bOcJVhlzOjspdkkxMDNV4MDjVqeKxZ8KMA8s0NSeljA88sMnjlUcmGIHE9wWOi2T9r8Jtaf84acGRcC4nso0TVYDdtA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212277\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007430400?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9QfIys2vvBinjuRqGf2AvjtG5qDcT5fE\",timestamp=\"1773212278\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uCz/xKdSgJ1IDBGE0c284NYnbjaA/4hKEhfON5xWjObSB+O5McR5kGrq/9e7Ssvc27CPUgnBdh995yTQOJeLPTSFsKytD/xGytOZNwbQH9GbuusI05Cjfpud1JbPh81YECFIvV4LgcMKUQ45DNGJLvuZNgMpbPUfOqfrvxBpUB8t0H+4qaQkP6uPoL50ZMcojjnqXVXNAedU0HrQ8pi9P7OgonGLSgP70FtpyLcto2e1bh4roca/QeZ7BFm0h7TlJk5Ukc4Hbui8wGYBR6wKwHdFlYTnVdMJuCd19+89+NXD2m3Kh1cmyVqIkONr5gw8XbjCjK96HjAEZSw9TzwObA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5A4C4CD0610ED05189FBBC05520AAD80F28D58206-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6baf104c280bed00554688553772b890\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: D35MOU0ws75+6ojWe8JwLn0xpslJK3fjSh2DbqAOOFYRi84iG0FhvWVOM6SKC6zHrvXKo1gRDHUWzQQW+MlW4VsXDQ5GLRanMIzMG0FDaHe1ClNNiXm3fjxXiUkO5btuSrQDpIO2CPdicAIv2KGbyj2a5uh35b0tgnoaGDAI6L9jEy+qMWcJRAiE2fI4n43azBUaN5mtyPtJZzcbnrbtzoDLW6Rsd5lvtn7r0Af5JLI0xNubLYH+9/ZhBTD4FAXRwkZA7IHP42Q0LXBeVyc+N01LkrQBlawln7RzNrkV9UPmyqJT6SjkGXKfw5K2cPAB842WSBEIfdbfNDrGJkK6rQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212277\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123007486408?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JtfETGm7KJ21WxpflECfcSvOhLT6mlVt\",timestamp=\"1773212278\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ecGeubHOjWbfp1Ldu2fbpNQC9vCRMKw3wlgv5sbdljaWkXFTf5HT5gVN5P38P+Ycd3j83JQDjXylRbLCub1uuemiepkmK7JBWb8uf/bvzyjcZrPhx68yd09H/SsuPGwc5ISZQJLRpetfi4ECUNF+tl1lKMFpxb6R076WhSe9TwcrbKhDnEtr4fTs/ZtLz/e0PoI1PJPz4tV4aFiQt2HCCRdJ5lbZ+IiIcTgdNbcLZWksLoOuImcMQgemoYMabctnhuZEjYcjys8ezi72xtBCIlfguF3JhWQ17kB8Db6ba2wno9dMLzEswP/BniEM7+LG0Dgjr3YHaj9r/1/c/Ff9Lw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A4C4CD06102318DD9F85AB0120D4BB0528F28703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1dbc1654552beebe00a0a843ff5697a4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yg3H3fcZEyNJ+U+nsYMh7KNAspSrdspZTEPcwVlGhansBi4zcJ3bqcjaHpmQ8L83ahl6WqMU//GQ7SBo3jp8BGNlwni0oYQwpLMWgeR0BLMWZ1ad1cxJKQPfyaEYRViz1yIoStmHbjtD1naVxqQ8hkBc1O7bAmEm2Fjx1s8+Hi7TYZ7bU4qSgTW4+Rxrnkkpnidx3ilZfv5+iBnP7U7l3vVapHBsuzNoA2LBfZ6VgHC1rFPbrRHeGWSB8f59uNdFfUpiKsvjQBAnmYjubhxszPnFDYXMCGdHCB+RakrUhzY3xtylIPB1ivPL2WaBGkIdFNQD5YYITn/PsVZHyB0K0A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212278\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008298416?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"iDldz2qWJ4rlQqh1UEZscynrpn7fbQMe\",timestamp=\"1773212278\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Y7nFaJH/fLXD2tc7gjheksVlmWzsOoS6o56buld6DPvm3YY+bdlZ+Q3A+ujtB8E85oZKilffbozI00TT8SBe2LYWUQgeUmPs28nXB0fkZOiq9dFlcEEwIZHb+Je5pmDZ/g3krRFnwqS4UnGFxH4JWmFwSEW5QiEqSCh0laT6XQC6lmuzbP2fphs9khJy5RGT4mjfElqTbSSlRE6iK41jv53WsAUZVbl3Uj2TguvL77CwGl89+glbjItQgoHMIkeZDt+NJvLsFQzGGE1OPZme9FpZiQ04641Hdr/6NIvGZmOpRdgQOlnT3vHVpGY9l91TA+8Ur0kdC0KPlWPBsrAKJQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A4C4CD0610C00218A29EECF50120EEF03C2894B203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d5472408cbdda3c5b934473c9198b14f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mBOKhrPdjdHYKjOt93lZrJIdOfM9H0txrhLXPEET9M+bBQHuyTqfUdw5a1LHoV7V9Wfsed2dQBGh8HE4Dcf8E7b1ArfobAd9jzxqrGqUokjEZBo3Uzd/vXFOMyD3z+vS6+uXdVNHqScHju+HooqKMFclAxDzpISgpvDmC2w/vSPazVNnglFV1rC7pRCIPjKA1sGZMy9k1ubsWApvoPOi3d0nxGSsNt3ProAmlJA2B0XSL+LhiPtAVbIA1hZTJP1RDDk2TE5ES65G7eoVU602k+egijwMGM1cuDcZuw5o00bfAq/HsWRe+ifEVUo8GE6gLhY3RvDaWrN+IlPK6w+fOg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212278\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008411338?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KWxGsgUoQmKgyp0bRTcElzQ4NQubniFL\",timestamp=\"1773212279\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iuLLOIowD2ANcOfN4Jj/nEX257Xc7jaP+HMWGaF2JREg8a9jGuL0Szk9gPfj7uDaxF4Zj1erdMcuKI9EnqymbDt3RcM729Z6Ob6igxaxPstY9IaLYLC43aypjZDSVyeCyCDKapwnVhElj8q1d3JITZg6Hp9VDMbS+WGi9KP2NodA3n7Oxbp0xoYlFUvjTSTg+1eel9GlT6NdKyicBwdOJKzuN2LU5Pgnv5blEqYVbL1CvE4oym5xxNfsw3maWf0g5evgYP91Xz9qK4DNpuzE8WagnhI7zjpJuLaS+Hgldo+z8dD+hsKqaNmBz/9zB0sfVUQUXhaFRWrydVcSMtVFFw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A4C4CD0610E50418F2ADF8AF0120FCA7442899F201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 24b8c0045275bebdacb4a9456a4a3882\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sIoaAJAS5Qbu0WaRL8GFuUO1N7+EwnZ5gcokqbMTQFf4x/IXc2DiHNqSDwYUul/AuJ1hCpve0UxtXAZeKcBjgcjgNy5dEQeD13iETLjVRjSb98lgN4szrkhYcJXFnu79CuQt6nTGOq4PZnL5B+ZmZLTpyc2U8otn/p13NGuBLg+AlTli19x6QmkhhSxSRBbOPlB2ljyiyOf2R/CoOe740zVpkv7h5ROoqVCJryxhGuWE8O3/NGqJZPjIP78AtrJBcJECQ/y8hDPiH5uFPPH2RsTtona4aVm269I9fKv0PBoaQ5dy3/1Ma8W1KhOzMjbF5fE22+aijfEjSgD5gBoNKg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212278\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008416261?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Kv5NfO98wZQfiwp44mXjOuIvqD2OeIxw\",timestamp=\"1773212279\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wCXaYPu0VYbi83lPyEP8MJs+AuUl8iNJNAQj5FpWoaxhDWvj3v6w8eI0w66HeVnCy0eXwF58C/K3TmCtbuQM9EN/wnDZFoAuj2hKy/Mmv5gFBt+2mrweljqQ018jjJYideEMJgeJvHUaywg9nxe2jMZ/bxv+hdMUNaiXdsnfWxVCuM5fh4VFyvsJrUhRmf7RTau0yc7vOfb0QTEKximHSE6PgvX8N6sAUSLRo17hPiZ1IcR0d6ahZszx1Gg1vQ8tsuJQzBYqyn6JDJNpLlRfU+ivtkR7NowMicGV8EKhQ2Q6eChsiMJ5rQBPO9L1OXxgzwCBc9Z6LsjWe/Vrz3f1fQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F6A4C4CD0610ED0618A6B3F8AF0120CCEF2C28A7D403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 60831e4f2960f8ede032b3d484edfb1b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: K1UXqYTPqq1ms9ajhnTXsFFd00nqhaDC3Fvkvbo0e5F26jCzse0Tt1zBJ6D/fgbZOdTNKXSC6mFFbmpLNbSRMGqRrD76Nzw4TyLuxrs5+x0aOkEvT6Lqi28YrDxz/wkcqdhh2zl4180nAQ8GaevV5BqWuib0xQw1DrP4rJI7kIqnLddpt9vaJbGOsa3J74DavN3OrilP8XkkoKVPUSzEKZsjfedv7hn0NADSoHrnruSL63R99IjJEZCIJOYXBCYZmBXKBf78tjFXu4GZavDbAgep9n/iZv/G2/QYzvjG5xZQmh2NSfgKtFzhxyD2iZq1ABYbUpMGMlcC9Cx/aVhX9g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212278\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:57:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008456919?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"j58vnNrjn8FdJD5F6D7CA9rYmNypC4FA\",timestamp=\"1773212279\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MzfF/LpKdDNA11apnNoHdzibug1DKvoIkz2IVtu6SjD376n7Ezu5BXE6E4czRAejstDvb5WbSc6Gs8yOi6J7TT7f2cPytFah6pQJSp35euUkQj1dW/up4imUVuZkGindPEcSX7Ll4LO7fVvtQKlEYQj1oxtqJKhRRSsRZck50uuy912cjQBeQttmSQXzQv6ptp4IY8yixw/WxAMHd6FGadsIRf2lBaNGRwiIX9d0Ta+KJjRk0tshdpMbe3gMxRzTThviwoxGIheaE82IWDagtYkB5c2l4smwJxDaDniQSws9viWvO5uWHj4nym1dpYKRboh4zBA/oHRGMCcVi8+zGA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:57:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A4C4CD06107F1890D28C58208EA20F28DD9004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6da04ec5478afe3fa7e6ad0548c07840\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TOHTs6ws8foE/Vm5Hzk88R/UZKifPhKAD96DmPh4iFK33zolmOK44JYqc0fqcNV8RT+wq0vbU+GTn15UgGM9GCshdXGfqm6SYswHKESKdZ7CLUVNb1C37hzchH1Yy2WFkFVV4gfKbWP4UcZV8/+NqlaXEqCZrpsQ+eTlx8mZqmkHiyNhtcxUp2Juh9F51/AJ/blKP6YHPWo3Lj01UGM166nLamHnrvKf87gBlB23t0OeQzqABBiMdUPb8GBNgiXMp9i7qhCXZKn9/s4xMrasBj5hBTRUjfAgbamOl/W+kUmLONBL1rjx9nTTUDHLVn9hW+wM463jqj7ENCfvQKQeiQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212279\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008457918?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zAY6tPIu9BmTZBqO1WgAgZICB7Wc4tDa\",timestamp=\"1773212279\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vJq2BKYZbVeuMTpakynmKl62J27DkEk6NqsBi2jV21lU6fDV8Vh3ioZnA4VApGEeSw4w52vc1FART4YRCVOjku3NQYBsgY8Lp7swsuFRLmkplfu24hZgx5zC3USSsppw44ngFTpcE9dgTMgwaz22kQtNWSITd9r9EXTUtdYuKWKQsvgowHtZt74DssZZTrqQ/3KXWexuEAgRS0w2TSzckDoEHaF10iLdgBMjM4ND8ahhbwc4dR1J1K32PNhVLxs2Z07WKBxepjwZD4PigXfNyDJGreO/yqGrEwJGd0dN2h47Xp4JIUSjqfCyRfijHXg+chjyp6dea1lPpqHrVHlFzw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A4C4CD06109A03188C82ECAE0120F0A02828C0BD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aceb79c009459f3f92d7ed7fbe37bb1a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Kj9aLatTXIDqmt8aHUB2OTizEHDRtE+1osuhDY54838s3zii5MlZfxH60gzb+3oi0DzWHhYscmZI5dIgPCqhR1SGUNOLMyy2cQfSxK5JGizA7iA88FiwJZZork3HhrB5ppOzbsTHjL64mzfwZmGWgWpujW64s3krAq+yNFi0C18ugGJmBYRCb9GqNhn4qvESOPedhbfwySChBIdtQFJWY36/AHnDUXm5Vlda79KaVtSTzMxeJYSQ5jSRyCIHGlUatzxSglCyB0sB6bKjiWER1Z1supx9GvFiUU7c7pe4HT2GQ1JFFXusK5v4Wj8n61USSEzFH+4JzgffZb96n/fBOQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212279\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008538041?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SO8GBQEOh5ZPAMNCPoxGaVnrG78BVDVI\",timestamp=\"1773212280\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wFK14F6SX+rK5o3WhQdoj/7R/JPJJg0Y5hqbEQnelLTTThCYc6NCrxCP6AKm4ADY++5RXSZcmEgRY2AoItk7bYKjfqMuUO82vpSBIJrCjo5tc4k4WPMh+yrsDlpSzBeMhRXqL9ytPJkcLQuUw9PvEMBs7kSU4916ReR+j6xggaUguWdOBaLp0sMC87nNoacDvR9fCQoX5chZCncRpeZiPXgU1HdUmIbprEvJztMU1+NhChIFqTWML2kclrOk7gpChZugC8qRgwlVUwKHvOVzamsBQS10z2Xms1Oc0EyobbBPejJntJ4p6Gf4KiCSsBVeg5UvJsftB21+ZbjYguYkcA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:57:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A4C4CD0610AF0518ADABF8AF012082B20A28CAED03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 62161dcda2bdd04cfe54fdcb1fcd7917\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WW6o9SoX8mGH1sKJTpf0Y4HW7xoaKJCRNIICrQpDHI1Xdmln+UPTZff2LG5hoWI7nx9Ma0fceoLO07hXkWlh0irvGpW5Hxf4VZI/WLAr7Rr284r68gztUFeP0xPK0Q2V69BK2fqP9Vuthhl+S2wFrbeBjFBGE6JrGIvsXghCx8SgMHmjaSxNfZCkUDVytGcMIcLyIsyleSK+fIg7UpLngVYi9+OrLuf22BX+M6NvHli2GeoulvHMjy9uQ0asuk8/pAE7aZ0z3Q95pwwQCkLLQpbJUuSqVzseoUCdi5xe9PKsiIUuvbLna2XJf9ZKIWiwC13oyWnvUhqyF66Ob4LXSw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212279\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008570498?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DLODSsCAoefqKhHqCMlTPEeJ0a08q8sc\",timestamp=\"1773212280\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"SENHIj2ueAawz89iZvBT93KQuAydYwvFqwin9ix6Td8T1dA3+0Vyl7v96sig8gtA4G9HRScLJilelzbsiZIqxMRafm5krgWxigOWG047x77TjxipBNucHxJiPlBkAXSq6rzHXAFUOOGxXJJ5wg6duCQTKtapy/6EGjlP9HXvh8fmlkrjzVdNDwAbCCmDk9StLkfkETu2tgMv9SjY4B/CasmxBx+d36NKaeQEtQtpIZMd268mGfh8qyBaGyYluzrihGIhnyX4nAsyGtB0Hxw5K4YIICXd3QO9irgwYkW4LlxHVBWXCwAMW1v1OaAOwBZQ+BYxyPHyDNYydLTizqiE1w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F7A4C4CD0610B90718AEB2F8AF012086C22C289A3B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9cf93076e70734618ddb18eb04f718df\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xkEBGzOscq/2GlUAfrnQgSq5I0kazZY+P+W6g2IHw/8TLgpT0IrjviPiEcmkdkQw4MgeebtOgIr0cneGS6aT9nXgIsCxCkr+BuILyHVHQl5AvTs9GIaxc/tGo8BenS3i2ZCox9JE54XWyTrYEIA5is3dVk7+aJJKroPbbujSypFYMXfgVbSoZ1A+TBJxYUrnTRfd2dotr777yuGnzeTwfMUQxSQ/eXZtUx9N7iK00bLRe/0QN1u6aACHNouCAH1MS2XheJQBQkqFJctCBQOU1r/gqd/J4Vxt77sEUyysSmEc+g+CabXKEV9R3QII1OgAvn6WgY1EEcckYoBijgBwCw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212279\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008666879?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zdTcEiuMg3n86pjARw9Om3Q0LgE76UbY\",timestamp=\"1773212280\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ul66Lk4YH4tMQhRSDkb9n0hDgSNm9fxhShlgaJpPkaDN2ES6ROCAbZmcsufBKmqhJSY1e9NHBJCviZ/Uq5Xvu4ASiSgyZsu1Cd8+VR5Dp617YsJzyAh26OYABDg7zsKiIlh9UF7yg+pLBCaRWkbDAwzwy0H7LQPnHi0JzmOJEJpqa3E6ClYQjZZ5n03qyUz3moGxUlU6NzcDJVpH/wzNNXFgIoeOkpDsgDFR2CUK4NSY7ngp3VCNLXwm9j1bdP+zlXhWK8joQcuvHaj3vX7hAdEqa9oVaO4NzzjcCqs5Td5gQGtElcpm1LXBJxtLYf2GDj8qPuNfAwJZwFy3MIlaxA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A4C4CD0610DD0118F9C6C05520EAC42B28F53E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 195d3bb37c23c6ed3dc843bd741eb42a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IepAySlCp1hH0gsZdZ+uzCzRQaMhx1tB6vhJKLY4q8e2Dc2B0lXr+K5VfCbe4AYRYe3C688f1cFbxikxsC3iBZkikzE5Rx2f3t2+U8rRkd3zO248eVY2oYETOmkX0dg4FH3cFF774Wo46HDsbSMWfAxIbXsKe/Bw4hx5gFi2b97OcpxKhlK9bXwUVHiZ4EvR9vR3wWIeZ9pgxLavDY5BdJ7zlsdpZOSK2uP0gd+D3C/E8GvVZ2PcJoRrtPDhZYPFbe8tWrSX+u1f1ZcsTHJcd63Oc2ZX4/HVi6VNkoEV9C4EAUQxECwWoIjBka4fQTiuQh46Meh4ic6iWswzN/SY/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212280\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008672637?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kbM0Ht7UgxQcI1utSOZlRjhXkhNBfzPA\",timestamp=\"1773212280\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xe/4TWVczrwcTM4SWh6n607Q7PzptaV4eTpPteFXUvrCn8aV+dyKY2+JwE77elCKXuwCS8qAldkaTdAQHVcDPfw/LS0L4ou00FvS8OEbbAZ3oif6P3aVjtwbHtSgpzFw01nG3yaQGLWWLfeukdIgEIZv1QwPH6lSs6hgBR3CVPj/ga7rOwDFkaESBcbrwMJhyvj+H2is+ZlgJw/2xwPwKRZtTi8LTZj1Vh8iJEjZs16X00YSJJB/ft+R6QWm2EG1e5VHBKy2wsabcVKmekdge4RvSN2M03loKYcp9n1DHaZuWCgP0sY/XAWm8yv7URmu6oqdObc4m7c+NnhgtsnDvQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A4C4CD0610F903189281F8AF012096A01F28C0E405-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6b4ee6909b38b55bfb6d57613cb8a65f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: t1iLoyOy1/FELqg7+T5EEA/3BjXwAWIOl2m1t1BVrxYeqxqDf+t16e44XGucV5AWDCif2Sj5kmT7+o56oa1JnWME/hz37vYz8iJFmMAYBGsJF6y0qSqbfJVbDp0KC1WQniUrJV92S4SU+Lcu8oSEVoFlJ7dYd/oEfSmwvBDvhsBLAl3+AVMujEXpQgbKn8ORx1qwmAAiMgd7g++YHmM9dfyAsGPD/VcINLyQzDSlMUyNuwnDnpH6QrIq2iz0Oz28JdHBnMRK4tDUojVWCffWH30fXe4ShznYwhomLmYgCwDZsfFR9lEiKz6ej8MNOwhhhXUuldwg86TZebKdaYoPUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212280\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008708671?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5TGsfHcniRtI5Sg4Y2NOPFBLBdojTiLb\",timestamp=\"1773212281\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eRmhkBun7tiQzELXDjhvsaFnRmI68XlVjJz2KbM72S/GF98zaL9EdnoQEFgRAxolJ54AJynfrMh5PNQTXwq9ttKytSnXkOFEaZ6sHbYbZ6zlvIvFrc8ib4KVSKClj3jtFrPeJlSUu9Ll2113LatICFJoVDi6NpyVWstSJfETmkhR8sOg+62IO2P8H+/vEE0LyKuwXnzVEq+ALE0XJZUXpoRMimKJw9cN8PYePjDW/B8bzz0MsRM6fn5B2Rs7dQ81AmjMUpxLRXKGLggEl5/N5Mz/qQu6jAHoF+9IWApYT+stCgeG2mq4y30Sc8fJ/Nw9iEN4873Qu13bhyCFTWp6Zg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F8A4C4CD06109C061888D28C58209ADD1228EC9D03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d990e84f82c1537ca1d628285f645af8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: acpQ0tSOLILjihu6w33+GuOCDW1jA77jZNMvHFkbr8aAfxI+HNVfSYxHe9xCEgWZB4VrI8DAV8V3K3XPzDd8coydi14LumPtZnLaSnaDs6XO+dVklyVYx2dMS5KTHYhsoHSFCBYXwDBy/saDZ5ldWX5bIfvR5plvv0RMIa3az3G9uDaQnTqTc8tDVm/uOF+dI++IPIxx2hRNRszPmktglqLCMdlPdLKgg8X5uh4mToNTd/qeaY+YVYGH6h2vejaKNI74VxOSjWEnITfYO9DcKjqb68tqqYPc6qxrGp6c9T02dXveZcqpwm1n7xI65mqwK++RzZiSUrvwUcigXI6H+g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212280\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008880243?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aQiTKtYTujzAYlfvgE8wVy06ClE68g2V\",timestamp=\"1773212281\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YntdnL3twQE2Tv1xPsu6qixvo8o1pI8ir3NnesymjWQ2rhbHWeSdR/j2f3ueGQx7kSC54mB5bpcDR2t/mk45oZ0fKcOF5QPpPFi/8weXrpQBkknTcHdHMmmgxgIWXhfak9U3JK2xQaOTsDjH+rpX3/fAF5oZNJV3ptXzTaQa7EvkoV69RpUhO3Cla5v/fGe4+/Xnrd+HHNcn5rQwNKV2O1BwEuH5SJvLQjQpt4+KRr+oudk2LlyeUFoGXEJhndQ3wQjI609RVyWhq0GFtc80pHXJ3iW2opdOlbTD+ibjcYQDB+3lGjzHfv+OZNxwYT6dq6lCeMzNlrfO7p98cwHUjw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A4C4CD06104318BABC8C58208A8A0228BAE402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e32bdda2f66e24045397db1b8ae4b1ae\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GbSsL3ODaLDgnjiFtuMSRtfV7a/OA8Zjb/HYq4qUGnfkbnyVFNzPGSBAEoWfI3FM92+0MVWsXKrDMdFljO6lgQOFjtD2a527KytzvkOK/E4FG4iWvVWO22J+1Xk3pjXX77fqrPgDlzr7g38zpNhGBsUGCO5VSSFhe0gKZKjDIrDKE/m5QevgI3xsYWVtLT845bTA+LWfDw1oPBalPprLULRHUyd30qZc6LAnG/bygvf55bE8ZxEtDO+UbeX8xLUJfTQthhh1qWIrfneERfk3nMrmD/B5dPmVdeg3m9nmvasORH24GfYNka5xJOPHETVxFRfi/ctM0EyxxePqW6Paxg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212281\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008888742?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7HuzyVw9I7ps0xEi9OfbkI6HH4Wpd5Ge\",timestamp=\"1773212281\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"52GEfQN5mdOUDrBldwIv8WPZ6UW/Bs+sU+UQ3s6tWC1S0PUtcIC330ch+gNlXCawAIzpBqvm9IgU9JU3Ww1erSpFnavO8w3IhP/xElciaBrJlZHPfLATzeaBMFTHHuqMalbfwisMvYjFN3B/7LIGpslnN67sIUKDQYHRtYLhu8lEoGIw0o+fO2Ntz411jh1EmIIVlYVEFZzAti3dBv4hA+a5iw6N0Vl6NO0u7r60UxbS3mOeqtc8yaQrbpKqZ+IhkwYF/p5FsSXihnM2x2Wq737rKxM2Aewh9BFH7P5n15DJJg22Y69Jk3IZDQGL3YRosLevYzTKgaXLx80gQGiJyw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A4C4CD0610ED0218899D85AB0120A8D73828E7FF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 46366f96cc4b5568669be0a01a89dc32\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: R1cC+5TWNFNsB+2k1d1K7phk1ECjL+G8rcK5GNRlNYxcVQkRcE6/cQZkpvXYgJVLyBQt3Bw/t3v351aeo8dCCu3QG198vIcNTqR6CsxTY0jDfQ9UOvWedyCl7oHMarhvF1298cSJc6r2CGwcnhEldflgWrd74oQytTt7eibgRXBOUDuRDIPTNTQH4LrJcXjZw0yw+sFYlwd4YdWev4Ld1YIbTeD0xT0uz0KEyS8OrzQFmz0C7Zyv0zmLSTFN1j48oKPmlSm02ivZKyL4xadWiLIKJif3xF67oI2Y7L1k8BUKk9gfQgUwy2sef9TMcUHTwgYDq1PZ+spUs2cd3d00aA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212281\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123008989217?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"iaYqEoBOJJhSbSwghpqiiPdt791YVjaN\",timestamp=\"1773212282\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xA7sR5YSYHNN5Y3kNpdz6In4CfEKit4Ofo7Hou/+DEe1ZLQxIOOInmiz4z2xb2INCmjA5wFTWRFAMeUSa6naOgfpPxahqkdqe1s5eDBqnUJ6DZxPJv4wE6qRARzKzZz2LK7h/3Z8a3tSVzSwNytbxMLRz3GAfge0K/lL2ngw3Jy+gq3bOCNoAbASC5SB5bDAxnlxMjgUyRH7ZM1DQ2RCmArwqTokcKl29zfIxPphugymQPJQtuyqVmcQqsbHfpk/wMQfO9WN3hI58qe5lgIsEL8NsZhhyTs2VqcS1JaLaiRzfuBfXq4ej+0Mf3aC8wXkesup+HbOjNzKC/5FGeBF/w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A4C4CD06108E0518D58EA85C20B6AC0B28A11D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 49ddbe9c0145b7aa414eaaca2befcefa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: t+1et3CpGVpKvR3/2Z8qMMr/i/7zumn0jgZvznjpYu+hWL3YZv4OwcIGyTkLG8mOotrcNq/f23HGOtkAlDB5JWQ7jX33beSLQE0Qf9RzvtfYxdB/MYUALfZ8DYS7D1deaZr2PX2918AVQe/FSoxWhfOpC7e2BKEYydVCmyUgfm0JnGfan/Ex8IX9F/56dwhMqe0UOJehIzA+cuR6Y8/mu7hSqOqwHI8GxxW2FSO9AdOoVkyQHsq/WomJXCSesV4FKYNk0DR8yNSfsT5wRIiBr7sj0vA+Bi2WV1H4G9kzRWUpPMNz4FUl0Bv61Nt44zGTrjUejjDaQLVs5Dvpl2ET1A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212281\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009160533?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w2UDrUAWnVWu2P34rakUt3K9qFH3dThU\",timestamp=\"1773212282\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"muz55G8nj+IRAjAJgWQ58lOmUJSgHklwC9nwtq+p3QHhS5rwHXMDhq+MeOVRT2WxB8M9bk6jwH8zkcufJFBpVCcMSVvp65fS6N3LcTC0/krrXTBv/7N9k7DEI8hqfle8WFUp5lIsXk8yHQ/zBlV8+cboCyHmkZsUKdh3AAr7nMkxwJajE6fCPPbSNj4+DwXmxmy/U17zTEo/hdjsMy82HHGYQRn1iwvuCaGrCcgTtsLtmeIkd4c7mEFxQFLnASykDtK5gCeqBhR/LUsxfZbiDlePY0H2T0ec0eGIYBmMhfo3QODwP+Ko/zcgzrDzpXpEWk0sZ/8WB6KCZQEn68KOMw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F9A4C4CD0610A707189DA0F8AF01208AA21F28B88903-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 50984d88ea6a97b351ec6f3ab56ffc9a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EpiQcKijaeti6JOgk9jPXoihgZmeiPzW8qNUSzzwxtt+dSoygVnaMuzmXqo/T/aOSldsGx7PYYHegoDy9JvKUAalCUS38VwID2GU3BAG/Xp7PDveuwuVhR+LlCfPQiY6rIf3x+/aOr565zapO+qaTav1QYseDNrNRBvJ5qCfegHxMsziirHvI5on/5HPt//VLBUmioT1OesNbPzafYukwtv6c34VZe0T8SCA7s/CzmcZ8Cox2op6Qr7iAXHiXzWxpAmPf71iSN/zSuKl7vvMwOJ0xkr8xxS+BvvIcCBlILJUz9KBTuP2uqGTbaAvvmkxGZsPntTpNMVKd3MqHf6NXw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212281\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009376281?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ianb6egfHk4pUfELE9gjbUR0Aahiwg0r\",timestamp=\"1773212282\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ISUvis+Ht7cYDROnJuFuufq9l77nsi85siOgT3d1FQDRNOoiIs5ZfLSvJiHLk5XE2OOn6ADiKP0dtLef4Yz90/GWQwPPUOTVTMSPf5rFqlXA6d2CWRCgMWcDMQ4b5VoR336GI8WU1bPvEZiEHCLLfwer9oLtEykPbFnShjehxe9B3iz0//SoSVUjZioyT12iXsmJACtwSRMWn7fYbbGHhWjlqw8pWqs6WgWoJwvt9riBWd19ngYC6Ogooxp01JzTXqQoOjoiZZCxWFPlLWMb0mKDldtv3MegX3nCfd0eVcVFzSUD7Sxlm0DJnWaxCL7fMEFkipYQdDIxe5lv+bhNqw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA4C4CD0610D10118DD9F85AB012094943128C4C504-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bdc1bc1868c5008bd9866e9c39030d57\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OARzho45kzPNKIOUO+Sj9zNtVL+XsGbytDPjOZbRbwMhBo1fNoQWdTem0GeAh1ZshKbwlx1bURBMmjt1olR8aaaLmLiHIErFFy4Gv5JMT1DJ9Zhwl6hWwaidYECBCD26l9o1yHi7OPFO5EhMXYqPlqvBpIYEiEmL0VGfCAUxvsHNHecyiBqdUy8VIlCFM1wgSevtwinb+gtGXhlVPVYyAskMmArqt+q/SXSccp4j3KOjRJk0KUCiPWoH341BXvp17Nf8esPqS1HtWGAUOS2HxY/e/VtF1LZVOQQoFaYV/2J3nrAM8NcCOKFxMdPBe+baRfc0mCILkRGdoLXtQB5oiA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212282\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009506912?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Kc6rB69SXI5AHFtGMAeQkMzT64Lu2jWE\",timestamp=\"1773212282\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZXHh+fK8V4YwdcdByAqqyGxBEcyHZwMK1Mvb39qpW1ucDjjBi0RcOF1luvfxznu82h1dlqlDXUScbvaKvqtC8vwbc7mP8tv2dpY+ARu/xT5SGbWKTNHMDB6woCbhW6oSy3Ey+g4JY8WUTA4tYJBPe5rbvWPHGdvrwoUJEAPs8VnC+48fqnjHY4ZwZT/UyFPN2iEspq0tg8HGjv3V1GGmEom7waoHtmgBFzL1T3yfuqLemW72Xl/1cDf+SkLiIm3JnMCbnc6IUB88+h+iMONwlX3Te6aTiEQlamAzjk8+hHtSuRghk0Jc8G+ekPXKeJE+NSG1kjjWurRvsiL1Vm3wzw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA4C4CD0610F90318B381F8AF0120B4F71128AFE302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a3cd195fbf203fa27437bb153d6a4580\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iS0SWuIZDPdXKC1V7SLwmFtF1un3WNv6C2SG2tLv2+tCAnX1nezMMxxMG5incXFvYp0/7XhcKPN+57o57HJ4ZT+j6wOhK9caL6fQAUX0zszZ3V4A8kbrD2nsH+XacfrDIPepFWaBlws//YnmV8iAgRl6z72Gy74aLpWn7ZZWzxK36L9mK+BQ2o8vxgbrshqfBzOOU+yuXzRupq0IEMv9/VH9xxFDcxGFK5MCbB2qNypwqNkGcIirV2BNV6mY0Q89LarPG9ceYFissCtem0x8cW3ZCLaGRLcYtVYyyaW9JRLyAykP0gW2RbTOzFnlMuyNTIshXQLwqv98eTeKIEEneA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212282\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123009790991?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0PMHRLdVhxvq9kbXjvTVlptTMVRatQCD\",timestamp=\"1773212283\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0lDDP0aNqIi4xme1kJtcxjLy5gSDVIpMXBGSNcGFQW86C3Rb9b+TDeIhuGdGOWH4AVBDknazK4Nte3Ot3rF/HIhFfKTjHiOV5sRRNWshUS0XeK1VxxTXWgtV/THfyJ7B53mTfnA5Pl73Dpd2g1EwGbnPZzboqkxkFZvdgI0uu/yFOPXxgUSlqnC8jcECrMcOfJFY4RcKgCsOPx6PQ1PUqduqJmScDmWifhBdndQeNyKpALx4y2ALuJkAXBmQALNMqTFFUoaX/WIqGhtESWnmTgUsfQSUP1lejR6DjopViZ7cVys9Xip1heNgUdz1FldHjPHWj/Ll2iLFao/GrjBDEA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FAA4C4CD0610AD0618FED08C5820E4CF1C289933-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4d6ffe2338edb5213ebb9589411660a5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Az2XLPRL1xIxGXIi6ZHtDWMV8dAmzs9jffzWPrcIYZ568JtreH1aHNOszfNtd3/f1b5mlrdZfi3635v4pizPYbKR7LSxcMY98K0rfUJG83gYxhr5OpVwiPysJ9FTn6SDFOVcSl8EiiQ+N+hsfR8ywahI3ARbK6NOk2xf5F6Fc9Bf8gnnCOjwKVHyCn1xq77iYVaN0fJBAjcbkK4QRe4lrUi4wSR26jaNkcYvcDq7i48m2ZahxuI8kHANRctuCMdLBuKfIV0A+ViI7P7crjFdNpb+2Ro5Y1Sq760gimZlP9F0V+93FYCbMSNQTyyCPDCghuzBypbuZea6NvX2T1gPhQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212282\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010241042?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"C3NDsxWYhhslD3VFDf0PEm0mfjduqWuE\",timestamp=\"1773212283\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"D/5ngN1uJ6tQ4Sk30wXBECJhynEN/zXo8c1vBzTGI+KbYsk+CnJUDUWzNon1Cu7vlJFPadh0EIgjXceXONSdQ/YJy18hyaJvb3kO4kErl5eZE1gRNSOigfzp2xKSyjCrN0VFmyE/ebOMkXdVAst4TOFxZN4dxdOLPcax27HaTicyN0OQ4xY77x2tc9rAZ15JRhvUuaJ6ji/l4KJmMgP9HpnbNejSx/Fp7IXgUWuiRmY4FDZKWwjK8pqirjR1OMdGa88fkRtFBLr1m/DHSdOd+jnZwF7ja+48jIkYVSZCNaSwFJPdpbV6GG294Q7Varv3qNtRGwzajitDxG0+Jej1+A==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA4C4CD06105618C2E7F8AF0120CEE41E2888ED04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e2da5c95c98b466f090019fbe852f0fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tm4ehNCQj2JGxGoHSW7WyAQY0e7WnS8IH0LmrQjACLObJTpXflt57vQtoORiLbZvglOA9ezGzZiGRS3e5ZIfKPW4hYNXDwWUi6hZcWPlFQsbaDr5v57X+fn2XEdpDCEO1APQAVIgdV/RKLmmk1H0fOtPwavQ9YvHbJyfj3SJCcxy2c+SfoEwiNIOe9DyaScE/M2s6C6on5+aqpc5viXEeWctASe6kM3Pnczmd4H2iLQCwMKVel0rfYe83s1Z5RN1F8jIoNeRYs4mIXkbqQYZk4+ZE8yEusk7L1CiZ9B01yAE1k73McZA+dFKmTwe+gyBlJz10m1zzTfM6YGVgNssQg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212283\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010331449?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Qa48vMJXWQAMzhsYMUHR1NEzJmJc0Ydv\",timestamp=\"1773212283\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"x+cydXGM2f1IBhEEgsYiPUO3BCR4g1lHXlrB4ox87JCfUtS7RWlVejyWhoDq1P3sSF51LtAG9jFiP74FL9kmMwxs9DpQr2x0L8DNsjzuRtBvBq8ilWPMa3Cs3wnTl1GENqld1PikHbi+QqFp4Asn1jPIqDDw1xAb/x8ySJmGPbMvGMeEjjAf6gj7SbRb3zB3lecjUJyACSRA2ZEMBIlquMpBaJiubRgJ3q91WgGLehsdjC93LKSSrC6dzUDQA/uk60BnKzt1Fb6Uq/dNgmCWb3irpG1A7LSRyT7eGt3D+w5o5bh/R74Z01iElhrcM/jDWLVAk/Q6GgZhhQnaTJFrZA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA4C4CD0610F90218DAC1EDF501208AA70428A0DF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fee7b0d53d0f50b380d89ff6b81aff2c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SkXNkAMpDmXyIOrTpmVZun/suAnapkznfbieqmiI5AAq7Er6D/DExn2dSOPfXHFLUEuDuk9eDWQYW6C8CICLN1yXnLNGtSETKc2W7h4iaH8MI7dJQ+3T7RRiinJmp04WJq7D0zIqqoMM1+O5788LwXHz++9f/zT35iZ478lq31sEh9Fvqdabgq+3fzhQlNAgB/UmBcYATk44nSM9FiPSz+SkKQGP8WWYu6ObpHA8F35pNQCRQpo7bBMZ+e4PXxgz70WaxnfqtifjHciVc1fKLhsoyRsdjMtZKNUVLA2hl2xby1NXCj9OGke4qLSdC9t2h2oYjIgrJbJ7elFnnHd+Fg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212283\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010492445?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"51FhLr2G6hApyqJGD7AZ032g5G6iIvBz\",timestamp=\"1773212284\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VrxWhSwH6zjCZOc2frmhsl+LDy1Uo/DDZEvHZQdqxRHGyWjrayMxyEdkKbJ+bR3QVB8f+CiqyMHCtzjWFuBYCscFPgKu3FqGQIfel5GK0umYtDYCQOSSI8q5T5aCmD4QAedI6sWdQLC2rr1czbAl7gPo6jTfrY0i5fvO+dPXQeN1wpLtZU638cUQIxlkgNY8mglZusy3LZJcOas7x7Rlkum1D1JVaseGEiF/EEZZljpV7uxucvIvBtLBBGMaMxl/3NC6+3+T6+tmZNC5ipsoaD6f6RMPBJvnh+K1R47Xk/8RLFd1y5xD0P15V3fci3zE8f6Hnd4+1cidlV58u0FsEQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA4C4CD0610970518F7E6F8AF01208EE4082898B203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 513271635189838691340ef5620d2caa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UIjYSJbd75PZvZzv+8v5evx4QS3HUv6VO0dtVadRl0Ovf/GzqJwtgBr7MZSJPTtkPhFUAtwYjFbuRh6lML/FsvN9O5w8Y+ocsRlD2PNrd37wqyk20pm0gpBGe4H2b53xaMywQ8j7zS/+8BgsVrEwvfXlBmIBF+TS3pbqLiO67REaMP8CquPm89BOxcCFTZqSGb9eXV6y0al7ke4P0VoeAYrvnLV5OSimmZGdFQDiMhdmvyj1cLipUQ4NQu0uxN06jwgjsS3tkXnSXSrUjEGVUzClv9bWOAn/icZYw1fZ5erYq1zN5Lj9DDolLNq3R+wP99FFHcmUOKyhhyl8OfFt/A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212283\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010544802?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IpFCWBLiQsZjn5qwsPSc1AwSMMVyJ6dI\",timestamp=\"1773212284\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qu1zgwo2Pc6nUyeoAU684QUhIWfjsZXArQ+fIB8PobkEyNay66TUElGcYcyGUrm4rzWCuTbbTb4qtnaT5v32PXhgSSXyzNedYlFmdbcPKqysICMbuqu3Ns78cU7YlxrkC9WantyKFUkvzrNnQKRpmOzCvdGfE4nXlgUpg5JeKu06LAGrpyrfkDdGcxBb0ozoPgjDn5HifUsfROhRTni431Mrxx3TvIkholhV/KXOhYi49uSWcBX/xPjJYUdJp95F5DUh+4ii623wIQ0Le+TMovLXxcjRykSSTkxo7fOipJ/lX8NDGKAY9gwnreaZpAxMHwYPAPLzmvmtcbwNFtnKng==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FBA4C4CD0610B80718CA82ECAE0120F6DB0228E2D304-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 81ab8e39b095ca8c972dbd3351913fb2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MMedx7hAaAZat04jxajTLmbZaSC2SxJiEs9qVYq3MeJ6lalF7OtCkyNM2gJmnMkzrevWQRdxMfa0bU/R0Rn1rH/I3iQ1DQCSOvr6QymEtKRxMceKNUYdrZfrk7YhuPIsjEamjl+J5wCv7VZEDZXuL74jP5/sTLHZm97yjpEl69YCfYOlLQ2rZSjzwTNG3g9uVFBZwnmNy8dlDKXlxTIyjHbmGbtnwzjjRkBptK4ZJz03aS7Iwa6OLsSVrRHHpdkPQFIPS1jCnBqknrPJN0F8xIkQbSWhabcQqkIkCiMSO/iix8C7WMrOOcPVUiaDlueqGTizBm7CAr0fZs1DYIXRdg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212284\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010662741?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RRaOGB4vvDYoAOc2Adzj6GNI2BMLJS3z\",timestamp=\"1773212284\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V82vMdPKUQAxm4ZYDNLFScZ5Euw7DJ4Crjf3ZtRZrHkGSBgzPRLldhpT0s6ADh+tK33U8gNUhTrplvLMb2ZCx7RFEK3hQdIlFHcKFzLLdBEFVAbUSXtX0LTf342R4wMwvMwEpmvHZG3Wfp00AES8vigIQENi3iz2uBbTZtHstOg3LpOFSzh/gV2wUW2DeYb9VhuJhyGcrgyUyM3FGUDCu4D0Uoia0OoE89uJVzIjtIS2icLDzJzeUSPCliDPEenzYKhagAbvK3LvSJlZOcBGtZ5iNWIwjSSGS0FKp5mwWd9jFqHvpMDDrPdYdhfEioicX/2P0p1rmmkUU2YEOe/vlw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCA4C4CD0610D70118DD9C85AB0120B6D01728F9E204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f4faa4e8629ecd4cdbc8f522489abad7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ur9svsBTLD73hveFQrkMfOU2Fd6WCA6gTIlO1h18UFGJ+Klq3PCNtSDwIJUaCV+QyZpxa/vIVhZtpQ+qedRsl4GOSaXY41Q92WUI9E/0OZS+DvfJTc5RokmYf9Yg9QLTe5T/gg3kFbR+IEduCdzIzScQU1K19+cmCE7/z9aWyQVMr25mofbQXZFLAoufG3QhpP3EEaEDLcRldO8KXEHm2Z1E27R0kfLfSSGUMg4H5skokaey1o8iMWL1sxV++r4nbVHk56CDMisiczezl5L7jIjNFBgOuKpQA0x63AwI/2hsw/H7KMGONyt13x4/cYhCgtXcEGSTVNZm/mFfMb+i3w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212284\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010818803?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7MwkP4Vcdzy3JhqS87nmCG22HsIG2e7c\",timestamp=\"1773212284\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"b4DFHUh+e90dpdl4J1v7N0y7g7++RWEj8GWZBmAfd5EXIWuCeOFxduJ7Rp0ZgsydfO38Ae7CjQ3QkqXc7DQffBg+b2Z54LOOg1AhYUqbhPl2Fi4jJ1COpslRdcL0uABouEceSbtZ/8FgUUt/BcDmmQFRK2vNqvFL5ikoLdp0XkQSCJ1mhMrfs2ITRMZj4uWeEoSgWpfTK5tWxVg10eW/D6Qb4aJyLBYLt5hYCC3mwFpKfFY04z1mqIy9/aCDaRjXjP6fGlN7Jpnyj7EzhfVCumCVC0WRWK3mBsSODACarkqlXFTo4UB6cik8fxTPuZiAbrHyGp74uhaPxRWC/BcJig==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCA4C4CD0610D20318BAE3F8AF0120F2FD0E28C19901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 601868f335710e33b385aee2e7a3eee2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qAAu8kfnSZ4b2a7sLuO3va5AOWuVR5sE6UYr5fJ4d0kqvT8tUhzJJ2doRX8GjIP++uXUey6F1gEWiF/BGy+yBTTwhvTMCX1aVsGiRwKmYFK18dj0NvtHDJqAsZd9cLpVr5tXQBZ2rDesOtSMmJcnHTerlC4X7jDwgaSiHP/etVJ7i8ND2fqM/m1Wu8OfRhcBydHMINmArmqwEYjqM2SyWHH39dRcwTbyCmlP2MaTxHPyRmPG75RLLDz/sP3C+oMCcwf9gAIfBd8ko4Kb9bOMN14J/4FpM5Jv62USQ3NQt2ZjuTy1i6fEIAwULId4BB43E6dimJ3cJFEsYn8EXUQoqA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212284\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123010917769?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ln4jVyj8CnuCpHJ0UzbCuLnea1AeamaW\",timestamp=\"1773212285\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DNWag2HXZArDy8gcbkconzjj5rG5Ca884cWMgACWOCsHy2pTJ5yomveOcX6cqSSnPcYul1IKMdRzvavDvVpGIRSMX2/WbQEhfo0CxR/AmWUkvT/3cvCg3/VUysiVJ5HvLrPjgs7w+RgML2X46ReJV0yPJmVGjVxsYXOgmUzS+OvEqktsuBra9AfG8Uq8Qrr1iGSYwYRlyPAggYUjNKCf4woT0KKwB0NcytUkKlub+hV4pRhIVmCYj6VmCPeNX+k+vLB+iK9vPfGbE8JiYEPD0JfS2RP2aNaFOTasV1yXD/zKmC0aFLsIZ1EoH8ANXzpYSJ/D8MrfFwYq2ZawmjEyMA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCA4C4CD0610D205189B83F8AF0120E4D90328C923-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2be82bdb37570ea002b8829652243288\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qWYG/bBgNl/Onsr6BCQwlV0uChFBVOSS2AiD90n/C9ushxa7yuTPKbXQ3eVmvQG8LpAsgLQum4IvISw+Dtav7FkRLCG/jBwSFe/rpwYKNce47rU9+HWzvDfX+Z5dCYHYR0SWaV+w1/5VBl2V2rVMLz0GDl7Vs7gKjcK3rzEwe4pSrtvcuIbkuwwlw9aqZ1Pt5ONNIGXhm3jiGNr8hDz3EP+ulPsX+LKr298jtcXkC63a/C0nlgh1Sn5SBC+ZcuGZ9R5VS+G5jw5svOex3ZZ7ATelCBjZSAVnafasRgsaZYLScL3W1t3OjbyIzQB1sr7Ys8wev8UzZyEODDRMFhR6cg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212284\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123011081353?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PKwJXb6pMgjKCGOV9Qsry7x5rN4TFenc\",timestamp=\"1773212285\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dRgJAFnzNYcU8x1T+L24PEYi420fPnykQYhaPikIrv5DXCsTj1tZbypMjNnaXINpsA5cXiYNTxJQqIRalPdCYvl88wYmDcrRHl41+HaE7FxUfiyHaWufLL2/alBc6Ch8sJ63VmSzaYHq7ZsB1raHdrpYO0zgbxybBqcAn2jdJV54c/e1rUNdzjZ5TtP/kQROhPpxxr8YraZkOdDUfTOMe2+TLmqVnIzr8tOkHOJtx/SlQUFQIb47jz5migkRV1TNzBmjNfuivzf4k5E5YExBjFZixKVPJdnuTyOVADYV5DElrpHAIPY567Fd3xo8EMEKlPjumRkbYCVerM6+gw7lIA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA4C4CD06100C18F982ECAE0120C4A43028C7FA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1bce704dff915f1d8659666fde70adcf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QmbO1pw3I87rJveTJAvLtmJ07CkINH8purVyRouiOJ+JuwE4/ERNOEWhvAo59WGyzfgSyNNdP5V/rDSY03+WZx54BoYVzNTlMMXnnsIHcT6DLoeVGeU0sngu0mpHBLQ9ft2XdMVOgeldg/dRDY2KdyEToocgiQe18oGFgHTTQ2Fa8DYMzR0w8OcYAxnzQ4uSrLHlELA4Lh65vtXpj6jQnwhP4RdXhwR632WHFmpdOpDzJimbsyZDwIoc7WC3xwjWKOTzQ5hGRs9PbqHoOQCtcYFSTU/k1TmF7gmPZqIrqJ1fRcKKg1XbyPDmeTeLxhy1BIRvlBmNZgvl9c8uuLHH0g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212285\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123011821206?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zyGarSSoKn5i5Dlt1X7wxZHkJkivH241\",timestamp=\"1773212285\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rN9U5tIRwHmokf21LD9y7JlJv60A2BPpQmCwbAqBurpJjQxHjH9faJ9/VDBbcHFuLXTGxOoU4muvY/XzPUCaZcnwBY+8gKXZj0TqfX1kSNi6tXlWP+pd3RCYAkbYRAOG6L/zA2M8qZZYESh9u5bbSrpB3kGzxJAPh184L7WJZvR3zOpauTWkVd3bxTLjWp7E0V/NCZVt/Y4lJuC9efSCO7xzAkQTDglibVFJKqF/XHcdy9wK7AjIGrcvDTUzUOtUNsKD2d8qv2yT9n+SZbvzwwhQ3rN8TOHGhlaEOwQlUyh+rikAVBO0RzX8sPcu6Pk5V9mrPVnNhosMOZ6wgGyzRw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA4C4CD0610CA0218C39F85AB012096A40128F5D502-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5131f6282b80b4dbb2aedfede2ca17fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FWDSq8o6XDZIYu9sQnWVoHI5e2+3hnyEBn4WHSFJ5kEbQdgIv0PWkOJLocpUnEZps1R+RoNDpjwZzcEH8H/g/dUash+m6SnNBBq3MjietYtNQ+lNXga4MSmk6Qm2aiQu+JzkQM/9nLnK3YPuGdemzx8rpV1pK6GASmqNP6hDMb17dLCWEEaxgo9aALJq1+2twoAH988Q/6f+i3tCSf7XNS9rCaNnUW88GcbL38APHZPHTZ0UQ/nYmAzbakIN9dI55MuVAda6bGM6f2YF58EopUu3epX6azU33PC0SL16qJjMkhiv9DbGnDx8dkcxoDg+iFbt6siuu+pfx50XyT4cNg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212285\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012177476?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"K5CZcikUckXmwcgVMdmghqIh8rpu0QEb\",timestamp=\"1773212286\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oZksH7CBilicYu5TiIP10bEm3fdJgR1Kk6l11mxx1ci/9B9MDuV0hhgU2NYFO7Zky/k300zoFoIT7zuJPs1dMQXweZK5BAcD21fLJS4KiMt2U69XFiSCCuBUW1VCWmvlJvDoFFwLLZZdueqlZYC3FmLk2gPSx/OnrvZBnC+tRpXz8kXFTq47IUWSU/jKNZB/CtHjvDVaj7Ts1oEjsgw0hzRfDgBMM+YV3z+l+xpNbo+TUny0GEGx3SsYsNzAyoXqfVr2tczC9FGcvfHeupF2wazL3mcHo/tizYscWWI7sVYlTr75NOgL7WsL+xLohWp05g6WxjQqD6VzlqytdYJJVA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA4C4CD0610F10418B1E5F8AF01209ED20C28DDED02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cde1bdf2197c2a34d12f9c442071d007\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ClU6qrgRN0kACUabNVdMuDK/++nL5NfHykrtq5X7RP1PSH7X25bEn0OTHGuy69t/V8WMSEMNNAyNiDtzmzIVhAmiPgP64zhTcwfCzFDmiGd6emDFx475q6iveVUWG4cSxHNKC9CBJq6/W3QKSUv3KkUfZh8hdJPJG680ynsvEwxXv+CAY/ZV5rHwkkDHIWq/eUKUXljxED5daj2gAc8XxfEhx3PADXDlwKt1bo2AjEnOHrTpnoLzfpZHh44a6S4sikwgj1e4lYFO395KN47/qPD132b5RW+Dv6OCt0velWwjXSfixGM9wR97R17CuEpEkir6+UoF63Sj/9cxQF6TIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212285\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012432300?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DDG47bNgsrEWjBSqwfjxcxVRx8TE7A4u\",timestamp=\"1773212286\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OWpLSdDUNrcU51T5J8FduUi1FRRzytUm1PUsU0WmS4lzjeA35yVyNR1OjdxGfwHd1QkI+qKOrYNQriz4oLUAVWmEbIihWu9G2eXAPwhr7UECbx/rvEoK85YANpIpfqjPABTGQS7pOmZT20edXAcbmD2Qe9dGYda0mtcAYsHFZdGMxonPN8ykau4M37wXsKjIDKmLAjU4D6ppJNcmdMeAIWb7f8LF17M2iheCdUPeSt2lgwh9j+ccb8Rm0/8M+AY/gZiFXfPZHmGMjbrtPz+Z7cjOrp0mnFhh3gnGqGHP9FOavL4FsMDqVY7cOWp4lmZzp6udqN3Nm2/0zkpRBy4HUA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FDA4C4CD06108807189CBCC05520DA951928CFED01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e1744699489536265b4c170a3a51d506\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CY2yz7ccnMIp3iGu/QcWYYNbVmO6bUmpZVOskgtd9FbSwgDXrSf1jItdpzL7StBgk54znduzPMvtqJ5Z/eurvDQELrwy6Ff+9qW92caGn/AptvZJ9exVmykbIMl8UPm3KlD8ZPb9nyPrZcEPPQHSVSu4X/r2+fUGNCXIpar5gdkTtw8ViEMQ7WyyJgE9C+K7U227JXLnMoYREDapDHdESv8YDoE52tcrMnUlj8Kk8771VHhxUn6HI2JhYc1CwAVOeEe01/iT0ADuAeL3KQSKzbHTL33GPs8TaFtCzqTcgTyrhDlIx7oA91jNXePkUirbB7pUTQDMlWNFyuJTeZqYGw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212285\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012442270?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QahoCG9yixUc1xOighFyNanh7eELY6jD\",timestamp=\"1773212286\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BjVrOc5uHYPY0hJ1JS+YpckPRaKfCZOS4qXdLaR9ZN7EaIF3wPcXi/9+oj2DYda3mySRnHmvov2lk8ChXnkhrcThjg2R3/ivWZ1AWckLEqBc+KOoGmJ2euWaAkZsIjy8Uxy0gfgFB2cjMei55xmBSECa+QC+fwyD5/DngKNqrYgG5ck/K7aJ/roy87ywYNpXHhd7/jJCU+cIQb9bI8F9pjhf+KD0LKWbQQEY0UlVC5ZuTU+kvITjQ50F3Q8MFbeTeVBNdX6AHz6oXIU4ATb/aWqEio2tr+wK3zspRfaEmeMwQ7SDls8ROzw8E8T1r01PDb5haiCoimyJkxhAYQuVpQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA4C4CD0610B80118D0D88C5820F6D90C28F6E602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b014230ae11441ca29004ea2aff81c06\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: f92R9pRDASVslPr+Wdf1yaORyXcgeUITfqHANsL4FYdLHdtU6e4jxkwIzic19O9BMJivrF5PINaDfyizyDCMc5DzQoYllY/PerQwq5ROYu8jjylgwEVNnlblHcfYCCyjVGf9oexrjlC6C3TNS4PlvWWjBhQ7zU0QELtzCAOlVuIJ75YI+dNrECp/dKSOwxnJCED1p3bdTo8epyXZ3zWfD/Nxsy1nIoeLMVxf4h/Rvfj4f8DZKyBd+uw90VFyOqd0uzYog0cN1kpJF020kjCU0Si1d8s8lvCnl0oyC74nLJmw1xc20fEq8Bh2XrTB03fxEiLaBVdLl9jKZ1maIjWWIA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212286\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012477849?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yZM5Tc6BxkPY5PTucVUrlD0G9fO8oOhn\",timestamp=\"1773212286\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RR7ve9iV0MHepwrKcWJnHMdWMZeVH9VnL9w23IQa82+Q9JEkBEPNXFgg2F7wCl6QfzJc/ofrsfG42mlHbBPNo2dkn5XroMqjzfKTudyezI3yi7lNqu+c+VyHlUFO38nqbtXmjoAbEguTlUOLbpQZmHtaiAju4kl58WUjfcMaGuobMRNUlukH+/t66UYvDrVSXqwyQsWPp3oi31D01yHysTe4KbKUqjQ8jh8cM5UOSXIL1rsxSrrhjOofB6EBUR8KRUvylOz94AKTmSmr7bUZAFFL+BQMli8TfgTilVKw3T6Km0K3Cwy4Dp++kGNzYZL3QAYSXcUjEjhwHkFnh9UEGQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA4C4CD0610E4031889CD8C58209A872128E8AD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 29cf68fc531b38097ae85f4e79669bbd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cB1cn1CoiD4fXOW9d2Pqbr4MP4GV7ncyS0AkkcNnoGlWN6NBCjeVEQekaezZy08Ja7Eu7AHLHLR/TqOBhY+bEtXVKaZVDgqS4LVpVxWbq57AhihwB2l+8RNx4V54kVfD8/dEGNPOqN5PrVSlucClGmyg+WIoy9F/wcaCOapB3YupuSnWwBWA00GZZ0nOSuMKBWG0fYIsVy8Kg/NBue63sj+b6xDadIiHN9ddmZck/AtAHFV/vztaXv1Hh3vpio1Sn6COVrpt7RNar6PA83QTJpesZqKi50Xi83gQfWe6g0AonufvHsfaDbKUjPoxMJPvKB2692DpXjx1We/eWHF4vQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212286\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012500187?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3rN6zS8hhWgZKgz50c5qKQ5xut0zfOxH\",timestamp=\"1773212287\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Np3UkpjwuGPJcNl9Xu1qHzTrFfo90zTT3KaldoQPIR8AyxZ1uK2BgU7zHctPVm3QMmHksMgA6NI89ukXPCVPmBDYL7IGQeic+xKu5yzlfiIoV7ozRj0IfeiQcCQccgQ5U8MeCkd+ai7mzDK2tzc8I4GHsYzkllLHDwmYxhd2H/1IOHE+55GuEzV0mNpz2odt8O0w+ydmhU4BlOuB/G1n/+7owzd7fLFmEQUb2WkJGIqmk3x/iJV3I9pJGvF8mvXBBdC6PWNOdEsW9PpyDEH8U15/QumtI6x2OeCZe8fb8TbBnY4p6GVnLyszrFGZQEkQnGtzJV6M9SdLM6VHYBgNnw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FEA4C4CD06108C0618A9B1F8AF0120E0E30B28A78B04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1c86095aa585ca30e2f898047c7fdd75\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RrpDZEVRcuDI2jzRQgEAMz9bWSO8U6dN7/deZm3QF4KXGfRtSOAQB9Eqo+bUY1aE+LTl/FGufSlyr7MwbzzRrHSSH/pF/rcf4p3u5pWaBeeDnP7LvbENarcByTuO1qnktq1+NSv90DisQa1JzKCGaZGcwBMNJX20i0Mh8JJdNCHxZlTc2aNhYeaS2Aj9k+MdXhY1lOIGRuRXN4PhzDBAldBRXU3Bc77X+jdKG7AiIt7R42vb+x/SzZq1JUhpinZkITFuy8UF6mmeAs6RIbLk1rQgUsJlHkiQc2xq8YlKmZEiH3fV/NABe9F9ZH5HRfwt6eYmuHDEvNHUzIJIrEkLOA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212286\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012592382?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KdH0wWii4TgZ5w0mN7OqlNwmgmWWJv0w\",timestamp=\"1773212287\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"f6+ZP6DSFC3zUw7nBGfR/Pc84yL5VwsE8Spkzj1IevSCt+bHQf1SLDhIRCB6fjNP8nOB80WlbJh6Fh42jvAGIsfaK/qfj6qfrjV0pTAB/DMPRSjaVNwWTe5AsPmu5P8ITcklPFBIvDn5sLU6yDnNmmDysALGFOzDvMMS1vTixzqwa6o1NNNsAmtmSUs+bWnVyYKpSqCK8Lfi5TrOZycUXLPI4+TB/9ab4aj/ygOTrOEVS3p5RVcLzNv7y3s5BlGpimz0pnzkXvMVxivgMMzeSRNnoCvGOKR1gCqWVd+ZiWlEDpAd6oTXi2pgAeDqt1mL49OrFEYDTarKuDYE8tZxfw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA4C4CD06102718DDE7F8AF0120FCEA1128AC8E06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d1ef728c7fe985591c7e73cc4561ab97\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: V15OCQ3KsfAsVf+ppehHlidUnqrcFFb1q1S6BIcSlnjrc7jOiEckZ40j42PBBOdXkf0wPV8kqxQ+HpO6SxVaBsqOhwy8UlxAhFlFy66wObPcALe6HlxIjj5INea0eiiGrHxwFeL9rFeWVORFE9WmV62wCv9EJ+cdsYBeCzFPSAyesSRj6AHXYJHB9MVZAU+Iis9hSOZDNNQyP5je0i36lxKIy6wzgw67vO3ncGeXuOat1gwRdGh5RKF4o3z8ijS/c+iP+tT1NZW73mTGVRyCUli7jqupHMqaV5h1dXgK1qcrUoo3ZR04QiOyMLwd227TQREs+cMcHdKU52XihCVSog==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212287\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123012689006?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZtMBIkzw60PLWR2WrObHEAAu2hOknhrH\",timestamp=\"1773212287\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2MfDK+T7flgmpG2ECg4zbA8ITNllh4Y4JgsQRbAIoIE2ipy3zOvGXFzkpCAYR8AOYk5slLVPfw2IYgxqNFtZ7bhB0c5jCOhMq2ujm628Ak+YgyfJ8c2MHrE16E+A9uxbD41VKLrwFvx/heYRMNLLNgGEGoi4Il5EpCHxNaW16DfVLOh4/INozBeaxAlF+5jhmgMzBhiFL9plulZSMEDEze0G+mhoupp2WDpz39211dztArOLC34ZgogZsdpvsdqn07s/Q7Zoit1T5s3OBP2G670X13jWsD6gYde8PXxW8w9eiingh3imvZZgYQRT1w0uNvFjybA1OVgMaDEIjhE/kQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA4C4CD0610B70218F1C1EDF50120FCC216288AB805-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7186eae66f50cc9609ac458617154e53\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kiSfQ9sSyBNIop4pwLSgvPcoPLo6uIR1DOkrQ8dn2ggoqEYFk35O1zTD3YUX9cRgNHcENVZWTWamtecvG71cVsVNFI5Q+nsAWbGFGaHmVJ5/UkNhAsceQQJugymYmf2tiDBXWZH9IBjq/CQxCwYYroO9I858XewTp5bgwdrBoK586dqQU8eHHQC69M2/37nXNaLVKQLhF0tWTeHzfne2xkOgNt4UtW+KqpXbUNJCJ8yCFW30x/Lc8TaggNgvFdtcYX1ivpBBc1idqk+oGzrbR3QMwcHutxHyK3EpH8ZkB0XoIN+8MhF9EGJ47j7AqXko6d16hsIN6rcZcX/5uJiIlw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212287\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123013665320?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nyBRvaqDd4JBgsWLgQl34JCKraQOlQxa\",timestamp=\"1773212288\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cpaZtgksVwOZyV/FoxfXZXCjvtbNx6dq6tQuWpRx4j0RgM7aA60XarYvFM8JV/OX/T3uhix9Q51JrffJXVvuoDJKFIftO26aTevhIOlL7w84ceH24FFtgFpzeIthcKi8IO8xsMlA/gZ9uRxD/5sFj2HE82MGZe7fr4NFBoVCHZRsKgPco7r6ZaGHocVrSHNADNPVxfCyE70GZRO0lIwZ6wONatIn33jtIOMuFxkq6iIdzHVttwBbjWdedFaRauJmqrZJwQJGUFGUbccJe+3kK8tJJPK7rToxtrAKmEsmoQson8sxocUQxHP6rVqdVVRfNYurLEW2aF692SEL/fZtuw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA4C4CD0610D20418A181ECAE0120C4B61928AC0B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a0e53258c5a17635076c7287b47ba926\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QjwARUo4Pza2rpsqe8xrbPmO42EpzdOwD6fSju7ifRE21P3/KG5JxqfBj3Le0vFtPbphWMcUv0jYyGA0jqOe0HKRv1zCzLHitQBPtHabgW+gJ6AB2dRtkBe6HRxSZOlbQMJ+YDQ924Q+ep7qZJboAKFpv00TRh7MRclLSx8WTJbZ/TBAXbx9tnu6lQrsgyRE5xrvUUG/xkI6+1hAc+Y8RWfC2JHypJ+8gYqTeA5YYwVkbHz32Jq/TgYrzF0vhoTEnNQvT2N9ibm9QtHTi4sNdG/aNtwG2ogthbcrKZZ0poB8mz4Rf2+K8DPukqza91bmZlIjx9r6t9S6AMsR3P+FTA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212287\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123013694864?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gsa6BkoF3ZaM90hdxfmRgduXX2qg6MTn\",timestamp=\"1773212288\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DbjYNpOW/hM1pIJfEiIxWmdCu4KjVM8Jud6e37Q4wklVlhEu+NEeWUYlRCu4BCKvZCWaC/e0/cYv87gubcCkdDkWXV6NFr1YIuO+PKKEtky8BulvZfcp9X3kzHo4Kq/xkMahCEJSaJaSDsnyqBPI3frzXRhKy09w4DMczcNCQVaCcIpqeYt6NfQuD0mwlrwps3B65FzqZbScNPnzcKoLulfZjbAhD2W7oCJD0p0F4mvBdVlcbO7lW25SC7kKwDrDY3+9wxjNXrpJ3/m05ovtvHkFBntpJdJM70tNbrAoMCqkE/YgM1sgS869yvAzn4g5+rr7T8WXX1/ziKU0m0GlUg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FFA4C4CD0610D60618EBD48C5820C28B3A2886F402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5d5875fb76b430f63d61d6e5b4d93586\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: u4QJtlYmGwihJum4Pnyn5BH7Z0npNJGNM8DDj7iTMStX+/xWZHtYEYmEdYqkQyB1QZJdfsy1SiAhYD1N11siejiWJelCMzCbqfG62d+Z84JbOscOeqKJnxy6thKFYi7MMJGe4xtAeiz6k0G21MZki/b66F1GO0MWRW93vuoIXkxPmnlzO43riGDTPVVp7KR4z6+gBg9q3+p+HvZ4rTsmE2pIyY3Q+oIngZSE7Y5+ISDONfZkxTZQ1Oz+LjCWDyJ0yte7pcUemk/VWpWXdJD9p3VuW1VTnZH41n/fz4IklRuIk42vTfxF2MEjjS4JWQWnnWyuLUwBdm6GxXNIH54wKA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212287\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123013941093?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VLJukvjTejssfbH7xUMhtXIxOitF8cvU\",timestamp=\"1773212288\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bKtpQecxqclr0qUWeTthl+dr5xwsNab70HgN7youzKDXMC+sWjb9JmxeT3Ol+uyMJ7E2T1tO8mFnvkG9Qi1xUfelhDyu+w/WoCTX3N+EUc+2FUpa5ajlGFyqOIw4fvCaYX+Uo9kDiC8nVuGqD0hbTfiAxwehPlM9CrWQDIdGhXkfci0LCJWKYhWiR2sogWLPHfIUll0fGvjJtZ3AP+cLXMzy2RqCrRf7MbV3uB1Y6tBPSz0NyRUvivy+AGWZlvvRLEi+m1jurugpcx6RsNGQZW8seVBNCdtQop/NHzYyemht99JDoPj/6xhobG6ot7YygL8GcUBRUqTONY64FLMNow==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A5C4CD06107E18DAC1EDF50120CCA50428F6FC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 697c64af75df743ad21fd650a38d2cb4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lAvY2xkW6A26pSAikFvDQUHFuiDfgy2EeTadyW8FuU/zScOg6xRxrv8G3bCCplEJAXifPTtxU/V+ss91Igxv/EdGkLoI+bTRF+11JoklzF6T2y6sKeiSZ7mNi77QztozVmezx8CPW22sfqLGjy0b3HGc/78FqVi97EgrUEO/QAprv2B/79BE0kDQO5T8jxQagy6dPcB2OG0P6+FnPfiFeJW2Yn5E39Edoj5ZGsg8PG/TtKf8b93y639qbP7fb8IN8CwazFqvwOCPa80mxshC/79wBxgXHjvkoZt+11jnO0S52sg9MtLkm49OQXsNMWEyflD7U2czbh4iHT3wcj/knA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212288\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014012532?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CBkynY1zeESGbD0Qe49fCIKWvyARgMvP\",timestamp=\"1773212288\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cPdmch0cv9tkWuliVm1kMxoWkImpnC/0NUhoK38SuTgbrZsWGeOrIVP6Z5JJBWKMiqAOzZ6NsR9Y/naFe7Spgh3ihAQgadZzSOk9+X6+r7c2tuj3lIl5EykxXjwtkefVTF4RzvgzVsjVc++RpcJpiJv5nVlKVLLgRHLXG5n0O0NpyT4Ac3mabCYD+jTwRNBlmN43CGYbVdZ9Udap069DFryYovbsZKCHNajmVtFlHxaK8bmIZ+T5kptKTZuEG006TCvpE+leppUwbcdplTwGdudoH9raF8L0zDeAY46KpScMLfzgm7V8IiF/vI6V01qxMDFFAMz3P1NFDVhnu+i6Kw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A5C4CD0610910318D4D28C5820FCD01928AE7C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2c044bdc778381f8054c18ade5427a16\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AaASHFl7l/LiSnVemQsRH1dWWUw4nhJLRHg3UfoZc87uMCFAeDD5tnyPxNhP2o/neRJ7tYIMMXMvA3FnmIHZnnYV0/jt9k/clOiETGgcZJ8YKY5SMr2c6pToQCAGIp60lgjFzo5rKJuTp25s20KAc4lbaMPSUr1DqdmxPpLOkPfdtScTFaDneaZJr3soCnB4ewofiR0iNIx2WpTq4ypymwptr3cr4/SLed3zpzUegGgnOy06s7zxW4q0E0+/DAh5loQLqEVvOzSKLfAqraY/Q3H10UbBY7R1Gt7Y5yATPFV9/NCb04OwUzD3P1VnEa236jJt/PqjWBgyNuPDP7jUdA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212288\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014047621?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IP5Mmf2fNCnzuUEABro3deiCkYpTaae7\",timestamp=\"1773212289\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JpUA+utMkHM2lSzCLrvf9GyiNWJCqiby3sLzvz6Au/vpsQR+4H4//UICYsrpqHuJuVyPz3ga3k5BvUjZretDMLcm5GVi40KQihAUv1y9sgCFLQb9PUm4FPwnquJ4UiI6fpdaWwD4ymsUlrT4b01e1ozkeSJv704Wb0DVNm6vjvHQTj+zCs/z7BxYaoCzAvkQXjpsgZ9HnV1gV5Ef1jvv5CCt0kBu7hzlSN1p04wOIlQnFuEEPoeUYEoZbi3RU8p7SAaGw+GgTvvWYl/M+3EQrqTbeNMlHFkAf4EFZlNXhH+l1zU+KMonMfdu1E/3iVeSm910WzdVnubIB5NXDSQ6Xg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880A5C4CD0610C50518A6DB8C58209A8B3028AAE105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c76f50befebb85ed041a6ac08b259f9b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HCMz3Y0ll5JdLEJzUbD52pjvvIRH+EVLQnuThEpGRN4rdAZrJbVWfo3RvgmzAdaC/DAHfb2E6jjMYO7WkN/yq21iyvqybTJKLdbYht4hAC1uQ3RzVZR6EHOab3gFEMNPFQkTUC0/hZxgXFysEqHJMaaKG8btzHO4qok4NbMotKK8KIbbU3txVWkDURA/aQtLMYJNLs2le/C4UZNXKOrXLXWmS9ztFv7z90s95ZD1LvrFpzOEGuRW8RqXzEERgu23ZZhhrwy+lApv4lKSewzglZNImGfOzeYyyHhCZUQ3ga7fy9I3gNfWl+ahPQyldkEzEJ3Wc8OapRyXOXDqt/pNQg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212288\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014071324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FaT8efebc1RGK3Om7Ty9EfHZjaM8FG5j\",timestamp=\"1773212289\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CixAs4mxJ1t/ira3s518TiSBpWDGLdg8EjtkJmTv0RxFjW/VKtfMIbzprNstehEM/C8EroNtmF6QntzNvHuqSmW08LHwGqqoRs2iiFp8rhl2tjBRR3qkTf4Q+GC6H/z1uqEDTGv8kqpFZzOK3LAIj2943FHG2ac4ylvedY7ME4iNM9lLMSj0RDr1wDvJgH1Iu1c9lVNyhH98lumzpCpJdpontkonZeYNInc8NeCBuVcdHEbfcMn2bafQ5QkcP0wsQzKc1kXUw7ud0m1MQcCjdJ/3A0hqIJLyZBoL8bwiWsnJ4cUWtQ1I70bsBsVAiL7DE6Pqwh2X3PbrbPrviEho5g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A5C4CD06100218E0CFC0552082852C28EC5B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f77db3a4e2ee9fa24954f2df082bf91a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CPXAl+E8c5hEB86Jl0MoRqhFaeLUQJKUykhus8mhdBe79pKZKumKTX9oaVl0Bn3AWfqeyp2nfQGe3ngQIPIJsJEl3ybsYkY57eWPMblPIVcyfo9oxZX9QmBLDQYnC4d1J5ka8vkjWsKt2xj6KTfzY8EO3/py0fQz7dc43okUd7mONYRkBC7KlCuLHy/NTNXn45ijpw70j+lTBGoiSpKesJjiXMSdsZN+/V645wbTajENtMUuunFAwT61Z2kbibRYnqxYNtq/iF0yMVbrEPx6MK+vpcS3l9P/COWycid4cn8EPe3OxCMLTLvMN0dv2iTNUzCAulHwyN7IslaxPVHm5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212289\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014260555?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8HPvV21Tzd45rIH6iMudFr0NbX7srYdB\",timestamp=\"1773212289\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"w9/Q3jlMb2pyv7xuEtgovKZkxRcCTxCXBVhs4GMbD54Ox0N6/63dB25/O7dGO0DPhas6HLSgpvvi57OfDhd5I6FWvOARKe4eNMcCeSxYSZB978iAxVE52ehjQaMtFDr4p/tW9Pk1GAUuceir7L17/tI6BRcUqyKDdIayA93ivIyPP8Oupp8HcTWefmn6T8NwaR3z7wKuN5rWbqmR2aQhsIsDwdHSSIUsWUVSX5EIDW5V2mQYVmIh2ARNacD8UyqLNuwKXEcf+e0EHpYoEMTaMm8D83Mna1TfG0xM67qG34XsoLMD/H8J+wD67IFGZGP7MzsLpCeWKjIh82if0Ivgxg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A5C4CD06108F0218E3C5C05520E8D12328B1C704-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 89be36cba4b21a0c24102cbb317be8dc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RXRS2U6Nn3les2AjbOL7yx7cAkYt2Nq6UriGAp8he3T+JDYo7ZBNa8EcpP+6Jp+eSeuIoF82aZmf3pspn40L8AlzkMMZIl3HG9wP1Ryxkmaija37vsK4DOcla7UIPzEaUSl0D6T+uYuQVESk/Cpql4xuC2I0XjJjvQmc+I6Igwvc/gMk0DTvXdhnXX8jEeY1U1fcUvppTL1XF05JsKEVYRY+/y557roBz57Xh8fiAxEyGnHGBjY+Gjf45JtnWTjXTAfyhcNF1zwJMJR4ZQU4pUG1hCjzjd23gVW55+rdw+zYAICdduMquO4XPJJ0I4b5hvPUPMfeZ4B0OuQYqDaCNw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212289\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014333004?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"oX8EJ66NqMeylRF8cXNVZawQHE2CmxHi\",timestamp=\"1773212289\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"H3axjgdJc+lXkTiwRrr9BwLT4Y5rmFQg3Xg6YzwCqJlo+Lmuj8EbbJ2xKMdHp15qLz2sFwnNX9dyujNbgHzgqVnE8vzRI095iiwrG+ZDLUNFBtERdCgu2Rr+L5ntAx4bANb46EXiSd1Fnu0+vxmVMKqsSPzhkDm79LX0gvVH86skDpVkissUaHpEI95NfDyvq7EsIW/H/YCnVH8XDmM/CbxbKLsE491BcbwL5gbBV8UizZ9q9m02WPYJnbT+jva1GoDrYA2uXuj6dJpjG9PgrSdffFfBVuUA9X6CrN1MHNqQm9ADF7nmQatICC7Z4+TzPJ+nzhbaQVc7ro85FQupvQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A5C4CD0610B804188DE6F8AF01208EF91E28DA33-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4dde87b33dd493e6a4e78d511293320c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ga5xdp9cN2ZLQwrbAh1F9H5xyqSUZouX65SaK+es/aQFUk7SctKjMrmO0ZIfQnoJn8N64H5tk88uAyw2eF6QXoP5ttz8NMcGVjd52eGpkgtC+3BndKnv4Yy4loiLvAHEx91spfijLsMmlP61T8J8BSWajhq9eyVBqmS3ZXoZA5tr+lvOQ1rWPUwn2gLnHlyrEsRTgWNEyjM5lTglmKGFsAx9mLU2CaPaNOfqmC8lKgKMMaw886HCuDw3z8Uyls5HF7vnJEmpauApRaccv6MudVxGWk9kOS50kv6wn8EehhRaAZwO4yQNJRd934NAe8FMIbaOwvu8w7ZVLi5k+d4X+w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212289\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014397721?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QQKjY54ifXF7B6tJB5w2d2XePESYHEXz\",timestamp=\"1773212290\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XG3Q75f6+L6JXEmwzPAh6Dbd8qVrbe20xqo0w2NniKfvaWQbyFVu024hF/z4C2kVqSEt9RP2RK4EOV6JLhOQAuDvSkqOFY2iG1EHBhznkMfQoohJHzfrtQQCfBvfdeCBSo5VZAwsGxi6u2oLnRq4Yv1++uHGbJna6hBnDKyl8rKwP4u6lNeihXs56+G70jME2UJRr93Q2jsxTh5N5d58ayQ2jTaCXMclWTDMxxd6zatQ502/lVKgjza8Ctcdk+9kJI5SF7dbKUyUZ4GL0MGEBUB2pkUgxOM3LGKwG4D1kSjjYq1n0ZDtPeD7r0KIGtNS+m0u8uBKeGRy9yGyMRdZcQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881A5C4CD0610C60618B0BB8C5820B6E83E2886CD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f978f725f6cd4bfdf18ee84eb5e65691\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: K9CwjckG/MfmhNzlm6zTSkTi7KE7PG61EMxqEwOygAzq+bpMfOhwvCkjsDynPobBahH2vUpujjuzMx3IlkmUwBE/5RQW6bDG97ZGwRnsM+2B8MPScMlR++33QKV3+RVgYQ2GeJJ3uupEQetZEeenn8HX2csHJow5nZ6b9MwPqKFfziRw0Vp7bIJpZbL9dKOw7eRo/XEAtPxETRfpUlcHHBX56t6HOA/u14l7B/TeNhsZwnUGZODuPjC4lUr2U7gNZAkSZHLcJCswi0XxB1FSIPRgvvQApCQKyJE5EDyKrUNzFzAXbFFE0gfu+3KgevHc0y8kJGjwk4aeZ5nqyGw2ZQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212289\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014891724?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ssoiSMqufTyP9tXNXGSq2IyBGhLPrfTl\",timestamp=\"1773212290\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BohIR6hf6+k6RJjNIb6+sF2hWUoCSpiyO1J/BbZeUOGBuhOwsCgZfit1KYCFgl4btzmT0qlXpmXV9knM3xherQgL35F318rWYwWxA2HdJ+NP5AROfT1Om5KX/QkwQo4MTfxWkvqSH3z8QgwxiaafKfXGXnFstEcZYmNR3I8xN2tEAPGOLKQ/ddreX0gzvjreotkI3qxDVGG7c1gzmRaVKeGejH+XM9sr/gvJJUChG8g5w6SOxmijj6eQNdkST3AaF4ohmByO/hXXQb7tONoAPx80vcuyIjlWAPqgUEudgOP45I+kayo5Uzo2y3UqAnINLwdJOVJMl3EkaDUrW9kUDA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A5C4CD0610930118E19D85AB0120ACC42E28FE67-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3a343819d2f954d94e0cecd6a354a4e7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kOUjIvnKl83QN2S39YN+gPv6TSEbo9XbuTpjFyMm0J7Efdk5Fj7n474id4TMdXeOpbMztWqMTxxq0tkYWEfJllQM3bWpeaUfPf+EcFvdDfrwuRZ7+WjVxlfoMXWH2Onc9ygGd6vYp8unGUJOLc0ZORZbUE/v/u6nmvZpDD2ujgtQucwNIgDAmK6o4dDR0NrBDBT7rJl2pcHpmwNrU0J8rQBIcmh+EvOmFWDjViGiaPPt46sgnB/mwl3PvPSxrBvCvmT9+U9mRVYgUIytWKgVWNgVpQSXAr9pH9DnOXY98QJt2hBYVxscuXy0RZdi/YEUg4/qqFzysKT5j3njllfhJw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212290\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123014919206?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VUeXPpSnolne61dpdxinpWPe1Rnp90Yu\",timestamp=\"1773212290\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZamYGmZCsJJbX4OanfBC8MzgVjvHOx0FXvttwt5Y+mraBBa1H93YhVQWUoc5Iuhnt+johaWeWGYuvOh1dMiU0EhAqWPgEITJj1QQAQ8JBOXSwGdtycoH9MOoYnyKacl5IVIEEUGLAb1PJ4M6Hct4xNlp/4AVixAYQhckQgMucB05uv186Y2ucf91/SyA3oYG5lIpp20q3lSALJQhm4aLhw2i0eXwVirdhDtp50zWfD2ZPm0Swpxcuutm2R+6wkTpfic7aEtd8szNDKoi30bI9twQvlfNi0qyPEWonuBicwcJ14JgIWw7zh7ADaxLA5NjCttADzL9q6Tq/itnugmEcQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A5C4CD06109F0318EFD4C6AF0120FA9C1A28B8C901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8d9cd29e9810fb6bc89c85177a89b13c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ukd8TO4ZYQEIC7JoWYhaKm9XEUaRJy8gO0FHlYDBdyS2lSUsb41RQyjbUhQhhLAnfTQMLFDbe1EmN11Y/2s6KCAzWh58nJxac30hbIZhKVl+3rh+ok5HKzkFZo7mc+ClqH5hGvwjDMsnwfjvX9WbKt101obcTxIgOHn1Izd/rKB5a6hmYZ8qYAGV3DgfmSvcf+k0QrsvOo7V4Zrmzq7v9ssgHju4vr0EuDZsWNbuq/1Pf0sz4btUb+iAqsHzjejOkclLh7xXR/oUhpy/6z0FkqVsn1Tz4eSsXHz+QUcgsL4jDQ2inRBrbgnXr4t7zq6TSWVvOWSVY5q2EEJXtFToDA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212290\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123015942138?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vS2eA71KhlpPF6umi4YcTu8KeuLU5QKn\",timestamp=\"1773212291\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cx5wmBSE8q03IHpFe4/ve0Nz1y0G1mw1or4CODSOFO8t+2m2e8sXqwumjR3kswxt8pvyzcUzE9UmTiUbAptaipCWa9aknJvoeo/2stMi5N+4LiuTSAy1OUtflTw6YzcE3rky+TY68NBDKcWFjaVMLYNmeEwZLH8852Z18eqw7EfB0/FJ+YY+yhAZcOI4W7PCPnZoYdFvyyqmD3GHmB2nyTpiS7TfSpf44R0ISwxZyxOWYXVPkmd/1EtATFXFKS8TrtUFdvI9C/8T/gQdVGRSEZN45JW9VyMqjflTU8gQH/xX6k57yt6FNd05K0r9M3T0Rif0vITcSCYuIXNJ2YCAmQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A5C4CD0610A10518FE9B85AB0120FCF51928BDAB05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f1e0455acc5250d6ab2654cc6775b3ba\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eBnl8+DqPUVXB7w5Op7V+I+XyxfTfN8xOyukFKl1Kn44nhvAyJO2PQ5DyRRl+gQ52WDScJHvIvWeRk0wiv50weq0GtgHIoyEf3F3V6II83Oo7Yv8fjynMa9/gKyXyAibRVkKiZK/b2kh5tYgBxokhxCB4Uw4LJq+7AxuaKUVirN3wLSJ76Gq+S38Yd0Wa5U9fZ5+q8G2BH+Z27rXBYleNCpxCSB5JALEc01dHkauKkAUIUIqsWqCC4ORlJP3s8IQOGjNjfjOvTE0LK4ysvknEGBpFmRgPYwryh3sFfL8wX3my4oZMMPGpY/MMzPRl+qplwZc6xZnO9Gt1xlKwf0Dfw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212290\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123015975334?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zAqcuOPI4LiuZphmdFYXFr17ZBDQM91h\",timestamp=\"1773212291\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gxbjVGiQV3IUqZoogkpyta0/Xf6XYKxY8dargJzHPzZl2Y4m7ifWbgPocRIbTaW9Y6CSgmWrvohn0SRndrXwrs2ubRHzdnwHdRwm10vTl1fbxbqxeTD5q5JfYuRdgiOqP22q42nfIRrxUgT9ySrtHTV9UyWsEz5N/cz5QHtGGcyHKmrm1164gChLgKAzmh1masEzs+Uw1u0KRRQnjsX/hKEjJk4Ca20Su8Wv/0dGFb8DyJKZyddgPuvvWvNm6LONr94F9/TSTI51tn3MoYNeAHirz+oksEVS+9bfxkPIrpRo5HXYoOEywDFXkv4YDisDEIj7/8cR7COsxpCakSoGWQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0882A5C4CD0610AB0718C181F8AF0120D2943828C955-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2eabfc909833318efd86a337a402bde5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ypVrdVoHe+2Z4anVNNVbvocfZHNTJUGz161Yy/vReS7rCVZMsAi1Rg8copeV8sJDgZUhhCKehfuKcVv6XSiDNSs7KrHehUWXEICHJDyTrO/n0fJJ3+pRYIY+WC1c1n/mIxrvPDfIugqrG11ZXWzNjsotG9C6D5BdpXOrQQIxGCio7JaY+qIkc4dWLVxOw/CwvJ9Aw+oqy0bkAcf7eMp6GQRJysEPzPsRX5daKfSbbOEKqt189zdOACTMCuRtFdFc3ZLOTuZeAtO2BAJnVU/KwcCIAJ3TC179Ku5BpN2ixChSsuM6kPt2Xju3CU6DzUlYRXbKZd903eyrdGoUj1ZH1Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212291\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123016309070?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KYdPEgdHn99Jflx3ZtKGs9vjkuW9osnX\",timestamp=\"1773212291\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dkCf2PyqMSBQQRTm7x9u8cbBu+KeDvo86I/rhxup2UEPc8JHYp88BLGD/+x6i2QuncTI09JebNhM2QXt9OpjF9GGguDyYzyzGf+3gLSMn0EKfl9UaJC/bJ+W/N8YMI8GTjqiRXPKria2xVCdQCs5utY2maYcETBWKhzskRg9p977qJ078nQOsOo/dzHmNiax1FrPWyeP3vgJpN9aE77spQVAC66qod//tjwgaNIkXfEP8DpAF7ruVoM2VdGTe58k1gvyEL8x6RpYhdWOdTFd0VEfrtEEIBTj2/6X+iWf6hIw/XcTJhd1G/QMYyVikVYHEcF5m+YY1dtzlspsJonvtA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A5C4CD0610ED0118EB9EECF50120E4FC1E28A0A905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0431dab2bd4a88902b3a258fd9b107f7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nSU6i/kpmAH8UL6VDidBaYJDekx2oLupqYY6CsLkUjwIfVczcqHM+UlcrVoaljnoVoRV/16f4gEBiYDTOx/zjwbLsiC4sLx+RzKtJWEcloX26f44PfvAvW6twOBk9qCaRmNF5i50JVeT/L4GaFoI/4uGzTCvkSFtVPy+G4lDQFm3bj7upKsALeVTW8brg8arWtRzYpp5k/N3naUHx94Yh2T9FQtvB7L29Yad6nIeo/HLk3IBwLV7dBC270+wSs1UKEZw2zxywAeDFQV8U60Ycc3bvnHAjkzCn1KF2dLmbzlPw81cius3Nl5K9TDLfTVa0Hi3bINxc+nXh6qU5Pm8Rg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212291\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123016391725?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w14DHxAVEMN5qZfHi5PAhP7cjhrVfumn\",timestamp=\"1773212291\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nA+V98U2VIeYj+vNdePX8/h2ExzsRwD2+GjQ0xqbY5GoLEcd3q1v/2KXa735nDJLw/PT45cM25RIxPEid2hh9SNSnHPtNLwCvzwp8LdPQPBH/7d7jc0gsiDF61r2WMjwQ2YC/g77D3q1j+XZI6q9wziZ9rM/FumP7Pobbs1wq8nvGMotd8yt/gZg+hnWfg76ONDiJDX3PhvN5muFxX43n0kfOzL84YFXjS5/+XDwajjIaYlsQUm4KQHAJfxM5zY4iB5kgDEdBkHw/JNvHtRolxaEGnD2z3gwJgvXeTrkJRDcRe9VmJuR/g/YLY+14tZ24w9TmhBTspqn2PU8vbhZHQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A5C4CD0610960418F2ADF8AF0120A2BE0628BBA705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c975f6d59b3cf682aff91af6bac09f97\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hS+FiGe0lBIznKdjY/8FlUKIrOlyx+I3or0jbcLP6kAyCwCEMsRlJudAPFJfF+eZU86ZBtbY0+wxqJhO3vS6AfruMzur4z14xgwu13vyeECmDiw7l/UW5qbXGbBxWaMq80dD8My25Xkx1y6v7mZgTH+iocJX1GdlwVCg2vis0diyK8mRxhdQ/cMcHlULBmf2JTH0X4JXItJjyt0Fi1sYNBcsYaYU2XioCSr6/g9Tgvs6zA6s6TIMdzFQ9wFuhPQtilflc9i/FDMRjHnF4AXLTDn351x0VZWD+2nNeazZKHatCV3VRG7saiM9WgmIsKM42FGOppcGAUQEAqYxbAcz3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212291\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123016732830?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bhPjtC0A8qlzuXgRJIOsKFOAEjeJnFYf\",timestamp=\"1773212292\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TExtgtXUXQ4wQkROsMjxuGO6jYlG66Vf8loyUo/ALoO/fId99QWkrSQdeRghPmRheXRf7SU4qZW1eHPrhT0bDT5IgNOhlC0jQ8UthKXoqVUs5VDwgF8iACwCEiUAX/M7OE7HWzHC5az29D5Dtp9mAbQEm26tP9BVZSn/UF8HQxmGNYmS0kJv+uwsO0NpResXgiwQ5ww87/GeXLaDPbSA/X7a6qTpXT7jZAjipCMu9x09nHbMiPczivdznvfZ5RGxsfhe3Gmpp3+1RM8ddN4HpQ8/t4ELeOznfSERR66ooUQON7NqBAAfJ5f5LsoBgpp8jph1+UtQpysl0wynwfgb+w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0883A5C4CD0610A50618DAE3F8AF0120C0BE1F289C9806-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bd2b9a57dc2207b5e6b0c8b591b2b3dc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: djEayTcWjtbVRvyK6dYk+gimRd2JcIwe6XdqRCD6jcmwWqztVnE/WO2aJl77a/IuxftwM+4DHIvycKNGlKGAGgi67w/QDVGhpO6FvZuIVrrSaADv2TmbsBnTeKm/DMIMkQWpp/blsmxIJU4HDqCjTKy4bAxllhDebc2xJgB1f0j1ZIjX8vT1nQ7iJIBJPPW9L5lvOJiHWOHYDSrLbmRi20Yc3uaN0JmJNsZJF4ckaG68c01zRahlUY7YLVgLlcL6eXoe/Cke1f6+zN+105Eug3FZbhzQSBRFakMvN6jey4mivwpc17Wv3P18e21upJE51T4VpJrc63YntfAHKiXRQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212291\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017059205?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YeI5imcqHPbCzhp8kW301Zn3h6Bw9usy\",timestamp=\"1773212292\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2kKeARik3US9AYW6TQd1BsU+Gmiz1kwijNMh1FrVEbTSJiPg3RVQDKkMOPxvTjOeXgHDoYHd2PnakZGB+hzVxFn/dhevudK8GNdYajgjcCeyOBscDlYuXNxWbwqjYwCsO8nvPJkN4ui08Qoa0DkuYcy0JEDc2sWEq4iO8DTaDA8Ffevy07+3C6ja6B5ftNMMacR9gFQce4xXPnFRSEACHCLlUcKI4aQ8b+IRPUnk2XTSP7TVqScicbFpcUVRA4uJiOcgdtM+GtFLlQq5QBsQBd/2R3tBxv2QIpTcRzbwnbQ+Qb6dpvheAFukVhsHUTXxvaXfe3/jKyOsy7s1vHUwWg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A5C4CD0610621891D38C5820D2E60E2880A802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e8cdf79309a6d87180705a7ecdd2485f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qICYx0HbF8gv70sTciK71c/VkD0tBLalB7/YwlMBfNGCUc5HEYk4z3R687fbvNm/wzaxj2kj77q/0aeq2qKkb2lhsUb3/F9puqNgMZwOKQ7HRaniZBXTQbxO6bNuFCiD1FVIjGlMqAM8e275zrmqLjp06p2N9awN09gQF+D0+mWNrJP24sxgSI6cJTDtgeb8VfofEGtbmuDicIZJVd6wqPdm1xAgDmwN31b25BBEnl0edhGJ7vO+7utwEXYk3FIIzItkwWb1R7i3daYQGd17fdqNAR5FAm4EaHMeN0tKEihdE9lYl4BKCxb7adpvGM/oJF3ZSswwyWsV6PvUd1CCsQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212292\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017156271?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SuqXlMeL854pjQY4ytrhInbsro7HtAQz\",timestamp=\"1773212292\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eByt4u6TO6nOh3QnxnVTHZHfwQDQ2hTef7hFsKWnFm9L4AqQ+cXKGbtJDjeOAMFBasn3s8znBjt5vepQboKx1msOXT+6ktKlcrNVyaHNCAAb6Pb/Qdoscry9X53uNhP2NYn5NIAh5grMTG+rjsCcaG0HkcH8UT4JVFcOP6d0hiugdg0UkVse4Fl3takM61phRSoMiLBTCudIs7cnp2/J2ziqc4hMzHp+Ed5Ruu4i1KVK7HlkaxtgYta6qBAPMf5TcOUFtTs+Qng44YWOtMRzr9F2l5mKn5WUhpceTl9i8+sPiqpCqJViCrOf2TL8ukperT6QR7647pxLgNHXiMnlAg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A5C4CD0610F10218E3C5C0552084F02128A6C005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b06e34c098e36c701854ea8d60b0258c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CNHl30qUD6c6RQVPMlziZmyWu0Xmsh1wqTj0jZdQQDrBilCx5s/VCccfXYEp4KYgY08FWg5ssEIqVpta0ZsDSBzLGoovgZ49Vbzr4rLo1XOqJX4mOYVczf3NYGVtTBFabo+JEuZeEA4mM0F/kbJbfDjkSOo4ux6rLc7j1XdNVyaI/1R3v2aPYB6W+J9CeQC/BO8Z2OjU0qwOe7/SEUzDqMOMTphwJxz4qCUBYnp8y3LWFri0Jv2t6GtKv0EV94tmrcK0rpGTFqZdXPIVq6m9+eF1WjYzFTuceqimG2ICmmzmqQu2ZFLTOWzsELYZ0qE1J0rGu83K2gq+kfbdjzcoTw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212292\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017215573?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0m4n3DUddWlMQNtVNMcLMxfiMs5zyChD\",timestamp=\"1773212293\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ay4KZA5/68Tvm/rsJb0NAh0DBNRbh+YktLWqbw16YGYzvBice917pWcinyrfpGdbLK/xOYt6ZE4VAL8Ght30oOXicdYZ6MV3NtiFqiv266A7iIZ1k2Jf175plqWk8zuXZtZ4zbxDpn7znUGzJAwlSFC8jbpAGT9D2sMF47OrS7GfG2Cy9VNMUeckl/s6UfmR4E2GqI32663KQm9JI6zyXU2snzv2FS27D/WcCXaeGJEnX/vmU7Xlsntl2RsAoq6hqqHVpPEZlGbzZjQWMxdu/yx7PGQsTJeog9+6JM0xNQMMTmFDt2NeGU+nY3uZ6Wf2LeKdCg6Ub2pySPfGaQSOcA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A5C4CD0610B20518D2CEC05520CAD21F28EE8201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: da37731e7de70e7eaea76acee834f7fd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HnT5d3E0wp6xVDpPHhz2VeJ1NmZhzPiG1J13rYd2zJoIT56a1LWSF5eetxhlEA3WLQeFfdL3mqrsWWatNFOvjxUYHancooaIO1xcXsKBe6uf60p51nUUShFAdho2uhRVaEFBeelBUTQEr6EB3wG9fX+jzx5ZKCYV4Hi68wfjaTKdffdMa0waojrSBFlciSZDAN8wqWOgqg5WD2SmMA2k6beRhTzC7/56EKb2zcPX07TQMWSK40cdLqqze0v3IAzZDJxyFYVd4CCE22tqHmroeergQy0GoZXGcP3KMj2wCgZD4n26ntvEWtgYlh93Po5o457O6xiF2A56L220gL+xkw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212292\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017233990?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"x6lR66I2IuQUD322wkKBDU0Fiqn1BtG9\",timestamp=\"1773212293\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3Awh9BRV/UugY4Vl8YbEeVkwo0ySyeup1OffKV/NEItMCxj6H5Z+yNJPbc3zwjLoVs/tHAAUAScx9gapMnbqwT5TLsUMH4wNQjqQgJLRTXwzyhrjd9Ie2ZN+IqzR7LuGV6npDQZEmMkXFdLV+SUuwaLBrhFyjO9XsZiLbd/75PJWK6T4nRlCaFsOLtLu81TkcdvltdGS1BvDETWpAHujg+WF1Xztwp21cR2X+yyRFUTZpYGncHzAzqeqB/SgTLcFB0JhNgr8357OtDNcOUJgolVMkqIupee+ByiluJ8XAgr3a2pZXHbV2pHMMqi8SoD4NAEWBSoErVCfxCJGJ/V87Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0884A5C4CD0610CC0718D7D68C58209C991E28E69505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 36615c6af06fb6fc34242961357ff9cb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sjbRLxvlYDlSMNcGfIajgib7PJ2DqqVetItpAUVqlEhTjQIh0hy6k6bCqIY46JgH0tLlXHudhQWRdGAyTEfVHxvlLuqdKQK33E7CNZDNdH3Ht4Rx0b9RNii/iL4TCyPsJE0CCwtWUpZsVbzSLgfrKcoemlKGZvh5fRHJ6XM+djLQtzWsv+IcmbkhIjbvl/kTj30U3nCVpfbFK4d9YUGV4MpoupXMZn0s5pPvp9Ny1jkCibQU8PzK2ZSSgEJzRK/QtT5bmw3DWsA07bWcnOiPny14JL1pzEQ0ws+R2dVUmA4UyKl2LiAayhp8YRcybjNXfJGqTptJ3FkjOUbw5NUJFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212293\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017524080?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XXU6xohvfJ5PlkP8troTc5OjYZRkvHAh\",timestamp=\"1773212293\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Xo76l/PwIu5KmwZdZDirPi501681h6hEpUyDUPFXXpVc14FYYKlOsfcYDDJXoQ+ZThJh7M5MVhhyVYovTtY4JSV/9ldItauwW5F7acIPJKxGRy6Yu9PkswtJKO6VNmp3LSBi6O+08T//0egt0VODywduYQBCE0zlVQtYkbgId7bDHM/LgHtO8CgipQ9R2DHB8UwjR2T/EyEy4cbYfPj0QNUta3eKQGhUphPSMIOWbyC4DgvoioJLP87ygYF0hcJ3LtNSwE8efTkiGJxrZzcQjmBs8YI02nUVRxFNN7N6sqeJ9n86R1/BkRw+VdkAWbn9ZiS4g6ng/kpxw8ebIqr6cg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A5C4CD0610F10118CFE7F8AF012088C81528C5A405-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 57895f0b554982207652d73ce4604d55\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Q84+uRuaO6jyLb7BeSHK/ukjwgss7r9opzKTjcHEpLFJ+Be6JG+301tDcfjjwqvvzdGd0FofgG+cD7FUr9KtJF7WLn3Rc2P1UfIcbvl7qt5xNShKJ9yaCaP7wHmOJlpHC+ZnaY/NB2YznurLopBjVm63bb48Z01UxfN6MnumY86Q9bn7hjh39etglkaTkCOfra7JoU+TZG1i3pW2INQsSaP58Q/sML0zqL7sIm2rJjVmtx1pGxAFpAsR4AcnjcAMMgX6gJedj5obCzesAbTlLLazZWIvAorgRGPPjZ05OxEb2DBcpxB1CbvaQHLmZi2v6nEySo4XFu2Rv/8/wvjlhg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212293\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017746310?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"T1z93NM6pSDu0Ov2E1OI8QFJBKbt8Sur\",timestamp=\"1773212293\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"g57mK2io8fOW85iYGPgSxHdkiVkcQw5bGzo72HoKNJGdutTs0nrZ/Zt1H7WSdxkLiHP8kg/zcAhVpkgSwm36W21XBVH+nU2+HfA+GfNxFBWbYnOzU0bB87FvaEyW74eqnrfV48lsHImqYAPGuwnjpMxKmTX53bXFALOEWACeL6PglDghI1ajbYhFmpfE/SQsp0GBePnYFCWhhEvIeUGzWq16G4on4hmWxJmexV6jtQ7Ivl5ulrZDtBDRSRhvli5OIoziIxEMVmoVx7vKMTkFmwiwE2c780ZY7jnLbYln1WJB1EB9tF29hXnqkVKQ5Fw4DoKKRvmxeASvPgClJu9DMg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A5C4CD0610810418A6B3F8AF0120FEC33428E8F204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 49be1c50970959ea40fc6f59564ced98\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gVgTX5MWf3YI2pGMSv3xT2S9IM+OGLVo1sJzJj5ycr6BAsOhovtOP2HKeJz5HkFzRdghdiVd8hHk/kLVlbxO/UvDTDa2wMDRhGkPZIwXuR4719tBU+r7/6PNV6jHlenk6E2j428fGjuzCBkaP4m2Tl37+/u52ZMvd9yIZE69VuQ9esDdCzN2TMUetrg9odXmTmfzwObGJmtKr+EGGcn714JU01sN4/IjfaSXE8JWlHYR9Gvz/q67HkcaEaUtiF7J8lCtpwB8uTjVqueISFs6CtXffHw4ZkcW4qu5HQeCd2zMAfieoR/mxqoC6hjjlmOgW4E5ZjlTal+derBQVGwJGQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212293\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123017752372?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"raKWP2nEapcmdt5S7dhzqhYYYcvmpGn4\",timestamp=\"1773212294\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kp3ZYzswWc37Um2RcrDOc0bu36fAmT6SXxCxFXBHtvKK2GvSjS82OJL+VbE6g3KKAhKJ1LIPLYkPL8Dkdk+SPTgC7fa3wVPcUIXj28MwRtJRDOjIn1yT8emoStI/ifSKb+kNvRaH2amW7QteRRgzDQL6T+HZPvkD66ov+S0GeGHDIJ6O9ANBddEWLQyjnUEXXTSC6cAAFh/uprUcqG+igvyJVpHydLUjf3xwn+awticwBZh4PiHk/yXH1icxwbSQk4GgM/3DUqRccWV2qkRCClZIo/x3rTO6H3GeXy2JipcgBhGxtFJqK43NL4CE3MlL7RbQS0k8hqcKc5Dvzgai+g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0885A5C4CD06109206189F8DA85C20F29A4228BBD802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: af1619bd6334d21eb32a423ea2f6af5a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AoJrKK1DbfKiXwULjW09eWPe81S34G8gJmENVyuwnLEbQ5K7CZnzlbP8ysVfVLqYtWqCG0739W+WcAMk7OMjjvbeEorBsENb4Cu0iO3EFTlK12gqXhMABnwkk8OTzz8/B0S5EoaR6uhLAu4XxlL71PNE45cWTivh7drutzl6xuP2dVmxkySqKKc1hP+i70hoUG1vwfUhnb11j7FMwjRdeJpnmX1n3miA0ZDd6Uy/ZsdFw6qVtu6pazdHYUr5Al120wlmqgg8qv6Yi9Aixyro3g7AVYP9bwcZbLMg2RgEgzAd+qwbwHz8Hjb+CIClSDdypNENRtI4mPfd+995mvMlUw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212293\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123025023987?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LGAw3UEjyCitX7K5z5jXJE42rhBog7ua\",timestamp=\"1773212294\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"asO+nGIQLza7wJ6lw53WfFTjb50Lok+1nk/14nrnCTI+fzeeK5YeZw2Ca7VWAIbH7I6wtYMKVDPtcPmhkEufwLCLlz2kKycimVlLP5NbFz7b4vqHFp17LWyppMF8rRfg6Vo5hi/LJxUj+oDq2chkpJmXmQL4K5hBQiPKA5W20zUbB1IU7G1PuowJIZA5keTsi2uhj8cyhf95Sr37Hm+pOVNXp0ZkbuLcaDndgolZKc6Brwnmh/Sg7YgpdtikN6fG+LY9n1l3AAVmmcAQue0rbMkTQnbDQRbq/HixxtJxqXWfMG8op5k15hVXzlzsc9T4I9UlPSB6qWcH3MxCHD1KSg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A5C4CD06104518B7B1F8AF0120A80B28FF9101-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2315a90e1458e8f920c2b5ea731a12e1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: V/5q0DJ9t5aJaRx9LC3uBo55cR0MDK1lCN+ghIDfy646N02Nq4iZo5FOtmrOVxuoLCfFkAxpJvgtcvydDHPMJHQEPhWqwlnSpYWU59AlCcQ3/6I2QmC6WEN5kUmscgqLDnpEOyeU9+DqpYTVZkF7iuabfzXIxJtUDIuwpyPl269U1L+mokTpL0LJ4o7vRVXhFJly+jDREeL4mWBfb8lU9yq4HfQbhgRj4FAcGUYf0wy8uc8xspNRigHHHKOyLvww2p3Vi7SxX61kfn/9cN+ytFD81HnGwQ19KWYhVYmj4M494ZNXT3+bxSaGEa6NEk6GTgNgPbWoOafC52A0ppPRRw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212294\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123025605791?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZVw1vpC3WWsyVkkSUUQIh7jgadqvSjvF\",timestamp=\"1773212294\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FzJM0yoAHpo9GD6P3LtplLRgQEMpLc9dS/sU47Sv/S/qFq55JKb2c9CRRHyrhgL0K/81fA18k3ACX9FuR3hVb111eb0kpcDbzYTy04ruy8Kk2b/J923xzd+H93alZtzABXku420CMKWRVtqS3HI7pUQPfY4nHmkMa+uzkws7nx2wBnUSs8TbsceJaeisDKOVHis9FZxraAA+27IN+QmUIPyL6K6s7WNS0piNZGmw3sYPd3P/5nfwlUXaLTpm5TFtNRZlkl1NQflnbtwpz0nkmZhvsPtko6vViXnjk3ENaNuUqG4QB+ZlnzCS2+gSwnnEC+Deub2VVVd1fiK/p3vXhQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A5C4CD0610C70218D9DB8C5820F2DE1B28E09802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 63deebfbe773e7b228465d0c1cff5941\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: k+dOYI65PkK8p9d/uqzY3hkw/twsHyYrtjx2kpK+bM9WI0i+a/diDCxdQaQmwUhVhWNR44XtWvDfKIKAxiB4tTDdabDnQeqJMD2417mLspLPTQoxIjSOKoxT1HB60XcYGJYNCV/m5X9WtGeLW0maXpFPbSq3JZaHVZRILtEDjnHeY4C53M8JPHAByXpMbJFpO5jvF/w4vawz58BmnOVKdHP+z5pxa/9d51LTqPUHReOQUg8SOXS9xb+JieyJDW8dR6iK0iaRETCUc+2ldy8GHvtbP0aFIn1tt+UUs3xmvhOe4aicMlIqyuuOdAl/2hZ/NGQgB3lNqxp6gLxZnz8QQA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212294\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123025810702?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ixn38ZOjfJc2X5EOCJPTEGBesOP8xEEe\",timestamp=\"1773212295\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RoFSVuS0DaQqMefrsN5J+Rsd8l+NC4+C0VN6t0tQyLcr4YMHqV0TOV9vyXWi8ija8PvBWyXx4dgVUkKlaohFUvFQZajG9WhP2yrHSLFpCM5gQo9OF2JGBaSWstZc8bJZN8oqvkVKsrcAihMxLHWwIocxz4mmNP6d9xXzi32g1zW7xyHJezON7TzT/wjyyA3QZMmkhHiuUToDY5aJMaZ9yAxX+Me9PImUV9zGUArv021OfnZV6fQqzerkMv77C7s0swZz5EiFJGJYYygp8orSrxpAiTauIqx1mQk+asoxhEkHFQid72yTdCKd1P16VwnPrQRqPypc7MCk2UZ9uTudxw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A5C4CD06108C0518F9CD8C5820DC820D28DBC803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ba79f906d7bfde6f1a7b50ba871c072e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: T++DNk4dVBc28ois836SFWo4bBi7nk4W/oyW5t5H1cWg/UmpdGj2pN9+pU9igov8G/qxfwExxU9WhD0b2Tkj6UVfjsDpPzZne0Ft2GAJe0KgZRTEIMzR9/rkbhXhQb4d623ezbyGfNtoE/IklTXgZ++tnteG/aZG46JLBt/XO5sJeJpnKS4SsLXZSRB4pzTDbEweE2NlbHWjRlXumEmUD2fZb3Q+cXqjeOMJTHB80kFgCoA2LDYqzFN6y4d4nfxXnZmUmxSOSB9SONPqo/Ncs7w81i8zsL44DnmxIfYiXYKVlHVzjcTEgNWM484R7V8rBKLSeUz5dtyFKataWLLIqA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212294\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123026387124?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"09YoNqBRYSJvjGpoBNsF6Ind816Mb4AH\",timestamp=\"1773212295\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Hxosjbw0fZ0mWIdFDvlRaCsWd1am5AH82oS2J2Tc52kmFs/K+grsuWOGNpUGxtTQa41j05MUhwV7r82q4pqXPoYUrFbj9Pv9lTBaOxARcyowxl8xvG1lxJtJHE8CD9FWo6YdA0CM6609/0enBhnaEMvrjNx1lSpajmgCG/fdcMSELWfgNpn5srWsNR6Ya+cDh7VxaCs56YU9UrzWzfCUjHnghGE45OyH2BwzFPBxzvoxix546bBtr1kUqcsBELlbseSN2jgf71QvqdDkotyTycWTjRnI97HR99gr/M1UtXkjmK1f9UFjSAsj4miuUiYOHI0Nw/u2B8X3NXjDNjN+SA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0886A5C4CD0610BB071888D28C5820B6BF09288576-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7623aaf595f78ce407eb791bdef109aa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: M6zPM39t4RGuch0p4zsAUQ5Lw9ZDIUz9SCWvNX9YpYZ2ZQ+uoXVoeLry6BfYgkHtDjKeetear8wJJ+OtkkNbMHE6vt5bG8rKV/GdyZdE0CXxKkdwTXHlX2j5IMR2bP+HIq3VVVxyFYmT1OdlBduWE4jVjjK5sehl5T2hS5Wgdkc1oBsJ/W5QkTCF5ooKR86pXqK6Q2bazPv+adhirD+uWxtIK0voMDe1ahMEh9scJtUSBEPbvfRSOHbqu0g+526mrqpEYTpnhDr8EKhkm5SaqufRE2Syusr/69Z6noMHoFa0U+TX8tc/QIDSOg2qY69jknda32ir6oB9s7AML33fBg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212295\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123026550012?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kzzsZncVLicGZsBvs4ZmreovPkum3g8K\",timestamp=\"1773212295\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yrmjjXw9Stt2jSe4hFtwcjSH5C9Wlq2WFcMO/k98Scm+GzxYPyYLqah0nvE5g24yMaa17IDBx2IYBPBdNOaVwX8N8JsjK1Gk78ZsKE7UdlV0pV2NXpCmngeDUs3Hk00SX4PmYuf5PhWtbkJbvHzbHvfS8/Wod11wOvLWivij+tNTQcg4cY4XNz8wYCqeKgDxAroVdhxZF1U1yEx6nxwD+HPQ6zrEJx7mD/eX8sD792PiRDgFJNh6yT9uf2G4RkwdwkwbN1nVwNfYdV+L5TwGOdpyZjAd70uv73LqVIIRmcROI7s/ZhgAsHJlaB87AdkVM+gsE2SKbl333GvCAH5pZw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A5C4CD06108102189CB2F8AF0120B0AB0728964A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d50f0af8d5373f8268c247512326d864\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YGkqG3ZjWKzxX+hcyrQse9uyknMQtSpCzKmaqTzlUFwQsgiOGPmDmXTW5g9/pi0KyrlSJr4BSH0dnzHOSWgbr2Its+VwQvCjTp4e5J6TZDyXv/3YiuuOeqXgbJTj0RwftNIJ2ka2AABJOpn8eEYSMghcFPv945jtSShl4zkGZzUKKDqTS5jfhb9y4xikuss+SO6kinKqTr7I3flT2OLRnhxa3lY1lf+EfPmnr7xeztK0GPJ3Gu53Jo4V7T58zmf4Uw3wolzV9/tIUVAjTYgNONZpieiXaYYmbndP8MkCwJZusQFOGmG5UghOg1TD1CK7SwYS4mPcJhdwAwt1j0z0Cw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212295\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027018337?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YPYHygmr9xPfgHtIOJaEDAzLepSypMP2\",timestamp=\"1773212295\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WLPim3E18hOgwnpvsjpLGsHkhhb5MfajNmxJ9AxNtQhsaR8q/JUYWVbsL3Ao/yyrFuNnk8NIl2Kox8yBf0S+FOXnGapBOhEcPccb4WNkMR3IRoIoUDx1ei6yXx490qmXnzXPxNA2BwUlk1q4GN7QKsXIJ4b+XlbQ3vcBaV4QTjsx98cRsEgsmwmOi6oAH084xLQCYmKTTUX2IroanQa+m5OTCGPDI5vZL2Iw52nJBOnDxHAbw+NlnkmTbh4fTW1pb4bOz7GrI4T5k3AdOdjTNel1QwRj9PG2TbZDtuOO7BYbH9M9t0LsdEuG6wYthuwHTuGsHYkV/s4drUFc2IRlHg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A5C4CD06109D0418E5A9C05520D4ED0328E7A105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ba9daece14558e48e79d9bb47918023d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Z0pBOJ0HNlAybcWY4Azr9jtdPIxapex12J2YmFRfvPb9pgl/1slRsEYgga/0EGq0AP3Vd9sJAeYTP11EN8okLAmjRD7Bs/TZfKGHhNpIedNRVLpt/UNP6D2YeUK9PIoZCka/ABQOSTKWH9PyLNRMQdGMkdhSFvm814nUHiEUJ3XTJiyIgtMmr9OANHzlKRgObdb5vD1RUooW79i5B+O7hUsfc6qmZdJQCSjGa0HhLAfm5m+jqqCSSbQUTPQuuzdX8u4gpXOyG1Z/npYaDyRrNT0xywXW2tqfmXDni+olKkPzrcxLKYGNJTrTu4rgcOK3Tcc5ZH3iwwZqMvcFIMuefA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212295\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027187511?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"D47aCPNxqb9uSXPzXiyrR6o08tmOOYlt\",timestamp=\"1773212296\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lj0LE7S1G3YJyT+nutV2nPiYitPUanegMM8hzpZ0prqcbXAdnklxzAyjOdHRgzQTQn/jRCPKcgX0jCbTZ0iel91tHogNbwE5Pz/DhvSRP5edjaX5mRFU8GayQPQvejKpwd00YzsEG/ktQ5EY/Qqz2UiwgmT9c7aTk5SjZ4StF7AVnaWHaUdKJfwUTrar/nGLuD8+iuaGv2dkNv0f91aHfomv6XOtR4pKTJrADUNitEY7UxsBvpPLvdMcE0WHWujHH6uMXOiyCZifPNs3g2LAhVUFepS1Z5PG1BnSMWsamhPWaHt8IhivHPqRDPpIZvVPKVRQQmbfFSCCY1CDgHYDdA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0887A5C4CD0610AB06188AD4C6AF0120B0F10F28EBE102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 07b78b6737729793a813439e23c16af7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hyAvkpu9HwwP9nLtTsYOg5IP7blxntwk1tDCfPl8XPs05QeVr+yjDaY2p5hlPX+IBVSEpJ1HsSHbbuI+Oa2XM5GhNOhs8jHHYFKBAQIEG5dMLgT5QzkTQD8jQ7s8mV8UqsowYZEDEOy/p9cXeS5lvm7LGq7DhOjpPJs7qUmnbU1+nIx3es1/JhgdNcZlt8he8rlkEIIS+381ku6lsAGzI9AHqvFc13Uw2kXK+H7hZBDv2g0wAV+xAAd1I249wpGYyNg/fru1qk8TBqfNW4wAZgo9FskTf2XPVvRTJR74Ilr+L4TR8NkQMBKI4vceNbDJZ+dEETQDuQm7V6UboOI6rQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212295\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027202472?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"W99AWci6k3RVYfBh3rkhhUS8Xt1GFsKw\",timestamp=\"1773212296\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"d1pjDiL3ghtc0rgxoEMNQfO/A280H65PE5r7ibn70HINtxbOWAphZ20ZDCAcVc4ek1zivjrFpmbEo/NNVKeXe2p1SMAl0IvHGasATFN8Jpn8LycztVHMpBgFVyx+HgcxAFiWdQjNlOwkJdRPDQ76sGw1YK7NHNq4KzLVygMxG8R/KNswR431M9xRFMpwoKnmsO+2W2jCt960+WeVYcsKAovgVkep0WuYh23PH65tTPZb9SpCTn8sbYo+ikHambtwN+Xy4Sq3wa/qYmq3tCp2IWxsh4Kb3pr/nX2EjvDrLNYdLKOSXA5xdGh9qBO2HjSmQE8Sx4AQek05DIzsW7aGeg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A5C4CD061075189CB2F8AF012092FE2928DBA204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 09ae5ff8df509fa6322a08bb10452dbf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MMnO7dwuyKVW/60KhuVIJ+MVrbelA1hv0SGqtpKQxUIva8xSK0qCoh66X+qFPPeJvYS6scO04AkPM60UorZulO9wlZ22JpvITYuLUHaE69HlE6Fg0Imhfyz+Q9mVb8UanIhlhIF/cp4q94OKqjeV46SgYFv3bStD0NnD8DNm0CX/O4gTXbIsbmHXGDfUbaemOgi5yk3cktTkYxe0HKFQNxp489VyjTzHMYE2Dc9Ua9yaIKI3C0dLZG5HYnH6JeBzbpkY/m3PNuj5XDNFCF9GSKsU7L5ESd3WMNl935FbNmkltT8EPXYBhRaSyc3kyGqMOa+2+30T5h18+C0pO5NSLA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212296\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027232917?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7cRvByhxfOBrHV58MvqoZJDCorpPcpCj\",timestamp=\"1773212296\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GdgNrVgaaPB+TSUJqpZc8QotJNtca1boh7vr//0pdefk9C5xU5s8Cl9QTVCnmMHs/qw5Y1HbMpogwS8gZw58eaWAabt//CMtLmzeZswM5qVvOLRA9zwVfuzbQRmxsyayA6dEJQi77LATjml77XEhSVTchuzWBUYOf5PJJil+VZEsTWpcJlZxGeke2o2LWm9ALl1oNO7YZJYwCWlPZMBs10IZx2gRWR/uDfAxaRf60u1KZ2zk6TvGC8Su9MdFiK4f4Z433/WGKo/tHEq8f4PPZtBV1+AGSqacEjACKr7rCOtmFtTMAOD9/EB4Ki/2/kL8SJN1bTT/jKEf6X4eLQ6ieQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A5C4CD0610F2021899C8C05520DCCA0328DDA101-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f373c00ed20b298ec628f8abf55c35de\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LSFzoVcqd0iMWqNXBQRMAZ3+4nrbGEFqYp0KRtUBYBRUqFjC02jzt3iyWZn/NgDx8cQyF78QMmew4TJ5vEhd0que95YN6+SkCGQSimcJ/74BkN2uNSXw2VTUtR8mHn17uCuUsrTo2V53LSWwhbhDaAp/e4l9Uu3QDnqJnjSPBIWIt+TOSBZmKMYqxPcElOD8M3+k3ut6rIoCo5yxusPXTCSvsrmAOQ6gbHuBUPLsOCS/QaKocHYqrFENr5AIxmb23wJ7Q/srv4Ei1cNz7u73WbLNAgj99/s1K7ZGaw9hyzNmZNp0tT6Gv1kxIRM+0kh6hDo7YwvF2TzpKBCODOhQXQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212296\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027350463?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"q3X7bkCwgyxXFEt8TG8ML2pfWQ2RdghI\",timestamp=\"1773212297\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"meVQrwr3D20X814Bi6KpXtMI/5sVRz0z1zTnmC/HRqxjJOTLvdSSnVGat2jiOSmvWdwKox7wBQYecMgKn1CbIPNjWE8ypRcIDCWlAKB8EoS2+h2TC7ELiIoA9tEFxUDCTb5UCTdNf8Pjwfx4+UOPOW2QqOS0Djf1zZDtJTr4sE2FLc6jrFodf5QackwJeFIjZ79T+cx96pqSyRTbTiYmBDtu4KXJOL4zveq/OGzHVKD80gVUTAzEu83jCQl2k1wRbQv8dp6Y+xpkubEdQVQNebkuCEfYu5KC6dr6iwh92ixHI7LiU7T3i7V6ILhlO8GZWsxO3kMC++Uqpw81bSCYGA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A5C4CD0610900518ACDA8C5820CAB810288543-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 04e3b092ee9bce96e2b80cc5b3a373de\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mbccXfxPFoBosUULynUnR10+xipFfXHVU3ItVV0d74Q5/pPIj0DVIM2x7ow/FvKRIHVH2gJuzoMHTW3H3EfHaJ/qUIYiS1StV5SF05Guf9hi/hpFlorLzIPTbS5bA7jgaHBuiuWi7YHzZ+uypz7X7Opa8Zpyh39/nszJUdMW11nmvZswVjg3e5sftS2aKeDD0xLLPsichy9NTUMpPIBpUDZaCzKTasZb3hzSPxGjho4kVgBs7ModiqcgfornoeYkggUi7H7kfKPneujI/Mc+pkMDIn0+BHs1w/MJhjKh/3VoxJUosBtZKgDIDRieco3HfvyNdF92QB9xHXIsJ/wgSA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212296\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027721068?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"s4vGK4fsRIF2TzAKan21JfoGBkKJmMqo\",timestamp=\"1773212297\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wPHi4zsPVrFV6SSWuVBm/72JZINvZcgwnFFRIgEOk/iJwATuKXFqfkAcdAov92ooeD6Bfwq98ADu1pJj2/8Pjqul1l0VLLTkaUvNcetDlYD79c1tsM5ZC4savduXz7h6sxsxmown02TA9wHdxtwnxr2Io51fsH8XKGO7J2RFD8NbzT7Pejyuglvo+b9o4eDj6tU1M9+aMeu+d75v2DBVyH52dbBb8eBv5Muk9jiJsu3o84xXSjNM6llaqYDg1GxI8mOGodMPgAf1wcexIwoHsy4unSFssKd1Au9M/UqeTaBlTnR55Oj1NqfxhNNVxURDbhYXTOjOUeUB+N0P2qNQYg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0888A5C4CD0610BC0718D2CBC05520E4F61728869105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f9beebca92702e94fda2a00be3e48c3b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: udNZQYC6I+e2WuXUh3fHkA3DshDAnx/wnVD4vrXSS/THUFN+a5PGi+7WIu4HPN7S7kzAGSozNSlRBiIe3BxojTX66Uotp9J5BdNwhRUhKF9EdWzr/KhC70xHk8wN+/LF3AqYS6tgKpxRciyXkkO1EEsyOFttpdvK82lSv0WePKKSqWuOaswlFo+whwZt7ihKqZVqs/i+eKX7Jju6scAHcFS0YWCc0r4NFyPhdK+OABP9hZi/aE/lP6Nxq3C5vakHRWx/oUmbuakiYW7EFDUlpH1BaUkPD9T4uox9tGV007u7j552Y/XVWLYLz13vIfOei7B7BrvinLnSh2dyqurhSA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212297\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123027817088?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"OKI1ySrDPhX94NvfJJJhIidTZlSgjWH4\",timestamp=\"1773212297\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mJ6lWCWxY2iVK3bKflKxQ0tKWnduDL1TvfzgUvSWplnP92Z4HzUwVrcHuQ/PQFMBVe2fyx85lyIpRAxT5G4XhB6lKWnOvNF1dTzCmiSPORYzrKshcb3iq9LIDdRnPKKEQa1FT6BtVGgAM95bvtWHekasvqgiaFpy2dGiTIjYBr16AxfE45mLAC6Y1CjPEMiX9wFsi7cseb29UeQhq1wRILXFnQo4oFM49XEtNRH0+lzsm7DiSQfqiRlf38nNJRW1KOIV0+Z/ga4Wrguc7gi+YJNqowkPIDjPihwHQHHcG0szOq/OI9hRrPGJjXqO4YfD6zltCXdJXoECp6wjGY7zCQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A5C4CD06108D0218F8AAF8AF0120B8DC2328D4FE03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 64f1458bb1bb05e8b099dd477a048b5e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: v/N1PyfIJFwKadAazt3bxblKB+pOu7PoxKiMLst2RNd68Gfd8x9MSj3Kr0cDRJcQRn0nvTSahYB2ldzNpl0xVUOVGc3+VDX71HdYJ1iev41rULJ0G+z9sPBMi4ice52R7yBuhxasZjy5Q/iYtbgAYKsAP9WJLcqjt2Ih4tOmhfULAk/cv65cbuN8Wsho0FbIAZEdbqc6RqIyn1WfNqiv8aKMX+AOm0bjv+cUVvKRU1YeF6mis6YcVnx51lg4pJbpoGtP1FjcCj3sqLbuPmdy5Qyd46AU1F+27oVyA7JLlM6DnzYeydU3QzsbyLuNmv4w3CeZOAQGeWD7rvZ60lunKA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212297\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028633207?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yaWwQlS6kJH4InkJQPLvjoUk64rkAgCl\",timestamp=\"1773212297\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qSPz0Uiq+ScNkamxZVYqW+tsbrGe5ZWCOpg36oyuVTrlwyDkV5IX5xSXGjFcU8Uk/9oYAlePck1XZG8OSJA4gjtG0tGiddSBUgmwo1Ueiy96C6zQVncdw2oB73hWp/6NhpuDjdQccSUIOsIih6UqYOoWBBmc+kIeXcgIDVzWasJa7CTHk7Oc1OpNBeYeZQILvdpxlP0DwBP8qNb5zAp4ubN3ePnDLvsTc2/9PBD7cAhGO5C2LXMsr7rwru2FgCX/VVNHESOyiXPkCU8xoH2LxxotpfhreqADlwLUVCf78cjSBQW/Oqt1w+S5ympYnSX0TaZZCVE1gzvmPFRh3z2uxQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A5C4CD06109D0418EFC7C05520D6CA0828A6BB05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d88070fd61e3e32ee992efd63f401226\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: F2R+LXKDnmG/DnrpvehKgbz4qatPjrx0nh4eACFkEDZOFACpauAQqspTjdF8poSkZmir/lXlygFJNjW8rGKVpavJZ8fTa6iGrv2OuJxhfbMdhe+hBj/2EU8WYn6IPc+keFZDF/NzuUHc6EW+cJeKObxNxe4MbawJR3TUJP1W9vE/oVBpmpKT4N738XuwrN0NGjIlIpXV4XIlTgbr5a6rryyHs1pZjhntwJG52vHNtllO22BGXt1bM1jh1dRD/Fz/Ku25qE41x5nQFGoChq6QzQlY1MxhqXPTksXhVBycKyCV7yMJQnaMlGybB7K8smHrfOT2ratZK0TrZQY9XyYXew==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212297\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028645587?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3Zxg9C1RkMpdAyw19oQ5pvz9fFGEuOSp\",timestamp=\"1773212298\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zC/B3Fw3n5TiweBVesE0F0nri8fGXjsV15CgLBmmo+JUOiKTHLVMevRORhvnlnInL5xLBc2zR1XiIM+VmnMknpwfQsanv2PZsE0V+NUAobT3wFw50Etv18dVO7etLFWrJhhFFxz4rPf2fMIadPE3DoRt0bhhyS7HYsadNh7iigh6tbvOiwOR3j4MxyOKI3EyuryLS8zNJf/9GroH5ADB7LJ1hPwM5VxXI2w8VFzbWP6CkRw67uqUNKT/moZRdI3OvI9YX97Thq9IuoiQz/rjePS5+MDM94UCFi0S3jnjDT3QQ7vjGCrp7Ll+upc2CylQ+Bw0DZVnbnel8FTsLos5Iw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0889A5C4CD0610B60618CA82ECAE0120D6AA0B28D457-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a0b1a58998bd11371132ed2d8836dd0f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SP/Wb4e9+YYnhc7LJH+QGQIIb+osxLJ3B+b+G6gVMfl+yx1Kd0WbreN2EM20oL/+DQl5kptL97p1cUUNf4nLYcUxfLr+iuPxU3Lxr8koHG1Wujq01MLOYtsc8rOzRGFo0TSvZy0TW4vGtShhCQt4tunkjWEkIpH+rz4vMmlgf3GWskquEQzLdug3fcdOgoS3KxdmUBDMkemtCeNO5aUgzS+yJmzxkXVeBMSPJq8Cyj5RKhtnk8VQ609Y5kmI7IiqsV1Iq1v8V6ASnoYICJDtfkPi5CLnbwgudFQCDRW6AfMnKje2fjqguPU36KRySct7qhHvSk6GDCbUGBkjAy1dBg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212297\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028867453?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Zb7yx3hI0Zzwijaf1XMyx7l5V4gxnB0B\",timestamp=\"1773212298\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"I00cFmX+TJ+H4k46IDZMmEzMJ3Y7WBAepKMXgvM0Y3KtKv0zNVIJA26FEclDRl+MUHWvEYo1QhBFYdLdOLQzw/IOAkVIT/4Pdd7edFgO8RSVNB8EHvYEs9DDfHm6fvEAZF0Lcnt6O6VNtl55PT74c/lyZFXoO3l6ottX1bPsXAaLJTNYe6ZX4296L/LVar2+WWTm6MxD/SsUsw4xAvjF3l32RcyHf3Ob3Nb1RVy42MkbZadu0IVy0qZ2zlIWWskgCO7sGhHXCrIM/D2sTeB1Av6FICS2w0jhEO2L5Y4mQucHhd8DSsr+6lOnwZe0WUhq9/e7phZio+O+4r0DmZzYBQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA5C4CD06106118C3B9F8AF0120C8E23528CE9902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 924fa52386e1e0111651e3efb80b0898\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WQx0/NacLnStLGqxVNrbB8O8ofxgNKMHV5NXooQ8V8a2bO1nKj1W3fzq2l13TzRRbhutttTWpPJ+PAajUpD1OQYslS5XhkTMLEpUDP5YmvnJmjyWchvaA4tN/uK0r4mD9+QCA6TDYGKfqLfUKUazvjOMX3HkWAhxBV0keaX/EvJWgA9mIijJWobcPZ2moPkuF+GbTjdjfR1qdJvzP00pJ66H8wY7JQBuWH8Ptl5KSli5r9Rg2akLRaaGX1DnykQ1C4rt88nS/xVjWn0qj6jV2kUI3WgR0KEIGZ/Jua1MM23hpfYFAGZBg150jR21K3nhfDkRQo/Kj1S8e/4vo+I38w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212298\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028921663?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YDrptTzwzZzY55s4FVHONkyFOvbcjOtT\",timestamp=\"1773212298\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sCk+tW+SG2egz/tJ89rCIiwrfQXzUCCBdJetZSzf0R8evCx6KRxJuo0lJ3rlK/v4216fSeBLQVXS0+Z2xoIE81g5fbxCJodAd85mvQV/n8CKKMNi3MwLfwRWtWRL0lpS7YMn4avMi9h/H2Fae6+fdTSfgyp2Lo5x2eVQV4I0WjC8235oSiuLH59ZoeGHz4ENSKH6l7TSj/K9c8jcrbJISP1o2R9yu4Aw+TcJrYNxgOzhAxHWJjtxUZXfIylAs40k7Vbvl+0Gb3lfC4C1HKJy3rzwP8syTXYlk7ZIk/+CZ9SdTg0dUdEwzMdpj9S2Jw1waNV/LB39hKDiqVp81d7Lcg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA5C4CD0610E80218C3B9F8AF0120B4CA1128E5C505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ce2cd9ef665d66578e150deed1b3b61d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: o99J75pN+AB98fTlkVr6J77NPA9w6auK7eqh33OACmHoLxzEhr822CBUGmhhNnOPFfGEsjuKroRqMPiCM29Y+adZERmyPpF8ATQ6Y/kZVOAshxqdx2/Dz/zL1cm9H6fr6G7QmanMJrjsCu+n7SRQ8FiN6g8IClhyhLNwrKSElyIqGqU4LRDvsFc1nT/5+GqCPN+2gUXn1ALQMYuXHoDWKSdzoDHpj1Kh5UXJ5onpqTLv/OdA4ZgRBGBK2nag6lbrCnat9eRKk7OXfuPUfewVfzBxWFnK0/LeC4qPx7RIKmYthocN4vCi1W+ywOxzNNGq26btRSeAr44jL2lShyR6xw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212298\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028951520?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yeFY07MmhSOgPrI9UMj33ozdWQWy4j15\",timestamp=\"1773212299\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2RKLTtRl6wg1CwZNguUzP6hrA8qF8AbFiEMBoVfm5mR0AI2AZ4XO8o+pxryOoq/IFBzn9C8ZIX/ieshSsCqqrJDPkbkBvef8dHii8Xd9gcbIouvrOgrltDOJ0WVVdUnla+wJ4wgd68TCGKGh5f8+qF7H1SbjybggUbz+x7feDPyLLpsFOa/pURQSePY5jfYKf2q8kMuuGvux3C3zgfbr7F19LWlmgH8kkLnFfq7cR8190cbG/9il6RfIQMd6s7Mx86lz11yeoj7Gw9lKxw0202DQzfkY2QGcy4HCSCGwBu5WB/7maAyiAQQ3WOF684LNLM0scWXEBk1Piidcc84taQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA5C4CD0610E904188480F9AD0120D0932828F88204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5481a774184c49a125b37f8787952e9f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XZCVyqX1B2PSLNzbARwGjh09NgfcT1Ts+6a+s4Y8yfntuOhf80rDx5DE6Ic5N0iR1bNAcW89OjcOmvA16xrtR+K7sYMFNiNS58dXxJ/oTVsI5OtPR8xPIjR9jwGFABVsyyP/HPMI01k2Ia3DpdjIF6H538bWu6dtKytsReaK7VHAj30TBs4QfUj2rGAEahwL9Gd4gmBpajMy2LZa1DAHMuvL4YKqE5qlk+ySbocQgqw7+GXrC51E6/hBxaMZ5AHRA/BQueDje8zZG0glHxcCN/1sHYX2q0uZKHoIaEmoUTE/rayZIWoH19e01YZXl0KrXhx5XQeIM4AscABpHx+dGA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212298\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123028968278?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PdLKaCJAFCN0GdAZELAkbzj8lLHwVyHQ\",timestamp=\"1773212299\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fEOT4KGTghXlf4g/v3uXT2VY4qfkWAMa4oW3yO0iR9IesA5PHpZ58S8nsJpzi9tJ1zPOlaqvGIqeq+fqxUZp40cc5BfEGGsZuLvpyGEJzylCKFxVZ1qrW7aTZaadIm8m1Tt924++hpqxJECxffepdKM14acJi6ZWqJdMU3lmspfN5LEqFAzD72DBuQg6LYpApzosXAewq4XQlZwKCsjZmjwP6jA8G0umEzAfVU10P/UbC3Ttgd6q4q1Dsll+7K5Yg5bodV567oGFcLe9V99IBaKY/btbDfJf/ElS+dFPbsNjOhdsJPtl8f/aaPHjT4/miy0S7E3TUL6olvlBn0+JOw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088AA5C4CD0610F706188494F5AF0120BAA70B28FAA004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3dd3b5ea7343c8afe702d59ba6cd46e0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hiLnnqNPl/5fNbxX2ksYwfw8PehjEjJFRuU/NYlk+e5kkpiPtFY2zhYhkt4P5utcbaTzW+MPLtGfODb7B++xyJbzGNOuXdkc5U9A72FcjqDsnauoeBU8aKyfls/c32BLEc8svVbmdVJ0pzyeGgAJhzjvgGzWYv3niRfX2MvCMSlqbhTsWsH6Xhxs3gl2sZUO0Nvc87Y+Rn4kjZEN5qzz6AaTwlCGbG+y6tPwICGr0KXMVwC6aJ32Iv2GmJVpxU7gsKj1+q3DGXVr5cyrFmsJGPipXhjwZ2d/O+cGSZwapyb1ZXauR7mswwZgAloE/S57MqI3x3J82lrOXzYidG3ndw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212298\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123029617319?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XOlCA1i33FvgWbGQjsaczoIN6w7bsbyB\",timestamp=\"1773212299\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FtAVQxPg3J80DyaDAK7ROGKjb4zgjGXUHkHIMMSgfgKk2lYs5qEeQkXfkt+h9OCA8kX35wPbrNPLs0PzEgIBbF7epuJMRbq7KR9BQC0Fv1dGeRnCWkiqX1LwlbVW8TDiKdYAWo1tw6sz+vKWJGx0ZUeE0+dfcWEuVvT57BY+0tBkUoBZEiWuDyVE573D6R1y42rBiWnO/BnRqY4xRfuCKiqqYXOfG7NHTtZTfsM1Hc0NFzIDUZi/phJlmVNccNdfR+dSTa9jHA2OoffSWrtOr7psO4pOQDw2Yc9wl1aC79qfWccMne781DeB0uCyDAoLIyLo1kjbcQLwYmO0ZU09hQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA5C4CD0610AB011892E7F8AF0120E0B81F2881FE01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: dc78eb7d794cbbff63c1823c95429be5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NGunZfWne1mR+yxOQo+ahVhPnUSx5fT/gwDXWTrUHO8Ks/HFgVLijH7aA1VNzEEgC8DFrQE5TE8s5NGSSHPk44Gm4XyG4AfMbGGa7GFhQZ8MZ44ubuTiEK1V4TWGFqvQxl708L/FDs3EpV8n86Kc8HO4frSBPEURwO1Wb9a+v0wPBpue6Ybq92Wu3yAiIC9DNwOzcpn2Pl7hWgD1jjAF0eQk5bh2q0/SWDtVUr8VDcApeoCQuYjD1Se7tdQ03Kg2BEjZXKAxzQeZBCymEBNV0FshH8KU/D1AX4T+m5no/mVz6ynnlijpbKJrFc0ToBAcLPT+vmYvqJ5FL0YR1fa74w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212299\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123029834276?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FBvvZqUcrJySxYh7nVGY18TpQ0XaCo1s\",timestamp=\"1773212299\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MPB0YyRqTWh3H0q5mcInuBsotEdDpeces03SYa/ZrZS4WgjNWJFPXUescdBS9q0AWYknUYs/rumAF7lN3nI4+PdFYCZuMTVQwjt1y9DlF2cFVvTunQdHxmdMZMdBTM+TL2M0QGPqK5wETR5v+Gwzd02EjnOXyD/auRpFLDChInKzXju0C/PTCk9uEmaykQeiUUZkH+w7l79p05DJjRb/XwfKdXbDBUZwSll8ntANTey36VXkgtTQrMVTEcNIeNISScQ8716nD0TMVUFj5d0CVuFOYSNUOVr4ZtIi2nsZn2O+0d8UT6LBLDhCa8m1k4IRb5Mp5rZyHjAjb92pfG4rKQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA5C4CD0610D20318DD9C85AB0120DCA11128ABF901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d4f5faf6760c947046df82728ab0c8ab\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SGAhWCyatkeuQ49zyThRMwYwBTTu6aLY4yRRaSs/wDiOVIkMz/mlgCwXFsYrnv5DdkwwBdXlG/4psX8fyt34Yzlt8x/Kz1opV8M/aKV+KD86Sn+lcwrp/y/SRwHuMhtwlBdB5Y32dwObhoZUiOcky6wh/BCpI/0swsUyMWwKpUnuFeZgn+YKQCJXUoeSkHBjvr2TuziEXpwTazUR8/ELAAmHGKfl2k7AFjtMIriVVWw0vZxMICrqEo+Rl3wyKKb5K5bG6hOw6bsSNxYujZug4WrCcoIgkgtbUi1ZRnHXbbku0mGOb1723Q3ptKCIu08Hn1oOMwPxX2RfRi+tx1WXMA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212299\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034006695?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sHkpw9NaFUapVN9L8ZmfLUmZ1E26eyz9\",timestamp=\"1773212300\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XfQ/tGYKL0npW/rdXwaOJDFAVCBP3kap3QApNcYjYhYE0Uq5SoyTYb5I5AD4rPrQMBeUtGs5gEG+6XLSPUo6rZt9b36M7Y8L3aksHEwP9uU8BijF2KgFfN+jnmTmYEw7+iZt9mbsSIb/7CkUrfchkX5Zvp/gY+CU/ylwpulxHhkwc08IASJHIxBoViD3990rZUwwSeJPH2AlOvVB/J94Ig3LFEGZQWLeGHkIOtzKQ575W10WNj7XzMBhC4M67aeK+V7wjXMbVcGTU3VLCP0zdiP16gK7t7ZU5gNgHZb4yColfiuWGd0humUc+lA55+qtwldZfHX6G30ssqpgtwLipw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088BA5C4CD0610E70518B89EECF50120BEB02528B3C704-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 638b71e972d70872155092d695e82cca\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Muius2i6R+a484hZ9AVx4eoHVeaf0JR+iCTvJb8/Ei2vE2ngO17JIoeokBwpVAArM25+/9V7d3N4KplcgPNr34pdW71M37TC+Wd9488kTNjNUp/DkgaJSUh9tdAEOisQgLy2YyNxMIOXvC7kQClIfManU+eH59gpvGkoc7bPOdSICn0VroUr0QAd1ulT8QCehXBWeCetB22LPsW7f9gkghqCrsXBZJ6sYbimfGTrsIwyTzc0vHNtsygL/oqVqrbXGLoUymRfDUro34nlIsNol9FCuoTmWNBjj+ywrGR3rh7D1+bGb4PPSakKnYwTN0Yxm2naHVASS+0ZU9zFN1hP1A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212299\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034053427?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ntmAh4jBVWOxQxpa9isE0qS49AGj76us\",timestamp=\"1773212300\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ofleDo3DSeQYs/EkfAfuIdkAG85nA6r8J3LGiX7Cqyxn6yzSERmxsGAyQ00up1yPUoz7czrI2rgmT2/HS6Tbh2LDSINXFbY6ovB7Gfv/d6FwbMULdhKmZe+au6AG8Ouf7R18MXZtZ1kbPsdmWql6WopUFHEBhzgQJxub24TkVLR1Hd9Xr1UBJVYWW0Ew2MR4/6b/JsNrlXKJi4VanGI7ZQYCvXe9heLqcfYfHpI0xtHkjqKy+Wv5c+Yx0xFqImOw2i1jneGD+d4w6vbwOfUloF7MTDsPvOMSvgIRuN+ZTir1k/9x5Hgpjow/bviDSckIyBx2BzqFWAJLLeX8OaUSag==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA5C4CD06100C18B9B2F8AF0120E4821D28AEB505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4f3d3ce7e23e65ddde39d6d074ceb59f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sSlU6HG3OsPI1QHFupJW/YdxLsX2XsXFaGjYNxmfrzkK8pndmh+RFXXDoikLr28LCDEmc60qdIrrZG/ZvA3UmN6URywI2zam4ScMUIj6rOcN9pUr0E6HdvYomexKcpAOzPPsKPRs0sUNZcuhYZivCPILrbsNFp78BpsMg5sUHJRb9LjASHRhCsN+IAf0dDf4EXw1zbILsxIH1VCnU642FJnxSvGgbBToIIh+wKFcLhaDzYA9SIZxjDJb+eckPyOK2pqJQSjGoC6gRoVIcThl/Rw8fqbU+a2tOmS1rcgyXi79qXOdETPkE8SNYpoOqu22gmUik+ooB/MCz/Wn6+lK8g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212300\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034188338?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QTggz1G73KxaH6XQbO3QgumTDdwwzZyl\",timestamp=\"1773212300\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EEmI5JTAvPNsfyoHHK17Ji/T3g3jRRa8JXgkAifeVucuzA7U43UXX0/RNSe/w/KIWLYZM99smhRnn27twOEPlq5ZtHOeLxtC2aQ6E/fA1Tm9U4xuWoEyf7Mf9TZ1HSob2aUIJSosx8XI81OZFMKcsCGXeea1ge7pHVSAYln+QcpFF/wk8hkSjGZ94Us2BfdS4s3UXN4PUiE/GQphEvbt4FZNmCseV/LyKv+R9qdQJFcZ7+Tc6P5UnI4bXoZcxSka/i3cyeVExea1frwzUZW9iYy9cGgFsOZT3AWY6KZkWhOcLzBN+mnO3MSDeOF/Nt2eXZuDY7Tgfd3GKhZE7utIXw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA5C4CD06109C0218B9B2F8AF0120E6821D28AEB505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7feffd1e8a792d8113302c6a7440480b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ugbaecL5w1W44lILHUNkmz07E1A+nRF+Zf2bMFEz0mAy5EanXFwcK/Pua4z89C2Tc6kYeIJZbgqv2ovcA+izNZy7gGKBA7iVUDwx49ZfIDAkpDHfmRB8NepbOPlByGxUbx/rjIHkIVCH4IFIMnDFBFh+gcju7L699ePIoSRgXy70DAuiuJnaLGKQPvcaRfVwAHabr3q0CAfvRq8i2rccWpOsy6g3W/Sx+6elwbQ+T4B11fJNVNNu99aeXbtudLu6itfEhXWm8cfOXtyzopzWKnOwxpBNqMM41WMmpvPlKt+eUrFzx7PALxqiebyhDqj2GVTGmIVgtPw4R9frWtrhxw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212300\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034302689?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bXQCKGnjG1bQkieeTjPgfgCV3ws4qEfG\",timestamp=\"1773212300\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"F6vgtacsdy+ypnU2bnQ/jelVzcjVEt3FElWmvW6pUmbYdi5J4AmeMsnal6wJkxrUMvjcs5N4CNyNExrmCBGkSqh0Uj9WuZFoheUp7fMHZMITLXukDOo//22cqhNc2q2LG4qGseS4I3Dal1nHfPTeBiFw5HsJIdr2wM7YacWDUvO0avfjcUQ2FrcgrSHNEo7keal9M/f8Mh5iulgnVlDyqGujjxkaXI3XqEBA2DiT78n73u5atfGTzglBQHfpXm8O2gO+VX01fElDqRM8Ov2e/9dYJGQKD7+RdMWe3VdNFq8sg8TOFiigwWfZkrvY4nK0xa40V0ZESEDw2g86HeC2UA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA5C4CD0610A50418CFD3C6AF0120BCB60C2885AF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0e72acada244e61bcd15a942cd02ab3e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Z35WYVTKB7TvW0s/Nh7rq1bX5alhUkG8ouga2DGwTKP1elnR3WkA735Ln2mM7liWWesjweIF9ozJSCcx8FZPY92akKtYXNw3QDvx+QGXrw+MdsZRN7blqJ9oOvmhyVHbI7TLVG3vtUOLiPHJUAdLwkUilunlddFty7TpRjTi+O2SKH68BHsAxKtmHj+A8mvxOzSfOr5HB0z+NvcllKCwiub8CbQX7tFFMo615azUSJPuaYM1xTCVhyT5TfRiseJNctJNkqCBcVOQeF7Tl2svDv7w1dsC1KbkSb+vMGcDNpxO3J0v94waujRd6WZwq2SLQl8B1aZVXBrm6z0zlXs6lA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212300\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034658092?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ptvnGFsBG4The6tk9d3KhbPvsdaXi6qY\",timestamp=\"1773212301\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"r94pl0nwLFGitp7KEJbms6TAqrQaLf92DYRwm/3a5G/kW87qy7J+gpTKiOqjfLXpc7+J0mW9zb8l6+/CG7daoEn/snpeVnxyKFie0PWSbrJhcwDZIeBaIuj8je6gnYjrh2yVU0Fnt6GS95EGfx3+pSB6bMV3jFnfPSar2nE5h6DjYP0+IvRvtfn6oKbkakB0usKGISGS0Wy2HHA6BpMsPHKKAEjAjPxrX0bl28g42wXWHFYu0LlwEYhrQY58J/ogq0LGDOx/QIF7YyXqVWgU5gk0lNSF1u20GFxxxRulbQDk+dgUYeeTVzqG4O5Mp5eQmgGL14wXKzJJbzDklnwkLA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088CA5C4CD0610E00618DD9F85AB0120C8B40B288C8D01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: af3ec8776d4c84e6c74b6ff687bf79b9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: X1B4QGoJLfXzkz4ExPUyPTnq1wwosldXvixCjxhNCMZMPowUv5JcjKz/Fp+hB54RQ3MJrEkOyqsib3LTr6Tkw/uigCy7SFC/JIBOAUFet/FiNW3z+Z0Och5XmWFOPfSJJ0uPE0/b6ifXmhJdfVuM2JweCgF5eMlmdcEneZnKkNSg5eodlro2g95Ws/dMGsP0uGRUG/64yBA6FanKUccWg5dhuIBJFIzc2uHhKlcG/fpnky4L7XQFEtf0SmzNEQjKBVL3F8AR+tnGZDw+2gbUXCMVSgiHbUbV57RW9wRbbXcWvBav14+eKPukZ1E8Rgyboq68YFIwSnuT7xz7nlcOuQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212300\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034684266?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xTLtbggd0gvK6cu7l0Q7odKk59RXu9oB\",timestamp=\"1773212301\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dIRJJ1ZTRNnBgVcT0JPhXe97HlujxAD7ocRMhdaiK+UEsjTcvg4BhWTTFw/pUjxaIfCUKNEF5ALwzzEmkImfdeK8nHhiMFnUHNJY0DblSzeVvoX38oUwjWVup3dL4BL4IyIrrwq84wIUTmn/zYa2DdX2TbzKQsOvGtgkRml5NHL8h3yQr1ROyrBLBKIESWy3tLyeMG49k0A5Eb2mNqzjV+nVzKMd60eTqc90YDCUy+BhTsdAD8GY6Jo+ob4TPJJ1csgJ6WEjdmHuRwicVZ9anOnkLot+HZee7c5azHn6e40I940Gw6HJ8PbM9q7eRWIlxn5thIo7CnsKbYjPDVAhVQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA5C4CD0610A70118BAE3F8AF0120EAD10728D28503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fc6dd381be29f9e3e35a55a768e808d6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XgJhCNlzDqXyvIsfN2U86WkFzEWzZ0h0j9DvCI373aIT7drm9cnSBgHZF4C+mPbmwAbIdovn9M+BmRZA1z7nzKWlA7cjWeOdZSPaVi/mR4Txg4BJvY8lrjuWpc+Fzvme7vayLifklvMEG+iUGRHBTp+WVtcKziY/XAFWHrFEu8FM8j76Orfm8iP8sRYteFeVd/PCquZnV9jru1/g4HR/B4uzQUhe0Mb089968yOAUIQg+KDiYbXlpRy8mG/2gK2HM9XYMGF+dM5aaY8Cg39in3UPO/yurCq9TrHjlUCZiqrBBw9Mb8Hp8MzAHGqB9/xefvdRyNiUIFBwozsHEDt/bw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212301\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034822897?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fBh9GgvO3FkNnxdxqEKKsxveDx6h8FHI\",timestamp=\"1773212301\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OxdeldELFrsFJnKz2HBFSrPScnKQRpkmkV9Vxyv6XxrqbXI8lzT+r5oV3Rc5Uf3Ch7qy/kIzqQDMjvEPKw1a5GtScvuNWdGDg0EneB3PQeQeXjhKw3vlYtpXEKIBvlIPTIJm2s2XqtbWxH/MQLiHeP7NBljG7CmhrhtsvdB3rhxeoYBg66KADjDVUf0VnQifD/WGNS7AJKbSZT7PJKxvYFZJ37y61a73I3K1Met5CucoGzvDjwC/fOfX7TLNK017ge5LN4NC7MJJM2TObOaWzv+AUVOFCrMOAwJ7mmdgxT1IFGegxsD3kOb5N+gRd/eAMjDCO3SpI8cjKAY/aGqyDw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA5C4CD0610E60318A7CCC05520F6F40728CE9703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6619e89422b827ad5bce7b7a5cbcec5d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FhRc/uO+JqasCXGsMcUnZuy2Yxsrepuw6nnh66eCSt6Z1OBn1BQsNkF4DDwpqjtxsALbMX0WBdPsEoTlgBQGaZzBT4nCDgJMHLJyrNozs20Qlm+eCu4aboaewjk6JUaffn0Rz+StL1tyC35ey88Dkq74M6n/APgAmK98rFOHjRtPuyHQTn6LeR+4k8VCI1rUCG4hlu2W7u96DFiy1aKmPCkvo6I/Hsz6OpvKghLcqaALN09E0uWGRRJLDLd8INxa56RD6jwKWMbrC9M4s8212sbIYpzY36nZ1ggyMGRJ3AjUcyanJgFHb0rBReU2lfHKOj0pTrKXgZm4L02utOm3fw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212301\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034861285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WPgKiYPa3DqHoO58UHhxQRADruaiQdlg\",timestamp=\"1773212302\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tjPUCQvsdT7MnQNaEYB2CdKLPZKuD0eEjU2mji10TNCNuFmvz6nPkZvPm84BUi5UTrLKflQhyUfXaJn7jKOXmPvMHZvMk4eimS/OAwc3hXtLhKRQCz/FGbgK0KAINwWmEJPI3EcQhoNDuemQ4IG60hWH/zYUIPtGqUXuUYVee1JLMqutfDbnAfrUJCggO/2WqvHRSi5G3NXTpRTgnYxxWpI0sYIYRnJZYhcLqcwswn4UL1bVcqgUCOo+6QDtd1/nSqbTbplwFtWY6jhSEPR7VNK/Rto5OkVP908XzmIvBzCmCSJ3JcbZMlUti2I/quTi3FZecATqTK6iNOenvNW7FA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088DA5C4CD0610A70618DFD5DD5C20C8C50C288A74-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c3eb8fcd2370bda031f9231160239cec\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dze74BPlZ65qsDT6LkwyWJWJb0R+YH6bL+woZfVHrcHlITgCeSdEPVJs5TlhPctPIA816E4FJpX5r+DInybtUMHfAh8gJawemgpuBeNOnTeZW6wO9aj2VSjo6hT+q13fDptixsrtksRhJOqA/RxnL1/Ilz56NPCcILsK7fiZwbkFdDAZIYr+mtutgU8EK/STcsENkGIiHcYSyj9hZrHWkbu5haagxZlFD33PJ5D1SzeywYxR+qtrBSDzFu56ur5Nm4zY+XtLxY8zOqra3TmbYhXUPVpvFlEhdlMLwKq7UXOTaLHI1pCQFZImedPaP0ZQX07krszFDJT7LFheWzFelQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212301\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123034950442?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"U61T7S9M0VLypPkeHRyHrh3NJ5pemLwc\",timestamp=\"1773212302\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zgC6QTgkjX3EP8tcIhFWsYYjNE3ePA3p7BRrFAmYE8HRd2fI+1EEPODfB94g+eaHKx80MN/k5QlxJQyO89VI8VZ2YroIdFsMEtBP7wIczzCHi58SmqKSN1Q5fN11gE9XI7KkUvmrf85Ol6wv45FfGt/DrQZ2h1TbQThWN0mDrdMT/iUOfxWI4o0VmctUsPblJaDfdV2PJWSJP/2vYkxtHJNrR/2celXAPhrh3vTo6t6E3c6Ze2IR/TfMBva3PT7BIBP7Byk4UHztxMXTArS4ba3RWMJVwDMjxpNDt+Y5OZiZYmrOd6/jRLxx4/Y63OVht0YXF5xa+HOO9dsioU4QYA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA5C4CD06106918A8C6C0552080972528E4C605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a2eed02386294493ab7deed5087103db\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WedccuddKVvw5guAZXwKUNh9T3fDRvmT5oXaDAKajxjDqAzHdsAlMBSFzYSGwiu9ldIUUjZusVhhW9beCcl+MTorS3yEYSjiBee7YyFQx4bKhiWTbkiQ27JRNNgjjuqwykMb8IncdEyB0I9td3VjMzrdGC1l3rxqeAdLXvyYx92z6rLyNmk4PZs8H4bc3Bg3cfxu3rhbsLyLP5vZXT4VK4+S+xg3K9KUhwJ7mL9ylV3jd+Sk8RSHgQaXtZeVodFvFgQzdOOIxdZ+5af2iac+SMiff3pqoePGi7Rr0fz9ocmBu70DzHLbm/OwkMP/lyiN8fKUp1I3yG09PM2b8lWCzQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212302\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035112918?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yzv7CKbnyKJgfa5pqgmSjEuzZkOpkTGl\",timestamp=\"1773212302\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hMHbfHL6yD4MJOl+gVUBM+282oOCDeG3WeuBzhtedOJnfWa8OXXvDTKwQG34gqBkjnZ4kixvgAPwHcQiEyo6+FB7hz32B/dbaPDJKMGprjdR9XzMBIkXGJfvUWcO+KyrS7WOKYPxpcPI62wYElvujxzm8mpPzUw4Fv+vQkgT/oHTDLDhUITLRykDhi3hBjv2rTURdUqhV+yN9/2nWASsftAulQ7s4XhKt0UzFku2JusgpT9QiI4dSgKCZ6du5FpsYYM+YBKp4QgQXQ6SvSMRQHmFjsjPJAA5ahqQOf/rTAKDfjizLn2lTcfVJsorSUqgOcPi754ixcRVCftUzks08g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA5C4CD0610FA02188DC3EDF50120F4880928D6BA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d47a30b0aa0bf426a37364b955ee30f0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: R27HErEMzlrxEwm48nD8bQRjTnbshRFqhsOj1/YTs6IoEsfM9WBfCpWblDne0SFEvQD9npd5gzaNDjBfdJv1WsrS7WAJpn5wc8fm4Ila38XHVl0WFlOA4mGBBe1gorCDv72vM68p5aAFNDwmwYHQwt3Cas5PcF4ePXxFGNKyjAaMtGN9LGXx73V98fAeUGgqbJTvicNw2+7WUElG/A0ZHNmmJF4vyBphINnhBI1A54DQlY79swkR8AN6PyE1ZdxzO79w43aswPJymOU8bnipQR++5Tdczcr8NhuArPUap0Ed2EsZCSmKiP84P9tLadQyK4YkshpaDdVymZDxLyGs9A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212302\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035478059?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6f8xVcOs7pYzfiiRloY2WazrYNcLlcFz\",timestamp=\"1773212303\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Gdwrri762RQHtr5XIOafZC2U+Nl5WuGmCN8YedGoucTcR7eKhPCL4zj9CDp4x4FoxbdUXg7iSYtrgpFw8sR0xNvjV+wl/Np0o2+J7SYkrUkQo/FHz60MMxRp7aKVhVjjDIm3XkARhWNjZG8C+IIqwn3H/iPjrAqVIrBqMGwEb3yt6XX2sgZOT9aOQ4tnNn/fU+ynuhq+Fchqj/NGLfMy2QeZeDW4extaJ9P8nPRbsfy5W/yE4og5ueOEO52uwItnsPi3bLXAiYUPPhtb/tyCNcJbVI3mLNqLC93594mK1Rc9gq5hiyVd+SsWOYB6Of1p4GAwzrqVL+oQHHDbY/0w7w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA5C4CD0610A80518DFAAC05520AE9D2528F29B05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4885c862b3d803fafea3e0ee9d445355\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vU2LHDDuaIMp5MtsXSL4Gu0J/v4O1/KL6TCl2Imc+xKqFPRRsBmIYU+R+RXqvyI3i7RUxCfY8x58b1WMswKFpGTUx7yA+qkNIW21yVUtH9bLtuBXnYoMMi2XD+Izx6sH8NntQ4VnjB1wgXWg9/IqoS+B3dsk5weQ2LqkQkI41Lge1Vaw3fZ8UQnziHAGkw/+KgJpV6CGCvzCtjcSDM7NuXFMGpMth6xAl2xkCkwdm8/JPfiv0bIfcToQhXdOxaAniR0rAktBdLEZ/5+myu68g7TAJg8y44keDKr8mKLspztEG4A8Zr3LqPxd5JOOrzUVmgiiezj1KpohIFwRzUt4cw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212302\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035534215?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MyC2x82XWHzOtTwgQnQ8w69piagjM1eu\",timestamp=\"1773212303\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rq9EXD4p3+gp5btrv73IU26eovW/QDTvTv9EY/Cy18CVvoiz6jubvCu1/GmEXjON0qlBdasR5OY25lYH1x8e27Pzjm7LjlKMBmy1s1R5KwRo6PQEjQlQt9zeh2+JFIkc1KM1yeWGGzE/l5OlNxCPrFqa1Qe5198kzsqzE+MqVQoucV/31/chKZwgLSXoVnyce/nwHzOjXBPYAGvoLAcKPGMaDsTWRZAaVnx6Hq9iCdstnMk9j+oMQdW+1iOKQ9EmS/dhgE8uCdDkoXlQo2Fmsn99aeHAFXlPneoH+KucYcQU/PUu1TtUIBP0zHyD9tqZNMa6iedjRsX7Um+fLAXF3g==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088EA5C4CD0610CC071894CDC05520F8F90F28BED404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 30e5a50dddeee35192ae11cb1e07e135\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xxomg4LdGbNnfDKLrkVqCPim+QNNGw1DTY4/ptFuV4/OrQYZLvQi1edUHWOEV0GiKUchU/R+OcB3z5G7U0vMajRakKpUo5bqlpb34eWWc8lLlM47/aNjBZH6sF6P3iK2Xm08ALUfHRd/Pj2B4ejRAHAL0MOCVewwRVIm48oKav+gxxHIKz1zt7zYcZYjZuxeo7capf6GhtsyBLiCreQE1xc+GvkvCvrVgodryRY8VvfSyOGLX/oU5quoOgON2rj3jQf2kY75R3dKw+vPPvo1yfG0iMqI4McS3bcWX2ceJ68ldhWEjTlKOkaJclbZ5le0Xodt2AtC06N18zhnx2+zLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212303\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035634001?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gAKe7nuDhBNEdvyFWiBQkYobVKMY6YVh\",timestamp=\"1773212303\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uIRkEx22Q0aIPV/W1NJyOuq6/tJ7p9GO3FHWh5/z1np7bhqxWLb7/etKSHyNabWA3rtm45/oIwR6cwTDf2Glqupc1aBWRgsfIJ7o3mtXkKiN3AUW8BZPdudWbuX1txgeG/ddQTHtVVcAvUg/ybcIBGACXjeoSDFk0efTNbxllHVnmWJIYVBVqLPkaODcL/8/3FMgRNnGvF7o2rQ/WTxiZ/1rkc5FHjjAq42F1EvwCQHI3Gkk3rsbuJAJScbzj+B/R15veBjHa14X6gMM0SRgRs0oUAV4JzkuNm2AQOqUHZPBsDw7IakG2t2XdBUJqII9Gx85C/ojZAlgJW0VtUa6Pg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA5C4CD0610F10118B7A9C05520D0AD0828EEFC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1e4c3a9ff573778c30c056a83dba6af7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: P8CQ7dpBWSsrRmQIB3/O2QvDVrN6W1i9mp69EiBmmXRyk5A1JRo9M5lygUdfemj5L35Ip++6OuSOWH02vTUSbIsK4/pL8oOkkX43P8mTUAx2XVpqqJI8ha/tG/gkp4l4rBYNMBkEKfI/IfrEcfvJbpf4OOLFotU6fCMcoxpa89LlmZh6kGWju+0htWZT61SxplKD9RyNJuLzKQVDcuQr255koNVTBCDzNnjtCdztlJmOVRQmuJUZPyuBL2+IN5eFYagWegs6VFB8fdrbf2QbNv5AiWZ4Zp9FBVCLm6wNDriIHbfoETskkuRWL96f1v31uHOPGaXZW/GdThhxpGuhcA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212303\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123035866824?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kDZ9SjpdCQT6kq1z54Tnat6iSHUpYwma\",timestamp=\"1773212303\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JSpG6o0vUE/3JAOo8wzFws57OMgv66DtnoGvakrFEztT9fEIWbmZZ0FbujhduqrI/Vt8i2UhHiGF7fP+amQAwqgGqCLOwtPU9p/vveYTI7H4cXtv4UOCWDt72djwgTzzqgwDTmpANZIIa7w0doUd81ruxirPnpo31FYTmD1RwIMkR8Xw2T/erwu1Btr5Ckmk/FCXrGc7DEAk4sX9sDITSUBN4Hfy3ING8/3SKsgI/7rs449I9+noVYbDJ9fsSqZz0O5X6cBoJW5laAX4rNzAyea8bJlskG1faAxkzb2N5lM46Bqvk8KvHWELRFHEuT+DRpPzB6ZwOnDTVzk/Z2lIdQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA5C4CD0610800418E5C5C05520AEB03A28C9EC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 477c2fe88a463d1512a842292b56db9e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xfxCFrMKhng8t4f3kmGgpQ1Kb3JUUTrNwNcwJam3Hi3PseG4uwnd+GclEpOC1+038qoOiDuGIM6Cy5oDUntwy29ihfayFoa79HHH/2b74F8wiGShwuwxpbpC89SBGNqezualhRuXKlKl1F2Gxn2a/yhuit1qtqIHCSD+G6NRSQ80aTKSMcn0TCwHyekzrA2MXGsM1qtopaSYUBc3/wxezc2wnYY+OvUzUnfWly9mT7Kt6wZplLbjzueoIiM3JLFhjN1k1d8I5B7/GEkio91Eq6wTsM7I4x2IGzDTotyCl2MRuqyvXBX6rozft0VjfqmJd9UEka2U6/XnPa6OTBEKoA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212303\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123036359363?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"F5fU8UPvJsPEfWx1SAx06sO4rcwU1LKx\",timestamp=\"1773212304\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iuoCEjubrAL7V+TTC1auP9hhQZw4eG2fc4uuDDQQuNSnjLzPBVxnrSOqQ4yzGM9Cq4I7cByAedtcZa2yXFva4v5s0vtH2PfOSFthvt0YgSgXkjRPR7jCuTPVTYEtUOxCmwV53EtEOnIV4MxNDX0gbwF9fN3PapTXmL5ElG3V4ZzkHS3vd2W86j3sMojslk3oZvaWTBFGTZiyG118n7cY/cfVlpKwSmEs7PuZepoqWdmSXfzLwpPrD/BSzzy9eiuEJNkwPJ9fEVWDThoKoCzLAUa4QI8W/Q1aA/thPG0QapMpLPjNQG7vjr5nt7vQ+fux6C1Ec7Ea3HiTazZpmSpVJw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088FA5C4CD06109F0618ADC18C5820EAE53328FB9904-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 006049c6727a0663c03ee91115c7c6e4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EF/G8S/QJqMUha9cKqQHQKLqKkoi9YaD7Vane4r7H/+3VOBHZ6FNrLkFlD5dbV5TS7pcgdLJBEgWm5I8QuguTEqDnXpIFuvnh8gDCnU8EQeDD9jPykyzMrdAB/lPSIZtVt1OFCahetS26NSLjyRrtGjcqJ/zBARyrfYe+yAfqaZ6t1582fKMZnLjPljwrrw1Z73eb/VAnYht3F001j9xpfLJRP8dltkqItCGxtSeSceCorZ3rTzonz82+WYbGjAu5UPagKwhhGibj962yX30ssT7/OFV6lZzjfXT2r0LQRkd0ws/p64lHdEdQ53F51eY/bSF7VLHjN6gHnxeJj2L+A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212303\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123037245427?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tS7rLJpuv9nR8z0SiATxhBGjFuTSNrHm\",timestamp=\"1773212304\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ac8NvyPex5HMQtohpZnlN1OyDCu/dfqtZe6GvL0yVSzJTcQO/iO8dVgDsd4nCGLl1y3G2xnjp5qbQ9AtF5T/HcrcLYBVRFugP0bpzhVTlzdDVleNIszvjicCZ/JnGKkU47vJVp6/4ogK58UAJykCU8oeJJzOG10Vyb+rpTBFyQUpNUkyS3J8mNI8aMaY3jV+MsHtZfGK4UWYmKXmBdtxI2ROQso9X3nledwEEIf0kWkDGgVSMMf1i3J057QGX+khylesz7M0In6/XGEH12nYr1q/DXVC0VktQm+WixvyF3GMbp2WxTg0dnre2ICIq2SU4P07mKYMj+GQl3faI+4phg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A5C4CD06106918A5E7F8AF0120A8F41728D3D005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 12768352cc0a4bc6b3095ca57305a8a4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wdNVcLzDeZIMxlRvDr4rMSqON67Ysy3NFiBftbzA39NFGVaVjuT0N/mpcuuhqWGobcGD6q4Gke96MXt5i28jJfdMZq/lnI6yeuIHoZ0g6sNiHVwsRvmoVLu86UboDUCr5c6Q7frPHfVA6OYDzHQxDGsG/hAXE+FwBjJSDsCCHBcsXKxUl2+VRTkiV0Tjw/oux+mAqaRN4BU7zzHBC5u3CWnIrdlR32B3qN1O9k1TQqfDUe7uAuITqwkwhuwGrVHqiVmzgOl3JtnxSKJ9/fallamTHd679xbqiDHQ13cZOTOYCNwNzKiSlTXQ1W3peZ7uh1sbbkNq4VkQITlhlrBS8g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212304\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123037612307?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"L9aVik3PUdTEsQJRN2D3pKgWx3wIYwWr\",timestamp=\"1773212304\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dlkGb62LaPkR5csuTpXBQlOiomcjWXnFM13RcxZak3f2s4G5ygZYrMmUcY4W0duK42/wKZNYalu+3rMI1z7gCyIIDX4Ncg6plNVPhzQDuqAO4e+o79KPqLHyvjzYl9yRJ1kmI9MjcIIZvqGVDmghJRi7TwcAumumHv0I/Apus+XjgXxBswSzz/av6JcjNVZCnJdRoRohJp/nX0zeXQ/dCSS8fFdCYiAjsedIfuccuv2hfO51IqX+Kp6jpUmI//GcVzQ5rH23hz4052bhaAd+4H4iDq2mGAvOGeCCmRuMqEzO94eFfYB1mxXbs83IcQOqaEcuK7OT+I5UGQFOZEu9Rg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A5C4CD0610880318F1C1EDF50120FADC0628E5D603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 68e822e8bc65313fda513f5c14e89c57\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qK9yoiQTetxDpkQHz4J7gpEzl8orCYSp2KGvvTwMI6CKNivH1uRbsn/ZU2XSx8Bp7nSY241nvL0zcnm/YYdeu0QzNo2Ao4aPBxqEMofLmhzdva0gzQneqaSMxgbKQvtH6+TWXpoiiiZJdBC55Lbjn/Dbf/kxzCwbExNPbxRWzjpdsD2COT7Lq+rUtmRP7NBWzNOniDgiqOd+hWnH1sHifW9SCgukYt6mbnJ4Vd73v4vGQH5u0kJwe0CnFADVLj5yab0mtuGRRvbT79QNcEWjIIVNT+8nEkuJ2wn0UPu8f0nEDfoNueS1qQHP1WiY50haz2GLosfYWOq0UzBmXXinRg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212304\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123037823234?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ObH4iyQDqkhveikf2gtg3FjmVDK7jIVJ\",timestamp=\"1773212305\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NAiR2Yc0REciCox6tyrmrzpnLPBki2k28g7oFrxXRT1ulNcOrbeiVDo39X+2s2ydluqyl9TWh4lBiAHKOZJL7KQY6LEKw/SN2txlu1jz2mf1jGJSMMH/f6URgfu2p8WdC/x9j1AjHShk0HI0uTaSiXnPKW7MZ474e7HGO5QnI24rcN2r20bUo0h15Qy1vJW2Mkgem3jQjwX/04G6RntaizFFDfmdpgUHjVDL9fAVaqULHpUSSWgtKK6Hll+i6lkKZmMMJ4MvGgjvUPxEyMBflU6qp7sJGfxa2YsiTXnV5SDR/fx7pLciBNB2HHb3Fqxcdn1d/NGEpoT+J9py+FXP2g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A5C4CD0610B50518C3B9F8AF0120A8961228B9A401-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d7995c6bde2f1f09003d3e1041be5af7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ql9CZEYNOuEkeD2mJHPT44G2wLJ1ebFf0xfcurOBwBJixvlMcAcO2hlOucguPsyyeDX+3NU2ypMHT5cTjts8izpMnxBvimnated/6jF6m7p3FKGO3lBo+bFnZe4IMcYwRm/3ELgeyZwgbIKgJUnE4T8xUDvUYTrIrX2GngsbBpsQeRfI1ULj7ykAclY0O+mST+XPaCjGW45eLYvfmO1LUiW7DPwQLcqAtZ2zXqZadFAWJgW+ygPZeW9OxPhn6KIVcGtVJTJy1Tg+K3xRm0f5jwtTCM6IzOO5jRem867gR9ewRCzKV0UlwUUj1sBNy428ad8sSwEn0U8oaoCT+InlQA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212304\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123038101424?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HAKssivehndA9eBnhTWZnmgOvHH0StDy\",timestamp=\"1773212305\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YY+vGVhC46Ogch58SA7ZqS2lMoWBVmgHv3AGqGEc36EPy2ZAGQbvu+7LcTG/DJGgB4Pb17so0WG7JIiRF97HhvFSVoiAX1u3E8V2QXlh3ORAS1J/BW9BtUXI++Gb/qZcWTS4PjkZSoXILIsoDKGKNsBmDNAqwhKEvAnLnl4FVtFnLKFzBp3QyTyv7UScixyQbt9VbJUGHv17RTdC6Fyip2m3OIRSdNOrF4NBz9Dj3qzd0sE+YJuMZ/GEwkGk9pby33UhkK3JDRttIu1TcFwYUSuMQZRsXFeu7CeefuNih1f2IVF1Cd89/uM0+FWCM+TxYLcH4DNAuCd93MZjc6i/ug==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0890A5C4CD0610D00718BAE7F8AF01209A9B0D28828A03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 21d0f6d221a783117402dab2ec98a721\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JTtbLAk36yXzi0GfhF75X0zykUX20VUOP3Z+v5Ozx/pyZqCTzg7aHQhC8P2RqqVLNyH8oojiysvzTfp3UNMuRKfCwnu+4UuBDt3Uws5q5Quo4DVBPX2Ho/G+AoWQv/URv6W1b1My5mCBiVK2imt4CBKlSoAH5mUjtZegVvT9hnhdXlgFEx9YmUfRGMR5s3lguKRLgBi+I6uyXEWmqZn5OhKH24zaab6b8gDUDeXjpAm07Qobf/nYeO/Nlb/KzwRfDSImgPE0+j6MkqyyVcci/sbm2npWcYOipfZgsW2WlQ5tK4z/KHGdV0h4Y6S15wXJxOs7kzj6RNw8lDZG+PCsFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212305\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123038986467?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xhRg53JbalnL63HyBJdJwKhMmpHhRYyt\",timestamp=\"1773212305\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gZ+/ILp6yVMI3vbE1x303XXWUVQ9N2pjPMk9fXDKBIgD7Z6nqjpSTStawehpvhnOdDfb5nu3QAmuU0ObZ1DlR4WkQvBzB4ib/6JdYsYDZ+Oz5gBb6m1KBI0EOPJdok95cHWV0YFUtS0K+Tz8FvMVT8y7Py8NNvOqqUvwBlTsWsoUZiMF+17bdN4srKIQUS8ISF5luI4kIZ3KSTGiCQhYACOl6fuXToZiPK6MCDeNCm6owFWJh/3OQWDFsMxneEVIt50pRW8LjBzxe82gCLiqDGeal8rzavS0SoptDTgQyIbqhU1Q/3bdhg0dMUY1kj8rxlSjKPWYz5+lo+zZtBb9Fg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A5C4CD0610DC0118E59FECF50120F6FB1228BD72-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cc6707d1ca955a9ecd4443d389b7aba4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: l4eEcbfEO6qOZE8gisy3X25CYHz7JqG6p+AFAwfvmq2tLpp5RgUSdpK+Op/2+OhomFFGncUcLAYYaNvuIud77/jQjuhoewYldTINTLwc1IJp4GWLnPHlIRDlpoOb0Y6f2/NaSVer4kOMU8yCYmS1TGVMWmJTm0/9OQl9LHf+R+pv5wS52wDtKlAqWjApWJAlOW4xQFBsRoARPpfC2dc6ZmnEAnk8RmiXCQSXC0ajX4Ra2bbE5hNKMh1AWt74D42TzlLgZSFC4n3uwmh1L++3SLo9NeokT+yJFzljFvEoPCJ+poBMizIswIh3rWvC1WXL8PREyz7NEC1615ndHgDedg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212305\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123039164188?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zqqVq2hdfqazrcBZu2mS1ZBDaMAQUSzE\",timestamp=\"1773212305\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"q5AC6qrM9C9hUI/o62qimiYBZg4tqDUOaYBn6lzg3GSkGiGWJGX9Xpk/EB2kLaf0cNlGPIuLA0CiPciW38mQoQOe6LZVyZjExLAiqh8i6Yab3LLRCE3aa3aO6Qbr2U3GsJpye2QsgFVafnTVYHRREFHDYy0Xd9bd5y7hUlSEKHhfRaglSGfTQIz2X4y5Zjodsri64H0fSUhjkaOTpDSfLC/J1eKpyYHXn7UxEO8FHcKfpa+o56NOmh48AZKaqAYu0KIcVSKHhXXDgEF24F+OW52f6oIiGZUMvkdSuDVAgidH/ick1GyrbFsBQGVTKyt4nFHZwGMnZsF7plQ7nrWLyA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A5C4CD0610ED0318EB9EECF50120F08D0428BEA203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1639878544e0c093d5d6bd23b8931b3e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bH6utRhUCwSuXZypYcvHHP9ChbFqmmA4ZImqPSGx5RE1E/IhZEZuI26FHjoUXQiu7uW+eBG4L2NkGK12yTaAwaQ/u8okD5DAFLYJVoK0IILxIDFk8a8ExlOTxCcOfbgvuYbqrLJTDVF3+mfhvrghzyPEP7QC3ZhqTVUcGAO25t4fMKmkiMH7mfvmNRFup58xZT7Ig7vu4Qau2Rvq6XDJXczhpzr/kTLjSWVJG7rJaeXJn5bGEX/zg5JQmpuArbBsFiwOT7I0WHA+Zw6qP6ERsJpH7mZjQlRAil44AxazHWe9X7qgGsb9DkpX8H+9kAWmVLl4rMJIz62qkhI8JrGmXA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212305\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123039267897?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EkAOCZWZ28sx4Ea03XDXywOC8hgPa45n\",timestamp=\"1773212306\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rREM6ipYAAx4KGF71JVgJ+MVLXbep3uKFPBs302JfAsVt8vx2HrucOqAoqsOBIuPRNii6s4oQyE4Avwx8UUXDYlEcktnN+7nfYFRKtsGuSseAgWkY2vQeoClNyRE1L15gHlngMKZwEbBu46Gfgn9eHjmI0Sua+he2/sOuoyMDu48Ppxqh1uvVaYvnqCUFTIJbRER6UNobbA0PB/20tDe4yu7B5jJsPRwhaDubT55NoIn6buNPqCZALEtPoYY3X9Yb7t5Oo/2IvwLJYbRvXxNSRzG/x0QJIFNNQFJ7BvWkSqdjC7GTLwUBehd2KINr0I+7Lndj3jGUmY6G6VpApXy7Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0891A5C4CD0610970618CA82ECAE01209CC10628D49902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1ec6a79af1b0729424f6d5b04f0c7cf2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uwPqtmKCEUaqICOM+xbMqoWMEvTC48h/VwY+iNUZthr0+5h+760OhbQO7JU7LqXOXhyl8i94KyeqRzQ76/yBzC80VSZ62G+jrD51DkzhK4LVzNCYn+NF4gEbqwejqEWpQk1HjNQGFGOkPSNxIhk4nZdNup4so0KKcopt4sWpTDDPIw7H5GZGn21mSQ3Y8HpFhl47WF1xgzHy/hLhpD5IOqWoCGHIzQhMzaEczsXRSHkkBBKefVJrr6mChu9pf1EchwserhVB2DJsCto8WbW+kd9YOeO+Mrg2SrKGxCCv+Pngx4f4CjdYqX/dFGdPi/j9kyCXQrqp0WRdQFxMIhSyzQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212305\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040027550?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AJoisX0vGZ4jkr2oppmCtHz2b5rxuXSb\",timestamp=\"1773212306\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pAyf+o01DmxKTQusQ1q9rQFcDQmUADN2JYn9ZW9ZhwPPQbTio8oAJ61St1LZ6VLMroPfvQ51psMUeIupqExyNPOlm3vHwh6fEHAUBBY8NjbShOGDQ5Vdj7chiHLALwYm0EzeE1HXu1Oqf5SxzKYw8T7G6xjZFa9rlukPCH7acU/J/0h2y2S1SgvcTMybirM987CFZbYHo5Z7PqEvCGidv/+nQ5O6VDI/VmRcQJJphaox2cVkHo1+3Y43f1m2cC2m95fLD12ESXLjtuZBrRfdYNzE3WGE65tGd/6tl69HXdmDHzc+NYYFTrm/wQbT3Qx690hGiOQH392tiHR9CpNSVg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A5C4CD06104D18D195EEAB0120D0F10728E29F03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 67d75f62f56445c22826550982ffa519\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LflGuDwxtvfsRPSiBr8tJIgazaphXR5zEQM0eExKmbYZ+YoJYHzzDs7LqsPR2POqHAqT6kG30fpgXPuYs1iQ9/4wpCHeoaCT6E6yyGeAVifkfRxMkJKFjrnR1UMg/HvmbKJk1cL5yqpXI12ev9mbpJ6fBMAzh+drhvDmR/yVQjUbxV08ASR41fZJlwV+JshId8WWUH56tpavlgQB9flj6w/ezdZx3EU/Yvg+R0G/ejAypiIjXb+0dYoXGhOSCFYmQKdX2b6LDyLQOKt7aZdWuAgba7n/TxUhk0gvBo6sO1l496CiUdLOlY4HsNN86BEszAo4pkYpuOdjNf+W5tvUuQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212306\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040045635?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RIJa0U1w8bpEPGq9UD7PswQJB4hrp3Ve\",timestamp=\"1773212306\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"SuvMaSh7MXrIdLJwgGDZ61whn4Jl59401gqDeSc8bApur+N9sNJPkS2MQskwPdnR4bdMNh1l6ICgRWvKievzfEsORtWKtfOJL+57l2EIdcLzIrqWo/ngMjtuzalq7zr8wI6rIXZaE6JRMaS9OmQefeoHnhtDwofKWsTmL2kDiX4l5cX4f5vdUhgHnbvv64bUTHzfA7fdkr4MNCw4teh8CAFaJq7LCnAp/oWvyiS9n2Okzf0zwbLiapT7cZGpnn/giRMDJBKXuFSm9Jag2aAQkVM+rW7pc88B2mzAxkKUsmYiR2oBoSiEu5rrHaJatAoO6yeYTOv6k6Dp1agL0v8M6Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A5C4CD0610DB0218DEA0A85C20B4A72728B2D402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d2a95afa9be0820e61a0342e261df3f0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uiDfcQgrbSDpxmPLpV7p8kj0nsd6jJeQmOH4qwBfa5c/qpaOTiE90K1kHFIdii5ONlfJEuFjM+rqqbzKY+4/3TAuRYQvqKbK0Fem9ZGgFaR1Gb1orx5YI4uFhUGpQejB1vltEloreOKm+zEBQcZksUXL0EwsQ4q2myz29kHtOfULZjXyYOLgIHS+zMwXd19FtPfXeYaNJ+DuKU3+otMOZE7M6csg8E+2UstW/K+eFO5tQ+cNWsfP4phE1Ak7KtXo2Svl8VeAdy8M2g9pTNkj1JhBQLcNYHXthmV+1msv/KLav4H9u7VYrLqOgvUjBWrZAweyOhKYaFhWm//naOPZ5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212306\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040160969?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2en9ivTooJIEECKWqgX46YecsFh30KhE\",timestamp=\"1773212307\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ClLaYysXo8/vrFCyHDOeFgTL8pvnctB8mhgg/FTk1Vicjmi79bAwi9fiLsS7ncad2bX8ry43TuX7hdKUutfmbFu53hwfHB9hNLSMABNh67nqBDc442sjLZFa0Sp3lWxvd8FLP64iPTXe1lHMgftykWGV2QTjaBKurZ5uHGr8rAQtLXHy+eWjZANVa2kZqseS4WYjEGx8amMECU6Z/mM35B+88mLagMdlkLGhIXUIMEpztashCDHqoy8VkGlB+3K6iUFQwcDamMlni3HEp7Fi6CG0xN94woUUemulLsL3ODFr5VOHeDhxtLjz5hu0tMr6gBWXb1utAOIye6ATuiYmgQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A5C4CD0610F60418D0FFCBF50120EAFF0328CCB901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 65929b65d2b458c1f77e34b797b6b98c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AWZpY4zg2HBCdgd738Knnw1KE4DzLRye26VL5Dp+K3SCUN4U0FW7txKMqWOuoVhlWUDABVhqPufSCx3b3Te569f1+iKC9xlB0p1Zxgiw4vZeKFryuhIy0AipBIG1pMNghe6sZaX4Jj0vkT3OYXj4bq5kUU6H54nvvEfvhozKtVk+AyBvQd8izgsClkXgggge7d/3xqFuAINxLQm6s4YwEhFEKNxHgfPkmmqiM5i/khE0SSWTvbVQ/B5yZ3lRF06aCaOaabiGFlcpgnvwGH3iWn/m6xPaKffLc56fEHw3JOkR6Kx2bY8kvcH6OvcSm8iziP5fbkh5OegUCdU1kJKgDQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212306\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040858854?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"h5vq4v2xqJcCUud53yh9v63DnRILWM6a\",timestamp=\"1773212307\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HnlRamml4pFW8zEJgxTgSdZy+dudERu+UGYf30PVvx9MxGBBIDuc7DX0xbH168qEV8eCtpbhMnd5vItI9gUT4gw2Ie/7IlWi4oIqO7C5WASqhdchbLgp5wGuq0wgxRcR8jzt1srs1l7kvjkbvWkItjV+xy+m/BA5O6rSJ3XDtumBSvqvg9I0+NxAFdKQe4pqyhCmc1OM0Vu4RIn6TMYPmD82gDkxUmkNL95DXkx3e7lTjRDLkClWt52Y5mAMy5YPw93OfKwMACEWV6ahKnRxPPPrfttxAoIk8QRK2xL0cssoYEB9r/SIIrct3ynAduoduSqzuiNcr+KQoaBpjj9prA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0892A5C4CD0610830718C697F5AF012094E31B2897C804-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ffe485ee831a58be1107141227585221\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CNHSTFflNL1D9MCpH63So6EyPVgBW69jZ6SuRL6q10Jh59j93OcP3XF476UZHi2ilkIZ6misb1M0bY35QU15xmOL4su6341XJYkjVVeT6RrepFZFuK2C2SPb9a3C4rxXdQljB/tDnNtcdVr99RMzq1pIfq0Zlv+G0/Cd/Xk1UkTlCrSBcRb1jh38wKl5gk7mYZ/w9qgdJD319bfTEhWMLPEV39wmID908/nWu8SeLInbd7JIXkCh9f4VeYTRvqTyBn4aJnHIrM9NiC1hCLv+fAqfq0hWa7sMczHZDw4hCsmY4EDFcNHeUW7fM0SOPoGNE+u5ycmU4uXtU6kVDZvaIw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212306\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123040913483?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EKUDMfvCiXatixw12Yx4mLIkywLwYNIJ\",timestamp=\"1773212307\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"j+L3+Tp3e2G04wSffhZtO04y1JqRjHv83cl7uj9uNJpuwf9BV5pe2A4bfspY/OLJQm14v4RXJqW7Zu/lDZOZ6TKMjiSatuTGZV29EFbm2R23dqA7pzD4h+Z2GxSMtM40rugsvHixUdgxcO2n0RYBaJ5YXVhfcmSX/YXrUAzi04rGRWNG868QYUwG1j2DTkx8384vBAtaTU9s/uZ2lpRFjCwa29jzYAMQTrMwSo/wA+Sq4/+YRXmlOXY88y9U188xHazYWJfrYg46KnmmKr8WW/HvCvkgER8ej7dFODZ0DT398D6NdkZRAXUdXQLQL5kS9PZPyq1uiZPoXa3mdpcOzQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A5C4CD0610990118A699F5AF0120FA801A288959-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 77fb6a535afdce20d4b5aa15a5279017\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nP/MHCoCFKPKPF//teuEv3Ov9sLNKSRyVMtrmgsEP5cTr1Z8srSkIOfNc/VOkVuvzhCgRBWSiN9Nil4MO1w1lC+jjEnpelQ1E9wF6t9bbT01w+plzDLBV2pDi3qzrKYDT+CDqXIYduOd+nZ0PStvNf9/y7Da25XWR5jJq2ZKi5RhV4JIvupgAvL/igMC9NnFtRbLp3vHyVsjFM1BiyPBmuDvzCsxCunuNzYFSE3o01p8ffXKxKZDh5ljx5OUW2EITyEy5o62BaEawheXpJQB+hTOdEaUS0/DFIk0QIMJzd9Ibr+xMv1aXQJ5JdD2hz+jr2Y1D1h9cPrbG/ce6gyDaA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212307\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123041005210?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ASsclVi7gt1as0oF6CV4zc07xiE1x6MB\",timestamp=\"1773212307\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Y2tUNHyWkpnOEmDfBYxvjpTDVaV2ko3rOZRRs1rGTflw4O1AR1F2Ka3XIsDyhI2UCIRuqFGmKxxtiZXwVBQM7aIvdS31ZRwyqmuKByYWbMm1UV/wNfs23c/ZCRYAnRb/Ou0MqTrZ6FR9oXUCxzxDTkvYX4mZ06YpuwWrfpDbxE9aXcKOj22jN5KDmSkiRo7xfUnynJ8GcQqkqgoBZc1hb+N11EnUVlIoSJlg+4j4xzQrU6yj4cF+0Ub7OMoi9FYnXLPZoBbkVI4mFjWPnlvjBwy8LQT5quL0AMes78HeVrE/IAQ7hCI5P5RicIaYDqlREVykt6WVY+KRgCwDw9cPkg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A5C4CD0610A9031886C18C5820ACE43028C81A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1c62eb202b62cf0b84e832061ac95e19\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JBhIiIDXVan5uOP9rtIlgQhf60IcbBaLNuhzBU+2ehX/k2MYZYbdbqHp1TBmSjtdjyU7U89a+NVF0nCsdIO4l8ChthSWmUDw2uijKi2Ljn9keE+RVHkyCmsIJoMza68Wi42f4aovuGYEIFkHxn6EADkP/PrG/IgTR1sPhYHSoMmWbUobKoUqyS/0lZB+k5kU9eizPIzj3/jYhYxmBxGoNLiZhJNnUpaPKImJdOVsKxz459B9pcoEHBPpvbby+TApqg6kle7zlq0NUsScbcIdT0Rir1qCo2LP9N8RpLonSG7EQElm4EXVq0cJP8h1FkHhkNioEDDcQg9kSkxCIoaWBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212307\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123041765639?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cVYCifo9gSzIWTwPULFH7Q36OdbYsb3M\",timestamp=\"1773212308\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XxvMLe32eleLZ2ZjypQj0Y5JQZjPxxyZRX/zY9DU446KRBlyJ6Lt7sBEmk19aU41D1rTH4ihil1wToHVQJrcXDImjPFbPnfCfx5ufGDYyoAQZ+bLFehDf1LqvIMRGjKDLKUHkXtyaWzw59pRGNWLTygKvFBsd77OO5gKCgH8L/qpqzo1wJwAv01QrXR+C9wBUzrhmzEJDsiq6bQeyQQ2LJPcIVNCrkSnB3Kx9t7vjmaDUTKolgM4lhK0pDIHI1hRGJVXj8B4rbh1yEGTkhP4jkCsFVllsLWgdsI5CKOL64gSeDarH+TZfG2uZzTIyocO2t2T+zNkjdo45ZrxYyNqog==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0893A5C4CD0610BD0618ADABF8AF01208AE81328B08503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 16392c2c27cdf14bfcc952fae6ce5f9e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: meKlWBseTuVzK9JX1K1mMe5ro8djwIO4VXkAQwixvqlgEOHUfO+dG7QzYm5JWKZXotkOfVlInZvh4i8sNhyQD1o7G98iJ/u7gZNkY3+ZucUFf10sVj9Ic7Cfpl0kx05qPY1ZLzNmmFtnGaYe6UlNtZ9rq97jsBOQfA+16F6NMIfGEdp1Zua48ARjGTD6vL0aS4HHYEIHiMGPOAIU/BRcVefB49jx3QFpPuSU2esS1zKtV5A+yHz3bHWjNFc5azpBKznnCt06T+2QbGhJ4CvYtb4W+IZP2L4Iuipc6OPKVA+YxDNndPUqIyt2netOw6WzbdtqAgrsuq+U47M7yLxipA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212307\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123042261140?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nlGjTXtcx3IusNS8gQmyiJOKLUA5XNew\",timestamp=\"1773212308\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"as/fsuJr2GWfmc3WcsbNosp+JRMdIGR6oHb2i4w2o2VM5YdSlzfZ6yIx2EZgKo6oxfsYSMnv7NmQSVc6YraoH1LcFDXW/hRkCAZ1w49iJFJSzvSizINS5GRvXyHdFkpesz2SsVKN0/Bxm9nsnEhhrcoJOdZA9g5lFBJN9ul/83GexDJSqoqEMRjh05ttdHjLRRSpyZHT/rn9aCoVvHYJNK5VVJkAmMFC4bwWqvD28UeUCoX7W2BWTraXSLHTu8uNQ6WavMhULDy5Fw38GRfvLN+3u8kU46DPHu6deKYLlvonjKHrYD38gVfu5Nx5L0FGwV9a94+QJkf3RXw9gERyVg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A5C4CD06106118B695F5AF0120F0D13128E5AE03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9059560d21a57c5ae0bce4eaf32bbdb4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: F28vHuzd8zopoMfsRjE1wxev4dmoiD6b+h3l0rbt4HUOA8rXEpN/2EjKNiteNFF7iZ+eiXm8ogaLzj3DeESaW5/bffu494yL9m3sM4rDkfOmXFAfd27eicAuzsQ/oatpopGLeswmJy5Y8ke6x/I0GCsLgEGeQrG8uBF7fRKMZ50FOULh/FjU4eNy/GSws7YFLM2O/ThDZhj1TLNooGS81rV4URvAMoL3qqSV7sp5kUBtkxjn4ZnDsyU9qyKsMNpWvrTgtHj0OHeah1kS2tCc0kOBgeDCoBDSEsH5bK1ckiDfTYds+KczRcl5nHI3EqOdlyCRYYRO5Lho8w31OCwtGg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212308\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123042392878?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"p5dVxeDdSaQpFcv9YimHJDc9u7s0sUsX\",timestamp=\"1773212308\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"d2k2+cxjFdeOAlfko3FNWv1wdy31b6kMUFVaft7oshcijEw/o3YbjOrzwt4cJGY5pAvWnu0OJfBWNUFAhrEauJegjudqR08VhVtgzAO3RLRql1E2B/C3L99TEpHJlVnDtfT2pR+VLTiy+ddJO+jut06oZsLS2hjYBxswjWeIvltDmJGQRdj7IWPBhlzuwPR0es1ytRhWycrgPqbAy0GOO1GdpUJIHvyxhDv6ssGqev/lOqeIwIMqcPnhon8tKwmhrvxOJel1Hwjij8+rkYbOJE8WS4W5EVT/2zZ8pubFgaqqUFDsjaAwa4v8u9a7y/4vZmz08Rbf/sTdp9si+7zhbQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A5C4CD0610930318B4CBC05520F8C70F28F2FC02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4b84f24738deec60883d4fa5eb022174\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lLGVwvOQiLYxhE3OUw6PAR6Nw1Ojf4OGu/IWqCJ6ao1ideRVa1mJ7gIDn0jdhxVsJ2H/r+MbkOlBjpB83wgVrPQgo9qJom2gxDaiMcN/l696GkyTPM4iS0mLCCMYexEc9I66ga4YYXf5Pl8wycuHzcvQf5FtQlG7WvUnefDuS4bSHCuZcICc3W487VrYGoCmfeYvZlapWZZ84TTlu5oBLOz8G5UXUT+DL3rmFf0SQoZpfx4znLvA7DfBGFsAGvC8OK1VlTLA+4aPuvmwanSOrqardlVv+na0L0vpKS6EYnknAx6NEPlkAzsvTDd8pwOKsEQsfLeG5VaGDbyy/4XADA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212308\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123042904685?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hUqCRW1ee8mHDCf3xNldgutBwzOQxb76\",timestamp=\"1773212309\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NCIPDVqhwasQ/iC+gBOdXtEe2mMhw0qNGLGkOdtEZZJfU14XzOh3OSRCLTPlkKfYNZwCcUQPRtafJg7/gSyhsXXfc+8CnHrtFVmjFBT0nhyVeMSY3QNAT302yELcR9fNKhbEQ88hlMtrzM8kYONEma3zsrrASLJ6QBoteJ87PXlZssMbVBl25Q4RRsIMxYpZ+a227hrfCffc48DW+Q1NT5VSUpkkSjhkneMBtQwMb8uOHjBgXooCu7QZzX7bJ4FP+LN8q5EVOFBQky0xWz9GXNDW3ALH9KuRVWoqGkASJemwQ3XO7SvKIHwaNhvDUHpLzRccSio2YbVbjK2z2BT5gg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A5C4CD0610C20518B0C0C05520B4841E28D09605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f0f5faf1760ac735bcb4e932fb176b97\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: x9DPMrBj1Dm1Cq4OeoNGntBXLxpZyiaRZjTx2ghh9nrh9HKtlmnDfHiMoyH0hOGIf2fzVOp/IdedP77YbxArrUZ3DWpDHXSZeDJdcFkbMXBptemkS2CBSbJpi9V+Mr69eAZOegyWE/kSoVyCXIl4Ym5sO0SPFoSN08ZNaby9aOdu62Xj2EG4pT5klyj7c8t7PCxL6OpHW0XnIEJ4Eu6DBj/vxNkPHi+rPz3QVKYrT5+Q4RqgWZsK6+Ou8iVULGhnoBHhg6i+YMfS2vJzCvLwoe9nEXxFy2XP1tKjNXij41YPbNYKnPcPw+mpowkaDS+1qTdISQS2tU+AXIuNxyGEGA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212308\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043045158?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1OolfDXslj6C3qtsB0zRFbPImr1UwFp9\",timestamp=\"1773212309\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"e+vNRPtsmSnfRPmAzWdT1wjaWIXK2NV3mlI4AKIZh1jID4FB7mDF7mPAOGudTDUCffwHrkbTRiEy+p0YfcIWIpcungTRWWibE8qkeMCUbj4ekzSKi3zxS2F/vLoBYbcEWI1Qhn8+6eAJyO+FKpFP27g6yDWlqPJ5WUtlSTDPDEvZ/oHzbGCCd0sgAUjhTtMRawIAqNguH0OqBt4gMWugjyOCbFKUZpztQEv5i9xtJI55ycCwsAoxj6JPMjxnxWqWWOgxQgfkB5sXm1pdgpzLmsN3POm4RDMX+Fg4mvArxorfLsk3Dss/8vJtueIC9J5v+GdDKdq6gu5JqklkXBxRmQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0894A5C4CD0610CC0718C7B0C05520D2C91128A868-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 142e2c4670c015429c05649e0050d7c6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cXbP8bbUeG3I8rMES/01QRsuSu9TEUV2M6Y5J2A5olfAfIhP2/YnSv5lT94LnDb5+try7w1/Y6v7XEnjw5h+HglgioPjiSEDvIoCuJboqob06AM0HUGmoRk+9VIwGhT8BveEZolsFA4tZ/Oa2qbI+RWbQ9hG4DvCCX/2hhHOo1d9BCfCfLT9uOz8VUY0/Iq5tjz+PfXFpEkAJDplRA8G/0hHMdmuc+XyR/d+dskTc6QQf+dyzi5l11tdzZaFQthBjbnqK3fpwlpn52tUb92PX0ZvoJb7/qXIxSCfWHrRdukmW74lm+/OKCXO/ROB0G7WdDLkMXJoiqJ7U+9TTt+yMw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212309\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043098146?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"J9eJLNASrkHhFB3MoJhrsMFvHvoxygB2\",timestamp=\"1773212309\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0IqoNpmjzZ04tAtYGXu3LYN4J0r21qXqV4rGX5qKEuVgNg/CV9MykXpSJRaz7R82osED5XF5QVBc/2gnafYJS9u4BJwTUqt4ENC5C+ggEEZnA72nR2zQlRO3r2qsMcl4OYFZvuDEJx3D3PLxXsIR8ceEXlHAi+fSxo4fHgkyC2am6dh2+1PsAHDBrwppeCPrEB4HmXdwQpZF1oqiPtCVaxpMspEVnKQrQe3MyYp+BwrPjaslwPBHV1Du80VWUvyJlpv/kx48lQxHikyBFR20+IBqPYdV25D7yO2TUExqnNPJd4Nm8BJd3U7lYkzr7KRYEz66VchHp51RBjvRa4G0Dw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A5C4CD0610F201189EC98C5820CC9B0C28D28C05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 96a4eea319ba603a87aac4599bc1c14a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: boiWmYRsRPq5sKPKpqd8crYHq+Av44jQJDhy+pkQiro+4HIovZZwjvTXKww5xp9ejOuhJ5nmJHnYLbViZEpTCkJv4cUjlDttFRBYh2os1OfXzEEtiATY5oW3HRFqzbkeXdt5eOLx8U4fI1QU5RCYSiKjGB0CUpODnuQzLFxtK8tuhkLTbnQ9gTO3i7JKF6AqukJIU0PJdkEZMtwmP5Nj7o2PJnI5/5yrTZFe51zQEksEvtR4H6vlGpR+3kZuQM3cca/axS62mDQj2WiNoisBJH8Mv7IosVtRLFx7j2YqERVqli90/Z/sLy9Hd5PS7itzCxMyFJd2XkZulWzmIz4SYg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212309\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043213760?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eZhVwbsoKRSKzGWgAoqQHZD1CMyc2DhZ\",timestamp=\"1773212309\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"T/vYTtfB42BL2C4KGRmW8FYpdVnamA6TBwKAUFHi1DzY3YbzWV8cILSow1trCUoE0XzPJiu2ihHlJrt0XpJYtpGx2Lq1HzMYVziicdZ76Xi00cBEvkZjUuGOnkFnlncqFhAPJqWYO+fSD7IJA0y+kvBzturLdMErMrIPCz67vgWQUlIfX4r19Lgn11f/o40VzBnRtrFcfQ+aDsVoPFp155VraV3ZclAPifc1ZBJMs3/cBVEi3tsDXw4gi1mtfbPKKXoFjIeHmDrLEY6diyr2CC7DSTiZqZTkk0Ymh8j9M+t0Fwevj6jGHLOJ1ahP7jJIWHnvnEQwEMMOZo30amj/ag==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A5C4CD06109D041895B2F8AF01209ABC0528E1EB03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f50f476c7da823f74e50bf00def2acb6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kn7vcSotIA3Bb2CgayMNU9KDqYTNxq0M5rTBNvXYxlHUNQc/lXYvKc0lMp/1SuK5bUAzppD1cseuI3a5Id20pHulfeX9YDx0H21lkoIn7pSVWD22d0C/EydmZWsmsAWH3f+k4lVk2wBO5t2qoHZ0n+txrWCJEXbNgvY0TVLliohWN5mj89l8RlrV6is7AI2btU5w9pna/nyY116tkI6x59IsXo9/anXbLfikat6iqvjnJ2rRaDvdlw66kkqJrJ8m+mSeJRE/ovBMC7ceAgBrn4aqRmrQzDNO4wVJKxgED8C/fNGq5RClRfbnvIXetUEKJJLsSuxTUdo+PjXW4ARijA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212309\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043476063?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ro1UsoA9RM5prIC1mL9SRTNibOOm7ARh\",timestamp=\"1773212310\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iufZTAFZ5ziR0lhRL282UMVNnp5qIwVLiM2Gqyf0O4TFwW3gpghbDrAV+rLSSoHQQHPfpj9y5x0LJ3fSu7zvy3PatkOc+JjC34f8P35ZibBJPzxIU1uT3LcIAa8MeKRrrAyCTPoz5M87tAPsZkavtJD8+tez0LjOP/1hAxm+N5hIT1uWyXBhTGg0b447w6UNEURdHCPhMgalU0HS8meV+lJFxBHQbPPo4TgOkV/qxCpiQ48Oxn7fYFY/415Bf75a6+ijzVVnX24X7fA6lHpXttfvjV7W4NKSIUY2TYhzm38i0SgJ+1NDNa6A8wf32JV0GKAas6TDtp4MO9xbBNPnKg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0895A5C4CD0610C70618BEE7F8AF0120A2981C288C4-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5f067f55c06c71912ba8a68cfea1cef2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: su7oOU5Uwjuq0JQmoQevBmrVEdtBs24F9Ozmqx62dtTOvMdYG4pL1h/oc0nwUbVrzjbzz+LGhNk5IpSLnoU1T7d7N4fsAG1C7SD6rtQ+8SS2jmlDTGqAHDmNKhFq4XFz028KW5bGETnCUFcRmdnLaTZKGktQ5WRVPMJ8uTN9GappbsQfHqi1E78SgYp0wqYeEjsAtAgCWzfYyXoDEVbJH2siLrnyyA8t+b4rmCUfY1fHBOpWKn4z7abpT16A9IysTWwIerXdeI9+AMHS33AC+Jl5QNC1CGsQdhxgv6h2txfOfSO7/oATgajx+TVgg3fgU3A1ailCJ0RkqqcFRzfqeg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212309\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123043982867?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vgXP8RE4UVNLXmRY9lZcS5k7xSAUQ0fl\",timestamp=\"1773212310\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VGFoIhcSzzG5cQr3pq6l6OOaJ9YRNtvpn3GrBLYKLLqJ8ZCdiRg8+W15siMbSfeBt1EK/L5peHyS15kM+RFNHujGqhrh3KvJn5HBnR0JZ33mZb0BzxlNZ0rl+J/DhkACvQ+IYjplNGr9wUalJ63J00GbjKuNHtO+MEV6VvueA1AE9Yhc3JE5CmzB4IyOHvkt7X7QEA9kXMKUSKXfPE3aPBVkRQB2XphGw02HWQKq1eV0nzoTQ8h6zovowOpSSfvT6dgaKBhJrXAs8rPVlYoP3y0ceL1Wvvt3eZr5XCBI2zeq2hdVLNjuvndIIGBxvZeV9XqzsF4CjQC58auVp+9f8w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A5C4CD0610940118C3E3F8AF012096953828FDD103-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 02b448a39a3c1772a6a3c19ccf0e54a7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wOn+OjgonywU4gyncNFu6OFcdFQIGkWntyVvJoSFZPY6BQCqLVr5n90tOP6Qgkr8Hbgl2mIDZJny1RmWh/WqAJl6XPs0LoD9sfRvKnwMS+6YWxx+yM5LUfT9hVjmkG46CN59zE5GJQFjkeDrW+sohPYHfv2cV5nc6Xej4FECX/ks80Jg9cOLnxEEhOj9W/PgAlZ4Wr0ZY7Xu1c2xPkoTXe4v+CN14JGPI99mRO0D5ntXXRa9jLjW7mghbPhKwhhBhpWFyR5MdB+W3x55FeL1h5VM7lfEzMN4XrCho3cB+nsHvcL9hmdi8cJmxjkDozAUrOlsIXiH06CGkD7LFeLVsA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212310\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044830545?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pisiuaiV9pYvdNrgmlKjm4OeCY8NUEUe\",timestamp=\"1773212310\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CUGRY8U4jypMZJZo91kfH0r9aJZCkUY5LTRgCXzEvz3llJmPuI6qHiKwJZVCuN+57l7lhEiU2kMhkl86+Odx4KdFWN7ZaaBUU0r7UBdEt8UEKrT6IiEfOPQmwEFh6D/FzxXs8HO3J6r2JmxcQ4M+7Bg7NQe5T6sNZOgO8mZq1qQzH8WfbqYMQzMP3mMCRkfSA/JQjaSixwe0XrkcZNDXwl5smquIxJltOJoK+fnpgQh8Zy0mDhKQ3uGD7KmV4jNCOgDX8SNjfY+f1435XWYzkh1hhfGEJSx0wyKidqLl8LMIRaUChyp6rLpNhC5itjvdaRl4/iquz9r7IdfJkuFkxA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A5C4CD0610A30318F7E6F8AF012096BD2628D8F605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2afde2cb51f899af633831f294c93fd2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pfCG44Z/ODJjjJYlrjvexA9oCP+Q0zHHwk3Vf4xRp3BdTExcYCbK3g1XZCMg9w97hlJh6f+YiHabmgIc5kdkvVLQ4VuCTeHaDPXD3L5OBzJlwKK+WtZMpcGBwS7mqpHuZHqL5dcU0zcKJcqBcvY5/5LGvnee7tdj+o1LfQWiAVoqqaLBLxl10TClyvShlXqF74x7bmxhoSQ0sSrRMivud7Jwf6U5mN4bVvLWga1xDQH1FOe41jPzzN/Muk4moGvPuErwen2c/NQ6PGu5HmlXhl+6BXBiR1jm2ip+UKaSTT4byTa6kmx4VZvLF7N6m8ejaE1X2jByUv9k5xRDlmwgWg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212310\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044896675?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ATr4tXLHyDJseE5yf2NvQ2iuyLSywjZo\",timestamp=\"1773212311\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qlAQ8H6r3he0YDFknOmJPYYtnTmOX5NxCD1E0aJPTOwJ/XkA636PI/V+1+pBPa9akQAQODpODr8BZpMdnKT8qKQ2UOE6FqIfra+gzskKHPOAY2eP1ora1Fa9OBIXAFhzKiJhvK6z1exlSXLfwukvBfBNuXuVNi0VP6volD4Io/ORg8DC/gApSX4oGRKeX3k6HRp+RI3QMrfpItVFJXQMbDnfFQX4eQaq2SOEDyZEIQKI7D3l5LgEl6WL2xULmbcX6fek5oVTh8gYbp8jXXH4qTJ6QGKZAgwT/qBTyRhntSmV1d1Hbnl0G2Gd9zwLCnsAejHNVuQe8ua4FS9D8in0VA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A5C4CD0610B80518B1AEB1A80120EEA11628B49806-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0c30e031c3f299b733e27f933d077a89\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RqstblhXSgek4IUEEqFz06YGQ63lqIH8X8GYvDtF3v0ZPUZSnLoEK5RPFNi5GXQQ1GOsh90odaDRPNfVYnTDk5uYDxnBn77nvUb6F9mMJEl+j4TW9ZKDZSXRah+zmV6kEqDBzq4BmV2GeTKIYQu2xAOs78sf8KJLRGDocr2cQqI3YRpSpkCBveDWQHycuBbkcQqVCwVdD0ooPxBucyDtVFGuE9CZA1zfwADqQz9ojrL8azaaNt6s/I5eHpROLHrfvlpL73+EUN/F1kg7usnW5ACb1W2dJMtR95a4ZGquVe1T2k2qVZ/6LLHGo6h+AkYcwSx6d9MvawCMaphMldLKPQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212310\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044902719?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LAGq1ko4h7EZF7n53rTHzqgWhIt8RINx\",timestamp=\"1773212311\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"shh3NRgq2FMFq9a/cunI8lrfFy37uceMaLmr/zfTSoleB+XY82n93p7ohB5oSFr98SIZ/w1h8p5Mw1kxPRS1ycqZnOrOxyAPef/uT9R/cAw7hWF4tpTyAjd0CuZRlB/qzVO/YNQB+sZwF0DQNNs9d+gvx4R+UbZ7DhZqk8qc+xxIE2nscOpKlJE7MXXidKmS6sMDKZd5toa1cvhto8qWCrc66I9RFTFzCMvvupIbuD+qAsIcXSRGN1Is9kNC8Z9XSzGEHvTOwGdcwQUx7h7ARVUt913QwnYHnGcgPu9Po9U6LPUsQdKRpJfy8q1sXn5nrMNWR+Kp3b7P2pRptWD9pQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0896A5C4CD0610D90718E0CFC05520F03128B4D104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3053cbf5851b133e99cf7feb6b818183\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sM05Qlw8pqgIvg0o4iREOYczma2ZLafsPviYYpgUpRHnMhZBoxjv0pFqjHrQ/mOKpXhMZntNgVnuuY0QkesOehbwc2cZIGMZ5DTvNuzZTSM0YEEJknhiCqSn46+xIRs7IC0L6XDMts/jcqNYl2NsfsPIG94noIjmmjuX8aB35lePN2C8gkWgFjDRb7IHxp9q4S8VeKoDIm65/IvcGGYY4DVWdvffc8KvgS99iSg9iRIQGvORd90xtj1J6/MUC77D/Yia3pZYyXdcQF3VojseuIbhnO6ZSUIWJjJkwmqOcZjFV+e2NbGPRaHR+GNAxjkBlrKwrgyqy5kd28ufh4BUng==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212311\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123044916693?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mmQ8Xp6aMJ59tK0uL9hvZeld1BZLprtO\",timestamp=\"1773212311\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yWKez+ofpGm2StudupWb4bTTta4J8QqG4g4fnQ4VszrZWSZLZmrBHQe0FzmTAgfWVvdB9SUXphIXGzexF97EtLHAw6dHpg3hpfIlA953+zrlLLtwfCOwx1hTGouGQ/WTH/oPO/u0x4EgPal4ZlRvifMN4AVL1uriRpEgtcC6y2eEFuTT/MqV7HioB95V0ttk9Z95Qakv+5WKf/4PS9q/f8GX0h346sxk/SdoIf0qIwfI6fK4t4SSehZAa9HBpnBtlSwje46Ry64hoTI3idefrGmkry9tl8FFrf2Bk4cuzK4qNfouMnK9wui8sWFT8o+j+fuaq6hzP0G4UAh55nMIWg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A5C4CD0610A40218EF8CEEAB0120D0D41A28A768-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4aa05a530f741098a30ddf97014df6ab\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MGjD5y90fSL4z28Dy4lesn+AMdZj8uUh15Ygixh7aic1E/I/4eDRv+8lUV2SfHUPfL9pGFPeVvq4urhpfPaV3RU0kCTzGCA6XKpZ9ltuvg2uqYernqy7fUylttf5isgZdtr+oCG8f5JdzFbxQ7aGE7yFq5UAy1VCuCRUABzgts5J4akz9Aufnc8sGaCpzOWbx7alH4ia8qTuaCe0jg5gw7RDymBpB/A6peAwjr7ouq/jog7tdn4A72ABwCWHKM+tRpeD955kRPDPIcor0Xlzr8YFtCQGqO/bRwpeha6ME+2BbF1Io2TTzQt9LWstGourxQWlnTkTSYNGXb9B6MdPlw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212311\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045118955?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8BiCHc4Y2PmeNI8tClFpES3b4L2anaOk\",timestamp=\"1773212311\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gq4K39kv+6XYa4ZuRr6QaZ8LQGoWP1WRo7I71v3u5+24xwnW2D3W8buUiTsg/E1xy7O9o/Ii57PWtpbXvU+M5Dip/C/MVEUk+aNl+fkBgXqQIZmaQRK7bo2HHZbW9fPaWgbCGe3fFFfmhpOQAjWu/C6NIsTNG7KlzN3co8H+WucZmE+aZTrYgd/oH8iwDHmpVGuouu80lYXoQfoLk0tt9eHgtYYjW5bhf4GzE2g75mhlqwMcaG+3zJplVKx4GxoO5sAS9qQfGa+866kn82SkSBWpP6IproIu7Ye91z3Omel6JYNqK1I48OSMzFkyNlNmtBtqhaNHT7BFOVClyStXQw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A5C4CD0610AD0418CFE7F8AF0120F2B227288DF603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 99957dc14ba98cd39035b3375c3fee7a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Z/dDloXNtG4TnfSrI94UvJXaxDQXT3I5c5YY+2eTxqdyt5XJUCi5rlMcDzPngnh0z6VlZuTx4ymKPL7THgI4mlxD1ftc9sLLqIhrvtcpw3E2qfBHSXfWhtghv98vPFSvCTfsGbyEnECeZBsR2+NZc03o9GOoYCgdElvU354TtfRWsANDW1WSeVVCDO54swB+ZbqdX2ooWdBr0eUeny8UpWlb5ZJiqZUvhcX+JOfDdZQxXQlIs7Ke2jXJP1GA6RDzt3OALvI+8hteZ/N/PktsdaDdmMAT3CzIqeYDSzCGn78apXtzkn1Oq1EFqiUCN/zcash1EMZQyhe/GbfzLCuctw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212311\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045244598?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2OmnMxOOF2b6XBKukcFySJeAvV1QmVcQ\",timestamp=\"1773212312\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Qx0n/dhbUvl32oZ2+NCZ/RPY/aC772CW131wk8/Z123/ME9if58hjivIJuvz7wf4NkCnxJ+TthEu0n6ljF+r5XzkoTBbHAgkOVquskmMNLkIXtqxpq1O3r3Du1kJaZpUhZDyNq7nxzqN99doAHHMVHe6iNbm5FWInBlD3N3qovSDYRXMJlDYin6lic00K+mtQuBBEXjAg9/Ibl4Nvay0k21yo1Edh6HHdyvFMhEmWub3FoUQuKdfQJONzdnCZxzcj0GiYU6YHqhrfO8gVX87tyc65vpcwu/aw8ImIgmQEwoZeDbpGVcF9el3ebXuNmolsC6yQo5jNDPhWX34FfmuzA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0897A5C4CD0610BB0618CFE7F8AF012098FE0A2882A902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5493c3b40eed424cc495a395a26cda5d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: n8UdS625OgGC6Vbnel69NG8b7ZjD4OJrd763zkNIMGexYW4R74mLOEyrSXh4MUZalfA2CIEUnLSEvO27AL1Xk4PYIHDNa1VfslHcHAlquzo+hXucy06Ll6HuVs2nvuzDP7+yaRyjVjF684Q7w+PrSDp+6VNyaANTwzXwJIxunLsr78BcTcTQhMTVDwPg3LVvXQjgVkYldpieOUYeXcDyKDCQeERnIaqMrj/qsRK6/MgCAw3GD+PDHR4wzHtrm6Lfprz4i+YMkcUYfJh7lWzKhO7Y3rb/pqv+82Zt6JB+hFLo476BmKViCWNpYKidGHuKRJLom93MYv77fAN2ZgVrLA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212311\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045489907?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UuydQgawxV7Qc0QagHPg2AW90sM5Gb1z\",timestamp=\"1773212312\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"b3FGmoMED1XYOn8CwQXH3rKlVZtzxsWhX68X1deDuTVPfEsx1omsTEGa2vvMIeTDdg6DNjzCttwE1ua7GNBlFrZvNspL+1kEGJTpboOTB07uUp/RKj11+1hOKeRXWIE3WhU5hNkeibJ21jWaIi1dooPIVC0xNnRxNf6F/nz3CmobbD8QXZGgbwzfWNRFZcYX48I65v55nPdqQ+ENafLg4Gz4VdL9n3h9VRYc0XINCrXhfSvWwNvjJVXqOl870tHKZPgJ4kzLjPgX6RSxFOOBPNwvRSzAgi1lJV4PUNI8UdNIVmZAf5VoyH+6uh/wQQgFiudWaq1WBU+NCtnA8uUcgg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A5C4CD061059188BDA8C5820D6F01528DF8602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 15b20c1c8758ca515fa3d4682fe02f7c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PY44gwpCOvoWJedz1CQcjynGGx6QYCWVQ3uZgcYwQ2IxgAv49Wic0LzDpToVol6RH8GA6E3dRvcvYATKQ85gqF/8lJa7x/jpsfyCv9wTZ0MhGYMTdK1AKtPXfD+M9rI76WeYyUgn16ChOgvyd9XjOPtVJppEk1zdXtSYuVEi8k/bcCxpmVKLOwOBZQY4uEgk4vT9GTwB1qGSHVkJA8b11LWOvDNnTXl1Wwo5N5xdzrOrs8pRIYbQWeEGG5sCYVXxVw/2ok5WboXqiiVcRHve70ZZp35QheFn9Zy3RoFe0xNeZALU2BO2rNIxsXvvjmb9WHbvrUo/FBYwVzd5Y7541w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123045770820?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4reewEcixbsIuITlSwfcKTA7RTIVZvIq\",timestamp=\"1773212312\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"SvO5M2jLUxvlggslwHvcdxFbbiZkg/5sJ1SWY55xnoEv1rZ8rbcVl6XVYG9gdXjbxzGLr7Jv8Nk3o21nKBh6bClz5lH+pLDfDZlBW5ZH1zLPuWuaaDvW7zuJO//hHo64hDKfv2OF3KKL3a6G+91OwuS7WkdYPIWhtivPTyoeOw9lNZ5kTbuQwVp4e2l6TrHjBaARLH8OVfZf+jLIUTDVtXW2khSUyGMtA4wdbA6zg3yMgFkIVXXRRny1W3fQats2pYcWsu5QOMPJlZNhtplijkK3jff+YtSZTPb9vvOYPjKnmWc2QukFedNvXZIxNzHTf6qIgxPm25cGHUpVvQG/gQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A5C4CD0610920318DD9F85AB0120C4CF0A28ABAA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5023bb3e86efb8ee9813c0b911ad8d70\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lb3QQtmTuTYXH7pjRQltzT1dtSuD5iexJ6Bs+a5QvZldjFvJeF+f7kqMJnCaOnyz7iA9og0wCs9pQiFOxN16aFCemUtzolW6DMj0Mswnlq3YpqXxJSChJZp2mmz/e0TNS0BjsSNicNwI1wIxlMdhYf5GFc4jvc7IZDHpB94sY9cc35d8+pANWUBn/c2PcG5rgYujAwDqyl6okEuI/oEaqUbrMZabOOQvnh5zwX/hLVTkKV9/uEZguaBjIcGK8c3oxbVFLTIOIJKdtWXUMjktm26xQcQhkDaYAgfqJxDYTgY6CAVgoOZJcehnAFhJehycRI+hX5zZ6wFKIyBIX3HANQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123046211152?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GtngBs1A8Cd7DaawqghPOQZn13WRSSXT\",timestamp=\"1773212313\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Liyqwz5TeBcXgJRg6atlq0cdzxFIIU8hbIY3DBZSRsYyJLbfji9LohkbFc+MftzyvXXJlkgM5JRCJheqG+PryF9X20OlNvgcnyhHZdZeB1eidS863GHpT4+vBAVVRmEJVCm5GNGD5/MYXqopz3hOhveLXjYiX/rCk5A5vU8V7SAj6EX/2C2M7r3tehIjCESwqqeoo+YKBhVql16SMOep8D0aRnpIUNuTzKMWpJKVOxsU9u4uWPJVA5PJNqfbRAO3c8Oas9kVXba5fTbOLPxd3dsx7W76AsAo8ejzTakqn1Sn6F6CU3IzNsgjXPkqB4wFNjdjGKte8tQYHQ6jM26Jzg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A5C4CD0610990518D0A6A85C20A6DB1928BBE502-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 042425c76c4a242e5d403dde65e49d7f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WymJTlOP8ZkUdbJ4JDARLo8nKHjIMKWy4P++SPkLhYZAaM2rNMd+8/ZBoLAYhGWHMBG1thAE7afiCrPAhpIU9Y7a8l2DU1uwjOcWOrqm+PtmZl1yMmcxpaE26SQSDPuWkIWUJfbmZWYgBmARggEWR1WD3O7r57mlREKqgE3slGtXr7j9TJ4T1zuiQHsFxJANuITtazJmAB+zKggMAIXzrA7ktY1jH2khNq4GwkBhRnRpuCkRv7MsZxA3MVcvT+5kpHDafMQjRzj6uasIf4eWezDw8rY5T8pLQ528f7r2tXCaCqKCZfiR9LfkcQMUKPDMBbsYRLrfQQJMV9qCySNqsw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123046987655?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GYkfrR1GwCTomr8c3jOdkzUPPnynwHH4\",timestamp=\"1773212313\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"e9I0yLvP3UhlodjbksxturHVw1gEVt/ZLO8rgJRzQLiZTO+cmoqF+S6nK/gEH4topK1q+pKZhUgk4wdKmugiy4HzsSbUt1ob3zrtyzt8Hrw5q5DDs03IX8or7qul3fDri9/wyTgOba+Ju70WHLGbbeF1Rkkom+Is13WKumbeiQdbTA7bfs6aZRNmR8W5bASHpeZUJ9Ypl8zEVT2bKPUjLMqN0WTxyIXPAS3YwdFi8oU6KJL70MoWFqX3mD2bPi4xcZG+wirz0eAmegu8KeIFV8v4F8CoXRq1KUQGnDir3tcszAKjB3LTUcUVRLANHdoQv7uz9xLMGaIdksVGj56uKw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898A5C4CD0610BC0718939085AB01209E902C28979B02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aa928369d4cb4b0598712d380a434cc5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WsQn6fV61jmbeEUcUTToli24K2A6/qCj+u3lHYxdoDj9tHG+tJsxd/I2NdQp7K6DTFwr1SPh0h6HGZ4Uzzz9J0MNboNiWGj+Guzw3fCrLgU62eNTGuThX0+AgxKP+Alor887ccxp4JAz7U+kWdzT0Reuo3PCgtdB/8wPvaEFglaJIrH6YYgj1WBga8tAfPU4/N/rQhfPLHLDH7YcY6Z5+op6TNVxEXL2oqD+0dauAt3lMi6w6LneA5s92MZSDrkG6A1WPejPVmW/6lQTy3O74qWlMwt0q4qPius/JAsaBcrPNBamKQ1Rm6EkF+0cwd2H6rlBsO6+3CIQFnT40IDwbQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212313\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123047110899?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1RwqMNOnTiwhUJOrqo4zNwTZRxsNlRC5\",timestamp=\"1773212313\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dlm0ZfKMxLp9Xt7+VbnPp9jkUmWOiy3tJhBF8NQunY6yVoHuBn6gg87ZFzOGgFmyfo8zoZE+O/fMceZ0NhfvYizWZuO/rtdnjqecdsz7IqHAfb55WpGg/CR+/6VAeII8f2C0oJsvhmJXMesnlVxQB4/AlATNB97XiUEQChQNKZm3PhAXxiIC3gb+rbEk/H7lQOeogLGXRX2ovinqJwMtNCp/tt3VCY/l1TKjLnyUDHCUrO12sH6jQAD59uuGAYGxEuUfp09viYoMgMOOgCueWZ9urCAA0OwObv0YxoRbeOpcwB5CdgCsBiJlxiff8ieymKnKXKJ8jSG4BhCxuZJzAg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A5C4CD0610E201189281F8AF0120BA921D28ECDF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 407b503ca430b853cbb79df1bcfd2b14\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oqDZgWRGVaXneviulRJAnfyJvzW0pkO4uUEpVnKEv7cG30j4d2hHMX5yN5C4MwRwlm8WHRZiKUuhewDG+mTBe1VDcMRpiW93S9MEcjMQqdhlIdS2uDxivdynnXp5jqk49/eA/sxXjNiaV/eN0+2ceBHKgztJUffAR/5EOqtuXUSqQV0/Km6bQLqS2P+9JVTpimIdZ5mSyAGzpbKFOgh2HiaGqtUB0fJWzmjgRC6P1/d3fFXZVU2Bgy9bfKB6ye7InEGK3B6m3VG15q4fV925HoXofVCUzBzVzETaWBi2eHXz8LWYR1t2vnQL4h1Rk8mh2PA9/AbwJiJXGe+JPRdAJg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212313\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123048778965?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qCyoIqEkKsvBKoLuWoqqbBT8WXTY1rek\",timestamp=\"1773212313\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Dy7xAvCetfPfrpmu+CjmikVTEqmtTrzbR1d6H42zouYS824TdKRI3kqzc3PKsxsHKt7MzlSPi0RtSo+md9Tipoge2UV5LlJeZKEY5a7cKmiUJaDNt20OwxnjY46INLasZM5d8beNrISaqZPB48cACl18WgYp4PUMhBUfCqhKXjCipj9yYhaEDsMlfLfRCJH78FDkaPSCLQGqHJAWEhMa3I1PtY0kbwRH/ZFIPoAtyPtu5tRDHnT6dIn1xVJINV3RhSFXJQFY2FW6Tn5wmLheiNKVtpDPDUvkcbiQmlJEHnjxGXbl62AjDqaNBxhQHC8+J4UPDMmEBzYVvOfOTVbQgg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A5C4CD06108B0418D1D28C58209AE62328DD8801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 71fa9245adefc8a79d3a5daa85a1e3f6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AP3EPDDXMLS+VSwNLnrs2OixkJz7OewJmR8OxPBg/dz09z3Q0k0L+JSmcLx+znpiUeRH/ozNCkQyGwOFz30xRrno7Tkaia9Fr4KreZlbTct387JOmVcHl+d9D8knWfZa4pIXaR5fsoKP9X98uZPGcSBOpRTFDoqa9OXFLzTaKWwuUkxodq9eHJEv0THqJ0GQ3Mf34SJczk8yHlg/rCr5UcIOMZ3X0IrdaTA+vHRZshHedY4V99gX0xDgO4x2nJHd936fMJEY1q47IoLxymyFb5UuRvjWjB7ocb4o9zEzpKVmaLM/gbTC/k5wcawzoVfKEUVVEv6/kN7dNw8KjQeKqQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212313\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049816653?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YOjYQbEcGPKxVEPIlgUwzwO5pO9bKnkP\",timestamp=\"1773212314\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"080EljNf1QFkC1Sr64FNt+zX67Aeyk7XuLWahFLz30zfphhSqC7BABYiGRU+t/NabIZHFUNYpz08u5dDvaOUttna6cBT8lVUacQ3KynHmEYpAcuV4e+8WDp7aNwcz2ZKOXxxPcXNPTQTCOk4kS2pDAvm6tCakGqOIEOG1m9zbzswnhrNIoEjwP/xGzPHovB45v8qG+3wLeDo9bu3SZPcHIlRcmRUmtNauOLd0BqttrTxDkWYm/torQVK2aol8yNwf1A+0l4XxS/YP918nAmMbpYFK1I8k6PIxhklK2RmvVYYjC5OaBz3LcJVmTQzr/yqUHAOaxMRDZOPrB6sP3pZOA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899A5C4CD0610BB061891B4F8AF0120E4DF1128FCA204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b63f541f7428dd1fe582bfb36ffb1442\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: i1s2kKHsaSyHWlmkMN9zy99ff8OMNjmEGrtLLmV3YeSTgLDzbTUaZJaSTykJzXJmaX2Zd0yEoh26xBJHxoweXpr7QGBxSxGUvTYaF5Fh5p8hjtwUJO7MuC+3QKW6p09VAxilHm9Ksd0+wVyF287fFw29p0vN5wGbLpXcy6UQtcHcTwNWtmMi8Xocd4eWdUb1S/NOjn0/hAZm+Ls4MDHazbTUkZaeDIiws8/RxjFDDurckYQfNx96Cv3HBA5AaXtOHftkCY5AT42zyjZ3qqeSlD+iNLIloAPz8aEFsNJ5P+JcIh2GNeW8sxDFIP+HfXu+ZSzvPCyzpoLd2Py1VkkpFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212313\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049825026?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ewf022uY74f4T9RzHgrmSW40JB7r4vn6\",timestamp=\"1773212314\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NKR/G7HBk28ih8i+loHS2nrdrUZpx8fKsThLsR3rusVaBZyR0U/SjmLQ9aZhdyxATC70lLoKDVHUfiMDo2fndz/qrb7kUFRki7j663udhOPKapFxmsN7649CiYLwOi5u4+vMw4Andw06yr2Vy3iIoxWmOHPZgziGVoPY0jL3JLpOORjKVnvNykp+rWVwxVTNOksC9Xt1GnwxdbIWi4HoG6z9nClDbFkj+ZIJqa8RBswjwJZOVQGFb1l1Dylfv7sAqbEylxvKag+oFmO1sz+nIeL95KZuHnzidvVeqCJxBJXzkzrcv+d3yllUFeFoWBTXuf6MlSpE/UHXp9qMK0GfPg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA5C4CD06107A188EC8C05520D0A519288DD803-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 902014dc6a8efb19342c3bde68d8bc4a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nl6sCGAw0axMsTBxUYIbvt+8bZLoG/yuzHJK2qP+lipfSc8n77p2apU6O5DJZEcL2X0OIDdep1M3GHl8roDTLJYeVQT79tjATEBFKNgRa2LuECcI+7nNZmQPpsDg5tXWQP4En0GtmT7ADcxgqh8LoXSsfN87Sb8nBl3c2y84oIVEy4ZX6zJEkZ2uTLDdMFNiM3k52KUvqGs5xp4rzvh9Ip2DAga8rXsXUDQrdGpi+q1abx+scKMIgYIelRZrdLqqvqxa5WWAeto5bvwpXuAVQjKzmn+uhR2SmWcxVm1CD36M4WvmAchPiRcmo/PHzA6Qsj6n89eVhM6OttxlV0S5yA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212314\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049852824?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2PEfHS4BVPhO32iB0TW7VYXma39FJ2n4\",timestamp=\"1773212314\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UuWn4qcTD3Op3rBVln6voSj2W8HEExDdYZBsFhMYu0WWCvd2UeIXQQBd3GWswHbXJ+4eTVrP6+Y4LX1sjlG/l3D9pbRFco0O1fKGpWD5rqmT+dxo/2qvIphGFxefgJXO/caE5YjahAVhMBOepOg3mWnpYsy8/G7OnXeIUav40I333ZN59Cco+Po9Jz1SK7oV/SAEp36CY4Hd1WWByBVF43vYBYAQ907p9HJICNY3dPq6geKZxUM1MfoRZRgkKf3g3xVIuWeDV0aHn2T2gCafVbRRJUs26I4GxFh8HSvhPhAs4yJjKmoVZ+8xIWSV3zDE9nkMMqPMWMV0WwozXvFKrA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA5C4CD0610830318D4D28C5820A4881E28E9EB02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8439e01062039351fd8292c82701350d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: buyLQSpoZnf/1iXSvoRm9PF0LPJ9TJLWLzmSEZyc8CBVPrMa8F1HxEYggJQdITH6o8lG4dKyVS2z0gT3NQP9TmrneQ5ErwwRTmxWIjPSScqCCv4yWc5SJKwpAB2OVlJ9UL/PK5hpUDHGR9gVsFWp8TDiI9QIFg4RAknzp6HUxJWHCGwr9R7YaUraoIcbWF68deWB/oWERAPwUwvk5N7qkLQkq2anHKHB6uW2C7zOZ9xcK29FCTxlaVYOic9lvhoqgLg+moq39ipxiPUi7H11coITanOmiKDpmoihnAcJ9gs1vfoQXdhUFKAzYQRv0E/4o6+ZSlBZwYnJUGuLHoICvQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212314\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123049976724?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MVFgcmXXvwW2kud6UiHurdQz0jjMLwyc\",timestamp=\"1773212315\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"aeXiauIVhrlujIVvTT5s6ltaeTNen17eX/DtdEZVsiFXrpUjYNMzpPVEc78lv2MIr26FNFUutjryv/5ziCF2l9gbEa3YnIU+cq8cUEVYw/2F/IPddgDzRDwdxlChkSjYXHuK9ieyce4+uDGQRz8cl4Sn5ZO3BFunzD6iJGqmxDWQg2fFM8dXPh9VS8VUIyvWKbtPvz7RuxhChvzZ9P5vy3SxsH+NtRmqTTtQKTDE6LFA7bmJILRrwu/O9aFV4c2iie5Epx0t5vXSPqiTzDMzDm8ozGzZcC//hQPk57UXhMXrupiNJ+ys3qnsSvVyWk4Yarv0FjWYciC5DbtDhJr+HA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA5C4CD0610960518B0C0C05520968917289EB802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ef6e491d0afb7bd0bdbaf97f5eac5abb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: knr9C9sRdc/iXvvRbJphaPSuWoJLPFa7DCFfdmilmuYmUWgxgPEXzxEZMc+plmhz1jPrFmEe1+sDhuARXJ3z/wqb2K5vPe75z3EhxCCtpttx8jtnYm8HgAp5qMiJF4HH/8v9Kyh6r0nwXt7FaOUzywYUagpkHCCvL5hcyQLi/QPbcjWyd7n1OAwbtrcIU3yf7e+vb05cgM9/iUF35ANSvWAt68w1DvVWeKTu2cAKA4DYOuu8xjsEkT1zF9YbFuYsqhPSvSzZ1e+b8soFhS7G/fF/f4mpIhCDrOUOCShlqyKIBr2K7Z2bg5f5T3SlA6AQ/y00L0/adLmFg10HoH249w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212314\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050125607?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jloAnO21FqufQ5I1qnxyAljU9dHqedLi\",timestamp=\"1773212315\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mxrc6Ia16H3OHU1J5RHOpzYdb9yrtWvJCXKU/2gpYKp2d0UfbR/OQL1c2rMbkc6Y6BJxXjnqzw6QZ+3MzF+gmjSYU8sew9wyKpL+U5KxE4M9XlZN8D1SUYwj36gLiTyNoCTd2+ClHdSd9H3Rl4U2U1hW4jUuP7fWtVGJ/JbVyz5EbLSGk3nMw6lHs+U9ICLubcCvs8/sVC9TjPgYwEl5KYGN1sXCViI3eo4Uybozl9Zc8aEbKKffMs01V1JCKL9fcajmmMyjlq0IYnGF/WCq+e1Bpi3wrpeyyBR6SHbGTHJ/8TNu11MoI8QZz0N07gZRdwfNUfXzCD3tcDu/s6TSCA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089AA5C4CD06109F0718F1B2C05520F4C5242882AA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c2d85ce2f1ad69538b870a83f1f26daa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mkPTmsa5IP3f/wev9NGt4VBvbASSmQgB0SkQ59HuJGHE6Mt7L0d+rKGqg1ZtOqX5dCdCJLsoeaOogsSjUB5U9n2IcfQPiGAaWKnQCuSEnlMU/DdabxBfLvYb7Yei6osA2qTKMVhx2dss1vsV38MKnkwI6y+IkxlJonTaGnHbUTE5gVEAtsbniEY6MGWkXnGA6XycmoR3PCyCNWXOGMUbSKIS8FzU5Jlpjk2K05e/fiOro98FvNWvwQCZoD9c2o4RIgO1/8J9Rg4YldbyNfbYyuzHbIczuNXNgsMLuiFDrXDS3uspaC1CDmV4ijNMnVb0jfVlIrWcxMbTIJB2dIBHLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212315\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050128234?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cCDhPxhUDzHVdrDn92lPzB4KGfP2ST63\",timestamp=\"1773212315\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vbl+UH4DLcDFLnJVVrje7jJbBA0a3PN8hKAQf0VQd8eozYkIBN4xVMxHOzgIQqOSXrIqdtmI87F6ljer1V8d6PDMi85/u/Hooh8upK32s4nAXMsqhDkbsSO7WsXm7BoU+pjD6iJqc9H4h8SBBdrDdzp2gnoXucK7U2OCmO/XxARNZODurwj1INwSExRTEmsgfIyyLAomF/OV6hnORwGm/CrIvIK4ab6Y4G0t5zrEi38pOx18yvPs0+Xk+4rPS9TdjYFCO0ojZ1mIFB9k7B79yiMOBWAEy5ohw4wUvrmZFyu+39h+3OUItB94l4PXujyOM7z141bhUNqM/VgPNtsz3Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089BA5C4CD0610DD0118B0C8C05520A8CD0E28CD8402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2eb42036e83944fd64b6501462e127e3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vSrUSjSoIImePQsnkRV9KC16qR+fwt1ZXHMZeMNg+Z3apCp2ah+XepSfNZK7nc6lNRSzh/bi5+7uDo6aelErd7D5MJRogy/V0MhZpiJrVKAm4dYMB/7qgrFRDHWLlgcoGOd89JeFHxVael94y9rZByZBFxDb27ZPS5tMBLsL3gLzn80DlLqDRlAf0+zqQ/eW2mvNyqJdf7mkRBJlL5b87UzLjlXdcR6ZCd9TVm1BfeRhWfKtFf8s8WruyRKiaDbxXFIV1eLOKADcU/PqjuFOS0DR4g+uEym61b0GE0sRxM8IoZ2qCeo2CRpp3oqy79VPAm+rvoe63dDU/E+TVb7wWg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212315\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050244918?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XqRMRnwThY9MNIm3y75n0yIcXj4Xd8RT\",timestamp=\"1773212315\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HYh8eXaritbMyNP2F6NtXL0oszLEnLz6hLJmdf03wBG4YLu9i53YIbl8+4LSodRk34JQ1V+PM4AugbMFzV3C2h0F6Bb847fC/1JwUPTKQNclqyGjWzWSgi8J2xvRlRVzmnt3n4zECCTKcbZltV5EXe2KAzdhn/zXMyqmQKl1aVFiiBsHP6H8kMZFql7uZGzX7ngVYEn1PCdRlIQN5f+/sCR7U/8gQAimS4EowZB9lL8BYu0voJwRrvJUNRCIdRCQbx5b+m57umcCHHWs3IW2Lr1wkS8y0q3cM6JQjHClof3RS8UAMSNQbEkiE+QqODvh98BWWI3bLVD8EmtZMmLBfQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089BA5C4CD06109F0418EDCEC6AF01208E9C1828B7DB05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 91d09816f6349ab8ecbf98f64f27b09a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: a0nWHIq/u7zIQlR0VuTmcqVXVyVJL0xFSz5Rp8qmhDbAtVNu0Kjw9btEDLKypaS0ejF9nzyhpwRATK8g0uJtgU0V684n0oEyEBXs+UTBCHCRmUTULeNxWCZwTf7vmEhbLVCjEiWOsW8VPSWU7LwVyRi8G8uWzXLqQE7asre9ihTEWfzsiKF9kNnX9OA/kB3xxrtGr4EQR+fJ8EkOLO7ORDTbKSoRI5PVDVP0eKBH/m134RYkcBYxkk0buP5EoTZ2KJazXQUz3tVQ5MYeuFmqKNMU9CEzMjrknpomV9XD0W4tass0eTQKGy5X04uSbWJijIPu1ejNFISFpK6jE/WPUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212315\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050851542?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TQz7rPoTQYqC4CVQSbWAeDiJwQXraJYr\",timestamp=\"1773212316\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WXykFl++MsHRFy0ai/bT915zgh1jrzq6U+V8HMLav/xMu7BiDfihXsYLYdyaChHUQmtxnEleA43PIJ4Jmpx10/eV6iWmiFw3qNtzOgBqDh7Syxr8jkSLSNkqhrxJu3f2OQHO/fUyJQPkcevVPHg4wBGEGCvctORFVA+WSDRH8LcLpLWe4F/ApwDA5WLJOBhLLH+gGaSO6WB7T9mo/vi6xNbF6bP7wdmtpmFso/5JwmHWZuwa6m1l/Knz4USP2shm/HJ32feegnBhLx6ILZD8/wuZV9KYAfhtBKYFtAZhEE2pGIIHWf4sIZ7g6HGKZjqHjPqgn7W5RV4+bDDuCZH01Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089BA5C4CD0610A106189F8DA85C20DE9F05288FC102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 00d30a9fbdf04f770e6a02f47c742ece\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HspQQS7Cr9WOyaIcw3fAZCcGQ+hZCBxYxvqyhoSZ39Ah/lhsZJwRkLCW6G7ah8rnd3dSwHslcQyejkAcmw1ym5nmi7ZfzB5wd2JMbn5rUfF8Ml1DGiAf+a7j1p4EcJdPCtGJT4s0a13ZxAKgSp28Jl+lrwwVxiiRkgfLYRAv9jagWSHvJ4LTj/87NIdndgjYXmI6NQnwLr3GAiXBhgW+TYyuJOGYH3FPIHYVz7VoSB/o3vTCbLbCN9mdI7GONlr67MEhb5wHsG4mkQ+3wT4oTMLt8hVtBbixD7Op2Bt6kicD4tYuaG7t1kXZq/jM7JlRjRBMhiReJIsKtlD1v8Ny4A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212315\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123050896980?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"toSxHAcBPOA5sm3DL7i5qFjhDdilbYGw\",timestamp=\"1773212316\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EJZgSe/5MKnznfH2P4BKUw/2nVajy78uWlSwrEEf+wSUMzG+HKmNRZgib8mDPfpi8e1Q8cgmF5YX2IYADNxxfx07iZ0x23dOKWUeD3QV9U77soJezbvi/hNUi0WqaRyrNO/LtRuEwebQKup0JrV5aBTQSaDN8HgdpMstEuji0YcpddrheejUC2sSTri3TJ7N6BA1C8TbD1xWMh6ivBKn/XA6wKfVxt+TiICyzXZKGPX8RzpF0maqZZ9wfKqZNkmY+oa36rLpgw4efsqpSXkklIxHaV0jFDRlXNosWQ1t2Sy221dhV7qwbcnVvrVgZk1nZ3QzPlKVXeBP8xTVOQuN7w==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089CA5C4CD061051188DE6F8AF0120DCF61C2895D103-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6ac29f1cc3c574f0dffcdd666bc8641b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qPwS6eSU7qPsfqo5ydFydo23Z2eVf8DXEhbeGtMe8MozYceop8px9WZAaqz8FGqMUq3ub6aBcX2DJgNW1s3rRhpzTlyIjsQD/mb7SFVg20Mm0TrA53OpUI4E3Wd4rXKUB8yxo+PLx226yNFnEKdvyJCu3jgXHsyxrd9SYM2WeWJ4Jz5kVqEw9iTmP3Xxfaxhj8cBtdE4EiGm2vpkBEhbOmjblQgW5XcYlLUprsohmO9OzHtLV94Xvla+By02Lf+rbqFcqydQnfNCin93+Rlq8HrrRLdl0UXmebE51PHNew57CdLwpL43DG8UKRK+G3RFjCdkytis1CEsFwn58QFrDQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212316\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123051858585?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"R5LY1MlshlKVkJlBvP6hUfR2gAlqtjGF\",timestamp=\"1773212316\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"g87CPL3CbyH2GkSX+Qa1rqsUfqDLMfWZ2AZFNLXkd0FFN9jSiGr6igv9T10AXXNYc4lkjM5+ptvsjLrww4nmF0eU4WuhUpoMqiD4by23Kw6S//Y7QpxEyAnIwMW0h5fYsDDGTc3qVlmbRLHuXxRCFFKUGqGAkW3LO31CIoPX7hRV8wGLq+Lwm+tS9i3pKzkJgvl7XPsQ+JZcMwnkiOjk2EfcsgJqkda7+lKk0EB/lxxoC/HGN8heZN/aFjYkYeLDhOEa0WMbH8Ut1g81OvbUqRGcr+W861Phyn/qIFsJEP1+3N9sTni/zmTMsH1gYtTw/rMwfhlsswQnAqE2xdovug==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089CA5C4CD0610CC0218A7C8C055209C8F1828E8BC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 046af18ffe6b6ef5397f6929a63deb74\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ne4rGzEzCk5of0RMenSvRpSEBF6mdEZU4YTTOy+9bkO8QG/v6ZsUkqlkzmX2BSPivkvqqzjZ3EICl2hxEHeBmgLvoIEc4LfHjmqww4t+hteub2+xANMBlodIjjx9apqJAWkhH7z1HJep2x7E/gZE9uFsqBZCHMTM20LPz6uyzJFYLgO27prlrz4IehyTtHHQZWABEDWsbC5BMIvxegv+WKElvdjijUnx+1nAEs8jhY5YpzwqxHdd7vWF4PZBhX2aTj9uuyLXGsG8yw45wF64QanKpeVJ/4lFc+kDJRnkKJoo6a00/sq6FZexi6BscGV9lJr8ZtwWLqGT4Xw8V7aUFQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212316\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052271934?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4M5Z4iouxhqzdX9Ms7TZtCHUZdinM8IY\",timestamp=\"1773212317\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Pfngf8hptr/w9Qqjr+75HdziXuHpjV/WjtpvD+ZDmP9p1kRN+mKWqdZBEZ2Go5pVv1T5Mx/Ff4eFLA9A1XYaxt/S6QqBa6da2dCMtegoF9zgaTVUWkQ+oudgUXamwwwqJa5p0dyey/vytlAublBkC8c3HK91MdufV2YKaXdsFLJ8nQK/K1TI/PotC2/6hFSLGBaq+PUAoCLy2F48+IfSfggWYgNs9nPYTFx0dVNaPczxKmAisgioxhM6158O5Sa1ZFLBKYdKaCSEevo+4RXqey5HKPl0m7jrEgEZLDo932myx2PAmSvnP9gCQozMiwgobTZHBifpxQq5KnWvIhuLxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089CA5C4CD0610F30418D2CEC0552090E61A28E76E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 80cc1a998b95edbab4ab898508ccee54\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bX0DGs/Vt9begwtbvZrnIHhyUJ7vPu6Ac5+48cp5ciLAEpLOuZ7SsUdt+18mPvLmXnolHI70xFG6+5Pq6MLO/tJKIxFQWbj2SXGDX1mxxO/DEoIC0BzsD19y61S7AbJuXoOSuGcwAH8wcEpJ0/Jc3S3LT0lC36xo/XW3iSVI09STLYFUSKCcE+k3TwBLTRmkRAH9gi+Ud42BRxgVZqRYdMCgqWS28ZpLlt25kPVHd3Sp/OnFs1bYQjK6ocZmbK3pO27yCyQ4vQPa6jRtrZppLFoBBgLNT8Ja47IkMv7XNnVGZHM45V9gL2bfAn/258wN45Cy6fpjEnerPnyl+9WsVQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212316\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052634742?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HlxFlghVZwDDUJGvcE7j3l8PPEoMHga2\",timestamp=\"1773212317\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BNfxQ/ldGpbw/wj96RQ8gi8Vj8RRWkQh4X5Esoo9IvVY+qEPhEjVhYOtcjX7vwRdLCqDgCJ9PSPRDvehShsSMOwVi1TDmdGPv24bEpKPzYf3v2pjzOGSXOymHW1DoSsXTns3I0S8jcXEVUq80ydKW/6EpwbKR+ijPwgEnjQqkk73shLynNN2gkf0XWWvwocZZA5SUyeuN4Bq1+F6LqK3509cHlFTRRTBg0ne25OKx/8BfEVD2ISoiIPZr2MQ9cT59PvNvgZ2YM3fe6GJHnKLo7891ixVD4Rgv52NeINrtNLY5bMwa7ki4VhfuvlMpcac7scNNfbsp6ljrQ5yH1NQbw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089CA5C4CD0610930718929D85AB0120B289382887EF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 36c96e3bb50bf1775b3cfc50f53ed274\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CXA9wFfDsK428CGeOt0fL7OQ0+BTyMGGPcXUAZC+zG6gssda8KAMIxCj792B0GqDTr721SXHTGtWZBLcfjK9aM3/bwGDpc4Fnw7flWFKpjkhy7MnGpfPtnmrAeGuJZxDJ78thcgrekuN9HiR7IKnvs7JoxlE8Lp4IvAJyRWMJelYv0LjVjd0MAw6NP0p55kOcIVXK44sQbfjszs4HmmLG5MPiORxTB74d1vB7rqK1L7bsDqJN7VxMqNDD+dzgD8MHl8aQ/5sTTbk0JfEe371ee2DZzDGFetkIY1BBww1ffoEQSbXx1K+QJMkfHub94QaDqJ5wbW8BLSdqYWdLuIJgg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212316\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052774148?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6j8eUktlxpZ2AOjGLJj8sPAyC8odrYNo\",timestamp=\"1773212317\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"d4MvX0QUeo+S0F0DmpU9GIL9ZiN7r0cMuaxZt/xwXHoyc4obr9nTy1+FBVg9/WWSeOlK+G5WkOEE3R2+o4ao+rqCG+QlBjW3KU9RwIcTVcXBrSqwvlHVEjuU8KzjYCVLWLKcOTZUy268H+KAZydZ62UyiOLbGYWyJxk46wkxzb0TO7eB21M0w6wlonGeE+c0XMFMOfe1bySWrfeC1q/GdRCrxyb/0f67VbCEEDPY7EEEjR0iIUAavz0ynkwLwiQbQaWklv69LECylcthStcxsd65RoJJ73L6KhmBnI8OQuTwiTadnPey1VLKv5LAlLNPcdq6l8Omwjde+e4xD2fpQw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089DA5C4CD0610B00118D6C5C05520C6AC3528D0EA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f0177f5e0360dfabc4a2d41cca01f55b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oyRSs4iKbsOR0fAvk1ni11okZZpdFxPDV4isI4CfIhGSHunt1ijrcuRiw3VH1eObuSUqwavZPC3/RPByOQ5RbLcefcG3pOdBFAn+m/3sWLlZx7NQIYshDlWb4xrmfLVHNXLWot6t6/Cfs86h0pdFhAFCznrANGmNKYTzR+FknPBHNyhBM8DNXoIVUJOSARgxvV128isZ5JFJGaLz2UFruupS5RVkVF5vyGHAB5vNz+DKmlBc8ruuZdPjELF0gbm+cYlSyNyoyt8SKyBSPQ/GKV4orkZN/anWh7KavfvCCqt/crbL67U6arndMe8hnDxl2NSqa2ILQfBq0h94pgnmSQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212317\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123052964022?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7IVvXHMsBzjXppwaavIKOOHitlTcEhzk\",timestamp=\"1773212317\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lBcjeIAuQMlN7N3XMHfkPHMwSEypns1XCFJ3BuvCQL6w1X2duwtfMDVA5zB9W1TvUUGr//Lf9wCPNyvwRDJrm7sescFp4dh4S55s0bI+GMb5/tBH6PPGpa/cmwmv5/bUkmJPE9qmZT5WgDY1/e9IIqo/qK3shJctqTE7fRzONg3IGJfzBVHFlyOa2DFrnT3mFftcNZiPr6qwYJxe6Zg+JGKChpvxErsBRiKBC1W06kZ7mYu5qlk/Ddkw3977v2guVGnz4bUtii2FTxpWfwLBenn03MDS24TsQWrkLwzDVi5FebwN6FiTj59qUlf25Rb+6AXC9d7ZQl2wnObinuTqhQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089DA5C4CD0610BC0318AEB2C05520A09A0E28E2A703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9afc72bcd3086a972615472c573f03d9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: S3Njgt6h10FBorAWcf5y1zZcHCJl4SddEnBiWWfr/APAXb5zPun7GU9HLQu+0vNemMdxK+mnTD65zSWqz8beHlrOrLyGiNkDjnFBAmI3QOVoGe8ZwvPzFnQ1rJWGVkXZiyZUzNy2CPHpwPTGMod9jlYtGkHYvUwVGn10V7dqa4XMMdYyEGPqveJYKC0fkYgYj8en6VO//MIry3cYOasZJQwr3zHehg0Y9hd0/1SuWEcWPQ2SifXMPDCi5LqK1f2AkMpjWO4pOemNeRMTYvQLaFfj39BhyAZk2xK5rclq9KJaFsd7R5MK4GGuaqclOqEbaZzkAdDKOarF70sBbCq7EQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212317\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053081658?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zLQMkuoh5hb4DTrEUseSF5ZRepwfdB7J\",timestamp=\"1773212318\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VAYHAbTLE4f+WNzAfvSm2g+xcjq11FKEfiBhSwVd9i6RkyOudu01i5wdIf3lJ1uvah9cLCAlrXA0rzyazOboey5MOP4BR0dFrZAjh0pP5iMTFnWYzHqa/AdxDfvMNWJfxFZNsNUYxVTG9dcNMxBjkq6dhH7IiIzjVbJZfJjrIUO51D7qBhYtwX4FCMkCXlV3EU2WbFYQ7Aw4q0Xo9YckO0dirN+NYTtnjPHx5YPy+4xR+pwD2hDrJzSHsxmfDkWaT/3AZmXrLJ0ar0oZ5f8WBid62dJfQDIAQCVTKA5ubIl4zWl2gKYtLfCKQJOMJXCOB0jyA3kMVADJ3nB8P8XD1A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089DA5C4CD0610E6051890D28C58208A8D0D28DFE102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6dfa069a8b4b14b102ce4cf960da4e29\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KJJZBg2MExLVgOXIElOvPHl1MsHlWfgQyUq8pMHCW4j373ulxok96fXg+xCWPPcqukAEiYK6oW+iyit8PETRLoOvyBHyZZ6rwy+6Bcxpz0cryPD05DBlbwSitRFAiGAkzEbOyFPMrT8SbZj3CpKjo2FRehRC/5FOxmQAXc0m1l+faUjV9W5HOKvUmfzexkPxWMUDchyuFwJmrahounpI0Z1sHonl331taTIuqknxD3VIa8594totoiZvCKlZ3J615pWgAbixLQVDNS1Id4p41E/cVbCEFTXGjELBgU9Tb6go6hxVN8dKdhAIZF8qustNjw/rZ1+bYI4GGgvhRSDr2w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212317\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053177534?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cg7Qvpo0DpMvJkiWf7J4xrV7XqemiEPV\",timestamp=\"1773212318\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Mi2i80CijPPEoVYjP1YoW8vOdjT6/7E/zhbJWc6y/MeqAVBk4vsMSTji5rIhaHOIkut6g3cu8RevrpeTasrx8tTZrYOuc5+yaO5H+pSg8rng/6RGPQ8pdVp3OAd+M0Y4NIWcE2xcd+LgnlPFfNLAFSOEIEG7UhNl86wlN2K5SsjBzkn5/6rKZN/AHOyhzEB7EXRYKkIFqSIByhehuQjapZwS8ZhK7F+CssmtkfUAe1F4JNA3psSWQopHs8t8R8tItm81VQYnvJVbK5MQ/gQEj+8fo0059WPTQ04UQjC4oMZNZfxyPDlDlky5c7Ik8NNi//K3v6Ut0xzvS0uCfjiWZg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089EA5C4CD06100D188ADB8C5820A2CB1428F8BE03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a6bd19d4fc2c601d3f1ebacbff1645e4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PBsFUbsCrGBS3B649rn/PdSQcguwEMGCvw1xBrukxaKe6gavnzo7gGVNAmmXdtASqYB3eS338AHECfaoJZOJKg3eL4cyziusDwb00nEcHFVU22xUnkxN9/yv2rTlwFAQE6t5UUTyaLXVYtgLAsl08nJtxiWpy96RueeHWYGXmyr0kC7I4WYIWgzkO9W9ltAp0xfwO7NfiGMkN462CjuwO4Yxy4GxfzZB3DRGGNRxBG7m5+3496Ll2/Qr9EEAO0h7AMuuhezm5FPz+v/gW6G+HvajjV9FiCV7ZR9yiC/hK4kOkihUWbZqA5vzfSutiz4obzb3FCJ+wVD0hMNv+bURwA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212318\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053213642?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FpU0rJUDgKNitnJeqZlguNJCzq9pHBC3\",timestamp=\"1773212318\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WE2x3uvUa4pZ+THq1UzSKG2rSN/QANdWA6P/6GS7Uwdw4R9kU4Tf/5lAgdLzo0njqiJYHHPuVmFsVwTKb3T7zW1YvKjnAHP6M8IsbBrDglyqXyc+vd6PxDX5E/BRqTm9WPDYJ5J3K6QpEX51yJpXE24NGkjEhuyCzGTaH9DWROyvy/9tgcbHFOBSOMe4hzfATIS34DZer606zrK2hQ60Naow3KZwMxYrls0vrDnr3O7SgjwH18bCpETweYyBtECUcfo5Ic60z1ZUGoHrRWwzisjNb1C7j07C9JIsrCSwC1o4pqWMtpN3eu/706TiRqX7sDCAbtruxG3QYP/0d4tTFA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089EA5C4CD0610930218E8C5C05520ACE92C2889BF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b8bcc28b1dd57fe7255f17139c787519\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GsB+j8Hnhwg4EhUTpyrI7oP0F90pwo/ud05nfYBcfACB7qLbWHHnMz9vIhBPNyyrDGjIk01mqQUFBmhh8qjByh8/mK2IytKUxxTIuKrfKP2Uy7GMEcoxrmR7ih3TWAOI4vApDuodOW5BYbFubPNTILIrx0uX6F1FKG8aLDbKh1dWR75nxcy79aYhMd4Ms090E+BMxYzRhQQ/kWIfI+C6nV2MHXAJqIGV9CIYwQrIYz1eMMi7+7Fef7jccCQAnlj7N6PsapCbU/kGEkUy9CLk3fBwcFk8y31wPk9xZCKVcJRS5SHMT+1pR81nvF4pdW3WBjptmYbEakv4kH7HNZqRbQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212318\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053252317?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9YVMI4IN6BJJWwrDs32pmzLzSHkRYwpf\",timestamp=\"1773212318\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UoH0GcfpeZz94lTEUfMZhlcsEm33xnUqPT7D+DtM3C4LJI0Uxcpp6SKzPnX4LPSvS/B4IrH5vG6HI0/Pwc9uPNdYiJ8kJfZq2pzv8eA81HI3dOTJDermsCD5U3ptveZMBhyAGkaRAtuJW+QQ6Rw1Rj030vXGgToY+EnSHGpzD2WTHnpfFezWsQ5WlVcb0MYM74CkXEDPlt+0vP8a9S994MuOxmYJIh8LNBvx7yLJzgvlOJbRxDhIhyeko4Buaa2g+Txp9sG0hssqHrxjqGO73uataZtM6uEdeKlI1/Y4cHMN0N17nMi4oKuUTygdYlMTVIxQTwtibf3+KCYJ7cYdUg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089EA5C4CD0610860618A68DA85C20C8933128C09A04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6180ac1377aab70a2acd874d5299fe97\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PxKaegZH2whH1RNIyJuJ2stUgIQJXHJ3n5YJZzO2HREJsHZbCTZeK095k+PIrDRZpfKrhcH800MuFZdfW+RFlLxTBFuo3Lde/8F6178odiQ9WXQ6nOlupCn9uh8nqxqRbrrrO2PTGPxEfcoKqUG4HofpNQ9OD4Bw2RFGd9wwyDHSb4WE04SlZ9BciiUXiEQnWuqez5E1S88zzhEqyA0uFNWlXlOW8Q1pzKjKI4uam+2fiuOrffAO9glu9AJk/4YziitbmBQTVWWICa9nE9a6hdeCdvk4dMjNMKskgkDpr+dt48mRQa6qdPYGFgHRkIxm2LmVMawRyTtLmPlrmMZlfg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212318\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053708980?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7KQFn0KJ9NvAI5MtHdrqUF9eVvbjA1pw\",timestamp=\"1773212319\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jhxjgLT/jjHSA5OPkXiVKlRO6pclGirLAgGFCVBFxtYxyIYvWal0GoIFmOdy/aEutWxVH3pUf9/Yzyd5VX2TlzbKSyRLiMtTQaYo9i0qycs34cEPk9ItgZas1O08EWk1JaJpO/LaUjH0xKAoLpPMxeJI/WGr2/HHTMOSUErxaNpdmSecv9lJ8xCGT6rAZvQZNQwexX8q9gyu+I8j49RpcKfGTy0HS9fNPRlF4YO0BZWcxpx+IRdJSArMSBMKhK88CSNyfbsvga6PB/MnyYuyuuMZlbp4+gzDjlanfJjWsADd4vokmmPbseh3lXCJsUEWzIZ35ypaDk7KSioHrn5NOw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089FA5C4CD06102518AD94F5AF0120A6881328E6FF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5bcf34ebf89c46ecf13202acfac3dcfa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Q9X4a49YugUJEjTBg34SIYr1pngxBA9bZBGzWAWQvZcHtXv5440xpTgkdtjrNuiKPm+8fARw2hiGhZD4Le0YYq14zvJyws1SUNjNq6yVpuc0rhEl8c3EKAei02i9wCWvo3tuu8CkoCXIYDWMgWSstONhuR/6M2+3c0LAYlracEdVk5DF1dd8YGbswlsjXwAWG8ruvYtdR5L0nKdzvB8YfSpj0i2bxzNE+vNE3L7Tx8I/UU9kVcXi6Wf34193Y0iPNJVzgm5oxeiLYA3rZTS9wJRz82ZjuANSjQz5bmSJ1tM9n+ZyriS4MKhXqAizq18It/R4nRY5rSO6T9VI4LvnvQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212319\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123053825266?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"F3ZbbCizPicZoiJvtxyWR81ErRY71x0T\",timestamp=\"1773212319\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zEffo3jGSglzzpHZ3Z8Ben3lTjMgUXbes6SWWtUnoPPfK8NrkcdpIqtDSmwYzfS1y109W84AvsQpa7qMoHFQW/QB4VxS8sDqQjFCF/LpiY4mqyJA9k1TUBwP84ZKKtgBHa30zWDw7rfgyiXol0cuG399Coni0eGMGHp0uD+6E9SAg+cOPFPKvnR9/4U5XD781lcs8pAd2d+KDeX2JZK2dhmVb9tZ0mxSG19RdZ+Bok7vVu0F+CFGFdSQDVgAfSmFef0gWPufar7rWZCMGlE10LPQfKvx3JTWiTPLWUQWNvVqe4fbO8LWwQW0sgJgREJVAlWSATHOa1uQLYCk7UDLmg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089FA5C4CD06109B02188AE7F8AF0120C0C93B28EDC902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 14da063c4e38d99f6edf465fbd553e5b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OqZnaEHg4TrsZSRqacff5Q0Nxk5H8bpQu5i02dm/0aNZT1Wwdn74piT7SeMiTUSp412/SHgYSrEPh7Nm3yBI8wR/lzxdc2S0oLOhhrdBcbVoHPxCd24kKbdyZHvbB5wAeR94YiTGHtYnjEHFMhdC68jhe4ZB4QmSQuqIi5Hz4xLjYsxtrR4vxwNK3x65fOIOOBtyTguAobKleAxuSRugkYaHqPoKpz6iPWzFDoxxjaEdVpf4+6VTNwhH4drBM6xfEVTVba8w30alZPJgMcIvfwCCLpLkjm2PxT6Rk3WiSO1+pQh2kKVgj20y9NZnzoLvlm7mMJF/qlLne+v8vmxfhA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212319\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123054106015?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MJG9ovaRDsXrE8CVs9DHYPmUeT1OiMA6\",timestamp=\"1773212319\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0l4//04FL8xZgsRxNROjD2yT1f4esugB/Qsvmf1EP645ZAN/j/X6xIkwUq72vC2K9H9r5m6IywSs/OVl5XBbLtXS2UKiWhJUhhXyDlUnqQwYLoDgjMzaqp5GnUSAIWWr4DugEO5wjt+GrjVnY5HTctH+gtBfMYv+aEibLzuqEX/1Y0XplXbbx+MV4/DoaZ6XhJbs51MO719ORXP/7SuQGSOVTWtVpAZ46+Zj4TWk1HCUTkumM8h1uue11XKIK3qU3fvTTEoCBhpPu24c40w5ZDRYZlspp45xuncfo/fjCCJ+X1e6VXstsCjQ/Nd1M3wA3PUP6SNWdNqJ5HzZGEYNWg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089FA5C4CD0610CF0518C6CEC0552080D92328F1C703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fbea78dc1ab8cb34bb75a9c9caffd47a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iq5qqJNnUrjHFa1EfMSROQcr6u0vsJuy2VhCKdjsdeFyXYZZmgYT7Xhkj4cW62x7fgKfAf5kdqB+IBF+SLh7jS7AdAMDWt+hlLbjXrmHvdj39VczYiEoptkYFpeCEI/wgrfImO/UFl79ljRWu73gCXsxx6L34dhcXFz2r6VMdo2nzDNfi9xGweA1iVd0th4+UanofR3NecLY6WfHwkmrkozUPjULnlSopXswejkACJIHMUnlg8Ph1MUIPT09t1JvqluunNSxRaqOY5FzhlEPxC5AmtGC6XbyjxDO35ooY+cTLCcvxqbS1cpNv5gyhnn4DLhn/LWMBA4QBaVKPLvmKQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212319\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055061717?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Z4gxUCaZLybjDd8WcsbzvEF3a1axwmiv\",timestamp=\"1773212320\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"f3RL9PcOEKsfcoZbfsaH5yLqJ6WnOBYcnfpsBVjudgBZ9MwqrfGPvu2rG5XB/+MCZGFxSy/qk2dU6jn3lEfP6YXWajZRihvHugrgln419BTBXs1j7U89cIGtt0SNxqoRUPueff0JujmFmv86fcdxguARPNuQUqQmmKG7SbgzU7NbbXNTwxK21mmxBhhKM8G3uYxZ5BnLqqRJdv41ima8l03akWwE0HrzBOpnxt00bg6nciddTf2A+P1c9PmrVNAtuXtCstIdJwOXTA1ZYD4uXrVOpDA5+7bmZK5TO5Sx332FCWTLd0Y3eT63dv4kIksxnuG5cUIJmT3Pv+ALw7EAmA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A0A5C4CD06100418A2DB8C58209881012898AC05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 427d001f44fd370b5b2b4586b6e57fc4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hUJtigXxiZ1kcW3ACpkZwIi2whITxYhpBPRXUD/s1KWj2IJFPBszt/QZCrSAYr24imGb2mdSCd8DkOTKJCHaLHEBo2fMSCb9Mew/ToUu5FCOiY5RIjzBU9UxOV/nE2NhIXRPRnOlhLmqSqjeQtrPyKek30P6HTdbwWaQvfL6Yso3G9u2vkrfGmL+vf6Q7w8jBxAZhWIBPnfltGfajRc8PsWKxJ7boTwKFA259dz8XgXVl2fDXybV6kEKLe3kM/Mr5dKhMUJfwtoUuZBXFpaqhQ6ELo23KS7U187NGwYg4JBi2lWfzOVIDiJrbyDgC7usSQmVM/pJwaaxAoB1X0Fd8Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212320\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055313406?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PCpRC9PDptX9pI144o9yLsvJmybHy3FP\",timestamp=\"1773212320\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zcZdXEly+jbU0+vXsj92yhnp8HB5UkZZaFrG4tUBkLLHI/Ow8MdAQZyRryZZjKo81ICi5ORWcWWf3tYAeBasZN613/XbchBdHz5R28Ov4MhFvTRvwaZHD798baX8ZBqDDG2oIKBYKuz8ZdInQ0syB7gGiBpc4948WS6LUnUiObHYSg0ua/VI1GTxv37V1mAYOo6SON1iGAibeS3KgcNgEI+3OY6ZTf+ea4gO3ly3aH3XyWXVdlJ0HuI2Cd0WnLEvSZN895zGbLeKhSvFcnFeqL99t4cdSzlAKJvQqb1DLFAeMkwiot/pY60BtOkAg9zBJPyA85fMg7SzEd/hUC9fMQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A0A5C4CD06108E0218CFDB8C5820E4CC0D28FAAD01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 631ede60230b6dc433318edb9f3e4f70\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Y3j+nS9SYRJqB09B2RyntZO7NJXhXk2kQieQeoX2+ocIOCkyZiGYgjWiGT3PqnVI+USTOUWwkLAVBppia7PCJNcthBoasI4NDCmsB+U0POvChuGrtY9CpTqxzCbDi64vcrgmp4ffhOyARifjIFQdcOTpI7FCH9UslPWkFR7Xvkev6cP4gOs7+GFF0+NrphVsquY1EuKHzh7GDV/37ZBj/WgE1hVXdr2UDN1PozIPK797QstIy8fHpGfxQM4JDKxlCmbMRu31/NpY8IbeebV4v9wmnn2Ts58TRvzYJ1wpxmhYm/SqboC13pfpmH6DqOqeaEXNr2by6GVj0x6TDSo2zQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212320\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055633142?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"o5CRlQCbrBXUKWHm39584dAnUzHPUQyN\",timestamp=\"1773212320\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LeM2jPn7DHZAXtDINR5gYfUmLOX1daWblobTt649tJ/XqUjyo3ZJQNl3f0vR0PVeNGqTy9hh8qIvVUAQxk4xTZNcqt+uKiMsNclmGPMaYnuPIuKVXVo3svMtxFabk1wEhADzQXngbDkOyO2HBZGYDzawEWoy1PjAxIFCCCiBpRqdvvr8eBG3CzxHAOOToIkNiiTVgpmNUmmotBK0DsHeN8TsNrDw5aoC4pwA08/ohmnemQfP4O7oNFw/v3inLJmS3MohSvBmCclAE2IIMJL8INHIj0o5KOs69Z5RC/9vkPg1M8GPSKZnU2lC23cfZSTeuAorb9FjrphzOq9V5uL+Cg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A0A5C4CD061097041893E6F8AF0120F4F216288E9D02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e3418aa20204273b62d00f49ed549e01\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mJ7yItpccl2No6t5fstPG0PaQNAmGcPdJ72DQYOvi/DwZcehXe+EXKNF5hp5V5KpAVGtLb1IYHzOeA0P0ocKG25S9TJ/RPqJ1c7DHKuAp8az26HCz0k4xwi/8yjsQn1EfT4IvQzMvm6gMvc0e3sOHcLU5q8AXfGX/MQQngYOl049VsNWmzwkfv9qjmKa9ML+xjBGj4yKU/teCXV/5L4tpQ05Qn2qhoWGLTSc5j1CURGYNDw3SNesnTtUioZMu0eknUTQsG5uU843kV4VV1ZAXFBB8XJF8SwaERUob22E2dpz89gut5FCmyHsWu2H1sHSnSLwBSvJy70JFuFpzKJCgA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212320\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055810677?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"t9nm7lIk3beJF4KSiJSfnqKpf5YASuUG\",timestamp=\"1773212321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"snfAJ+1wgaiRYfdCHA1Z1busgk0/U5x1YwzZFdrVN16JI0vLTydfS3f17K2qOnWv69d+5Q0Nl8DMPyuYaX47JK8QkLKYKztWxSiDENjAEFDFm768e7+CTUR4MxFQrafNfK3rgu4S/4oVCkpTIAoHlGEppKwokV0xgLFf7tSGUfzfwb2Y3PKGiT43p6ZpjCuQf1iTpiOszYTMBVsXAYD5fY66SpHT+YBku+SAIMnMmeyd2kvs+WxgY4O37VaU08l4b+QS6THO7NbFQ46WZgTGujL8AhWuwBl3d5pCT05hBYaOevAFlHy2pfkoBABvskbnkPT2VE7BxYL9HwOrqCNXVA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A0A5C4CD0610A50618BCC8C05520A6EF0A28B7A503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6c51bd1046841d21fb0875a8d12bb7c6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JaU9QYeGC3PfzVdWtHQe4BNBxRTsmqjX1oVblVtefgu+01X6nOCxuaWtSYytrXCxSHVGnMoA+du2WOddK+p5phWDNrlYfOHzHRwVSWJAe9jZ3FKS2e+vcRqtgn9QUz7MpEQWX8sPZ5MeHiiqkol0rZvy34wryFMjX7A1d8idNgzFwwcYy+S4yodODY4bLjN4uds7ySdIv2tir0LcktZEGAHAUWgnBh1iCYrShQSTXYkq0fDBxXnY4BUMtpKwkvDLMVCr64s6BcpH74XTP3Ho+OaxTU/z8Nup2K2a2AxcQF1srDlMGv1yWM0oj+FJBcblvYZn4H1IR+tlUzGnu5kW0A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212320\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123055939506?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XGBWqEXhkc4IMLRH2zbajdtZ4TBgUzSh\",timestamp=\"1773212321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YeqQnIKOuTyWKH9JjulzVfDLf7IDfOvL1IpeumYcbZdoBJvFdDIHGfeZC0U41pQqtnsu+nj8YOXMqn0J0cXcPP6GOPycPGz+X1FGdGyqt+AvoFhLBI2jPP1SktCNOurIXu3R7qPIuiqDqcFW/cO7eG+W5gY4+cLTRxkxTw5cUXptaqrVUtxfXdg0OTKY4/8F+jnb49/qk3LP3ho35jOJ9VvU+i7IfOF654Vg2H6770HzTovFjoG38uSu9gvKn9jV3teZdAtXDMruz5PTvRqI53DY9FNbRSd80uZ7uDXHWHYGUq6QLsuBm3zhN+/pJMvmCiTuCzxYKlv+5TUd2p0Amw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A1A5C4CD06104A18C8ACC05520D8D90F289048-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2955aeb8f4f8d15a67925aba8604f763\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: fnBxS4HevtW3NaC81Bi1BOyYzKojvUQhFuGBwGfnOgS0w7RoKF+Wi1nIz8lZL3Jo4z9Bp5fEW5FltvsP9apuo9IKdZXSLsA/MwoPH56MWwfJE4bqIyRMJmqm2rxoeAqdKNB4dTUi4gDsT/eFZZ5WMCCGe5BL4Zl812l8Fk38mqSSNVv8LjWm5xf22FL4D6SoZFso+e72eiGtVUCwaqWIoM2560MN/JDiN3qFzUcGlxR1p+V+G6tdMJZtSTfWoRq9/TfuIApwZrsCuu7Tk4iCkjZcghSV1feNdMYGasEdoLpsZRSkpw6Wtt1sTUbrIQiOvobP5mM6HKdxy+r8SatCSQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123056137837?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LgLcsQ62M20RG26UgUUd2aJCzwswasim\",timestamp=\"1773212321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"otgAAS3AV6DJ7NI5i0jLplS03F98LKOMzqqT+smTUM0F0in/a4kSHEeGbKI6XnaDi+fSpfXX3OO3WJ5mh7tKj3X6OFC7wn+/dro89HM+gn0AjH1Wur/3PQnLGcIfvpaW1WWOyCkwSbxHYbR1yZHslwE+58J6ur1OSQG3ASXmAZJQVZ7jIzZtR0RwbI3dZp2HU1NTZQiy0yVYrORidnslqUuVTJ0Q0f4ifSjGM7gw2ybnx/U2e6Q+uYFqucYujT1Kh8IynwswMPC7jjtYqMxkfuzKv+wQ4Q1mmGNmiH1+d9ONqMOGscSVKHAhpbWPulu/lboUcgpJez0+NXbgWMTXPA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A1A5C4CD0610FC0218D294F5AF0120ECCF1228E89F05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c62a282bb048df8722e0caf56fdea5a1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DG8teCuk2OrcAywqo04pNLSMzdmF15qbHFEkZ3sIhkVUAppByx+qVNkJ68izYn4+PKMKhTp4Pi+jbM7q/coHnOtnD8LluZA6xgjNQcwGbYi/I7WugGwQI3TTUAghuRYpNnkGld/x2A0xVc96ChrJ025vjPr1e3fTtOTUBQJbL3L6bZZQW5HZNNzL2pdMsuMScvW1whFJILWJLhNoIPekB7C8Gq8QtrRoBvqIhJxbKGvS6y7IVwDew0ZVbd/7mvn0L0H6mFwplfery8amzm5r93xq7ne6bIXL46JU1qAGJBWrYjpI15/fSUXqQzbliEe/feMG7CJ7O8xJk8UX1wOYZw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123056707042?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"k0dWI3T92pFesXNh1K5oQA77ynyJUy0c\",timestamp=\"1773212322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"str+4BGaQ1L7HX4C1ghjf2C79YgJUleu6SAtCVDONEG3RY0qMumVCVHCFBUz8AwAS/OyIWKge/9W5+nYCDIsNS09DijLytSoW/QXIwJLgt4JURCXiag7FVhYxCeAdpidPcypcW1+qdCoUaq4VJVQSKhe2ddLBbFYfZFdtZG8JA1crlE2o0FZ0GV4orFbCxJlGglFZs0Rt4nK96Rv9UacTyn3qGr6odRVw/NyrKLV/QnZTIRJmM44hjeA+DT9W9+vxrqD0zUP2XypqrIh8nA0EI/2B1Lykuh4sIMsTt+TRfaF3blI+H51by5/lDvgZU/lmOHlyR1T4PBJiZzJcPtmdA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A1A5C4CD0610910518DDE7F8AF0120A8B60428DE8204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8a2bb3161ffcb7eaaa683f4903e4e3e6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: a8NHWc/X8ZoSAavfxblJtxuO2rrttjUt8WWp95+OULLoR5lrSTphsW7DV5nmsyHoiafdL6qVevghz7JnsE2VX7AIIY9PBoFO++Y3VYYl8tZaaHDvu5BbpMyQNmsFNt/gVYdPZzimf6QzEqo4csslOLrAYEd9x0Ijwt8055yfu5+4XWO7d1+cpKLVvkJcr/3nJZWEqKfEthylpX02ZrOgKxggNXFhpI4Qz+FZKA2KDDH8IfQbm2/Xajq4hBxtMya2eFVuWySB1PT+erfuBRG/SPhAZ3I6BVntilj8WFCmemYPLyGaYEHdR+/28MehagxGwr9PgFQQkrpGGSOuS8WWuA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123056833803?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dPeyw1CKUnLHcr8PkY79aenkuDfIaz3G\",timestamp=\"1773212322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wx0zF1oXCyE2IKB9QzMSP23nxmCyQHTDOA8BcBZXnrBN9Pt7Da6GpfsXaXGYhxa4/Ff5vGYkHzRDI3tRrlYHDcU9mAv0d6iB3YkLedvvM5hgPNmw0bMabftcPcQ+vrFMA2hPpIECnAiC3YrWhcp7s6mc++cyfRMYs1Lp+ks7soLar5zV0ahtWzzZafU6gMA+KdB1mEh8CUsZbWCl7kwPgPxScD9BeM57R0ZoVUmbTVX26lkYoVaGoINiWODMLnRUSzdJQS4ec717afBECs3VddcNe2AfBkrvMlxQaz2ISBN8/eX3r5BxL7SKQCE0Xv0xhlOyydYU3uywkfsw6yj4PA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A1A5C4CD0610AA0718C494F5AF0120A2ED03288F3E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 438d44e723a730b2b7b706ae79581bb9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mwR0NUgQV6lu5h+vu9atvMRXwIMcYzzpADIXHDRWJdM49JeGKEkhbiEowx69IFOyxnDQ4tO5A7joxvEZfJd8LzzUDwbiz4n9bUJaU64UPytZCFGMfEjAxDJG5eMjuf35Afg2jvB4APL0iJMpWFyCb015WtMEAsF9kiX5r4Z7T10u6nOjgMUTOw0w2IzLwwDWeiM494r0BxnrGLl5nkeg2Y3H7gAPY4XhWGty63GzQr/VWxOPVEWjIrz6uR4qAPsNaYCOD/6+VzHbZz/4L+baCaoZRJfeUBYSQGwhZmQel+37b9BduhLh6iUIKBlcEldTVvnie996q/7sbInF8/YxZQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058213346?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZnFyz770f6WMZcTcbhiznNuto3WUNsIk\",timestamp=\"1773212322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ih2ZqZvrqurJUEkTNM3mmEOG+dUbDAG5CXfo2Tn2ZIEMg/urnDDmLzwRlAc8AJUD+P5lpztMMEYIK2wGgloSgngAX2UsGqTvR8oY3ZDpDYE3pEwfP+xdlvhGR64rbDf+6aQ0CI7jcCTQHSLd2Dy/Gy/L1XksJs6/nMKgSpLuLPCsNM1V2AFHlYfSZy4nO7Ru/cakDppB7u9VvUjV2ubcR0FRQqRLM3nJduTYiuNxDM9G1E7yQmnE8X2O8D8pi4ZW5q42BFen9uRiN7VsTkWiSTaNTF1JREr/Jnel0MSgVRaDqEq8a/Q3KyHo9Hpss35GRY5lsPp5ioWbkoavcgzOfQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A2A5C4CD0610DD0118F7E6F8AF0120AE8A3628E4B101-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6355329b799f444f65cb03f6ebe24e08\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YO9I9oF7OP6R1TPr0GTh4lIcZ/7h07UlDivOFv2U8XEeK/R2fQJhfLR3T4fahfGFQ2DtyY9f9VAS+cPf2FvA3BHxvmnXsxTBAcBPdSMfyD7bYm83qyJHe6kYMD7/pBB56R9VZzYQLRumgBhBe30CXfk/Yi2SX6rdlRUBCcHKbOpFZyAyDEai6ygsgrSknZFOFfsDCVCteVk4XKq9IEcbvNVqz7/S38L8Eih9eYxW0ipCsm+v924WDL0cgP9v7llIYcISQMDmIto33yvjv7sN06QMoFuVrsHh9xgh28YMslJo0heixB6pk6NYlrhNrpMrlOQlcfcJDoariRIkw4s3VA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058226910?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"70kSVHN9a9iROjdApNJrL7a2LSeNVZlz\",timestamp=\"1773212322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eUanMVuWhNEh/Y7X0YXA6glG8aPcxqv11lUxNBUOZIyqOywAZmEFJ5dj7bWFYvweC3c/0C04fpqX/7w/Vw/2uxC4I9oGXSymx8g2ez27YKZLqLIphK90PTTdk+D4WT0zTiO3cp3RvpQkvt1ugktLi4iaejcR6uBUIRCoQa+xBAsG4u/zb/7e8/icIIcNp129gEQG6RhH/6ArAmprpHYik4944OQUjmML6mBdVGOIsZuaJe9mYH7WTXy9SboMxJ3bbtUQNACFXxr3naJhG4OoP/Wv55OtBdoaglkN6B9Y7hu1oLBrciEVrKfzm3yB7uyERg4dIluynKXp0/dhOqgnWg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A2A5C4CD0610DB0318A2D78C58209CEA0928B5D404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2f9db807a7c29ec515465047bdde855b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: A/OypVE9Z+swd6Gmy6TETAKLS0lc7MysAONF6Lt/zEH7tEYRL03K/gF5fPfjKfEb8rm6RtqOrl8+ZS9QugJrlSSj/iYevu/5arMvVqBRD0wqOu46ubZpgLOcbZvl17oiwhis9Lgl2zTxjCM0Gspvr1SRTm9qQryd5QlSeCrPNODzwwmY6vvzQlYyjLVpxIuHZU8vtc9KGA5aTG8gJviVhdjRzLc5VhAWR1axUrE1kr23izUYa5kvtbUMdoyWoAgPeq82rZrqfHVVWCa1aUB2eqzYF96+veqMe1esS01PZ4DaBDyMxfh45TQfSufBrKYbkGlyttLvwP/UI4J+TGrTQA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058277683?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UXQTD61kbUgFfUJuBzU4Kbp9vQGlVj0J\",timestamp=\"1773212323\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Llv8A3B44YjhkA/mouz21mUg/35bp6kIW6sjn86gGisQzUTBTvbVtiSL+7+o10kFCn4vf5O3y5oDClmTUlQOFVTf9NlEOiLLSFXGYslClA3/pStl/fkX6LAGb6avZDDex3p1YozoLR/epL08M9++06iUlpnc3gAfIFTX0VVKOkLahzT7CRdnfJogtzoU8bgBcUsHoEmgogzLCEUVCEmnKHSRpmG2my+ujRF3yDpju+btDIuiRt/wCQawoMBBtkiOnKq6NQ9ze406X0el1bgmLzt2o2zJmk4yldSgpHQADCp0KC1PgZW0UDrAQnx56WcBR/KCIdi22uUo2G9eJchQrw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A2A5C4CD0610EC0518FED08C5820929F0E28BB9E03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7c148a98ed516207016c389230fdadc1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kXtlMQqVXtgnrfSv44np+hRzK4jonC0qCgpCU1yFMbeNNq+8r6xstXSkOI89+3tBS+cQhd5kxTEIkiv7Lgp5Cg2x137M4geX8rlDZfLx5rjdT67hAYzFs29fK9es/gvs8WsKLnqzetbDmXgecv6/xdfSsODSKEZSBskUfFWOKkcP1caU1SzNCuGXrJd2MWZ0/CJ2Mn/q3wL4uSyj45Sj/TZZH1umyHmxZ/TvoB15Xn/stj1mApD5C3T49Nbt0nPjQErXmm6sj9yFn2dbGPVxd26iqWy/CjXO8ksRKX93yKIc6xl1uCqGWLrm+/lM/B2j8RS0qI7KlJR2rwRF0EhAsw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123058825973?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Uo1WrJO0JLCIbQpOdz4viT8QPIYL6OAg\",timestamp=\"1773212323\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"C8Q089nN3QyqD77oHc8CIRlN16evQQN5B2xsG4G0KJ2feAMOoTt5AO86gVOL6DWbxRPwDqp782XKVG7sxkVOY4uM7stAGeMpXO+qMTYazISgKVYO69M39d6kNHfQsddIoUe923zHFFdE4zQTEGzi9Orc+JNYdxKRejPVFNy1BN3EBpbmhiNcMq3olX9jcJwQZWO3ig1Vzfz9+mEjy9u/wqskIQYMgSN+ks1pMJ+Zqqf5PlnkdbhAN7mE0rN8e/5x0RKMR6j7InyCkjPOSvWNZqCw8Iwt3f8aQzb8JDfE1myvPP6tzXh1sNYlGMVIBvsVsMjpgaibJSOPeHaM4xxyFQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A3A5C4CD06101A18D59F85AB0120E2D80428E68906-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8d4dbd00697e17d3be0d318edc703aa9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qRQFOxiP9OGN65uD5yIyWIUkrBKUIRMGF0YJOwqHBDJnNRJ0Mxd5Wb6iUPynLLkDAy8HjSLfk7SSqzdb2kdrsIsTPB4g1AKyZlirm7BuST1+AhvKVYkpI3ENTFNfaaCB+wt60zhARfPaubC6R3AYvuoDUV0NBXnxvDwTLKOVF07m5+cDI3M7P/2xfsft6fuBXTdYYXdLdRdQo5dRuX9YkS5nB5vruQbRtkxzIrM0USBUqrrGHpNnj7vjlHaNFL2RW1+aGd/8B1kC71Q028Xk2XwmCP/mspz8YRyb9VuEYU7mWsKiZXVFgQYl08uRiaL8AB9bhoeMenpBreR0tHeOWg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212323\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059019415?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5RsivilEJOAOGg5uZCW8lt7mH5EbQCbT\",timestamp=\"1773212323\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kGI8y/VxDkiMaSleXKGWXyF6KKX8XCK2Ixm/NRD2kOkW7sJFWUjWdlhimU8uCqk7gckaF2oLqVPe13/FBfHIphLglzwYQjp+f99ireoUa/yimEsV6PqdP4PHnHs9gbsO9abvktn4LxwH2/TgsY3lHZFiUhLZUpwvv38GhiO/WwKY3OWj1VQ9Xsd9wq5E7xFwcwF5EPCvcZD/0mWvXdiV/RnzSABRmFvYjDQIZeHE6by8H0eaboMPK0J5h0iQYdR45VjvGYcrY1k8zM680t/eZngWLxuTG5uZhkFdH/bNpkaaj+6t07uK9K0DsUke8r0x4GaZ/rhDWPQMoAZyBhCswQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A3A5C4CD0610CB0218B3BBC05520E6AE2F28F39901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: afc742a6de5e62cee17d145d8c09df34\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vyMP7860Nwc2sd4/7nEwiuVHlj/ur8X4NM+QEwNayarvtaDq3ukVbNvYYZXR1WBScSQ3HjD3EQK7YW1Ttie6unPpgv7qymgzzuSJGbSke+hTdgKGeOe+2JphEj/DMOrheuN5RbMAQgapDQknpNRAoXYzQ70Qu+FxgN+YAn7z2WDkiVYwgzZJp+bQLVKBodvMDA9Cb04qeLJwO019b902HGBQl17cSPd7svfvcwfrfNqG/d7uOrk7gNE1aBiYi40pvPb9kd5IysmWClCrpZ3Wtd7q5id/7BewlT5Li9GTyTPul0weDywx9S4hXT9lvHPbB/yhu1z21mxqwWyA2MI5Aw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212323\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059077577?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4FLVddxDmafH11LqnEjzgomfR2SMmp37\",timestamp=\"1773212324\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wvB1ckd4FNQGSPnaGatpjSEnX/0p3j6aOVoJ+Bw4pO8hHZ671XieX7Uunx/KBD7dQyYYD79ydBzeC9cnCdvT02BCRcimljf734Rb3CRF/tR4euNNpLONrkrbg51OSkLUd+JenrhCq5WXT1s03i6cRFAaWZ4sLNb4pM63m98OSejpmB9M9WvVENWJ3oAZSR90KSW/WIB+pnUN96LZ7S0sCIWRAGavyMR02aNrhl7y8bzXqoPersjIwwN8+BEw43A/OPC1ggU+SGxmHUUAtiDLziFZmD0y6/HmDG4ExanqAxkl+J15JOMe/zk+v1rWymOqNwbcTCJ70iCIv5M0Sq0yMA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A3A5C4CD0610FD0418D4B1F8AF0120C8EF0328BAAE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a43529d472b83306e747bcfb80bb9682\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hAzLYrn79FJNYSlkq2EWPKExDE9cuYmbZTizGpyPGvw/I28SNAbNvUfHBOGIg3A81ABtF5qNXr87qyRBLCb0mdejMRUSGnKiq3019HQjCR58ae96O+agXgh2yXm+0gia60Ky7YpHgGHREhO4kx8fnLtm0eD2pEnpdawME3AUlPRFO+zmk8AcZ8In/hFoTbfHuaKzbhV4Md+PFlM8s09kC+Yd++IZnBUm3UyV+/D8vpbMZSG28kVA2BECJyiumubF0vUSWye0zCTCxALQBjXrf48+rDJvEmTLgk4XsLKYPMmQ948nq/Zaq+YGMSSfn1OcNoEu/45mpZKL0z90A+uT2w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212323\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059166666?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qgF3bF0FW5vTX0EtdkJa825M8yaG6QHz\",timestamp=\"1773212324\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BJ+B4BOm7KXT4Yed2JWGWUUtbSJ/xUVFi2ou+pPMhbPETgpXRwOs8IyCYyjNb4pz7bV5rIxrapTC9v/Pm9V4vBgUK8kluvhf5BlXrxJU70Uv328eEeyE78GFEG/Tf0YgHtOnoj7Ra2eLIpjz1I/YxQenAe6PPPo59LN7QHb1SM4ikyQHCs5lAk6rbWPhBa0kKnrony3NwKyaVhUX2Ud/Wtpp+FVN5S+xc1qBsbo4a+gthFkJkEiwuG+EcMU46yQ9YQqFN2oGLeb1D7o2TbhzJ14/ZSkFsWeAN7FzSQdYrdY9nowaH9I/yVDzBu9LZSsXIyzI49It3+Rhj2GYyArXvQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A3A5C4CD0610FB0618C7B0C05520D4992328898E06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0070991d6b1d9cb60d21daf4f75f598e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NU4qedrWk9lRDaPvPseoVKvZtI7JhUPLn5udHbXguhV0sPQez7yV7ulwNLLyMpN3gmW2sMQASm6fMnRSLvH0C4WvPTFSECe5S5wYU4ogH3ugcIBXJaWpVaijh9MvLvZHb+L9jWVvzhTP5TUtM3gaMrVCGmlnr25gG91pA4+mff4rbG7BEuq8PfP8LTn9c0mq43szjoQ7nGmQhRWDIrrnahmykMsAqClYsCzwXqwzk28qzuhdmoZ3w5GWqVMv4mDOybAb1hPJjgSJBjw8LLEQ/14wJUSPLlyxv5cikZxtY17kzcYZWlg3N1+v53NepLL/rgqcIytqBVE6UUmsxE/SfA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212323\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059569867?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JuU6aicZDT1YnRBSxVmDZQ44ikebcZHl\",timestamp=\"1773212324\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"38l7OsXwUbHmSEcXNd5ZsLZtjKpup8Ic7xr99Xs/noSs657cyW8+7joXK7QPkTc1ypTrFnPpb9TEIse8hooKeQoXyc1J7xlcc5McpQT6OQ1abjnl1uLPnCIja1/J5Wea+E0c9yz5kGOmIWGTZxcMcXTDLZM9AOr/2vJbc3B+0D7mEmAV6FwItbcpBX0ZQ2zIUv09fkVPKX+AkamozSU5NYN+l2DiPrihNPZVE3EvybUo7uLsfd826Ale9sQLvtOQwXYmvbmluQoI2fXqlw9iiuG1Y7Mp3MD6RD3U0SMdyty+5akAYiovC6O0A72XfiEj3uwk5973lKXmBvmyZhZEOw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A4A5C4CD0610930118DAC1EDF50120C6E22728FE8602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ecb37a4e3c42f72e20c0f8aab60d0fdf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NEfKrCwUSj3gxH+qekp0n1wpduh+rvUJeCtmLm2WtiKW5Fdh9PudpC6LndDbDGCo1jRqET+8br0Q9WzMcOOhcFjT8h6FlT74083oYi8Sbm4A5IDfi8+MNzv0GSyHq93WgTPbhbJrNv0klDAQpjTNm89NfsAgQKssf9utbe7oQK/Z86mVe7MkKw9hU9L66cKE9UGAgrT99nymzd3x8n7FxXw80YQUqUHZHAGTPv9Bjl3WnaIaykZEuy/BHIDRJ6lp03YzQYMpXNxZIcFwobsto6uDJ+B4lZd4pBY5YoiTeozUigZMsj88k9JcQcKjiU0yl9s2a3ozxHLsFIoTJtu+ag==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212324\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123059892779?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0OAMvRdG2hJbrgvxR1tnvfPBx4l5qXLp\",timestamp=\"1773212324\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Hdd5tlJwcNS9u4XrN4qkZCL8EaXGcN9u1OlEJ3WGtT/uWC5GayaNnveSUd9M4PSBMJaqZvAF/kRpxa/xWJZwSml6+3k42UXC9uHnbpZNo6EdLW4Sq0BzY/J3Zo3Tg+P587LmS+eeYbN0HIto/s/z+EszCUmvPB6xp+hFbe3cUqMKoRTSaObuJNugFmrkTBdn2do0fd8ItITHYkZRk3bBQdx17PREgMdic/EdpPybUaTa9X5ZrivFNvWAOExvK9Lq0uLa5oP08OfUDIHu9i8tPVA2DyKXJZznooeeYEjpTO4XgC+rscgYTFv3dYegX09j11nDrOH3RwKrehaHjt04qg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A4A5C4CD0610B90318A6DB8C5820CED91C28FBAB03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7705fcce8aee90366bed0323f9e8d093\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rb+ymFVYy+eEiGz91DeGV6WEr6rC40f/NCgVn75LzKdUnzobBedvz4cKsErxlZbESXGuwEAnwGcL892KgszY+oJtEsyqV5awvEsj13rmvGbcqv/pBqfE7uMvJnmx+3m+7zIAod1zKpnaQBA/Lt+1bZy5ird5e7Ubxmurn6+ccSeuSKrSexYAMGT/7pI9fai2WJ4dEn/Sar/gEtM4xgl35zIJrcjmDfLJm9Pan1vibb+Z0wR0c2C6CwF6VFWEYbI4x3+GzOVzfFfhJRlRJ576LAUGoRViTtsIMyQ+rhadzATdGPW2QZjfqURDIiq68iyRnZ4KXfTX0DW7TyAK5rL/og==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212324\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100328088?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gM2T4ca1SstDJafXcEiU6ppdowf3fKZy\",timestamp=\"1773212325\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0s/Mha2UI8zOI8Y5QSp1r4Qpi+wTyuDSVYoZ1mOvsJG7HlRCrLYygO+YC3D839ypMnFyaYd1ieVyzJBeGf9YIVRABbpBcg+znuvhuL3HQHprYDeoBkdhlnqQN69VzHm15Jn3FU5u4GGTwb8gDqwyV0TcrBVQBwEGiBP1RmDHMZxofvHdLN/nGfcx4XmtETFOrCC1YDsT/X6vPZn1CbaJ6q+x7j0+/cw7dBNHgxEWaRjFnTDXWKk/XMOkPn3HihCfAW1bci/U3Zoi+AIB71msLaD/FLOeFPZb10uv9dMATQ9D/fE8LFjKBL/SuLZQ/m7D7dYRklarmo3IlYKRnkci/A==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A4A5C4CD0610CD0518B9B4F8AF0120829D2428CEAD04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 574590d09f00ce9937d1277cca3da5c7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: E88Z3muC987N1E8VsQmAy+9AQ+aPcNZSu3V4ZOLXAP678FdcrBiqX2eByYKkPNaPtlezG1n8JRjRzkZAcIwTODowHMFpoSyvIJ90Im8gp7VaOfqvPWDIye8DNtC5I82PDUaX6tO9Z3GN58cmRa2VQibcwBourE68hgyB5SwywIybnCdZtVfnw42wqlYIgX8bhFAOQvyrfXErQPkENjw+2fUQqdhec+udwC0G4Y9A2IxBixp0TVJtVZKJTxrM4SDwYs9EOXegMvMxHqhE0Ude2vgsBOuRMZ48qOd+yhQbDM3erB14BeFuOwIocAccBTROXQrz4/6x/vi3v6qfT6cEWw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212324\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100542247?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2HqyjGP2kYZRQIG1YNAk6eIdtf23Jgfb\",timestamp=\"1773212325\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"43AaIuW1gdfhmjviImMuHNcHMCARF3Uua+YJsEhnfp75Iq2UyCmx1/BYpviJGFWGz6/B8SuW47iCVnHYfh0DUpsOTF12ewpo6w1VVOd6TnXbEbJ6MvFtoofz4U0N1ingKxvXkuBPglULiJXYr6ow49M+pVjfshIUREjXZZOxpgaaTuEEGB2DbRZAXFhpcx3zkunxF++h+Ahs/vlcd1KynXyXICY5p2hJyBCoM+XBlGApwNbaG965o0elHWb/cakP8JjQjYpG84sPcmFLbJm5SqoK9DwA058OAMwT18hpKW/ZI59zaHbqxqKMNNShyXB/3zM0c2cGGgtUURmX1q+Bpg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A5A5C4CD06100618F2E4F8AF012094850F28B7CA03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 98106d6685c048532e18bcc77031f91f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: l2FOWVrLBi4NoLJp2CL3gCwL1qXei1C2+f8tjSqbOKXSXgGIvr6uV5p5d0Mzrxk67JWuxOIwaE78IPLh76qA6LB7F2haXTpdrO2Z9srSIkysP7Khg1PocI7yha4hTABwpWhCr7mMwg9eXuXXUj7ODsVviXebN8A+zoofd9e2Sym3XZdl5D9vZQvoI2fZod5PSuZJW4qdW3C7XKTCkp+yCiXEQGGk4zTdU+3Nlb+wRVqd1ax8FRdib2wJigHu1n6JmgTdyzdKIccRTdna23pFCa0Z4um3askbyafm2uKUah4FzMoa5BtVruI7ZIFgEifpVEpnir7Yqc/csjl2gz55Aw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212325\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100832081?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5WdAWk1uMRklbnlpvJTY6tDbGoDmKIOp\",timestamp=\"1773212325\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"p5wz3x38okP9LnflhVfNeW77WiHPLDGSADD04SS3DKMO8LgCNkB32TbyIXAhrwsd5cKpmRYFQfmgGaJLpvR4w7Yd9FrjzWaYVDoGt4PVn4oLnrtBI+y+Hwip/q7r9CxsQ9tF0lPfr2qVJLJlFsi5GNrp/3Cti8+2tWfzRvX1OG1J/FKsHsess/WiVe7eFoXh9bXnyXIl31lpH5Wlmyi15yHe8dMA5IOlPg/Xibmwosp9oop/6DvZC/5f3Y9Ya5DL+86TSRxgbsqUDOiJ9VYARv7uP46VtLhItFs9WOKBlrv0K5NYJwBU4I38cRcGvStXMENn6MEjp9wDXonblZO83A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A5A5C4CD0610880218899D85AB0120C08C2328B3A605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 447eff428abbe4c1867e0cf2589f6cd4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BRXb2jMnD1C97hwzAcSr5rVG8mAR2RhRLYpRUteMPwn2H7vRoRxoAGvAqcuowPss002IfoRj7pOqmeXPXlyBQr1qDARd966KFcXc8RP6GMpMBkYkJ8VKMmb4+z/q94TJIdh9uXFvru5nBYmhZbwFDN+e/XV6GdaJAms6vaupUbq1NzwySTxr5/EFgbcdXC1NayJTWCeEpo8+AMdQ0pHHe8I8RgzlsF84mL6NMX+3vIwqPPCA29fuqo9rG0+NQxDbGHf4/lMFLwCnjCRY2wOEVmQ77iVyW5SjCwRJcg7IkrSP6YxRSyXVamiX1MQ6zSceimAYG7Dr5wZQYysE0ORJLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212325\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123100912729?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uQ9KVjg6wxRRXHIEBoAOe7bhXbZivnq0\",timestamp=\"1773212325\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eV322+kLHaehqe2EoUafRy1DKMOloctScdXyr7yH4F8O7p6qlfd+xxy6HmWtE99k9gGsl2NChZ7JzIB89nemf+m3ae+rX6jm+Xo2OXGERerVd8cpeKwSErwRRmdbJ+DFOryNtmWTVa9pYiRUmFT2KYRBWNRBG8Hy6/mFwnt4KPRACg9a5DBufO7rzgY+/tnoYOmn25A2LAWLN4lZa4b1G1Y7q1sXTQoqY1Yz44PAslJ4OnZMZFl0o0z96fk6EKAIF9XGyqJlZ0BJLM3JB2bJmKAgXHJN7JNAJFO38ZhTx+8ju2wKkujFTRRMX/J/hrq5XS5kYKjo93mVjYaXcv4GBw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A5A5C4CD0610A70418C3E3F8AF0120C4A82328A5B304-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6dbddba81fdc884cde1ad0a3ca1a8a92\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aghSYqnXpITKcBSDylDdQP3ZnpeH9AHs1qRjQZ+Py1AzIabaEig4tn9LkWeNHBTGM0N5xWImshwhnr63Jivy/+7uVAIamBIZ91x6I7C380yZKdlWlHRXVDTBeSIWmczCl2GqoNtGayHOejll1BULlr+oqpTVYVkchBkCjg/Ccb/yyGH4Bqrm37guWK/zCmKdkui31KeBj2wWu4a1tZ5y3w+euUL/B7NrqEYkHcY/c0DSMrovi7VNy5w15zIu74Z5NmPCa1IYSD2TV8Ui772lsduHaWQXnSRHiQ82ZZuWwN8VvDdzAdHgoLD2UORmzeILQ0jpKgaYCC0u1j8VwHNY5g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212325\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123101185148?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"38Qz5kmwWtMnIFiyxIdT3b7aCxTYz6Ze\",timestamp=\"1773212326\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wyhc1zlBJLPsXPsDaUfo5nhNwYQ9a5xEq40JvvAFzlK+AEm57ofXw5lpXUExUZ/CbXxuZknlPzR7OU60LSfuajae6ljCo12rR1H4SzTvEP5TiA4C9buP0fSRRmpZtrszIaJ4J29IichVQWeDyTIML5K+bW22x5BgVXjN1W/ALY356JLbiyRLgUOPvHyXJrYxcVekLDeTy/hKLxvkAPw5SjQresI9IAxYlVnXeQ/WMHGl3uYLJWCG/w4f+69i9byR8CmifMBzQMwPxT+JSqxqV9R0gm/YonjIPsKjIj4NqqxDG7H/4izmm73+nxcAXTTW/7BnJxriPBFkkNTXvevmJg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A5A5C4CD0610CD0618B2ADC05520A28B3F28E2FB05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8c1a3f33384a8f51144dc509b2b75a2f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mtPVRkRmIjaP8fJP4IQt/fNfcy0E3aZmGttovL4IK9srBlU8P9qhRP+GVuRXiFrGOjDSl8WsjiLGn7sK1TCCIUNOf8ZXjx+3W0iQZiGx/R27Zf1HmBK53LDIaZP7YbphnjJSgtFbacFJ5gxs6yVdNaA516/SXUbs9g7XR7dSLc9diEY87Kpz6JseY/iU3hxXZCG2QTVEnevflMPO/zriX0uXJczOT6FIzG3ylR1UcGknCbnc6Ce4tDSz42kFI/tLzqildvbUucR0T8rL9D1NheyQ8vHkw/E2NFM5bYC8jmhfIsgeyDvY03nf4UBt73T0xf3MU+7ayPoUqXQXWHHJFQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212325\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123101447507?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Qbm4dPtlLFdLD2aD4CvYVFidzYQ2hYn5\",timestamp=\"1773212326\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ogpg+paI/R/c/d7fspTDYqgdci3Ht0CFwu9rmX0uRPtYoxGI0q0b6tYBcbtITJ1xN0cqTh+35wOdbjqSzbziFM0qOuA9z1lh4ePOTKezBz0HEKOW5ZEf6L2nVW1myMzJhW1u8cEkTkM1nY8PZzCL0DzehTseUuYXJt+fK3x+Mo7SD625hZp+CISGZSjhysRDXsvmOqbavey678n5JdpTAXvkwZkya6bdjFM+doqZXg4QIhXErR4XRl1tBSvl3dgegRlsAfmW9W9jhDRgD/2TdMS7wJAB9x6d6Kv8/FokiVW91cdI+HfxO8xDWaE094jPpUb0L1uAJpRcyCScLlgAMw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A6A5C4CD0610840118FAC18C5820BCBA0C28FFA204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ce858bf715fda24ce955d2b201890a8f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FFjdlpqZ4CoSebEkVbYvs4YzFHKF4okYh4q49M2cX0hfyGk2r9F03X4Qe9Tpc93EgzlbeWJLJ+vaK0wfJUmcSx23ULxflJ71FtKqCkVHFVFZaXswIQIbQ2YCgSOJGZCeJ9P0vCzxgmWa81T+xpUf7YlS8rZGdmopBrRqh1swJTtW1AK9DzmD9he9nla2/EOaVK6V6uuMjgwAezjYfSHIw9f+B3G0wG4hHxgFEj/6p8MuDd9kGajr7CQ/Snj2Ug93hdq7HNL93ofcXgSVwd4YqumZ1RX1+iJ6Z0RlWqaZlo27rrvXt4JmpQRRYrcKRurXeKR8dMbrnhN+GQP0gOuTrw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212326\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123101940388?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5RLrZEZnNtgsKQSIMfzKQ0EEtZvE0oYG\",timestamp=\"1773212326\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CLLizzsHbsGsBu84pPXNrVxZPXP8JZw7uwb/2hc8/pD0tSTTQTfr6YogsTpdJhZsaIgR/cVaX4dQS1kLdzulI7GPSC70FPpvq/nGpHi3xFRcS3voO/7oSPS+3Map/fONCOdNNORlTOH29LRJOKFadFhIhcq5dXmjIsvV1wksk+Z4ki3Jj3T3siV5fhesm9TXcHFqwKVNSSVuEL11LezSE2SdKU6uXp4PTQnx9VEqYQwSFzrMxfrXJo9hg3GCNfaSu1CZgtQX+NX3B3JSvwa13wD4N8yXdGyQiFv2t02shU79sFWvK2T6Ob/Z5TEsAMUrbHj9rEEBkewbcKa0YC4JxQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A6A5C4CD0610A40318F7C58C5820D0CD2028F0EE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 216c39e6bcc0b4ddd7e03b9d9d922cb4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Rg01OD4eXSqI3LKU7jiuRSrK0x1FATsb7WOPLSFnXV+MGnAWeOLZ48deKUBrT9Uxc+xc70art0ptW1DJdiNqu6u6UuiHz7oDHprGb96Bqz253d2/R6FAPTjp3ellY3mU8E180zusiALia6h5Wytf+qqodMrRVYn4BOs2ipG1YE1g8bGk9JkuS6rxanfPBrYf7THVoz1KVQXWMaude3kj/8CU7xJhhRv+Gf80CbK79ctY3jJKZG3P6DP2M2MhZ1XmvPFDUdjYvaYUjWbySkMWTw4OdcEYBlgOBhDKEIft725ucF8z6Q1hPerFiQqAjVOO2ni4aBLszyZI8qxFL2ucxw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212326\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123102021835?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WuA57vQlUVwoeW75xPAGJ8InSzBMTvcu\",timestamp=\"1773212327\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qkeqYcoNDlP8+KbUhyH3wrMkNsZcilhjEk8OMaELKXU7xjdUXguMDjOpzRS4WolUsBbvAJGwBaeiGkgF1QMpyPJjYRdd0Pbw9zWGnhh1IZkhsKsSNymVr6a7kzNkBGVpVpjk1EZA++4Ud8gQU/OjUAOr9Fg8BC7Ue3JydWXIU7CQGIUTLgulM2QPa/InqogFE/4yGbbu+iI+vbN/iGOr4AwPihuT4muI/lduCeKfoX9v5RhTZc5KquOUrb9Rm2HSZkpk4ZBaySb6pgklRn5ym0ufZpLFRHo0gyID+HISjq8czeQBrIhY/GxatD/pYt9Sl6Y1SAnLFDLjytc6WchkUQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A6A5C4CD0610B00518BBABC0552086BC1128CB21-268512771\r\nServer: nginx\r\nWechatpay-Nonce: de26c6c6e2d4bf4039ac80b592d1a43a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: D+ukVLv8hocjAR+A+8Gh7kj53jir+isZLsnGdgbWe/hsjbXxJlSvHlvd7NPTI3iCgA6RmYYwhZOub/WYsdIM/BRTcxh7ofvPuVCExWcmnPFDeL9tcFHD7YxFZHHj5GEwuHK4A+TYUW/WUqN07nItn5ROF3tf2W2yf6a0kPXXwNnA8pfqHgpLkZznGRmObrk9IynKjFNJKcTU+4Y8++Us7qJCWKtpwqu7+bwua3qPDJfU7Z6QbJehdBb2BiXym1Z5ghV2vzsgy4MmWL0O/VmeYdcjnfowr1Im+uLujJaM8rHirbOAWxpazSFmuaeNeap87tPNWpFRZa4q7fLpPAm3Mw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212326\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103120831?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"z5Fbpv7qYspKefMoe11MjCivKKVuYgjT\",timestamp=\"1773212327\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BvHXiBogcEw1zpqrlz77dX6RMmX/G+qYOgy+LHdCFyK5Sk49wxc8T/aw9JZfI0KLdAQM+aS+a9UzcvNahQNMc/JgDIYjychTjpTo3cN1oJY8A9YrlKI2Gt2Hhr45UzHBXZVnRbrVANmMJFEfdIuLHWaxDJ0v1ikxrePk9s0AJUFkN41tXBjH2++VkqLXVcq/g1fs+Jqwt2XKw7PoEwhI8FIbqRRX7DQmqIxU0XUHHaMY+KkwmbsY1mpS/AV6Dx2Di+wQUFSL+zcs/gkYywpnkHJXgejqv2DJTcDXUhvEyk/co/bRJL0GSojqY8MpT2CmxJvftC4x/ba2CmiFgligIQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A6A5C4CD0610D207188FC4C05520B8DF1A288B2D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 309fa0ff5089e9ad30f225109278d06f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kcG0Jaokfs87NV3Y+60GzrWU2LxIbu1cSBqvOkUQnvz8y/XXZ5IxlHQ0XJd9fc1Icm58RpaAOOu/dH6B9rkmx/ZzGsME3gkpTIsF7PNRdr6CgTyALeMMrwaBjRylxyal7xbKlrjnQkTiUZEtve5AbOuNWFjuhwAQGvKq2tdVJICsIYpGAeQsvkotKnuC2JGA0hy8YSb6iC3WtPG4X8i5CDcF1XhAG4/Zp4iap7zCs1lj3MuZmYPhG6xK866V6Zx3+sMMzIlghZAKsEEk2mZdPanY9l5j/q6iGNp9MlbSsxaz5MkefE+SpFeeiazHWxF+QA6WhN7cSl7XHvnXky7O8g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212327\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103227578?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vUPo1DPlgTkK6S9sJKgGDzrLMtv2i1CV\",timestamp=\"1773212327\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lhd97HRmSFSDUzJ/Rt2bA1waxO7cwW6xZL/ZRO7Iu6iQrpANkHlEfIZEO2vjpnmIdzEUH17gQKQfBOLyRV9SluBq/qSroBAwrG39I6adu1MOlJIP6/YeESh14k4r4YYBnXTe6aShjCRxl9TLuxzrL0VLoWZ5Q+KcHENk7KQ+09V7Fkhy8Rzxu4+nILD5l5M6RiqyN6UFvA8aHH0PPis/fsP9NsxmzaCE9bnRiPD9qlyts/wdWmppQQ0J0Hc46gxnOQ9ZOxbOgFUCAxTb0Eal8I689sbUQ/DLMkpC0Qgs50mFIMXKI/rp6GV87o7i6SOAmwyJ2KOPOj4a5+1Qb3H1OA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A7A5C4CD0610F60118A29EECF50120F8AA1F28A99505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 610378a70a77e89efc2a53bd6e1fc754\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nOtPgPtN53P17dwjEMdGWjqQTUBInLpBSDUjjTmu1RlKdVUvok+e4yWIMyyB/cKAyCUKgBzjB+OEh+KA0mNW/lLewESrIisIIesXALMHWE26l+WQl3ZVpz6f1SudX4Bz4zDeck8tXFmXsB25S9EB40bnOjzRhZcT2vQTxzAMqDMzeCtWD2NgMgsa1HtxFvEUYp190ttPw3ql0fa0R2QiOK43D1cJJC0KamOQoaGY3XrYQfXXvyWL+Gf53OyTCsR1jTjkQQ6fc25OWi0cggrfQQwu19E9ww4u71oQp6i0VY4OPLP9KmgRolruevIROWIDgVlAwfxn2yoKSf9P1RZiLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212327\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103317663?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dfFy7SWGd05F3pPCMbdgLwYvr1DhVgig\",timestamp=\"1773212327\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HKe7o4YVvGiPbwsm5Qctr1g9N+JUGkXk+CiPOH3E92NYdhDxYztATPeLrMR9ITOD3L7k4KXrN7DBlaTbwVIX3/wnTajst42T6exfp5VOD9QTnRqQRu69CmeRCfXwWMn5L+S7b857KjDhh+JY4d5LhFBxvdoWUs+d52OgmmfxFljBO0B5PYo206RMcEiyTeswpgO3ZyNx/6unc3k86Q268Y4XFGXWmulJEYhCEVnvjYevpbICJSiPPjje7SMHJpLE4Eo3DW7UOdSSWkqWkq0GMvJJCxhv4VrkmNOF4Lj+FfFzF+WOyl8XF0JO4qPgeaD/tV1NCa7aN4AOe5sL2UJ9Xw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A7A5C4CD0610FF0318D581ECAE01209CEF062884C104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8c02ef1a07837ba0639172fcc70caccd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rwMBn3wJeyYs/Kk4eWWtcwAPHqMvfXV5Ag6QYCj+SPCRBgGfd/i13Y1yAWezo7TuqSgcDqTzl/iX2jIz5Q1WB2J/ziZzmcChuGvt7HdXycKnfylV9CRD0p25Ae7yF+JiXpEwkXHtMwB9UaiSbqrgz4Y90iO3JRNaLjQkSB48Y8ZT8xB3ylP2PO9DEs0eFHPmBau1u+l7oqeMelINkDCJr+eXAcqikXk9r0Te6amNj6vlW2HFvn/efWmzEicYSeYV04gdZjSWMZHlHk9S7yX164SugangXmbH9LjSH2wl1gqmb+BVaLASDByqDfKdDWyqYyv0HAKUBqsxL9BtXJAvAw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212327\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103354883?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"28MvUrVY4valINPXzbcAgDaJyP05B044\",timestamp=\"1773212328\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"z0nfMwpacNoT0/scRm9av33jRc2UUiEIKym6dmetDAnTxdDwgaqFYIzcdcjKCweQ7ldR05Jw3WOoGRHEqxFVUrw8CXr8CLMG5KqrIxarnra4o5Pu/HY6laHlyYZNyktMAf/gMbjGv1/pjwJnwlsc0i20LuNO0FOvnEEHuT6XTzlhf9sr47Xi8b2rknjbea87ZVHcsgIbYyU3RVAyqwsPvE4B+9cdmEMKbCQdgq++tutdBLC6NQ5hQ3aHS/i0Pw23YPpZe9euoLuTNmYhOx/9IXCW8sL82/q7dCau6l2miiJNH1sYZt89sQyTmQEukGytU9i98n+cy/WuHmxE2yd4oA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A7A5C4CD0610950618F1B2C05520B0CD1D2896DC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 27f6defc7f14809f427615acba764204\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YfaZCXnlDrGZYe941SkcEEdczlS158bLkm/wPx4GfhvrjmXznmQg1tO1oblcGPU+12zGwqT5554kfr96MgeKYk1nuwGTakRmrzo2jjAC2nn9IYlkG4oKXElpdz+9NPsy7eC73V1N9xzc0Qh8i1dKYL5/m/6w0M7gukwqsVO/XhVxd1cxEtRgg4K45/rEptAeBn/5rRuPg2vc2rRV5rKLqOKzq8CGV5N+YhkVx9+PZB07AnjW90LoHQYZinzTvHQrd2VLKzyZhiUKVjX/srG+4F4kD6SPgSSyat7fFeJpcobh2QD28Q7bqWnRF1g0tZtxwnAXw61IpmsockFHcTOv5g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212327\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103760853?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CowBoQDsc3C7xA5Rmf8AV7haT2MFe0Gw\",timestamp=\"1773212328\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"H4VBcqYfs/vccuQnCG8NHG+FZU4YchZxEQkgjFSe6aLW+iEcz1fWh9j3Qosy7RLPbfSY9m26wwVS0B/w4RwGslg2JP+C/Ua5++S/6lOVxpPjksGQ76hHTUWa3x+XuEub4Nv++ELDvL/xMcJRpq0DtPF6eUXYFmxAN/JJqd8GIxmPK5fn18MbTQdsD9mT3Bl/fclYE12aV4XIcWYkCw7RA43HufAj0McH9IV0XjXlxBpf+rH1MCB6UZ6ThIM1Q3rI/WeyhQCBLuFKdltYM7UeDXM5xzBtIjMMOGWbr3VeOpjsIalPegGHmKkjwo1m/GC/k5rz3lrkZkNNiYV5+E0jBA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A8A5C4CD06104918D3E3F8AF0120B4892A28C59104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 47dc889051dd34ceacb79a7c0b967b36\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wFtvk8q41urBXNtdiuhlRSkMdMKbVWACn0KEjea+ykv9aoFJQxlFU1b0xcC/cN1sBaiDPrNczPP06mQRMuiwnegnngnBuFenJCAOzPPhsonfsXOWRz9WUFIZ7PPmp5Fb7NUi4ijRjuQLkjWdloOQmfCpXtwTBtz2d0t+nLk0AiZE4ZbXnq9MvdYg5O3vSlVk/npdrAzX3UTx53p6WV4XjQU88xZNRoH/sbt5W+2oI4bQy8SYEk2xdvPtyPr86GqLfAJUVls5mmUxIAOSjXGXZypVa03m3WC4rPX9jnjhmYkhGc2sY1Mo46zcrvNJ3P/7BSoOb+iBqRuzejVgA4Ii6g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212328\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123103899151?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CDcuhTNHWdERZrqE0hqAVJcbXFOm9nW2\",timestamp=\"1773212328\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hLtUosKFkyGBjmTTVASAqo2RyTlHZkms252pnD6uwIzc0kWSi8GfA9WLdQT5S+972y68VhBWkEfAC9RzSC2+qfWScCblN008X1J3Ak201umiMgHoXOFfjo4UXKzITY33S8Kl/aQFCoWLtKTlJUuvbUS1BoGpKod5giNBsDQZlZj7EWPePOIBnfFBs720CQCCPuLws755OLzbyoCd4OoKFDeQg+cJivFBhtKkI4jxYOxdz3R28XzVKNj6kOFxpRACwEHfjAmMFPn02MHCxwXySI+6clCp2yEeSV5gkqcpIMc0TaRhuwQxFBPisC4Svky8yCJD6rHCX4jC0/qAvwPI2g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A8A5C4CD0610EF0218E3FDCBF50120E2D82E28D8A504-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6f6a6cf7f347303943f75938db586f92\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: X5/+KaVtmaFPwhDo5+ePSyTfCbQhQ7UnbrrvOJ+2nVbZ1TUq/KYZ0QTdGBkOZUIdNajWtZACxMSl3QJpXH6XPLExVaqDsl2fH/Dd2tHuSl8cgH5RHlr0icZVv8mimWD2XtxMA1oRy0ImTB+ci0tnX4rQIrVgrt5tlvcWpPXZ3UpVAUEGzyrFP+/tG6/CXnHMPl2zHR35jFtEXP2O2zk5Fn1d1tbzcxJw8Kb63XvB11IWDmWvl20vVNriMEjgT1arxhE48jmRD4wqKJCZhLpAIWJygTCDkf+iuSP9Z+ssoABTM81r/Lhih6oP2VFJ/KiL/wO4b4PVxrBysprOUqMBFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212328\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123104062766?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"iQC3AfS4fTqt9N9HiQgiO3DdpjM4OK8z\",timestamp=\"1773212329\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hIu+obPlLTcXfQNgOrRWES7XpoaRyBC6ZPAm5m67mSl4FPYsXn6BLuzMHG4yKF9uBnVfrY4eD0o5whhYeWz0B8ohp7vK8STfbCE7oGl9QzJiLak9hZZq13JEWAg2NANnFom8fOPvs0iskdOKJ8ca/+0vsw9Td6ry54L5ybATl9lzA9LamMiccWylblxI0+Q8lZgHp7aprGKSVyCFS0Zp9QkZyCXNMTR9xBuUrfx7Fa+QUY5d1TqrQhWdCTzDjcbHGlaqpa9E8jTfqHTZQgZfFemMEsjrbNyd+CoKVjYnqXkHvJDdX5cIFaI0J4yeI4Vr5rtenWusObvAaHXuCo5CZw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A8A5C4CD0610F70418D5E6F8AF012084D90628B0CC01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 337f736a01ebe2e3927f2e85d8669311\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NtvoxuOtOnRNfVeQKAed6QK3nJwtLgqfKQYg/eaxUf1LUHP601XVzkaygt3i72nIkus2Nm6arftsM/g1QRXiXRGqkXdSblegfv5UdSRkA3ILEL5+gJHp6ZoyW/+Xt8v86hoJTmzwI8YUwZwLd20JyBxW7iqdlvWjK1uWuZ2fn5pXK+QpMkOA/3jC25r4IWKfQpxOIgC0zXK2DSxMYy87Z49FjI7x+3CrbdCoGD63dYwjRgXe0GE3dJyV1jWA+LpVs5gr9GR5DZNxLy7xEzdlSk4SfNjkF+EViILTjhgls4LbOn5ZRMpLzNzo8mlDY02jBOiFCtGX6Ol25eNp8jISvw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212328\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123104075751?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ijUuyx9DsWmXWHNZz0rPeSlgmojghZVl\",timestamp=\"1773212329\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MlnTgFEXL7MRQkbxE4t/i051uVBUJmT4e5uDVSwqLxvaEj6ZbAi9ABY7uHCWw0a1Fz9m3B1yaEA0VyJqIsXIlEnyw9oeauysm5FoLGxQ6c79L/tPzW2dWBSSajDjoPxlMIFx1o1MBWURB9iXSuADX/pCS1cS5hPOU3XufzKYsCF+d+lR5xSR24TFojt6zenG9SQtGmE+Tbnyn42XHEUKsI5Dais71IpjnvEPDR1fGiqjugu1aceq8k2DBb4/Hp+44uaHKBJH3vGykIRbdI8hk4M5HOLBlnb3lIqOW8vFKJhl4c6yyCp7L0/ofgs+rUHUxy7OOGJ44+IdB2w6JIaTRA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A8A5C4CD0610FC0618BEE7F8AF01209CE5222889C604-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 03644966feaa39c42a4f2116cf2b694a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d4qBW5lSsVeQcAfACRuUIEILdTUdo8mlZtqk4nxouEVJy8V8KV7fnNZyzQpx55vAMPPKuzpT1rWL9qhZXxwJdl/b2VxtC0PbDeFZtfz6mWBzAO5gvYhfoSk+46fSuccQFSjNF2zS0+8kWXLmV3/0JljLkOoQ+aEf+o5QYNInF+3R3V1xLvW4Fdm8NHTfP/SHN0GlnFmuGcQLPRzoxUajNndnihSSilqbNkxOXKJmLIgp71/NqU1yMTfrzif8Y9BmofhFUAUVEoYIo2+XwJmk5HBOhV+mjd9w3fScuhLmPGtzj3o0VVi+vVimefYHy7IZPB3wbDyeCHq5WnvBzuq9zw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212328\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123105062230?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"orji6CC22yinwdqwKqkidKnbLlF6AJNe\",timestamp=\"1773212329\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kPM5iPSU+lbKk4HpeNaAhDbU9ayGUH3q8D5OPgoYM/fT9LtsQqsIx4+nymIY8rOVgzHihOHE44/2NvrGX30jIwVaV6Nq8Jr9kXOp5ayDodci9Ua3M5GVni8Hhp9+kFO+7TQDw54Rn73IHhb4uE9j+sNl7ZEjVCb+0lOKQxMv9+MV2bb/X8d1vCl+FJPMmvCXZFvop1CLtxvjIxNH8P9qTbFQ19Zi6ZX8FSImHubobJuSk6Xvz1eWWIaYSDbxfLgvVY4tLRXe19mxj5i+Voviph9dQRmEp9uPGOcr0f3VbtxzjgZ9XPp5PRQKmQc+/Pr8UPsmNOjBhZuWM1G+4OTUlA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A9A5C4CD0610AE0118F68584A90120D6BE0A28A3AD04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1ebdacbcd532469536b1abd65facc751\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jsy3B7nqZFfUtolqSZdtOjYb5wwlzXDfkddmREL1nIgoRXSLHUbl26GPiwF0/dzNjjhj/Zor5xPSC91SWxbcQhrsaEsvNSMjHnTaaTUxXb431NKjzcvrzoXuA7euGo+gziSy+/8CENZG3utPS4dKz3yWM6B+EGlmtM10GAtON/g2r8gU7PfH/B+/8M+Svn9wg0O6vW4M4VMVhiGTAO36Y2eglP/Cyb4+cmxYqwq5kN+EALuNgiRBdlpRBFrAuC5B9WCrSqND9B2k6Acx7PuKw8OaqwxMtiO61DnSYnfDbdT7WnCcgFURyzmR3W8RN0aZu637ZtG42rBOhWM4I85IYQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212329\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106351983?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9SdDt4pzvmXjLEPIdljJT4nBVYgXEHAW\",timestamp=\"1773212329\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"faBS9xccVs7GhjtMD5ijnem5ZHY3U3k0djbW7P/a5nHETVkKVxNNK3HBNbeVUyRuVv7g2HMfErB+MRcCKgxVhSojJU6uLH3Buev4sm0G1K12GWHM9oWXAC443AvmNFBKj4siALtDvHE2DVvAs/XLMOJAS/9/j2w30bHSmPJWsI77EhLwV5ROqi1KZwlyavl0mie1HaFVAiIZHzT2xiND58TfLIHf1CFIujxsaAbz1KT3V9aWC1eJBKcoQeM6FFQhVCEBKkgXCacRgdfymDRzRjQdr/PWUQYIkOA1Vx7LpEzbnUir8RtgBzWFXRPqyg/OVuzzksruVyViIwjwREES6Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A9A5C4CD0610C60318B1E5F8AF0120D0D92928B49005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c0fcb8cb0757e58a9826a186f70ef25a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xvvASzMVut+BrX2Z36xjpfqv1ADaEBc2hSO1H/kBbs4jVak6SmuSXEVfjPtO+RaEHCtFQr0NNZVisAhFQ/IfxDQhXXJDc2pa/saeRwFB5KozhkIUljSPN/oeBi0cyQu2VuDhAV54CxsCtn8qNoIdrQ1oA6i2MUgLGtMrzYjsLpmQ4tEG+1REO7Z2DsNel5H5qFxKZNvIwJFU82QdlmyuABTYZwLgiEzUb077QFEZQbpgwF4sF9txdNb+YfGrJEAPPd7vB87gC3/lHu7jzEWnJt1onhJqSf72QUhJz5BhfgS+Qo8uxgbMj2OgaY1UqiltK8Pjh09/oflj1slJ7xQoxA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212329\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106399147?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uhunNlZBBXQAgDImSy64AMwOBWVxDbpp\",timestamp=\"1773212330\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PZ/ebc7uCmZ+oETPKT9Y9xgvKqg+Oj+dQY6sU/Y1CKqgEOIqcS18uk0xVc8v5F2MpWwuGyFOMgajSxr+7SNAFCPmcgrTuZ1C3w5NoLc8qnSjvGwRpBcFk8AehvmoHfgDVuLmz2bqrzegk8UM6Fy+X2j02952GtrikqD326mm1i7SPDuCUqR6mBBdjWJvmiWNzHY//mIz/wbgHVSRybRzvVwtv9F7Pf+SBia2TNUvOT5+3R3dT10UScVaHjVoDKdVmlvYU8SUUj8tcmFgg4mRiMSKLMyTiRso6k7QHhEBeI9+xY2yRr0ybj4q5yxtn8vY99x2aND9bOm/wU2ic/yqzw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A9A5C4CD06109006189580F9AD0120E487072885EF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fa21e804b1fa109dd89dfb031439ad7d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TOccw3ovwQMO/Gbpw+j9YPNpXY6D2zKUiqpTKMW9BjwmyFa8uO6jaYnEHKbsjcWkVyHbDO7jXoxpo2KefBIOZIpus+VecwQHN1s5j9du+QO6e0/LuJ4O5s/znQXyhH9IU2dQYlMVJkGIy3MEXL7ew3e09BA43H2KEzb3kuqEWwH0j2ofgntkFglc4cUvdO7dmX3njbGpv2dbMqz+C3S9HuUFUWytd0TJlkdC4XouL/PfaxGNsE47J/kG/ro3gUwFrEUYKeRrxqhBbarvJn9zEHse6JPUI6SQwQ0dMyeoRQJMIxnMyLQbepLWkrpdhLE5atclZ6FYxglgC/UJndXEkw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212329\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106936299?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rGyZ7ZCbi24sbulKJUPZ4hFbBGj4GbqA\",timestamp=\"1773212330\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"J+FgAsOXbl3sCVnsqFIHMzSq0lfB+y8pB/tU0dTzFUKxrYnfElbSfsYuC+y+8tbnYZ1+ogf7VZoAaI1qFfjgbsSgdgCTSB1iMxtudyNtkinS1abxKSN8ZzJ8yJVONJBBDDd6QTpZ9ao11mVne+H31BvDtV8RUPKwTIh2RxoYtf5DPSd0T7jUmcwnmgYhnwewwNCg5mHrHhI7ZNtZtkVJRZa391YZVwSmzKbBDXrqwxAomiiEt1mUyyDjPMO6AnjGkVnxsTtCkmO1YUIAbnWuGJwGqf3gVdV49px7VpRq2ua0Gins7Hzn3/ts0JNSm/cTx1EDpglk58D4P6f5V7I0TQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AAA5C4CD06103018ECB2F8AF01209CE50128DEB302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 760e8e48f780150fc68d6c794045881a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EGeyFEyg8muMmVd15xkkfBxTYqD6/sBxfX0904q1TYveTn/cbbYWjtlqfJrBt8bg24+MPyXcFEWzFwJY8k3mwJZyVsBm6T5edolG0l1BXD9V4w8xsbp7atVgIGIvELX3jHroSo98lyZ0W9JXHZADw59/4o8it5O1UGZAPLICPeNwCvHdbbtgHnmEgnGhz5CIT9VXfYBj2gusY8jil7pG4FtptZqxuOVuEoPMwtt7CrMvZOAsGeZaWdIl+sEQKeKIUR9kRJm+IYFj2D1E8lhgkiXISd23BQTbTIKlXczNy/ct6/CYBYF2acdAssu8v2NPzz5Oys9JDw+IECC4iGfzcg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212330\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123106999552?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xP7SX9knqw3igs5j4PSZXQAk0SCSGZpa\",timestamp=\"1773212330\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LYByarzQqvWYnfgaf3KMqIoEy2ybO/wIf9OxMyqdqeMkpQPLLnIK7nd8dLDmM5OR+WITDqO19zQHbl3Q8MRVUgBVMmUBA7krjI2XYA748ZxN2NACyEoBAp2gp+DoeZ5xz5Dxlhi+jwiEA7d5DN23Ci0It2TABhMMLvnMDPbxA7mWiETwXWo2WqsOChwC1sUn/aeUO7w09cUUs3KatEIIXx8oDMIBYUq3S8JttN3lgz6dQP8pdwDUW6ud7IwUfiE2iTzNhdN8VQwTr9LCTvabicl9IbFOYTeB4K3ZRBL23j1Fs5h8OFG3va5dBGTUcryzTRiGkEXs97nJ7w95XLwzBQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AAA5C4CD0610E30218A6FDCBF5012092C70A28C5F205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 196b2d63446238b41265de5ad2a6159d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TJvBwLQ5uLHQDRlEzLvg5wQq2g8tZ7eL9cApy1dWN9rqtJQ/VQa0sbzFosWpPjUBdchOdMqmR5m+d+LQ2z+8pdAf3gEgAKL3nWQnj+4iKKFALu5iNvHI5PLAIMvOc+d+BQNNl1E+/1oBHZOvWpXLt+rlDoAF8pwCWYscMUlAaPSdxVDRySO797OKEkZMj5F6n0SoXImXKpFjwQB9sbHdesdT/UMgOm/F5/O2g/KVYtqU05eJPuxw1ff1L3Rz0msyf2ohsmn39b8QuD/vZUNMFO2xzo9QsYCL2TbD8wmy/HcRBnqIaOLulV8gerBJ1O2fqmLMjIE+kWXqk6LHYc8Vfg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212330\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123107311409?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"o1N4GDUg9KthiUqeTZgvIw52SA7NZ8BW\",timestamp=\"1773212331\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pw+5VxL9Gm8zF7BaTy9mW0eEsX5YL5+Lvx31DMjn8ZY4giNHMMlIV/1yCL8idDl1mMFWAYM5gsLPnSMrkCEm8EoqoWVmIoilPSHCN/P7xOyqC35WcUHAMRAwUjo87bv2KA/dGRO9jheXX791l0y2RluLcJ4kfj/le60EaVQ38dqOQwWuoVGiW2tGkxTDQMCGCCupkMMeqNLGPzFckv7jH8UejoJZR2IfdiTRnE8TqvqReEWRj/YT08xe3vvBXYVS+/kCzKV6uTZR3Q+LWsZkhYSgsM/pOz5jF/g3OCPruSniP/Kzt8ZREUZZvsX0NzWNRrcmXY4Xc7CAomSlLeSPeA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AAA5C4CD0610E50418FC9A85AB0120EA873B28E3F505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2f2b8d6f5058c478c8df4ad7a3432abe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: t8V5CcOMwRCQ/1WWEjo0HTpJ7z5/q1IGvNZg3LnvFI+WzSDfLjD1uLxRkxL1hHMoKg7UXo3CLXPLkJoyyM4agx3eLW88BLpkrFwVR/TmRBBDy6E2rbXJznmseKF0MdER0lqXa2s/JIWzjPwMGHl5tubVXk0Az+8FUMv5xrBxrb4TAttCh+mji9dc7xSr6mSAeDrdyIRYysQoT5yT+hL1IQ/rx7JUI7vea/ZjpkMa6m/1ap+JVSpGlDoyaaWNCEkieAb8NRXHocrykd9jVsVvmNamQuaUgn9WUDM/MbeapE3HevinrjghA9DwKpEF4NU0oR6BRfTWcSIxuKDqmpCZIg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212330\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123107419116?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RLPd2jLsOKPnDvIUBjAOKrjTNOET7kO9\",timestamp=\"1773212331\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"I4MAeRcn4xKjbgnYHt5T3pxxXPosT+6WQrTcabblZC5IH7LagcSU/SBwEey3yvshe/dbRAOanf3at86KlL24gOglER7zD2b+QtRUNae3+uep/COJ2eO1THwxOiqemLoRFuylTeEuB8a7czbbZvWTNJLGsWLifYay4YVvefg+ZFR7WseT507hKfxdl7UdSPLbhTbFJVqXg9X2o3l01R8zNh7qm/pRNMHcKac6AbYtoKXpMOZcDNMwz0rcNB+3+l38NI87z1JuZGKj/WzcCqpX6l0brYxOK6WA7Dchga0FC/6Cgh/sPJAdnreIndHP1kmk8YcNu6IMEJo01eaC6OxYug==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AAA5C4CD0610E806188AB5F8AF0120B2D11128B8D805-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 715d393f0186f75317b39042b3bc0f83\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NmB3KUj5xYN9aV2oW42p1+cPd4UHWkDfaRjoINnVrKhRMzTHVHLXoYuIAdgFe/x70DgTzNb+zuNh/8kJDaduXI2tb69Yu2/w3LrjoCVLNW/XkRRAjbbAgR3Ymm5k96g1uy+D5GI5nb0Mm3Dz5pEIa1gZea1iy3yH2vsgP1e9UKxWQODThkQ/emRcNjsq/d902X0TTOtQNkwlYqa14h3mNUYqoaL061SrVXqu9yGP/RfLjmvWj/gCaFHys8RN6ovbpORPhnntHw5AN3R/2kKmphHAth8hTbLw1J6SHMogNs623zxqVZVCxtPNgpG7ag1Nx9BrvbZilr8MXmZNhta53g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212330\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123107698638?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kC5N4qQNmUqLlFz5K9WErNAe834wZl2A\",timestamp=\"1773212331\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qxfsPxkif+oPhUQQ4/cIZmQ4b5HG81Mk0t0A41Q6VZP05vlc5H/Qh0UmJex4sFAhery7sSDX2lldTWVAlPLijPbZ7w8vCrDpVH7U5k4NLaH7bDUbE7Y1KLJ/XSVl8YCIO0Hvh+6POvqTFbPMStJV3aWTYcHcDR72MMaIp24Fj7OMBIlAoDZIWHgXeLTaxJNyiS2Wk/Q5bIXIQzOw9uipnHHs1Dkl0T+CnV8q/cMgUzzFCArgfMNSZUZC1f4AqR0GpUe7xRvVlQ218yy9RPuOaIB1IWXH0gYlXB7PtfqZgQpFAcevfqIw09Hs3ayQaraUSmF1vz17Fy59tNMh1te2Mg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ABA5C4CD06109A0118ADABF8AF0120E2BE3D28DBFD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9d8a97240c7a7fb2bb6fdd9b5e4a74ee\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SOVynZ270tpBIC+88eEilQ9yjalmsID1lh5KFTbkZpNgn0n8eHGytF6cVh/6mV0XmXpUbdZBKb7KljYR0wkA8R1bmIaxzzfAndqA3YNRhSZeI8vzcDNg9MTnznvmbw2d3UUuHutMwbPFgSJ5KzwRXYrrxaE4+OLxXAYW1zgsb9Bxoi6xTzOKlxN1KONZJOiL4PvLIXMQtXAuWMoReh4e37MGEDP4vkkE4l5Zaw3xzKLP8+58KKlnKflmnzOteaU0BvxXTI9j4LZX8nIiUfReJ4C9waXEmui0tYDxWxkMj4uklV/Jyti2qr2MM92+NUTxF5VJQWzTkTxcKwPEbH0bIA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212331\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108000393?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Yxz2riCOnlSd3TgC4l4tOFChvd0wc4lJ\",timestamp=\"1773212331\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"C38QdXrY0r6v5MnU9Yh3CkkOAD2P4RpdlA4uLIZV38p5AI+rdsoJEWH1EoRhqu2K5G98Gm9QRybVK1B2fO86iyo/e63zrqJMo+jIadY57kFhUEJ7k4ZCIy57nZV196Nxsem5aM/bfKvRGqPz5KxknkZODqBCsJMX0OHbhJpMvrDQR2wN/OIxdeWR3j0G/wgum23OYVEXjo8fIMpGM8dyPVmaQfe25zwnbrRhK4xiUBKGLNZJfZXVQrD/TmpI8QYCgl10tJW2bfAASIHBGq0MABht/pzI3TMoYgwqw+AxebSseaPfsdnzvli5z4ocf08QLMEj5mBbxVnIPKk68zS/Fg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ABA5C4CD0610920318AD94F5AF0120ECC814289CF005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a9868002816a26f5c9a42b683a772bcc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tu5TVHaCvXeG9RVhxxLgBUb+IYY9JAXP/Obr2B0GtDKw7qNw9eB2slHBTfB07Tf0emSQdqlEYVB8jIdkge0ag9JfUW6qawZ1chECz7f8QkBjRBaVEKbdQBx2qhXl2qRnNpIFgW5zoys56OIavTZBkHPG05bIyZYfJaVzp7eQ313Wae8oagiX4BO+2Wr+7H4VGwaBb/IWotg0iZx8Uj5xl4C43M+gtn32N66CoYKNygajwx7ofIC9O1FFQrUZlZyg8UoIJfsxQ9M0YdMqNh08aY0NagL+YPq3hVEz0eCbgGm0ZqsHgHmFw5gWjqyPV3ZEWYYz17m0hYi906nzI0YeeA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212331\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108249181?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jY50sOopgPED8ZTE6RTQ528gvDC76OJ4\",timestamp=\"1773212332\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Cj2excQnHEZJkV/H7kSGRK9XoFSfvyZvGN+MtVXuy/BP7OKuPiPzD9zrMCuU+a/mCjJZFgaEe4jsB6fsLAIR/p6bHHiWMvSdsu5NvMLiyLh3vnb9nx59SSOhJiie3b4iQr3RCh8ivpv4YGdMDZnHihUxQFbGK+eWEdzT5hw/T8OxEF0JaIp5ElHtqLkK0JN8cwrITHMdIlOmlSVklEVt+m3U5BXO1SOqjMPNCsprI1p02I3Kx50vblD6Vo1M50BXBEyHVQ5O70skxBDkzD4gy0AkkxYQSVueGBxXuFaCU5O4JffkRyYbeqKczRvATjN1XEIgC8m51fMXl08I4H7c1Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ABA5C4CD06109F0518DDE7F8AF012080D00628CCAD03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9671f97ddf4ce411c8dc2c444fe11c5a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Kkr03O70v2+z2mPHTaxIk/Cjk+rEhxBM4rT3JxD2BUI1AUHRh1njsEtXNfA8oXPbh4fRgDXjNmAjpRzSCqmItGgHpMZyUTDKl89sLX0/GCuOeKJEhopC2foqC1f01xo59BqRz76bQ6K7ooHlY9ibHjyc6fCDeOznVRWrmp7vEEU8p7zUHRO8EwJRh+BJy7QfPXx/OeS3IqtyB/8vTSkzlSQta7sMgyl/XW3i9pivTPI/RMaS7CTPQK3M4ZXFzwMENuyfc/EkJYVPbJvSFoVzTmJ43yt2O2sCpjsK2qBQQe2SPMsscMrWIUfRf6px81feOPopFkjGUZQYz9k5ScCBJQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212331\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108539306?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2kwLuwhHR1KPoclpAboffgoRspYDDwvH\",timestamp=\"1773212332\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0z1vTDRjPze/Vq9ITBU8SSIl1RpTv30SAoA64GrSdBNf1aqYqlIlU7O2fFgZEulRjFp1NDPjycQFGvRRUAIzKbdc5Q+R2vXItrQQnIHeTS0cqaUEZKNtiZQUDBEOMyINIxQCjoTwd0bmBxnUxmCcTer8EOhUxF8Yr8vxbKGtHQGI5wBhAuWCIyFCqlMzvHHcAW92crepT09WFg3faM/a5haX3hl8RfbO0OXk72o5LDJ29kE0SupjhHFR0+FX5Q8MD/2raS2yLZpMV5AHVtbyxVC7yYf/CQ9SdrkHKsS2g1BpXR6Z5veFGxZmis0rTuA2Tk1BF0lmDTRYyazzMfB5dA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ABA5C4CD0610D60718EB9EECF50120B4BD3D28C4D204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 921e16f7b6c2698d945eb8249808a18d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: t8tSdQZ9py/J1umiYlLCZpfnvPtfqFcCNK8Hl5iD5nC5+A1sC7A+tkSlyx/3yC4/HlJbb5gDuMQf8sSQnQWZ5eMkKnt0J0hbsTY2uVzmyu+5xhdi+rotlKp0y4U1AZr/WaTQdS+I2V9Buh0xEjqcSfOmTmWFJSdZwM4ziqSRCkZXD42sHjJ/NLxtktqbaHXVf0Mj4AnCIT8ZdvwIgyJrCkDz0+ECcehBqMJDI5yTQZM5UCCuUBYu/akqtzX9CCgVFcz+OUCkrmeKnTvylRKasmvAT4gGHBLbZG9VtV9vzLVIqcHPjdIXwKbGw+wZciLO+EKaMrcUOK1wUkosZhgVBQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212332\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123108914243?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fPxvEU1l9snyVGA8TigLSjDaUi355bKR\",timestamp=\"1773212332\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lvRx1cyciry0rLQDekiiWPQDFFYm1Zndx2UQJD7YWsIN8fru7iMJYl4NDqwfAV7WiOe8Nsn74w1aiW15f0Fi0EthbRbAMyCwzNeZpW7UTmj37274cTnNYfET3+0qKo06jIW9jyWX2EDN8gQv7891N5gXoJuikr9t3MCY1i/xH81i0j+gaUPt4LgR1+z2z7f/+6qLq0o0ohG5NrxbVG+1zkMmV0Szyj7NotDxUDtyMWfsByWBrRmkR2PRI3oXeiyTy9arN5pAXkhbM1BrI0XDhxn9ec3Si46PCpOZLrAh1+bDs1ys7Tr9Vwsp7/W8XF7OQFCGiFm86zARfO+a74rXRg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ACA5C4CD0610F80118C181F8AF01208C8F1A2887D602-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1464800ad494cbbe92e444c32f052fe7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AlLZCuCIuoCRe7NvRO9Bocvuj+n1vbOMCxeUz9u2ClS0InRA8LGMIypEfHTt/fKNMKfayZSvwu9AK8nX5+lvazsiHkRvwsfWPwGW4gpLJqASVA8oKbthZYYjCHavJP5L/eDOzDlJjViUUUY5gdKaNhvIiXs5C83EHNXoLsz2XdMILvUVJW/Z1QYDmYsDmuAo25MmBe4pMkY+EMQLEGsPEF4mQ1vd2+4XYMARWCHC71fUbb0IknrFq4lKIJnmZVEvCpBrBLFG1ESLCCcDpf+7DElVMa45WMZqCz9hZheaGVCR2mz/hGDUoF8m0xEDR//YayU7qfP3s5jqDSF+sHrApg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212332\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123109339386?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NbRwKuYcfzAycOs8gptPLZtvzIeE92C2\",timestamp=\"1773212332\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"py6UOCw7grGUU7lJonRZX/0zgb4C7MO+PBLAtI/ISolxIvIdecjFg/7iY1UXHK+vL8dyrcwco7AADokgaq+ptvrnzSEkmhroCoAz11rVGYzDbC3omj6nH0dzgDkY4MiTNEAE17/Js7//G52sPCdyqVf3NgC3uJ9TkHgNwK0Z4sX1wRcVWourEtliUXLQT7MyEMny0w9wRsuS5EgSPQ58fPOfJmNhquSqmXbbmFgwOOU8ZHEQMn5cVzoOJ+azpP0ThHr9w4rPdgqP6Vlbw8GCI8Gsz03orETQJ6IXgHqBdkfCgHjgVrOBE1bNhLtjiuiBaxSEL5Rnw8OC1rFJfHXpCA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ACA5C4CD0610990418FE8CEEAB012086BB0E28B025-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 28ccedaa2f9bcc5b952f9dad441a0f2d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mnP6NuuexAh4N7J3FPzNSgFzsIjjov/JKzhaKc/oUOLeSml2LfsAqc6lTFzsBbvvN7DzqWsNpuCbOZP9DWG7MrDdm1d+/cJ71DFeTWjLqklNtEL1y30cYWB/2ctHwKFB48XungGECV8MbU8wsjLy/kXabQoGO9nEc8auKeguYdw3IfcZpHcUyxjYlfTz1CKdZ07zHRr2lBjuAZkGmHoGbBBFOb75yxkzNFLG06I8TjflaNhjXc1M7ebbLwKmE7uPv774IV+8Wm7mCOup5ekc7xBuyDq2M1BvKlXGUjSlZmah2tMpemOO4ZPjhja6XZz9c2BT3cj8QYp12tNR3L/OIA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212332\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123109626606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"la9ByoPvPxbxvCM9pPjCR7gwmxdNpoq8\",timestamp=\"1773212333\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c2nVwXFDJ5gDpSD+07zNEz3qSMCanK0IXhOybICnlRTUb+bhtcdwTejuo5cDxjGgmka5RyY74dI+l3cDkW1Xvo2kkPzIytGsK61b1Vtk9rdU80pyiyQFQbdWyo6pI7ppWkuMT3gIxjjT1cmLt3ek6PKNXgmFv9v801j2OLqk7/i3iiqLWsWuZZo2VGUgdshUpOfLzIz8SQXpwJjeVPWmL+jsjjecYOL7FA0uqoykbm8gWWdnl3FhNO65sb2b6aom5Xuhok4+CXx5C8z8fHvNE71ATINfMKyd11oTZrjL7g9Sr4NodDT+pHYorBjQvovLBkhCeUlC4N3G1IOYdasv4g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ACA5C4CD0610AD0618BEDB8C5820D6BC1028979B03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cde6acaf7705d94986d2c801c6a07462\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: na19xr3YT8bIFsWnkJaqBmK/lnlamAr28hLYabUOzpRYCYHV2Ekrq7BlHZMIkj/l1bfWgmdqru76QUmv+rsSJhgKGT1ZzM+WJWqQCCpHAdx1QrK+e8M4snmNsOhFImcNi5kUFbQBpp4K2/itRqIRa5ImuP8kspLDsIyQSK3eDAYxdagfDrlFBeRSXlxM6SlNdlfHE4jIiV08sLjbGGb6K8SX4UocIOhvrVgl/3la7+ja4ORGdGm4Y7yn0o7YEePVVmlOz2uqwafuHrjxTfsnHO4Xf1Rq5teXE0Mov/z2iLIbya7VObrwZLLxHFLeeLAHfLowvWOdd+UsAxjErN3z2Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212332\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110148662?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WLLHen9wagKURymDzDdniWZaBZSMiUIE\",timestamp=\"1773212333\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"E2P+WOBXCJN72IUqcjghQTawkiXEnG1OpmdeYJNVSGCpVuujaXWjFYzxurjOLh23ARJcmlV/Wy4Lj0joHpa6kSayesUN7yMQlHi7JuMJFlDQuB+oZnR6cAYltwrcUEK4xFNnJYgivKOkMOTWkqpKkMsIZDOaMoA0SVzPzueNCV1WI2YzJGinVYptFVnk5Gng1P6V2J+JMTY+ixl7QWVgPWXcbvp/1Fzok6TRMXg/ZgyK9y7hasqKj2HGBV5hrBz96K/5DhDOx8dtbXT9V8VRoygvDM1UJS/nEfZxSXKqpsmLP3pnU7RFDhhByVVpnlDXwLt33T6mdW62iTYQcreRWw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ADA5C4CD06105918F19FECF5012082EF0F28F59703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8fccabdb3de7d0cdff9962fe2009d462\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DxKV78at887y/ksQiYKzxiX0hVgFRoaqM/4I4YeJFJiVjOz+rHd8rEQqIGf/brbrUHf61aANFfqh+ZTLxrWBNu1MoRxiWqjCJpEgDTE7NvsfE2UWae2R8sLo+PjBKjqzNmDgGI3If/uUSUkApZVmp5Muv4+EkDjn9FEn7jEAoD0i7J726HLnmVETTmH1J6uUg4/EuT74MwwlpDXG3CZ2dTwNWEUM3fs5wR+WAKMMq6JgdRSNbmM8bVPGyHk8ZNglzR02s0D1JhSD15xFrZAI2u2Kyt5Xfexgyoqpw1ZQwkZEhxtsf13UAx87lrhBWsfk0gljkzWD+KiDPyk2xwPC/w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212333\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110173049?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PHZt6Ib92IqG4wmRequafjG4ERVDL9R6\",timestamp=\"1773212333\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vsydAVJmD+izlZxk6jXhH1i2YdDacsA2Q+j8vDmZIF61R2oF+DH6tBZ0q1WE1bv/y+tXvQLccsG9bwGA6eByDi+2ow0scV65WJmCYw0VWcQims/gsIBKcIP1XWrVP216VNIc5c4bQFEBwKF5eAL0ZQcsRg6xLltOnYuggaNIl0Gj2SkBnRVgk6t5X4L4RCJSjrcsRKBuG3pMqXNERBJC+eL1xLpUA/Aa+OkzHbmKN2G69thMamowNIH9joE/tXGaNnTGkBU1/fZ+vUo+lzUJcUG2IzA7YP/Mo0NmHSt8WY6W+q8F7/uuDlNaTTiFd/hJdlOHx7S6XY+QJ8z8+qTkLg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ADA5C4CD0610D80218929D85AB0120ECEF082896C101-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 52e398547637fdb2994c6a5aa9eb1be7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: G80Mf5PiJecc4iVvrqigM7QZcuDGjVsyivfcOnMgeIOmGqDLDRs3gCb5TJiZFXcHNb9vDUfPZAObQXVNsu6MO5imhPGYT2NViOl3lbZO/lah9AOHyuligJNo8hnWAli/xgBswWQTpDEk7bGPQDd3V5qDMx2ITdnX63oV8QMfUSpb16/6UbyKJLO2M1MHgi1JbIWAkoIwbGZoOty4BPqdOUzspk5jA7szzm7UAgQQWY6BErxBEmirAAyKIeLMscdmC0cMQtMdlnkDgG/0mlZeZRDtIjXPOS/Z73K6G5m4Vp9+nBrRpiudEFuD8rbg9+Xw7P/zUEkevX6gHyRyxiS6uA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212333\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110260938?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6GoeLmt3xAP3macGLjxhlMODqXVyY3qP\",timestamp=\"1773212334\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2uYYsNa8l7Se3lWvG9OfyAVgWLR4L0jJdgMU9P1BC67Jm2BKB8RGVvVjbjDEly+v8qNCnDqxxcok9ufJsMZrxsNE6sAGWS/Q512yHpvnQkg5c/xyR4iw353Rqe4lgN8pF87IWCOVpYCcoAIt7h/19cPFRTG/rlDJ/RSMEHAF8BJKhrMVYcjs1t0nsjQIp+onj/Wzdt+CezcnFIaslcYnMcVz48wmmvCpmAb7VIvCouBtnQqiHQi/sxuREafc86kwNFdW6EnoxIITYnAFB+WYjGWybh62FKJeqYlYcWQKcB7o2U+4+Rhk65e7LF4RPqr8Ql0LCkqgcuvX4miiHbZJYA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ADA5C4CD0610F20418E0D1C05520BE8227289DE105-0\r\nServer: nginx\r\nWechatpay-Nonce: 3cb214dc11a6830fc83de4627b9efed7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rq5nqyzvIUnpaowK2Wg5g0C/Vu6J8bc924bi6ZVZO7Q93eRek7DJClNCyUAmSYs4CWUYcpM0ujpPbqQSZxZRV1uJPICvkq79H/GBr2/6TVLwsykTYL076pYM6+K/a+h59qqpwUjJHUb6g094OLEZeBsy6eB696cqKhe65QRPZyuBKPESimsYi03UUTSNVwnMV5UvtWq2dTextOKgDrEHSJep4A9XdgSSaAbPI8jEs0d6U6XYkY5ezcxguqFATzF9O4At+uNLAPVTSCNdYWh4xBZXt8lHy/pMhNnXnE/F95e1Fw9KnIrPlH1ihoSqVHsKpZXojV57ZRgPNTnFuytQDA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212333\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123110260938\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123110627939?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UaNiZGrbIIGqeDXcC1xfGiIqyakAMg2K\",timestamp=\"1773212334\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ta0TtvwxzSwC4rzucIfJn6lqv5r610TByOFgwAw05IA9Usoyzao1IFtEHsughQmgLL/m4mpX0YNroMcertw9LWE7F0aWAP2f2Ae94ookR4a17+btaDJblpj01SZ3eoNrP50KdMzxqkPIj79lUWy6IwVdUls52JkBZi8ftLPb1uv67uBc9tr6Mk6W5NYxC5obdghx+uvSwy1KNOBQGEICTyRN/IOus0zxHbq3AuHqvoknntZZ4sGRSC9WW2AYCidYn64lvytAWBMqB6FjdfZsYcW6Lndc6s6wjzE9l0q85f0MO5b5nCVBbcdu1QLDq2brHXIivGxDziWekzay21aQuQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ADA5C4CD0610F60618B8BBC05520B0870A28E5B601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e7853d3d60a3b2f97c7a57c04c0f4067\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: npnKQAlkaJJs1WDP4+XxjD+ZYLsf5oyJDGzUBeWSYpEeJwvuiIYf5x0gp7GpjL4NY51mN3tDh961ex0X/QJh4DNHSKb6OG7S6GI/OESiIwRxQcRiPNousDlSDSOyFZqh4PXdGZeYFEUAuRpxWuAu9RFYzOJHF6YKlNNLD7GnNydc0noDAL0XE0O2xBpd1/ULB6jZmMa39OXPukmPhSJAb1PAoNVVYjpPIkzBxMF/aVwLoJQVMNVDN9aMQqxu+Dv4EBXFYt7gwGTu0WFQPey9uujRmGqyev1pkt1e/1xTdFMAocN2sWPCNvIH9sZWKvD2/KwKV/o4gBxHDtCiuB/Opw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212333\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123111152650?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xLsBed7c2wScRDhBMZY9JZifOzr02hRf\",timestamp=\"1773212334\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GYs3St54D6XPHnXZxO+qACoQv4FIK2+7lBfh84COJMI7Z1K75bnEHaB9z7RotUHGqe361qPnqXOu4HnXxLuvPaFPgIz+r9ruMZpp0Q8JSOD2ZV5tZG3KA40TxvMymulGREys95R2/tNyVP39utNlbcRXBrlkySjxWcm+LbYuNqus4b3grkc3yEPdGLygim5IVi5d0Lmb20jFfo88/eWgP5MZy4agXGYuw3DTJk+x6BIqcfzBMPQLAlYfs8EAfe1CuEYV/m4Qrgby87Z2f2dBkNniFml/0ckLCehSOcF5tZKf21PLrFZ0Pmbs9onopzvwXoT19rYZlhHJ/0+RC2LS7w==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AEA5C4CD0610B30118C6CEC0552088C30F28CF9606-0\r\nServer: nginx\r\nWechatpay-Nonce: 8bb4f6ea126156824aaa4101467f4578\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HYtOBJghnAto1jJrvY4rRd10e4FHQEG/PQP/rrMlJ6vw4dliW8LxaKpngF5ar1eOHelZ/spkJsmrEIS4jv8wdYjM0OxsAGutCSbkTltemaxiBwPr7qf7q3mAWUheX4rx5bArqCbUQczpXZ9UbpjsYjmwJniyu8QSA8oni9HSpvD9ooiNRc0Q9JwwB6wqFk/JqBwuEXDbhUh5U928E5K1enTgDyUgic9JrebxAuzhtoEDJakLKnMOmUCgUo9PXBapSwc+58LL/ZGzDP+UlyrCUQhIO2bGDzD6TZChcVtN/zHJsTVDtrHpms4gsO0fqzHCl1H9hnNqYv8GIcXsFRrxzw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212334\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123111152650\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123111471678?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jGRAqZ8MhnbmDskSBgZqyO5JVaDHQorJ\",timestamp=\"1773212334\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TiCKvyhGhG/k94XOQ52I5AYOiBImw90ufqcdia3dvmNAtUFohK6f2Cy6k7YIFKtrpLIK9rQm3EGR4BbyrJQjhJeFMvqBO/URYY7tV0n9r6HuIbRnc/9To9ZXM2z0xfXHfqepsz1hulUushq9njS8P1v0XBDPNI/bhXE4Jhi0USx2wWE3YtB7vHa6o/tJW/g7qYU403Vq6o9I6HLmL3DBWkDjunyB/+iNlV1xHFJ6nAwhSN0OcKh0yV32p/mZ7uyOQK2s33a1KCjrTnwRTq/cLWwfv4AbbBaWGY/XLzXD9NRRPQc+a9c1E//gb83P2AD5h3qHOEDMfgsBQYyUbeiRiQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AEA5C4CD0610CD0318E981ECAE0120CCCA3A288E8901-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3435b218c875a36c476aa97eb9516dd3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CtQNUsF9m78PHDI5yt6eSx4uzewcPBXSfP80OpfKY05oHhWBEzNpiOfxJbq/MaxMvIG1REpWM2ClJeXdgwMXgTCN8evcESpzC1U/1xB3ALMDdmrZ4F6P3HR2vbXnjcUEv9C8VEu8ojLvk3peUNGyLbiVQOT2xn5EZ7OdIYa5as8HsXfhQyhDtxfF7630C5+RaIw5unDGCZkZPQkEod8FqNwQrXzXD94ThF4AfYsCYxHZzYjY+9zjF9DB0xXQCHzSEMmVfZLm/UxXMtbZP0UuhRxPwoD4CdX9vXlOJNin0m33QVDc+qt62z0cMzNX3FPa/v7szpWmPPzYRCGFV8YnUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212334\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123111861414?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Qqz5BlRj9OEuiGU01A2H6K61oYKIpkrJ\",timestamp=\"1773212335\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GLPQ9O3PzbpWNelcmYnveaM4P/5m8/xk5XC/LIGFYbMOQPujWMGcZ8TJXFPmsiHDRn939uKnVpEBK+3rZVIx5CBAn1AlHSaFPUdti7KYPvL5VQSLypk+rWCcl0FXnBs+92OVXXb/HqfSBp6sQu79CDtQQ9szvuS2TSimgIAYak7nrQjJSwe17QwPuMiBueoaC4tnSDjMb32I4R+188ekxvQUl/mOVo9HPazpIJDWWiu0itxr119YIlGFuSh4NWaRrqxatx08iKyKxuU+qclv9lX0nR8nxHvy6qmxh573I17cL/YMgG2P7mHP8gX6hURdqpLWh7hZfXyhoG+0dGCONw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AEA5C4CD0610CC0518C4C6C05520B0EC0228F2E201-0\r\nServer: nginx\r\nWechatpay-Nonce: 9a1d3fd7aea81835400585beb4b2576e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: fWTeoVdxOpcTWOXvJLrGC9q+oSkdaDUOqHFmWkw3xQqgmKncnvvLzJW+Kk3nwxcUZDeOPXho4OFazMf8inqWKfTMEoHbfo9LqPQcEJiXpfzTdmn3Suq0Y/bLtLP6jd6k8Nvbl1PKBnsfEl/7v56eiX7p175kUZPSQ3qvAT84rgNOwmJzXPfkUcyNAmbtJSogFVhNdVLJmEOdwZBNf5/lqYN0fZg/UMd2dclvm6c9fXCtUrG0E8tpZ+ZiQEPsVJ8Wmz7B6+nUwsk9Fwrfk6LgV4d/aU9ms2/0pa0gRzVdK7eqjBgvWPEMaomSmeIVxEpvBayI9BknNKiobzdrsAg09A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212334\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123111861414\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123112234943?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GHvRUS5as08Jq9UDeOJP2WMgKAJZBi6q\",timestamp=\"1773212335\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MUC9yIHk3dSLkv7RTbCCzFiTCCEO5LdrhUDMiJkSuLSA67f6daj+AdNwmQ6N0WrR9hwcQgTt+Cn9gKbAOngi4IuZwut94BZfZQbHkLeWhSIPaep4Nj4SkDDyx+txbH6TTXgQldjaiV4fEkkoIRZmp/HWnjXPpNIFOnIOOX/3PSJqdgIEQWU3jux9SoJVF4wx2sYL6q76mjTk0yxwspVVnJYzx7PcUbUwjodc+aaqSemcxUdHd7Suf6Dv08aHYWcLep5Ul5DRxkNVBdJpvKnYabEzivudhP1LLQJiL04qQajDBzsgsFa+yuL0f+/EXXk6pddaS1Wc0Toqc8ZCdQGOTw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AFA5C4CD06101118B89EECF50120D4800F2899D802-0\r\nServer: nginx\r\nWechatpay-Nonce: 976aed504b45c7414e525879b4737235\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QJG81z5vmRyc9dIjIRpNwEqVXqzYMScs04Q6UQoPHHIMGpNpsU1348TZE0q2sK7QNJFmDzCguKkcUZ+5AYv9d5klbn2PLiRuMVICArwtIbHBMt4l2+pufjuF0iuBXuhBsztOCj6wphiPxcWGF65T1i7ct1I99AGX8+NUhqcZOuXdVOFP5MBiTFpHApiv9Jhmtn32+ty46tX3kEZxpGtaJSVaN3ilYeTHbaYcmb7i1bdaswaWeVq6iixe8xLPjDqZJ3ngjouAEloMjNrXJHUS7IljseJjTEE44vvck/xrgOfpY5bOqOrDzpTK9GaLftnpgjLSaUZ6CLYwCDCUjouvsA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212335\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123112234943\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123112977159?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PhUBHrx2Dyi0arAfPzChQNTbNOuaERdt\",timestamp=\"1773212335\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uB39NJebC+U/L0FmgoAFrsA/hgBeDCH1dta76qzgSpMrKz275OnxzPnL+5c32DXy31SO2ROVFIazzimBIVY52cSTe/v8VFNSbHCs0rT4oNUoHg1QtuVH88dWpJR1c6E1/qJOT0Ru1bDQs3BFXkuzWASN2VTpo9AAaBcW4JNBEnkJmLCkm06mWhdRKX7o7Ra+DUh3o0w9tLRAlgpijcDqQDSeADxKe0RXK+nEjb+IurQX8H5KJeqxK+CKx8jopzqGYTkMJETTYdBuftIqBnVEX6xZ7FjqR0yxmldPOLlqH0mSIgXR/jY4s/0V+wzQg+hqGp+E1m4gUI5ZuL9QzQW2qw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AFA5C4CD0610960218D7DB8C5820BE941928BEB603-0\r\nServer: nginx\r\nWechatpay-Nonce: 5e01cba278641e1b3f27f3c83cdb8ee1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: J+MX+/qjh1wGVIBkZ5tIerdydsDiWLjcLkR0F3OzzzhVLANbvemZr5D+N3fzpscSQPBiNAcIbuqQOxboFW+5tfh/mlMBpQg+KKH91BYbNUU5937bOuPSUOlP/6p27W05tObRPTLEURcRgtf0UE/ie98MWMWuHl1SaaccCbvjxQYXop5TkRR35JAbCRsOKl2yj3m/P8iCOPZ9dSZM2h8bapqMTb9qat6F9RE+ga/on4QhBPTGVGMiNP7EdMO4Ce+X53TRg6orriPQNcQNvSUnFd+nF7Y/8YO744cspNKW2+IGXQy63/zEFT3l979UiT9DarO1bAR+Nd/Cy5Ie6Vw/6Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212335\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123112977159\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123113040024?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RrLRTKveFPQ9D8ZpB7ZIdITRQ784m1uP\",timestamp=\"1773212335\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GKae3pzUjCPFFyt7tXQxaKS9I366WmipuTqGHmamTkRd/6x48HOqV+fa+XRMF4U/ZNeZjK3mEGZ4BFQjwY/7ul9Akfm5sSNXHkf+6dt221Of1LZ9dZ3Az8gYgY0dzHafaVhJuhstVyCjl1IZAk5B3aVVCZzufcifYqgLlZxgzuyflDA36uACq2/pUIqSKEMPx5hM+zId7GZMdqtwOxDj7BfBEgxFTsfxTW/YbLG9ovghrjkioEI0S1vmECoHwe6B1nEPTzmfH0JjP+mbxokam7a8pYHnb7mb9qSsLdq9L+z3oOchyeh9zE64hkQ3TkJo9UT5v81gcLD8S8heF/Y08Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AFA5C4CD06108A0418BBABC05520AEF82028958704-0\r\nServer: nginx\r\nWechatpay-Nonce: 4f18b3bc2ef620c67c8daffec61f3460\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lCIYQXpdKlJ1+rfEYMDiMArzmW8nV3J9pAvn1szHcdYl2uactZVhqW54gVz988CPB7EZ2i+HFQyX3UJr29h04Mhi2jmEQ/HyuknRgQNh7cIMrJDK+wxxodVKh4xNsD2YfcKyDWcH8tLYnRubk+WZYz59FJfSrbBfUKUjxKN9ox8hrY6rxi1mPhfNbGr1yATEdqmU9eBndO+lc4TWU9wWFfHl/4l641WrHXfg9odKwlPKQJNQSxrrMjeIiRDKcrdhhv6jfspIqKoJmork8ybfChkR9Wv45kh2zZwXwuHpLqdvNLdvhHI4/Q6eTtQE7emN5QDulOc4a4ssjUOqeyygRA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212335\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123113040024\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123113160108?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"REOEDgeVLF3uJfpmgOCf71RqLAMfQsez\",timestamp=\"1773212336\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0jMqiikoiXH9l7AerAOePdjYPx01ybRpr8T71u+iL48ej9h0fMzqPQKmy8Gj/30f1K4AEfX7Eyz+2p5CKzbxVRmKYRlwwkOv1LeDrb10f6MNjWf8g/Olc/XcHf03XSeATS1ZIayjXEjVOneGCH+n7ugS/kleI7Ow1YoLyGwPM6O92sghda1ohDDTR4bd/GnTjkJ4BpM/qKIw3z6b0n8FwZmBO+x4pTUgjKp3t1X9SEFPgn02L8QWjXoXEj/lZNwGytYXKBduE8FmmHmHDXpIfNfLS6LKTamXKTKQ8uqE3VOgDh99iBqQzQibuUdSoLks+HChWgTecMm/xf0Qx0FosQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AFA5C4CD0610C30618E0D1C05520BCD504288FAA05-0\r\nServer: nginx\r\nWechatpay-Nonce: 908f4de56fcaa12e49a2c49cbd880f93\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UEAP9ui3gD0iG7JPziElSzE/NbYkW1rmYwVCpMlfa/TuelMaDaYad0WhCF4knZVvTN1wmgpB2bW1NWB93m2k7V0/N/pjDbinh9XwhmzVF38vASNGviK6AcLndU8y14tzoYEFsV16fCB/P+7VQmku0YWwPjRccHUXpXDpZ2NcUqAp8lR40ruPpTVKU/eHdBM4sZ++t30sqP2h7OpFe24VApjPcXFepzArTFHpgVyNg5fttINEExf4TRt+JrG3G0vKgDzrMtTD/A20vOaLZkjw7BNnoayJfF1wF+i1zf83kxSjXGKW+bPYGb1eCQGGx0sJN++ex7/yi+tOsZcqxSleSw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212335\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123113160108\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305123113549177?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EsFXRyZPMVHjupU96SQNYbVRpqQb3PPo\",timestamp=\"1773212336\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"McvDcG0Cn/9nszrHsvu6jEUPRfKXFHIz5Yf0fIBavidsuJPMF4oHu7mAnJBs14zxULGUAz6f+cdUJ6WwcUF6gApPfovv/j9nU305QsiuOM+nGGeuU6JGxeWj41Dnzzl7QoxiS0paitAH3/TIbZ8VphRCxf/euU9qKUB0Fm44vpja4Da8OL774G28d33HwHUoSefldYABFzUgZW/hZLN7xBBWIPeBrBVJT1SCAR1xeYH0z2d3vMc/CRb75yM+imSYQDKZ5bBoj7ExcNmh7fhSDnTeBfQnl9M7iwjC5TtkQcKQWbnpE89BshahTV39G0rlKVqBUAhjHyDaByyYxeZgxA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B0A5C4CD06106218D0FFCBF50120BCCA07289CE204-0\r\nServer: nginx\r\nWechatpay-Nonce: b014723226d2c45497c3563814694c9c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gamri1NYNKYlJoOl/cj1rjO6wMGPoIlnatz4Kgm6pzU/731DGKTB6FiO0pNBa4c7hvBFDJ6jDxjgbPWU0+H7bwfMhu0u6gbjW8C688z89AhluKCcKQRW5OB21wfNryMLPZfmGl8a8J8hWoFmsB2CYJsnMgu5x2WCh9uZhH8gfhbbO/QdVoIXv6bpOjWJmPxbPfi2Go6iroN2Y9a7JaMfQaVTbJipD2RbbTDBFFGjjrJu5DTB62Ukc0/8mO/7Zf6gC1GQWqB8sub8uBsl1T4taadyGZkVPofmTz+1Ty5Yt6AoOIWSXMUET9/kfQ1G66LRCGEIChG0315rFnB5Djo8Xg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212336\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305123113549177\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142300758656?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ruqbSIMXY1csluswCFYKTlRT0zEFlZC8\",timestamp=\"1773212336\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GgeDi50AT2/zj3lh1Gf4LAzQkuPEcy1L9X6DN4ZHRRtNlxoMSYm/Fuxj7mV+4HrScBSY0kYPtkIL8yr2m8jphpLyEiiYBq21eChXhMbdWUcBihUug/5CRs92QNXWov6brtt0HVclsWwkgvnsijIeQekPtvdS75ezfZGB6FMzS0YXeotYtx2X0HgZsGHEhG1p7WG7wmi40G4MSb3UjBsr5hlw9NCtc9djBFiTWbO/WTiB9k7Qu7lSkuWfbRUPc5zp2BucRTsopt4lrOxbQSrPax5mvnczPv8NBAofoCUvsDLIPJYDyM3/tdhyP02mThOr+xBDBsf9x3UWByLsZgi4vQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B0A5C4CD06109903189EC98C5820E6D62628C8DC02-0\r\nServer: nginx\r\nWechatpay-Nonce: eb9cc18ac1fe3c9f452f30c887a7ca56\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uEa8nFnRhFnKxeD8dtjRMhwvdFz6w64vbsyA/bMaDcDPGqLLnnvC1VnuGlvyD+5Lzea9ep/1gxbfx0nFL4ubWkq3exob17XthqxDxcek7Cgj8eMEhz0mVXKlf/Kb4uTheiEzfZbF371k4qi9+NuxkL5K+A7PqPMl0NQGIrZsQY8jKyBvi6x/TKSElNuD98RVyDQbJL0VCaD7UjcFPDs7g4jYuczoyZPG2Hg9V3cDcu0kPboKHvHmjtLNpp/mjRcG1B76aB84uZqV02g0KvSM30qNbkSMoaoViIIC1Su2I9PBFMSYEH2FX0B3mXwFxGbChKFKzmSfjbL6cpzVcNohmw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212336\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142300758656\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142527612975?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"u7YWzxpl0efj432WJlsa2eiK8zkJzF5Y\",timestamp=\"1773212337\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IpRAcEkFrqhOYnytZllwuCIjYDSoAr/tIlYgAvEVQIhOFwomCCf3Q/vEaBuOSbH8ELh1Jw5hPORJ0p0Q17Cq7k6dlrSF9iLJyuz7NAm+8EbHyeE7hpNt1KcC/kw4gOM6f2GbMLEkvYdwbOXguhG/m8r5pJTPO0jpK/5DViaOugTyUJPaAuOModDi8CKM2CWL6JvgaMX3CACuTClFtR0iTgADKGZ4fPR7/NkJDR+aS46EHIf9N83IMj62lSSe/RqtDD7YvRMgayO7RhJ3/M9DZdZ4ij3kH/MHP9uGO6jxjTpNSOKg63FbuWQjO5WBR4xasw1eV0GLOz1T0jN1ftmlGw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B0A5C4CD0610A70518EEB1F8AF0120F8FC2128CDDD01-0\r\nServer: nginx\r\nWechatpay-Nonce: b51d162a192ef7eab40be2e4d1bc1456\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ylgduvxq9zAn0LSYGnw9S2wLdx2B1AM7DutMGsTCDLlswYXRwnP6hwXk/c+AqDMui0m4rmqgvtCNJQ6CWr7JfkwudSbpVB6lm073OQIJirryywTbYifR5+ECpKCUjjlIw8qNJMZQX3djkgvXf+0eT22uXxlYRZftN2+sNZaUvmyxxcDUQnf02VrdQSUh8hb32HRTQwP8ZHfXiUwdECrLnOyJd3T2YojsjXGA7rn/G/ujpHZIzvc+ghGFTQKqkfihBYGYpDHbIkgretrM5A645+57T293EzwXBXY7D0FgRB0312PEkPYZSDBspHfDYBnUdA0NSZe6opiYkDumRnjQeQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212336\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142527612975\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142941918000?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cGEXJ4fAHdLWnb53emulqgQXFsmCc0Na\",timestamp=\"1773212337\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TlyuyJx+9XfVr9Rvw+aZcffj3kT03I1USWQD0odPRUNJIsCaON+lSXeR/QF9qKIHTnl7kpKzHAIntWF0+lGOuVeH8QwPWqyuC3iZzyvpCzHksMqTlPwPDCWD+C0FFSbFdFRbOxq2mAQRpcZqz5JjGHI7WCi3NGUg1s3WnpilTQ6vXU6z5zpR3mey6nyAnN4vxHdirJl1VN/oEI+NAx7e7rkbtttZo6PKfPjhMeRDbneB40TXOkRP5zzAnQU1toWORLEP7gK7i+tbTXw/lhmwZXh915p57v2AY2KcQGkDFgo8bCCttOCzVcbTcN06NgVr3/DIIqSgGCuA/NLsrOZaog==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B0A5C4CD0610B50718FAC18C5820D8C11228CEED03-0\r\nServer: nginx\r\nWechatpay-Nonce: 134920964ea951584a853ca91a612fdc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HnmlF0M2Pt1um3s7f+Nelw2yJtEznNs1bE/8soaB4qjz4/ueW+NK7F7nDJOE4Eqq4zKGrlFxjlEvGBcSqJ1czoD6ZWS/Ur0FBHUWGKAbIqTQi9Hh0dO14HISogGsuIsTmqDdIhDWgXaKWa33MQ8gh2cL1a01GHz78mrW8fEoX+TNep44Miq6VdaAnleUJi6QEOxm2chyzGySIPMBWbPcd33+XZVm77dg2LdTL3TZTKjGGPHftD3C1uASEZBUyagVYOdwNuqsCX8iqW6TA4FbfEzUBdhGnd3Wtt2DL4wIlqv67dl4VSvys8OmpKkb+PQsKHN9/9BFVWvWMlf2UTICng==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212336\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142941918000\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142942119166?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PTPXtKn45MSA8IxEq87fU0x5d7DbSHH1\",timestamp=\"1773212337\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uhYRfcwU9sGbiRSisWnHy6dU79byljUkDxsv4Y0sxd1jflNnFXrMhIoPn6YV3sngGUTeuEfHKa28+hK+ViFAGEps9kIeLdbExWkCK+zt3uR2LqPAFc21fBetkaMNEU6oIxAQt/O9giWgpGqvRDKed3Uf2fR6DYdaEuE4RYBSKCn99d3f16DA1+bxYAL6fQUOlt8kAZucg6TuYbrs9aEb+IbtLFFdyyVaceVPSapo8Mwm3xYV+YJzRUjs88Kwz4/p/pj6L4mXHXyVQ/C2E36G4nSmNflb2fCJbVP7t4NgQ4dBKQxusx6DzlTNzRN8VqavupMPbLYkYq353fAbS7Azlw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B1A5C4CD0610DA0118FCC38C582096974328F4A002-0\r\nServer: nginx\r\nWechatpay-Nonce: dca450f5863ff079dfb1459090afe765\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tsibdVYgBbYbx2SnjBSc9oNgWRJB2VFK9nW0+v7JL4EMXUzCAI/7JvHq0A/OjGnTy2BvIEvLic54a3aWZ0f+anZnSM1941mn0U4XwBTMQ0Zfamp8+MUQo/yeJ3b84NYjwwNhGhX0Pm/TOPqc4V4NI4AkPeWtYE8PQ8tD8nZqiD8ckU6+kznzj2QHjtA4xlD4VK+Pzy1KsZKDtXg278L+tuTtcQgy1crKKZ0bFF14c1mPE511S43+j09ApECxJAm4cl8Kt4e6WrUqyqvqoLZX15mraKX/a8yBoDg9BOZ4qHXXm/TJxnNA8Bsnti9fqIASULXTMej9AUP6WgmtfUpzUA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212337\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142942119166\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305142950496170?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hEEMt87T0OyUHP2urRpGOpx0as3qs6HC\",timestamp=\"1773212337\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"M/X2G4plzrleBnHpVOA/SP05giaiB9+Rd9//F3Q4bB+Cws+bMtTQJ48l4F7yEv9TT+dm3fbb3GbbtPTrOzjQ3PEQLX4N0bjr1+5eKRT77dd7JgrLzhd8CsAMFLEo1/aVMVBysYG7kI1xRcFUCiIfuecX9DMvaQlgCX9RS9zQFxNY5kHfNMcJzQFYRA/0nk8MHTv2ZL7pj4MwAg/R1pqrqASRnkqG8AROlX0lc6AGAafSyaJGoCWfwBUrXsTBT1O0lSPjvZxxUO33MbxC807bw2mmlwZh6Ng7b0g9qIllUrYfjRsVwv04gc3+uWq1la3TuubJWzR8MFF1cz92cvqR1A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B1A5C4CD0610EB0318EBD48C5820EA810F2886BE03-0\r\nServer: nginx\r\nWechatpay-Nonce: 863f7a59ba1f89ab4162a64499f11784\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xeqhBdrHp3vYbyCNckqzN2cUalbc3YzguqJUvYefXzdUmcrl5tZoTwTpbKZA+Dz2PD1w5dJogA2D93A/qj7Dd04W9hTHAILzsTnk+INrys8H+0mIdkeZW4uv1dw23oKhSw6Pfgi8Q/8IE7E6SxDI9zPj6/RfnqzonZB97fQ6raz9+2bItinGzadCF6ExFaueDhmk4bNUi2rmZuRnBMqmsvNOhPXpcpnk++2jXlujtQq1DPTEINL9b/tPfaUlV0XeUMB8QWURNapWP+rTny8b7vu4vcNu2MyiTlrka4DtIwXxCD4POdzdk5MPfh3UwXiCiX65rkCNfPRhRTNBQ3WnFQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212337\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305142950496170\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305143013400734?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RqcOGFXvwGCs5vDaCEXKjUvAcTlXYpEb\",timestamp=\"1773212338\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NvDxxKufKYjFjotRLx7HgXpbcU2U7s9RG9ioM7LBuWA/SW5FvjsmUbQDgwKK0qFsYKhKQJMdZTqZz7/WwOMyIVrt82tlm2hG7xiCn3lTDCEmWaWM0IMMIFjtgN9fkR1R5sl+c4/pdhhVhfUcHwJU+Gt2Urjsj6NJvkD7eXg7PblGrs3WhDkFLY07QCYbXaNDu+4QyL2smChK3cOhhKOqRjTRfuag3cKfYgmz5a4yZUMOIz2swzUsPTFLYZgC6xRP+C1iWkHEwIqn/ZLYlFoJnM4EKH4XjZNoT2F6hcYrmbf/RyrKI1WB1Hi0/+SLc3B8PAxBH5rGH2e4SNmF1QXObA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B1A5C4CD0610E90518AA9085AB012098EA0C28C6FA04-0\r\nServer: nginx\r\nWechatpay-Nonce: 4920232d028b9a1ad3c9e4c78f1b8b79\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BCc1oXY+fgfKYEN+DJk4Sq4EooRnpogn6fdQfheMDwYHGZoU9WKlfWgWWz1N+JE4SbtXZsbGWKqgBqWr5He4cX9SCSs845jlZRVrnJtTcGqrsgU484p0kBe5wiKmq66HrZr4PKA9XgPbci/U1M0YVZCY94xs84YejbGSxYnOyVbgluPO5hRt5w93xamW/1Mm+RQxPRFzxanMplLb4pLtZO+JosPm3t3VUkrjZps16yrqPWIqc8QDShzXGHt/5els9cJ91I3uhkuO7286XueHwuo2/838sItTH/PaTpZFn7rPRpwhNvmr2pOtlO5ivo/J5RJSuRWqr5BkEw2EWpRKtA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212337\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305143013400734\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305143015963950?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RdmHZEce0kyfe4HMjBU5nsLRiCx1FMAf\",timestamp=\"1773212338\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dJx9TVLxptXOr4F00Kq4E8nxzIrIBv0w50QlEngBadwnIZ2b09E5Obc0srNjP7m7M7YREzMfIynhKRgdeXiA5UAm6zgugTsCaah2M3j+ME0yYt3/4eBF3vUGNHqIYsKix/Ri1SHFUR7n65/KDZ1FpBQO3B7RJ3a5/3i7tYIyzTMd7gXTG42NMKJqaEMfkWqu1EKbJPkH7deI0pz7Ipft8bikQ3l8l5n/kx+wyIBP+Q73Iwe17WHzAqWR7E+OTa5WlxAOFP540SmPiEiOeuNPLiKlKdJ8rSHlq1954zN0cAnulzN0kacDdTKW8/aJRgGsWDVUQdbH7FEiDClY/89QLQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B2A5C4CD06100D18FE9B85AB012096B50828DFE202-0\r\nServer: nginx\r\nWechatpay-Nonce: c7a0e151472329f45ebac12bf25f0493\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wA4VMMo49kn38gUHE/fvz08qeZjiXmcgTdbZSo+mXjT3D8EtW8QApKT5Vio+eeyz4Uo7e5P87OKVd0SeEFiCglwTmPO/xhPz/QZWbEmtb1dLrvY5vgHSpuNPUDjN3ZhXczNsadfFezKuxTOLm96UYTVG9p5VnRTYjg4hEUfVj/T6ZEgGL6F6hoWN8L3OZJPLB0lU5Ffi2D+FKze0iouJr84q016S+HRkxUH+94K+rjwlJqZz0Gex52ypwrkjoJi3/X7JGiRx/v9+wxPO+X6U6GUcMASR9bSvjfqYtHWh4JvZns2/FVOWG+h15K7PaBQjmqKNJwIsbmgNEZw/lEEapw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212338\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305143015963950\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260305160412776209?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TxMJPqSw8O0MUdt1teSl0gOkt7ySOOst\",timestamp=\"1773212338\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"X7VnoopCFdYWtzHohkVClZYGR5ZNDdrRAi4Pcfm/cEmBNgwmz/GYFoLutS4EhLqegGlLaf7ITKnVB4FV7GcOG82L+XAWxOnALApEAUNVTfbKFAMUZSjB+SyXOsKAZpXvVm3frXcDTOkJKzuJ8EhbkWF4cUzezp0q/xh97AdMiZnTt0/DBMFV/6LrKeCGoEbqOIMZi03+STWb9JTZnW/ziyoq+wD0nhZlyR7PJWu+5rzJulIVokg2uGcnHY4qPV6GAxWTvbNhYSqlEe7jJXu077Rw2bX1zl+Yez3+mtCeUI/XkbVWbpmzZpQ/KhuTvPNOOuS3Ak497oQLUHVHGsr4AQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B2A5C4CD0610F901189EC98C5820909C142883A401-0\r\nServer: nginx\r\nWechatpay-Nonce: 80468ac530510c554b7c05c0656065d7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: T0vC2iNZaVWtyihHfeCUb7kQgOYXJ85fpoNBtGAcucU5PhY4dKf90LcMXz57LYloEXETjJRFN+LShE5Glhc+C3ED8y2HKsJQyuNlVuUT7XoX/jFRhlF7KN8dXvy8JKZssq/5KjDC9vXLc+kHWyGpU1eV9x7FISt5CT1sdlThATTDja+non9HYvV8WpoLX5Uk5FPyFU/mNXIswp83VGI9Bdaz/YVIr3ZfxqiSdMP7EEeQEcPC3tRCraZhqSmmc90D0/IfvK3BwzCrENzL/Pf5AwpY5dqSJwJX7ndK/bVGJ75NvsHFn4w1nVsuUYFyJcSahEUdAcbT2HiP3jWefDw3/w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212338\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260305160412776209\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260306124440714553?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nsZyTtIX1mRmspCyPYqhoKnaEKi5pPh4\",timestamp=\"1773212338\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iH+KK5lP+8vKNH6j7FII0LYEUJQEp4X24QO1iHCQTvoALgZhNbHs/80v9pTb6lLarZDrXQ66LN+oCTy/5ncmJxUPvtk4b+w+j44dOAneh2xXha2lrT4K2kFfDCPSwyV/ga5Ler6Mcz/XjRT8yrN/x4tRhMg+b7zS42OxFZg9wfO2y25XD6CJXUzRtnQO+CuiT897SmQjuT1rF1puNvj4zCsoCusbzWkAw6LAwamkAhzCcNjcr2ip5St9IK57OCY/yMdPbWyj5QNh5UrB+jJ8Pzs+/rwol7ojFgQEzdIL4Gv9gqyRmOTAlnoqzkRh+SKO/Ekr9CwW91jxYFyZigyErQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B2A5C4CD0610FB0318ACDA8C5820D0D11828BFB101-0\r\nServer: nginx\r\nWechatpay-Nonce: fe61f3c51a114c0c9b19d9e549009441\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LlnQ11snoAFwG2ZGJI/Av5/CoKWdjwFkIZXdwsck0C0QtNV1rn9B7TMjkB9BjzZjIBJXSSMdFIRlWf3v8TxGihENQXhX3xcSRtZVYaR3EGWAggplii7biZj2lAr0GdAK79sJd6FirutRGOwD7HFT4s0xcftfkbsuNB/0Jnmz9UQSg9M1bBaR6rsRE++uRAKXzG32Nsf49W1oN+CHloBGt0+vzs4c0uhmKrFom67oNbmZ/3nPgD5Kzl1cww3ojk84EdBAs6nWiCaULpkVTq88MmYpZ31IxuYYez/k0jwLK0z7prLHOss1/40uysv1ML1WiFrz6cjfmhKn2ZDKWnGcdg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212338\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260306124440714553\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260307092935707893?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LlDPA8BYi4yYZSfCQ0GLNZqQnMUW2DMU\",timestamp=\"1773212339\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zafF1gE78Z0Y2xT1gQ2l5ghxNk3895FwugVSm9iGnguFP4AOM7hw6GpDIIeGyLlVRxXEn/8EZuU9k+74Q6ApUX29XmohjrdDaceq+Bz8+YHjYArJPNaz6TInlmTPnzHstgC96ZMF272GUcbetGQOR/033JdCdG1kUd5J7shn/KM+dro2TDJmSP8Q/QDWz0MF1l3pEimupS6wWx6cV/3CUhtpYZAvrWG6pE4PUxjOYaEVAvANlPbGXyzZbFhGQvopxxR4yOJDLuvka1Pvos3Xju4OnTGcE/rXgk7SxEgUM4d7K/iX6B4eUKQQ9Y2oUWqxc6QkmfEbEIrQTnWwuAhcAg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B2A5C4CD0610AB0618DAC1EDF50120989106289DE605-0\r\nServer: nginx\r\nWechatpay-Nonce: f7231e76fc7f1d406ca23aa08587b072\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PcCE2tJL60GhL0f8OLecWM5GfU7IUz0aajVBawoLzaUzeYxjimUk8Z7NKGLSegOlJzgAUFw9uu9xoNXuBN5Smis11UKb/sF/tnnF/NcAVUy1OQ5JOXzbv1puucZac/krqFKPVKQfC0RXEt/3bfUkyl8o+J9AAgEdipybAXArCZaExZS8zuDECWzn8biIi2weAV/PgwAmB3UzrXxpzZAenEK0wxeVOStYusGy1+RK61npKdvrnEw0IB+L85nrinOZb0jT+DqF2KogbWl2CYnapHSfuV8HhQi5eoPzorpZ3sawwEdJgU4ukofjhmV1XiNu7j4hvWypodvD4iroTVxabQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212338\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260307092935707893\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260308001233343696?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DgEcCdwyaP0Qs4e3dPymkVJhVR1t6u7C\",timestamp=\"1773212339\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"G2u7RvKMRy4PpzDHHwAXhV1I5pwoxAKiFAdL6pzZMa4VfJeuVKt4bRBtuFwkebwbujO3k8uKYkWxMT17Z6lQDNL55pXwYDIAPe9RGsYTlVJfBBnvUBBhXthHGV4JipsGfq+TnL2V77qzJOTSq5pOMWDDq+QZxKsNbfecg/HNarLnZOgOafOrbzON5CKcnBdVd8K5a04PdmOsphnC7J5KRsz8C8C63p65+trTgEd85T1jrFLI3Isi2J7dUct6sCmgtTvufC7jJcVZU0/X7f3u+bQFRGbRr5kh+8mF+IPiXs78LnANVGjoAU96RxJDe9N5q33PLIB3CjzQ/QIGhTpfmw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B3A5C4CD06105618E6B2F8AF0120D0B21F28E3B101-0\r\nServer: nginx\r\nWechatpay-Nonce: e91287d07730211a5ff703c3070921cc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: n0lVpQpL5AZy+c5Yk1tGtl2LLWmV2FYQ8Mhci83p8K12MW3MrxC/iJo1GIWqph+l4LUmQvpPYAPIgix05djLS7cOAlKxCer11MjOTsbwRCNwckj1pE+9/m4nDpVuM7kujWg2Yl28yi4IXlNFYROX0n7cCGj41X9X16pguHw8OV+5mH2k7qtbAwGm6wZJNTVkDag3EYC8OtEwcVutU59KMScNTUl7ab2sgiSNd+TfmwuI87dXchs3d+9aikJ33VRtpPAetqUlgV+kh6munSIUaHoLjb0pe4ZM9QcEWtDdnniHC0bK0kxYiJyI2QD+TrQfT+eiJ3XT9mRn9QNpvTe8vg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212339\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260308001233343696\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260309091832941702?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ONj0uWGvMPZYjwngZekKzRiyomm5kbqU\",timestamp=\"1773212339\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VScHgVuX9Y1Y3ujXDqUfyaQ5DFgWWbOTMkoYqgkY7dUbO5de/TpgM2YE4LXHPGhfFGZYaT00kAgcKRnAYLyxGf+Nvnyw2/yritYGSAekDWHmiEkN5L2Z4F9eJnW832y8bLNe+sxkQvPxEYVZEGqEH7cKarG/NhRZHbKsspwTGIZaferpqG252YN1QNn+hlY5BIE7xztXhgXGXWpz1CmruUv7fDwhq2vJq3W12FLJj8hR65wd/z13/BbaxRWRDvJ2JzP/nkxxrysJuPJg1dskMghmUMsWKEllaWMgXLjD5sJY6lik7kSYAV5fmmFRQyNKuJt+/FIdc1RBbbYQxOHZEw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:58:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B3A5C4CD0610D30218A7C8C0552096E90528A2B904-0\r\nServer: nginx\r\nWechatpay-Nonce: c02389c24521d882eff74d4d02cab0ca\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AAUDDD9uDtJp14Vbw5nsVdKfgT82nlx1q8PYW1WX45qlGUlNOSURuzsXfoV8FbJnQA6mcIjtQLH8iNg1NV9XKi0u0UGC2ILrw8ahQhfWRkR7HLVsS+SN5PXoCkbxlusWcOnt5zExbB/HOPfT7R0U5yKNve1lWbDb6KhyUDoI5lD3tPZx/dAgWkJlvvhp/6ymw8yDyGU7TJqVfH67RWmEjYHchqyJs1r9TaFt2nOfMRSmG+BbeHUOEw29U/a6SM08plS4MvCyXfg092PsLEEudXy1Yx2CXpsomCDXVxMACKT/BXvRU6lol39w/0mvcTZn3M9TB0/jPCGQbaTPI5lcRw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212339\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309091832941702\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:59:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260309104414306664?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fj11KjIqg2RXqBZKjCEmCIf0PXRltram\",timestamp=\"1773212340\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"IxKQuhYFSspQtlZkpXXcM/Qe6UThn0pObxIpURedYpvb+SYoAbrfuuMPCd57AgB0Eh84hfpOFOtVsM7cDud2HOK0Pv3ltv7Xbqcei7LicZIRYVDlAsSrJCPlYAt8yaoOzH/Twa6EC0BShA7binP0JMB/gvxb6eue4CuSe128kBy/1V64kz1Mz/asp8cLfs1mCHgs1ALxbxrjnIB4qIBN6i19th7F5zEPolTZjiAtsdeMhekZ4m5Cr1M27Iq+RVOTxNf5ZWp2LtWntPGMxcTbJQXRNSvpjUHuKI2AXcacTfyFpX/DznEHBGSqVWvhQLQ2jBu/YC3oD2qEzAHvyIWSCA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:59:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B3A5C4CD0610CE0418F7CC8C5820D6C20428DABB02-0\r\nServer: nginx\r\nWechatpay-Nonce: f30d77e59498accda290d38f8606fa42\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uV0fwT0jxeme73f39fNQwNgnuoYy5WC7dOv4q8iQ15N0eYAMq9RLuMA/fpMVu3+a0sJscocYueGa3ySKfFyKiYBzKxAsduudohBIePDZZ8lMJUdsBUgbDpgMg+wP3bKJG3RoHX0NcEMH5cEpIf5A+JpuVe2Kkwh4qpOsVV2Tm6w1vEeeYSX0vcusyhkzmXWTNlG8tJ89TP3wQohOAZqWJiLRDwYdLGBcrQQgrham1QHCdlIF9h3RcKLKDiZw5IYTo+PaSlWWkdycT5fI0PHAWC39O4WfsnT3LUEu8zbUnBukZxJujnSxYJNdFiTLkkrjRyKMt8cVw9oni63UOQhb0A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212339\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309104414306664\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-11T14:59:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260309174649961512?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"K4AubFG6LBIplNcqAmdNCaYijgIeIpEl\",timestamp=\"1773212340\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lxBWrCsMGjfx5CmdJfBNAo+5uPQqEONe3Tan0kQ28RdwhJlCAv0PoxuQ9yMpsh0jzTUypZLvt5FcUXGI2kLQ9liIuX4KiTQ2vFWztc0iiSF2FfDe4L9qxvcLhQIOwW+4c+RPIiZwZ5FRu0jLM/n4z+MrxaFh7Lj/rng/1y8TeHH1iBsK3JKQL4ZLDqxLWpaKnxPU6aVuqlZCH/EtUSppITmQaAC6T4oSSCBC7Iy1Vhh9zwPSkYwTxb5D8c0WGneZ0RG/bR2yRVGRGCAYdAryZbnjntVoyyUrsj6foX8JSuPqDf5/Rrj1Gv7qoe+KPhJpSGVcqvSEr887BcnbNswFpw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-11T14:59:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Wed, 11 Mar 2026 06:58:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B3A5C4CD0610CC0618DD9C85AB0120D4FA1628BAD605-0\r\nServer: nginx\r\nWechatpay-Nonce: 1b90fd05c10ad4982ea8a0883207c8a8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VAuHofjAteRYLAXA9ORZG3MbnmMN3P4kHf4zOEAyrOvIBVIQOHism5yLUY8Hqz0uu52D3+2wfUo8oUFWGOzs3MaRXwfkdJIX/ls304pCtVExop53F+edQV06tS7wfWY1Pe4rkFzP/qinCYiUfwh/yWcAMwyLh9g0wUvToLUQ2IP8ujFNIx+zuReX7Kk68OsfNZSFvP4Yfr8KfRYeElXhYgOenkWrOa02apbByykArWHrJ+1Mhcb2lnmoLzaIoKGwMZsZlW6Tkn6bzZSZpTY2aurni4AWcxUO7+UzhXIahYJaWBAhcYZTXsYc1kAtvdn6ajfcy4VzQ09rvaJ5KUUwHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773212339\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260309174649961512\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"}