(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33483,e=>{"use strict";var t=e.i(36792),r=e.i(34346),n=e.i(82502),s=e.i(57213),a=e.i(88434),i=e.i(19594),l=e.i(14268),o=e.i(79096),c=e.i(53607),d=e.i(21471),u="Tabs",[f,h]=(0,s.createContextScope)(u,[a.createRovingFocusGroupScope]),m=(0,a.createRovingFocusGroupScope)(),[x,p]=f(u),g=r.forwardRef((e,r)=>{let{__scopeTabs:n,value:s,onValueChange:a,defaultValue:i,orientation:u="horizontal",dir:f,activationMode:h="automatic",...m}=e,p=(0,o.useDirection)(f),[g,j]=(0,c.useControllableState)({prop:s,onChange:a,defaultProp:i});return(0,t.jsx)(x,{scope:n,baseId:(0,d.useId)(),value:g,onValueChange:j,orientation:u,dir:p,activationMode:h,children:(0,t.jsx)(l.Primitive.div,{dir:p,"data-orientation":u,...m,ref:r})})});g.displayName=u;var j="TabsList",b=r.forwardRef((e,r)=>{let{__scopeTabs:n,loop:s=!0,...i}=e,o=p(j,n),c=m(n);return(0,t.jsx)(a.Root,{asChild:!0,...c,orientation:o.orientation,dir:o.dir,loop:s,children:(0,t.jsx)(l.Primitive.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:r})})});b.displayName=j;var y="TabsTrigger",v=r.forwardRef((e,r)=>{let{__scopeTabs:s,value:i,disabled:o=!1,...c}=e,d=p(y,s),u=m(s),f=w(d.baseId,i),h=k(d.baseId,i),x=i===d.value;return(0,t.jsx)(a.Item,{asChild:!0,...u,focusable:!o,active:x,children:(0,t.jsx)(l.Primitive.button,{type:"button",role:"tab","aria-selected":x,"aria-controls":h,"data-state":x?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:f,...c,ref:r,onMouseDown:(0,n.composeEventHandlers)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(i)}),onKeyDown:(0,n.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(i)}),onFocus:(0,n.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==d.activationMode;x||o||!e||d.onValueChange(i)})})})});v.displayName=y;var N="TabsContent",C=r.forwardRef((e,n)=>{let{__scopeTabs:s,value:a,forceMount:o,children:c,...d}=e,u=p(N,s),f=w(u.baseId,a),h=k(u.baseId,a),m=a===u.value,x=r.useRef(m);return r.useEffect(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(i.Presence,{present:o||m,children:({present:r})=>(0,t.jsx)(l.Primitive.div,{"data-state":m?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":f,hidden:!r,id:h,tabIndex:0,...d,ref:n,style:{...e.style,animationDuration:x.current?"0s":void 0},children:r&&c})})});function w(e,t){return`${e}-trigger-${t}`}function k(e,t){return`${e}-content-${t}`}C.displayName=N;var T=e.i(69744);function P({className:e,...r}){return(0,t.jsx)(g,{"data-slot":"tabs",className:(0,T.cn)("flex flex-col gap-2",e),...r})}function O({className:e,...r}){return(0,t.jsx)(b,{"data-slot":"tabs-list",className:(0,T.cn)("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...r})}function _({className:e,...r}){return(0,t.jsx)(v,{"data-slot":"tabs-trigger",className:(0,T.cn)("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}function E({className:e,...r}){return(0,t.jsx)(C,{"data-slot":"tabs-content",className:(0,T.cn)("flex-1 outline-none",e),...r})}e.s(["Tabs",()=>P,"TabsContent",()=>E,"TabsList",()=>O,"TabsTrigger",()=>_],33483)},90405,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},53996,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return o},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return l}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function o(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},55020,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return o}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(88835)._(e.r(53996)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",s=e.pathname||"",l=e.hash||"",o=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),o&&"object"==typeof o&&(o=String(a.urlQueryToSearchParams(o)));let d=e.search||o&&`?${o}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),s=s.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${s}${d}${l}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},45707,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=e.r(34346);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=a(e,n)),t&&(s.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},70715,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return y},NormalizeError:function(){return j},PageNotFoundError:function(){return b},SP:function(){return x},ST:function(){return p},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return u},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return o},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return N}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>l.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let x="undefined"!=typeof performance,p=x&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class j extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function N(e){return JSON.stringify({message:e.message,stack:e.stack})}},17485,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(70715),s=e.r(57352);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,s.hasBasePath)(r.pathname)}catch(e){return!1}}},85893,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},3965,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return b}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(88835),i=e.r(36792),l=a._(e.r(34346)),o=e.r(55020),c=e.r(12569),d=e.r(45707),u=e.r(70715),f=e.r(19664);e.r(90405);let h=e.r(44164),m=e.r(17485),x=e.r(36283);function p(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}function g(t){var r;let n,s,a,[o,g]=(0,l.useOptimistic)(h.IDLE_LINK_STATUS),b=(0,l.useRef)(null),{href:y,as:v,children:N,prefetch:C=null,passHref:w,replace:k,shallow:T,scroll:P,onClick:O,onMouseEnter:_,onTouchStart:E,legacyBehavior:M=!1,onNavigate:S,ref:R,unstable_dynamicOnHover:I,...L}=t;n=N,M&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let U=l.default.useContext(c.AppRouterContext),$=!1!==C,A=!1!==C?null===(r=C)||"auto"===r?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,{href:F,as:D}=l.default.useMemo(()=>{let e=p(y);return{href:e,as:v?p(v):e}},[y,v]);if(M){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=l.default.Children.only(n)}let H=M?s&&"object"==typeof s&&s.ref:R,z=l.default.useCallback(e=>(null!==U&&(b.current=(0,h.mountLinkInstance)(e,F,U,A,$,g)),()=>{b.current&&((0,h.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,h.unmountPrefetchableInstance)(e)}),[$,F,U,A,g]),B={ref:(0,d.useMergedRef)(z,H),onClick(t){M||"function"!=typeof O||O(t),M&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,s,a,i,o){if("undefined"!=typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(35686);l.default.startTransition(()=>{u(n||r,a?"replace":"push",i??!0,s.current)})}}(t,F,D,b,k,P,S)},onMouseEnter(e){M||"function"!=typeof _||_(e),M&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),U&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){M||"function"!=typeof E||E(e),M&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),U&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,u.isAbsoluteUrl)(D)?B.href=D:M&&!w&&("a"!==s.type||"href"in s.props)||(B.href=(0,f.addBasePath)(D)),a=M?l.default.cloneElement(s,B):(0,i.jsx)("a",{...L,...B,children:n}),(0,i.jsx)(j.Provider,{value:o,children:a})}e.r(85893);let j=(0,l.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,l.useContext)(j);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},27458,e=>{"use strict";let t=(0,e.i(27706).default)("BookOpen",[["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"}]]);e.s(["BookOpen",()=>t],27458)},43359,e=>{"use strict";let t=(0,e.i(27706).default)("Users",[["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"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);e.s(["Users",()=>t],43359)},32301,e=>{"use strict";let t=(0,e.i(27706).default)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);e.s(["Network",()=>t],32301)},2810,e=>{"use strict";let t=(0,e.i(27706).default)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",()=>t],2810)},17531,e=>{"use strict";var t=e.i(36792),r=e.i(82772),n=e.i(10743),s=e.i(33483),a=e.i(27458),i=e.i(43359),l=e.i(32301),o=e.i(51788);let c=(0,e.i(27706).default)("Shield",[["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"}]]);var d=e.i(2810);function u(){return(0,t.jsxs)("div",{className:"min-h-screen flex flex-col bg-background",children:[(0,t.jsx)(r.SiteHeader,{}),(0,t.jsx)("main",{className:"flex-1 container mx-auto px-4 py-8",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto space-y-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-3xl font-serif font-bold mb-2",children:"使用帮助"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:"华夏家谱系统使用指南"})]}),(0,t.jsxs)(s.Tabs,{defaultValue:"guide",className:"space-y-6",children:[(0,t.jsxs)(s.TabsList,{className:"grid w-full grid-cols-3",children:[(0,t.jsx)(s.TabsTrigger,{value:"guide",children:"快速入门"}),(0,t.jsx)(s.TabsTrigger,{value:"roles",children:"角色权限"}),(0,t.jsx)(s.TabsTrigger,{value:"features",children:"功能说明"})]}),(0,t.jsxs)(s.TabsContent,{value:"guide",className:"space-y-6",children:[(0,t.jsxs)(n.Card,{className:"border-none shadow-sm bg-card/50 backdrop-blur",children:[(0,t.jsx)(n.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-primary/10 text-primary",children:(0,t.jsx)(a.BookOpen,{className:"h-6 w-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(n.CardTitle,{className:"text-xl font-serif font-light",children:"使用流程"}),(0,t.jsx)(n.CardDescription,{className:"font-light",children:"从创建到完善的完整流程"})]})]})}),(0,t.jsx)(n.CardContent,{className:"space-y-6",children:(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-bold",children:"1"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-medium mb-1",children:"注册账号"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light",children:"使用邮箱注册账号,验证后即可登录系统"})]})]}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-bold",children:"2"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-medium mb-1",children:"创建家族树"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light",children:'首次登录后,点击"开始记录"创建您的第一个家族树,填写家族名称和描述'})]})]}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-bold",children:"3"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-medium mb-1",children:"添加始祖"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light",children:"添加家族的第一位成员(始祖),填写基本信息如姓名、生卒年月、籍贯等"})]})]}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-bold",children:"4"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-medium mb-1",children:"添加配偶和子女"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light",children:"为成员添加配偶关系和子女,系统会自动建立家族关系网络"})]})]}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-bold",children:"5"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-medium mb-1",children:"完善信息"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light",children:"上传照片、填写生平事迹、添加标签等,丰富家族档案"})]})]}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center font-bold",children:"6"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-medium mb-1",children:"邀请协作"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light",children:"邀请家族成员共同编辑,一起完善家族树"})]})]})]})})]}),(0,t.jsxs)(n.Card,{className:"border-none shadow-sm bg-card/50 backdrop-blur",children:[(0,t.jsx)(n.CardHeader,{children:(0,t.jsx)(n.CardTitle,{className:"text-xl font-serif font-light",children:"温馨提示"})}),(0,t.jsx)(n.CardContent,{children:(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted-foreground font-light",children:[(0,t.jsx)("li",{children:"• 建议先从近代祖先开始录入,逐步向上追溯"}),(0,t.jsx)("li",{children:"• 尽量填写完整的生卒年月和籍贯信息,便于生成统计和迁徙图"}),(0,t.jsx)("li",{children:"• 定期备份数据,可使用导出功能保存家族数据"}),(0,t.jsx)("li",{children:"• 上传的照片建议使用清晰的正面照"}),(0,t.jsx)("li",{children:'• 邀请家族成员协作时,建议赋予"编辑者"角色'})]})})]})]}),(0,t.jsx)(s.TabsContent,{value:"roles",className:"space-y-6",children:(0,t.jsxs)(n.Card,{className:"border-none shadow-sm bg-card/50 backdrop-blur",children:[(0,t.jsx)(n.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-primary/10 text-primary",children:(0,t.jsx)(c,{className:"h-6 w-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(n.CardTitle,{className:"text-xl font-serif font-light",children:"角色说明"}),(0,t.jsx)(n.CardDescription,{className:"font-light",children:"不同角色的权限范围"})]})]})}),(0,t.jsx)(n.CardContent,{className:"space-y-6",children:(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"p-4 bg-primary/5 rounded-lg",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-primary"}),(0,t.jsx)("h3",{className:"font-medium",children:"创建者 (Owner)"})]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light mb-3",children:"家族树的创建者,拥有最高权限"}),(0,t.jsxs)("div",{className:"space-y-1 text-sm",children:[(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 查看所有信息"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 添加、编辑、删除成员"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 管理协作者"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 导入导出数据"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 删除家族树"})]})]}),(0,t.jsxs)("div",{className:"p-4 bg-muted/30 rounded-lg",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-blue-500"}),(0,t.jsx)("h3",{className:"font-medium",children:"编辑者 (Editor)"})]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light mb-3",children:"可以编辑家族树内容的协作者"}),(0,t.jsxs)("div",{className:"space-y-1 text-sm",children:[(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 查看所有信息"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 添加、编辑成员"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 上传照片和文档"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✗ 删除成员"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✗ 管理协作者"})]})]}),(0,t.jsxs)("div",{className:"p-4 bg-muted/30 rounded-lg",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-green-500"}),(0,t.jsx)("h3",{className:"font-medium",children:"查看者 (Viewer)"})]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground font-light mb-3",children:"只能查看家族树信息的协作者"}),(0,t.jsxs)("div",{className:"space-y-1 text-sm",children:[(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 查看所有信息"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 查看族谱图"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✓ 查看统计数据"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✗ 编辑任何内容"}),(0,t.jsx)("p",{className:"text-muted-foreground font-light",children:"✗ 添加或删除成员"})]})]})]})})]})}),(0,t.jsx)(s.TabsContent,{value:"features",className:"space-y-6",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,t.jsxs)(n.Card,{className:"border-none shadow-sm bg-card/50 backdrop-blur",children:[(0,t.jsx)(n.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary",children:(0,t.jsx)(i.Users,{className:"h-5 w-5"})}),(0,t.jsx)(n.CardTitle,{className:"text-lg font-serif font-light",children:"成员管理"})]})}),(0,t.jsx)(n.CardContent,{children:(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted-foreground font-light",children:[(0,t.jsx)("li",{children:"• 添加、编辑、删除家族成员"}),(0,t.jsx)("li",{children:"• 上传成员照片和文档"}),(0,t.jsx)("li",{children:"• 记录生平事迹和重要信息"}),(0,t.jsx)("li",{children:"• 设置成员标签和分类"}),(0,t.jsx)("li",{children:"• 搜索和筛选成员"})]})})]}),(0,t.jsxs)(n.Card,{className:"border-none shadow-sm bg-card/50 backdrop-blur",children:[(0,t.jsx)(n.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary",children:(0,t.jsx)(l.Network,{className:"h-5 w-5"})}),(0,t.jsx)(n.CardTitle,{className:"text-lg font-serif font-light",children:"族谱图"})]})}),(0,t.jsx)(n.CardContent,{children:(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted-foreground font-light",children:[(0,t.jsx)("li",{children:"• 可视化展示家族关系"}),(0,t.jsx)("li",{children:"• 支持缩放和拖拽"}),(0,t.jsx)("li",{children:"• 快速定位成员位置"}),(0,t.jsx)("li",{children:"• 导出族谱图片"}),(0,t.jsx)("li",{children:"• 多种视图模式"})]})})]}),(0,t.jsxs)(n.Card,{className:"border-none shadow-sm bg-card/50 backdrop-blur",children:[(0,t.jsx)(n.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary",children:(0,t.jsx)(d.FileText,{className:"h-5 w-5"})}),(0,t.jsx)(n.CardTitle,{className:"text-lg font-serif font-light",children:"关系计算"})]})}),(0,t.jsx)(n.CardContent,{children:(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted-foreground font-light",children:[(0,t.jsx)("li",{children:"• 自动计算成员间的亲属关系"}),(0,t.jsx)("li",{children:"• 显示关系路径"}),(0,t.jsx)("li",{children:"• 查看直系亲属信息"}),(0,t.jsx)("li",{children:"• 支持复杂关系计算"})]})})]}),(0,t.jsxs)(n.Card,{className:"border-none shadow-sm bg-card/50 backdrop-blur",children:[(0,t.jsx)(n.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary",children:(0,t.jsx)(o.Settings,{className:"h-5 w-5"})}),(0,t.jsx)(n.CardTitle,{className:"text-lg font-serif font-light",children:"数据管理"})]})}),(0,t.jsx)(n.CardContent,{children:(0,t.jsxs)("ul",{className:"space-y-2 text-sm text-muted-foreground font-light",children:[(0,t.jsx)("li",{children:"• 导入已有家族数据"}),(0,t.jsx)("li",{children:"• 导出备份数据"}),(0,t.jsx)("li",{children:"• 查看修谱记录"}),(0,t.jsx)("li",{children:"• 统计分析功能"}),(0,t.jsx)("li",{children:"• 时间轴和迁徙图"})]})})]})]})})]})]})})]})}e.s(["default",()=>u],17531)}]);