1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e192d60e-281b-5317-a039-0ae1f235c299")}catch(e){}}(); 3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,909187,e=>{e.v({"footer-wrapper":"footer-module-scss-module__LGd1tG__footer-wrapper"})},297223,518106,659368,584617,482979,65839,113978,459197,142257,e=>{"use strict";e.s(["FooterNav",()=>N],297223);var t=e.i(64022),o=e.i(678559),n=e.i(234554),a=e.i(391398),r=e.i(272043);e.i(664157);var i=e.i(271179),l=e.i(203828),s=e.i(834725),c=e.i(175398),d=e.i(807515),m=e.i(117778),u=e.i(408157),h=e.i(777067),f=e.i(195099);function g(e,n){let a=e.src.includes("?")?"&":"?";return(0,o._)((0,t._)({},e),{src:"".concat(e.src).concat(a,"v=").concat(n)})}e.s(["FOOTER_QRCODES",()=>A],659368),e.s(["withImageVersion",()=>g],518106);let x={src:e.i(971750).default,width:256,height:256,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA1UlEQVR42h2PvWqEUBCF72umjQiKMQbFEFE0rFf8WyKuhBRq0okEgp0+RMo0qfdFvvVaDTNn5ptzRF3XZFlGHMd4nkdRFEzTRJ7nKE0oMQgCTNPEtu1jcRxHoihCSono+x7DMPjc6+X0yrOu8TUM+L6P0kRZlrRty/fHO7/6HX+P9/SnhDAMSdMU0TQNVVVxiUP+X2yuMuCnfTuO1CuhDA07sswk5yebs/OAs/tRhK7rEAqjGsdxcF33MKbrOpZloWkaQuFVkm3bWNeVZVlIkuSYzfPMDcLWpY/PTYR+AAAAAElFTkSuQmCC"},p={src:e.i(773026).default,width:258,height:258,blurWidth:8,blurHeight:8,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAIAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDWI1BtUyjXIjNyFK/Njbn1/wAikPS3mf/Z"},A={communication:g(x,"202608031600"),weixin:g(p,"202608031600")};var b=e.i(810549),y=e.i(909187);let N=e=>{var{isBlackLogo:g=!0,className:x="border-t border-t-gray-200 bg-gray-50 py-5 px-8 text-gray-500"}=e,p=(0,n._)(e,["isBlackLogo","className"]);let{t:N}=(0,i.useTranslation)(),{version:w}=(0,u.useCommonContext)(),v=(0,l.useRouter)(),_=v.asPath.includes("branches")||v.asPath.includes("organizations/new"),{isDarkMode:k}=(0,b.useTheme)(),E=(()=>{if("undefined"!=typeof document){let e=document.documentElement;return e.classList.contains("enterprise-landing")||e.classList.contains("education-landing")}return!1})()?!g:k||!g;return(0,a.jsx)("div",(0,o._)((0,t._)({className:x},p),{children:(0,a.jsxs)("div",{className:(0,r.default)(y.default["footer-wrapper"],_?"m-auto max-w-[1536px] pl-[20px] pr-[20px]":""),children:[E?(0,a.jsx)(d.Image,{width:"108",height:"34",alt:"gitee logo",src:c.default}):(0,a.jsx)(d.Image,{width:"100",height:"36",alt:"gitee logo",src:s.default}),(0,a.jsx)("p",{className:"mb-0 mt-2",children:N("common.layout.footer.copyright")}),"russia"===w?(0,a.jsx)("div",{className:"mt-4 grid grid-flow-col justify-between gap-x-8 leading-loose",children:(0,a.jsxs)("nav",{className:"flex",children:[(0,a.jsx)(m.Link,{theme:"tertiary",href:"/api/v5/swagger",overwriteClassName:!1,className:"mr-6",children:"OpenAPI"}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"https://help.gitee.com",children:N("common.layout.footer.help")})]})}):(0,a.jsxs)("div",{className:"flex flex-wrap justify-between leading-loose",children:[(0,a.jsxs)("nav",{className:"mt-4 flex flex-col md:hidden",children:[(0,a.jsx)(m.Link,{theme:"tertiary",href:"/all-about-git",target:"_blank",children:N("common.layout.footer.aboutgit")}),(0,a.jsx)(m.Link,{theme:"tertiary",rel:"nofollow",href:"https://help.gitee.com/learn-Git-Branching/",children:N("common.layout.footer.learngit")}),(0,a.jsx)(m.Link,{theme:"tertiary",rel:"nofollow",href:"https://copycat.gitee.com/",children:N("common.layout.footer.copyCat")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/appclient",next:!0,children:N("common.layout.footer.client")}
3)]}),(0,a.jsxs)("nav",{className:"mt-4 flex flex-col",children:[(0,a.jsx)(m.Link,{theme:"tertiary",href:"/gitee-stars",children:N("common.layout.footer.gitee_stars")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/gvp",children:N("common.layout.footer.gvp")}),(0,a.jsx)(m.Link,{theme:"tertiary",rel:"nofollow",href:"https://blog.gitee.com/",children:N("common.layout.footer.gitee_blog")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/enterprises#nonprofit-plan",next:!0,children:N("common.layout.footer.gitee_nonprofit_plan")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/features/gitee-go",next:!0,children:N("common.layout.footer.gitee_go")})]}),(0,a.jsxs)("nav",{className:"mt-4 flex flex-col",children:[(0,a.jsx)(m.Link,{theme:"tertiary",href:"/api/v5/swagger",children:"OpenAPI"}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"https://gitee.com/oschina/mcp-gitee",children:"MCP server"}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"https://help.gitee.com",children:N("common.layout.footer.help")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/self_services",children:N("common.layout.footer.self_services")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/help/articles/4378",children:N("common.layout.footer.update_log")})]}),(0,a.jsxs)("nav",{className:"mt-4 flex flex-col",children:[(0,a.jsx)(m.Link,{theme:"tertiary",href:"/about-us",next:!0,children:N("common.layout.footer.about_us")}),(0,a.jsx)(m.Link,{theme:"tertiary",rel:"nofollow",href:"/oschina/jobs",children:N("common.layout.footer.join_us")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/terms",next:!0,children:N("common.layout.footer.terms")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/oschina/git-osc/issues",children:N("common.layout.footer.suggestions")}),(0,a.jsx)(m.Link,{theme:"tertiary",href:"/links.html",children:N("common.layout.footer.links")})]}),(0,a.jsxs)("nav",{className:"mt-4 flex flex-col justify-start",children:[(0,a.jsxs)(m.Link,{theme:"tertiary",rel:"nofollow",href:"mailto: ".concat(f.OFFICIAL_EMAIL),overwriteClassName:!1,className:"inline-block w-fit",children:[(0,a.jsx)(h.IconMailCircleSolid,{width:16,className:"mb-1 mr-1 inline-block"}),(0,a.jsxs)("span",{children:[" ",f.OFFICIAL_EMAIL]})]}),(0,a.jsxs)(m.Link,{theme:"tertiary",href:"tel:400-606-0201",overwriteClassName:!1,className:"inline-block w-fit",children:[(0,a.jsx)(h.IconPhoneSolid,{width:16,className:"mb-1 mr-1 inline-block"}),(0,a.jsx)("span",{children:N("common.layout.footer.enterprise_te",{phone:f.TEL_400})})]}),(0,a.jsxs)("div",{className:"inline-block w-fit text-desc",children:[(0,a.jsx)(h.IconPhoneSolid,{width:16,className:"mb-1 mr-1 inline-block"}),(0,a.jsx)("span",{children:N("common.layout.footer.professional_te")}),f.SALES_5_NAME," ",f.SALES_5_PHONE_TEXT]})]}),(0,a.jsxs)("div",{className:"mt-4 flex",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("div",{className:"flex h-20 w-20 items-center justify-center rounded-lg border",children:(0,a.jsx)(d.Image,{className:"opacity-90",layout:"fixed",width:"68",height:"68",alt:N("common.layout.footer.technical_exchange_group"),src:A.communication})}),(0,a.jsx)("span",{className:"mt-2",children:N("common.layout.footer.technical_exchange_group")})]}),(0,a.jsxs)("div",{className:"ml-5 flex flex-col items-center",children:[(0,a.jsx)("div",{className:"flex h-20 w-20 items-center justify-center rounded-lg border",children:(0,a.jsx)(d.Image,{className:"opacity-90",layout:"fixed",width:"68",height:"68",alt:N("common.layout.footer.wechat"),src:A.weixin})}),(0,a.jsx)("span",{className:"mt-2",children:N("common.layout.footer.wechat")})]})]})]})]})}))};e.s(["FooterBottomBar",()=>S],142257),e.s(["default",()=>w],584617);
3let w={src:e.i(674092).default,width:42,height:36,blurWidth:8,blurHeight:7,blurDataURL:"data:image/webp;base64,UklGRnQBAABXRUJQVlA4TGgBAAAvB4ABEM1VICICHgiADQIAAID/l1dxBwpwBwIgBAAAAAAAAAQAAAAAAIAAAgCACEBQEUZxAPCSeqsCAADwQABsEAAAAM4fxC8FIIISEQAIEBwAAHAq4IAAAD0BBEABgAAQIDgc4EDpAAQAp6ca8kAAchAAAADO/7PlIBFQgFBkCBARAAAAAAAAAAAAAAAAAAAAAEIBSUCJElFInmDaigcCYIMAAABw/loAOAAA4AACAPrRAxcBIADgcA4HKIjgQIAAcHKg4wUABOAAAIADYJeVXprkBaSiGsM9PdH/cC5nY4PGR8Zg/AGULLjQyfFiarvxuOuTl5GHzLsOZKIUcssc+SU549VANX5bZLu19l0/RIM4lKUg6O/ogEnn9bI9gTXhw4JaGlifTit6yBRced+5mFg8PwiSPZT1fG97UccrG9QRvn/byx4Idm7/YqZLFc0eHdJ1ydu3WftrYOcklcW8e3TZclKXVwE="};e.s(["default",()=>v],482979);let v={src:e.i(980700).default,width:20,height:20,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABE0lEQVR42gEIAff+AEdwTABkg18Pm41te7V+WtS5jWnUnZR1fGSEYA9HcEwAAFyAWgmemn56p2RJ8tE8If/SSCr/q3lf8aCcf3RcfVUIAJyhcT6Jd3Pit002/9U0Hf/WPB//vF1C/4h9duCeqHc+AK6YXIuSeW37nVRI/9JXK//aazT/pWNO/5N/bvuzomSMAK6VWZzBmWX9bzBU/6gzLf+vQDX/cjBR/7+fZvyzol6TAK2ja4Teplf3uJBf/6mGXf+jgF7+p4hi/+GvVvWwq2l8AH+VaSrkwmzT5bNU/+u/Wf/qvVj/57dY/+TDbdB+lGQmAGiHYRHHtnKB4q5V1+ayUvLmtVbw6MFn0sy9dnpog1cP+HmQVJlQdRkAAAAASUVORK5CYII="};e.s(["default",()=>_],65839);let _={src:e.i(539177).default,width:40,height:40,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABE0lEQVR42gEIAff+AAMHCAIhVFxCT8rdv1zp//Za5v71SL3XuhlIVjsBBAUCABQyNxlHtMSPVt7zzlXb9dRS1/nURsPtzDGWvogKJTAVAEm5y6RS0ujLUNXyxT+v0I48s92NO7TwyTGk6MsjhsWaAFbf++tKxufPPKrOkzeo2ocwoNmDKI7OmSeU5dEjl/riAC2CnGQzmcSWKoKvbjGm7dkpmOfSGWmqcRZtvpMOVZZfAC2Mu48zqurUHnSreSmg/vohlf33EFqidRN87doLWq2AABE5UzsbYZNuG3fGpB2Q//8Wh///DmK+mgtSoXEFJkowAAACAwEEEx8OEm7DmxSD/uwSf/vqDVy1kgIRIAsAAQMBD1t9zfTnzi8AAAAASUVORK5CYII="};e.s(["ChangeLanguage",()=>j],459197);var k=e.i(982725);e.s(["default",()=>C],113978);var E=e.i(817465);let C=e=>e?e.split(".").slice(-2).join(".").split(":")[0]:(0,E.default)()?document.domain.split(".").slice(-2).join("."):"",j=()=>{let e=C(),{version:t}=(0,u.useCommonContext)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.IconGlobe,{height:"auto",className:"mr-1 inline-block align-text-bottom text-gray-400"}),(0,a.jsx)(m.NativeLink,{className:"text-gray-400 hover:opacity-80",href:"#",onClick:()=>{k.default.set("user_locale","zh-CN",{expires:99999,path:"/",domain:e}),window.location.reload()},children:"ä¸ æ"}),(0,a.jsx)("span",{className:"mx-1",children:"/"}),(0,a.jsx)(m.NativeLink,{className:"text-gray-400 hover:opacity-80",href:"#",onClick:()=>{k.default.set("user_locale","en",{expires:99999,path:"/",domain:e}),window.location.reload()},children:"English"}),"russia"===t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"mx-1",children:"/"}),(0,a.jsx)(m.NativeLink,{className:"text-gray-400 hover:opacity-80",href:"#",onClick:()=>{k.default.set("user_locale","ru",{expires:99999,path:"/",domain:e}),window.location.reload()},children:"Russian"})]})]})},S=e=>{var{className:r="bg-slate-900 flex flex-col >sm:flex-row h-auto >sm:h-18 items-center justify-between px-5 py-2 >sm:py-0 text-gray-400 next-dark-mode"}=e,i=(0,n._)(e,["className"]);let{version:l}=(0,u.useCommonContext)();return(0,a.jsxs)("div",(0,o._)((0,t._)({className:r},i),{children:[(0,a.jsx)("div",{className:"flex w-full items-center >sm:w-auto",children:"russia"===l?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:" next-dark-mode flex items-center xl:hidden",children:[(0,a.jsx)(d.Image,{width:"21",height:"21",className:"logo-openatom",alt:"弿¾åå弿ºåºéä¼",src:_}),(0,a.jsx)(m.Link,{theme:"tertiary2",target:"_blank",rel:"nofollow noreferrer noreferrer",href:"https://www.openatom.org/",children:(0,a.jsx)("span",{className:"next-dark-mode ml-1",children:"弿¾åå弿ºåºéä¼"})}),(0,a.jsx)("div",{className:"next-dark-mode ml-1 text-muted",children:"åä½ä»£ç æç®¡å¹³å°"})]}),(0,a.jsxs)("div",{className:"next-dark-mode mx-4 flex items-center lg:hidden",children:[(0,a.jsx)(d.Image,{width:"21",height:"18",alt:"è¿æ³åä¸è¯ä¿¡æ¯ä¸¾æ¥ä¸å¿",src:w}),(0,a.jsx)(m.Link,{theme:"tertiary2",target:"_blank",rel:"nofollow noopener noreferrer",href:"https://www.12377.cn",children:(0,a.jsx)("span",{className:"next-dark-mode ml-1",children:"è¿æ³åä¸è¯ä¿¡æ¯ä¸¾æ¥ä¸å¿"})})]}),(0,a.jsxs)("div",{className:"flex w-full flex-col >sm:w-auto >sm:flex-row >sm:items-center",children:[(0,a.jsxs)("div",{className:"mb-1 flex w-full items-center justify-between >sm:mb-0 >sm:w-auto",children:[(0,a.jsx)(m.Link,{theme:"tertiary2",rel:"nofollow noopener noreferrer",href:"http://beian.miit.gov.cn/",className:">sm:mr-4",children:"京ICPå¤2025119063å·"}),(0,a.jsx)("div",{className:"space-x-1 >sm:hidden",children:(0,a.jsx)(j,{})})]}),(0,a.jsxs)("div",{className:"next-dark-mode flex items-center >sm:mx-4",children:[(0,a.jsx)(d.Image,{width:"21",height:"18",alt:"京å
¬ç½å®å¤11011502039387å·",src:v}),(0,a.jsx)(m.Link,{theme:"tertiary2",target:"_blank",rel:"nofollow noopener noreferrer",href:"https://beian.mps.gov.cn/#/query/webSearch?code=11011502039387",children:(0,a.jsx)("span",{className:"next-dark-mode ml-1",children:"京å
¬ç½å®å¤11011502039387å·"})})]})]})]})}),(0,a.jsx)("div",{className:"hidden space-x-1 >sm:block",children:(0,a.jsx)(j,{})})]}))}},698873,182110,e=>{"use strict";e.s(["NavItem",()=>m],698873);var t=e.i(64022),o=e.i(678559),n=e.i(234554),a=e.i(391398),r=e.i(191788),i=e.i(41158),l=e.i(203828),s=e.i(272043);function c(){return"/enterprises"===(0,l.useRouter)().pathname}e.s(["default",()=>c],182110);let d=(0,r.forwardRef)((e,r)=>{var{children:c,className:d,activeClassName:m,exact:u,isActive:h,native:f=!0}=e,g=(0,n._)(e,["children","className","activeClassName","exact","isActive","native"]);let x=(0,l.useRouter)(),p=null!=h?h:g.href&&(x.asPath.startsWith(g.href)||u&&x.asPath===g.href),A=(0,s.default)(d,m&&{[m]:p});return f?(0,a.jsx)("a",(0,o._)((0,t._)({ref:r,className:A},g),{children:c})):(0,a.jsx)(i.default,(0,o._)((0,t._)({prefetch:!1,href:g.href,className:A},g),{children:c}))});d.displayName="ActiveLink";let m=e=>{var{className:r,children:i,aProps:l,linkProps:m,customRender:u,sensorProps:h,onClick:f,native:g=!0}=e,x=(0,n._)(e,["className","children","aProps","linkProps","customRender","sensorProps","onClick","native"]);return c(),(0,a.jsx)("li",(0,o._)((0,t._)({className:(0,s.default)("mx-3 flex-shrink-0 delay-300 first:ml-0 last:mr-0 xl:mx-2 md:mx-1",r),onClick:e=>{f&&f(e)}},x),{children:u||(0,a.jsx)(d,(0,o._)((0,t._)({className:"relative flex text-base leading-[26px] text-gray-300 hover:text-white",activeClassName:"font-bold",href:"".concat((null==m?void 0:m.href)||""),native:g},l),{children:i}))}))}},270176,e=>{e.v({"!container":"UserNotice-module-scss-module__bfqlhq__!container",container:"UserNotice-module-scss-module__bfqlhq__container","notice-badge":"UserNotice-module-scss-module__bfqlhq__notice-badge","notice-content":"UserNotice-module-scss-module__bfqlhq__notice-content","text-shadow-none":"UserNotice-module-scss-module__bfqlhq__text-shadow-none"})},119905,e=>{"use strict";e.s(["UserNotice",()=>
3k],119905);var t=e.i(64022),o=e.i(678559),n=e.i(234554),a=e.i(391398),r=e.i(191788),i=e.i(117778),l=e.i(272043),s=e.i(807073),c=e.i(454895),d=e.i(118406),d=d;e.i(664157);var m=e.i(271179),u=e.i(777067),h=e.i(438428),f=e.i(251830),g=e.i(774666),x=e.i(92076),p=e.i(203828),A=e.i(966638),b=e.i(971657),y=e.i(576848),N=e.i(270176);let w=r.default.memo(e=>{var t;let{data:o,itemClick:n,scope:r,isFetching:i,render:s}=e,{t:c}=(0,m.useTranslation)();if(!s)return null;let d=null==o||null==(t=o.current_user)?void 0:t.notices,u=null==d?void 0:d.list;if(!(null==u?void 0:u.length))return(0,a.jsx)("div",{className:"gitee-header__notice__tab-content bg-slate-600 py-8 text-center leading-7",children:i?(0,a.jsx)(y.Loading,{className:"text-xl leading-none text-gray-400"}):c("common.layout.header.notice.nothing")});let h=e=>{var t,o;let i,s,{item:c}=e;return"RefererNotification"===c.__typename&&(s=c.message,i=(null==(t=c.namespace)?void 0:t.name)||""),"InfosNotification"===c.__typename&&(s=c.message,i=(null==(o=c.namespace)?void 0:o.name)||""),"MessagesNotification"===c.__typename&&(s=c.content,i=c.actor.nickname||c.actor.name),(0,a.jsxs)("a",{onClick:()=>{n(r,String(c.id))},className:"gitee-header__notice__item block p-3 text-gray-300 hover:bg-gray-700",href:c.url,target:"_blank",rel:"noreferrer",children:[(0,a.jsx)("div",{className:(0,l.default)("line-clamp-2",N.default["notice-content"]),dangerouslySetInnerHTML:{__html:(0,A.default)(s||"",{FORBID_TAGS:["img","audio","video"]})}}),(0,a.jsxs)("div",{className:"mt-1 flex text-gray-400",children:[(0,a.jsx)("div",{className:"mr-1 flex-shrink-0",children:(0,a.jsx)(b.TimeAgo,{date:c.updated_at})}),(0,a.jsx)("span",{className:"mx-1",children:"·"}),(0,a.jsx)("div",{className:"truncate",children:i})]})]},c.id)};return(0,a.jsx)("div",{className:"bg-slate-600 text-left",children:u.map(e=>(0,a.jsx)(h,{item:e},e.id))})});w.displayName="TabContent";var v=e.i(810549);let _={overflowCount:99,offset:[8,0],size:"small",className:N.default["notice-badge"]},k=e=>{var A,{iconClassName:b,iconHoverClassName:y,iconProps:N,disabled:k}=e,E=(0,n._)(e,["iconClassName","iconHoverClassName","iconProps","disabled"]);let{t:C}=(0,m.useTranslation)(),[j,S]=(0,r.useState)(f.NoticeScope.Referer),[I,B]=(0,r.useState)(!1),{data:R,refetch:L}=(0,f.useUnreadCountQuery)(g.default,void 0,{staleTime:15e3,refetchOnWindowFocus:!0}),{isDarkMode:T}=(0,v.useTheme)(),O=(0,r.useMemo)(()=>(0,l.default)("cursor-pointer",b,y),[b,y]),z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,f.useNoticesQuery)(g.default,{typeName:e,limit:t},{notifyOnChangeProps:["data","isLoading","error","isFetching"],enabled:!1})},F=(0,f.useMarkNoticesMutation)(g.default,{onSuccess:(e,t)=>{D[t.scope].refetch(),L()}}),D={};D.INFOS=z(f.NoticeScope.Infos),D.REFERER=z(f.NoticeScope.Referer),D.MESSAGES=z(f.NoticeScope.Messages);let M=null==R||null==(A=R.current_user)?void 0:A.unread_count,W=(null==M?void 0:M.total)||0;!function(){let e=(0,p.useRouter)();(0,r.useEffect)(()=>{try{let e=window.sessionStorage.getItem("siteMessage");window.sessionStorage.removeItem("siteMessage"),e&&x.message.open(JSON.parse(e))}catch(e){console.error(e)}},[e.pathname])}();let{run:P}=(0,h.useDebounceFn)(e=>{D[e].refetch()},{wait:150}),U=r.default.memo(e=>{let{children:n,unreadCount:r}=e;return(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(d.default,(0,o._)((0,t._)({},_),{count:r,children:(0,a.jsx)("div",{className:"gitee-header__notice__tab-btn text-sm text-white",children:n})}))})});U.displayName="TabBtn";let Q=(0,r.useCallback)((e,t)=>{F.mutate({scope:e,notice_ids:t})},[F]),H=[{key:f.NoticeScope.Referer,label:(0,a.jsx)(U,{unreadCount:null==M?void 0:M.referer,children:C("common.layout.header.notice.referer")}),children:(0,a.jsx)(w,{render:j===f.NoticeScope.Referer,isFetching:D.REFERER.isFetching,data:D.REFERER.data,scope:f.NoticeScope.Referer,itemClick:Q})},{label:(0,a.jsx)(U,{unreadCount:null==M?void 0:M.infos,children:C("common.layout.header.notice.notice")}),key:f.NoticeScope.Infos,children:(0,a.jsx)(w,{render:j===f.NoticeScope.Infos,isFetching:D.INFOS.isFetching,data:D.INFOS.data,scope:f.NoticeScope.Infos,itemClick:Q})},{label:(0,a.jsx)(U,{unreadCount:null==M?void 0:M.messages,children:C("common.layout.header.notice.message")}),key:f.NoticeScope.Messages,children:(0,a.jsx)(w,{render:j===f.NoticeScope.Messages,isFetching:D.MESSAGES.isFetching,data:D.MESSAGES.data,scope:f.NoticeScope.Messages,itemClick:Q})}],K=(0,a.jsxs)("div",{className:"gitee-header__notice__menu w-96 break-before-all bg-gray-700 text-sm text-gray-300",children:[(0,a.jsx)(c.Tabs,{className:"select-none text-gray-300",activeKey:j,type:"card",onTabClick:e=>{S(e)},animated:{inkBar:!1},onChange:P,renderTabBar:(e,n)=>(0,a.jsx)(n,(0,o._)((0,t._)({},e),{className:"mb-0 before:border-none",children:e=>(0,r.createElement)("a",(0,o._)((0,t._)({},e.props),{className:(0,l.default)("gitee-header__notice__tabbar w-32 py-3",{"gitee-header__notice__tabbar--active bg-slate-600":j===e.ke
3y}),key:e.key}))})),tabBarGutter:0,items:H}),(0,a.jsxs)("div",{className:"gitee-header__notice__footer flex justify-between border-t bg-slate-600 px-4 py-3 text-gray-400",children:[(0,a.jsx)("button",{className:(0,l.default)("hover:text-white",{invisible:!(M&&"number"==typeof M[j.toLocaleLowerCase()]&&M[j.toLocaleLowerCase()]>0)}),onClick:()=>{var e,t,o;if(D[j].isFetching)return;let n=null==(o=D[j].data)||null==(t=o.current_user)||null==(e=t.notices)?void 0:e.list.map(e=>String(e.id));(null==n?void 0:n.length)&&F.mutate({scope:j,notice_ids:n||""})},children:C("common.layout.header.notice.mark_page_read")}),(0,a.jsx)("a",{href:"/notifications/".concat(j.toLocaleLowerCase()),target:"_blank",rel:"noreferrer",className:"text-gray-400 hover:text-white",children:C("common.layout.header.notice.load_all")})]})]});return(0,a.jsx)(s.Dropdown,(0,o._)((0,t._)({disabled:k,getPopupContainer:e=>e,popupRender:()=>K,placement:"bottomLeft",align:{offset:[0,8.5]},arrow:!1,mouseLeaveDelay:.35,open:I,mouseEnterDelay:0,onOpenChange:e=>{B(e),e&&(D[j].refetch(),L())}},E),{children:(0,a.jsx)("div",{children:(0,a.jsxs)(i.Link,{href:"/notifications","aria-label":"notifications",children:[(0,a.jsx)(d.default,(0,o._)((0,t._)({},_),{count:W,offset:[4,0],className:"flex sm:hidden",children:(0,a.jsx)(u.IconBell,{width:20,className:O})})),W>0&&(0,a.jsx)(d.default,{dot:!0,className:"hidden sm:flex",children:(0,a.jsx)(u.IconBell,{width:20})})]})})}))}},454895,e=>{"use strict";e.s(["Tabs",()=>t.default]);var t=e.i(267226)},118406,e=>{"use strict";e.s(["default",()=>R],118406),e.i(350461);var t=e.i(64022),o=e.i(678559),n=e.i(234554),a=e.i(191788),r=e.i(961663),i=e.i(56206),l=e.i(483917),s=e.i(430898),c=e.i(708176),d=e.i(663032),m=e.i(993175);let u=e=>{let t,{prefixCls:o,value:n,current:r,offset:l=0}=e;return l&&(t={position:"absolute",top:"".concat(l,"00%"),left:0}),a.createElement("span",{style:t,className:(0,i.clsx)("".concat(o,"-only-unit"),{current:r})},n)},h=e=>{let n,r,{prefixCls:i,count:l,value:s}=e,c=Number(s),d=Math.abs(l),[m,h]=a.useState(c),[f,g]=a.useState(d),x=()=>{h(c),g(d)};if(a.useEffect(()=>{let e=setTimeout(x,1e3);return()=>clearTimeout(e)},[c]),m===c||Number.isNaN(c)||Number.isNaN(m))n=[a.createElement(u,(0,o._)((0,t._)({},e),{key:c,current:!0}))],r={transition:"none"};else{n=[];let i=c+10,l=[];for(let e=c;e<=i;e+=1)l.push(e);let s=f<d?1:-1,h=l.findIndex(e=>e%10===m);n=(s<0?l.slice(0,h+1):l.slice(h)).map((n,r)=>a.createElement(u,(0,o._)((0,t._)({},e),{key:n,value:n%10,offset:s<0?r-h:r,current:r===h}))),r={transform:"translateY(".concat(-function(e,t,o){let n=e,a=0;for(;(n+10)%10!==t;)n+=o,a+=o;return a}(m,c,s),"00%)")}}return a.createElement("span",{className:"".concat(i,"-only"),style:r,onTransitionEnd:x},n)},f=a.forwardRef((e,r)=>{let{prefixCls:l,count:s,className:c,motionClassName:u,style:f,title:g,show:x,component:p="sup",children:A}=e,b=(0,n._)(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:y}=a.useContext(m.ConfigContext),N=y("scroll-number",l),w=(0,o._)((0,t._)({},b),{"data-show":x,style:f,className:(0,i.clsx)(N,c,u),title:g}),v=s;if(s&&Number(s)%1==0){let e=String(s).split("");v=a.createElement("bdi",null,e.map((t,o)=>a.createElement(h,{prefixCls:N,count:Number(s),value:t,key:e.length-o})))}return((null==f?void 0:f.borderColor)&&(w.style=(0,o._)((0,t._)({},f),{boxShadow:"0 0 0 1px ".concat(f.borderColor," inset")})),A)?(0,d.cloneElement)(A,e=>({className:(0,i.clsx)("".concat(N,"-custom-component"),null==e?void 0:e.className,u)})):a.createElement(p,(0,o._)((0,t._)({},w),{ref:r}),v)});e.i(290586);var g=e.i(456161),x=e.i(774778),p=e.i(307441),A=e.i(218870),b=e.i(352050),y=e.i(104616);let N=new g.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}
3}),w=new g.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),v=new g.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),_=new g.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),k=new g.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),E=new g.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),C=e=>{let{fontHeight:t,lineWidth:o,marginXS:n,colorBorderBg:a}=e,r=e.colorTextLightSolid,i=e.colorError,l=e.colorErrorHover;return(0,y.mergeToken)(e,{badgeFontHeight:t,badgeShadowSize:o,badgeTextColor:r,badgeColor:i,badgeColorHover:l,badgeShadowColor:a,badgeProcessingDuration:"1.2s",badgeRibbonOffset:n,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},j=e=>{let{fontSize:t,lineHeight:o,fontSizeSM:n,lineWidth:a}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*o)-2*a,indicatorHeightSM:t,dotSize:n/2,textFontSize:n,textFontSizeSM:n,textFontWeight:"normal",statusSize:n/2}},S=(0,b.genStyleHooks)("Badge",e=>(e=>{let{componentCls:n,iconCls:a,antCls:r,badgeShadowSize:i,textFontSize:l,textFontSizeSM:s,statusSize:c,dotSize:d,textFontWeight:m,indicatorHeight:u,indicatorHeightSM:h,marginXS:f,calc:g}=e,b="".concat(r,"-scroll-number"),y=(0,A.genPresetColor)(e,(e,t)=>{let{darkColor:o}=t;return{["&".concat(n," ").concat(n,"-color-").concat(e)]:{background:o,["&:not(".concat(n,"-count)")]:{color:o},"a:hover &":{background:o}}}});return{[n]:(0,o._)((0,t._)((0,o._)((0,t._)({},(0,p.resetComponent)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,["".concat(n,"-count")]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:u,height:u,color:e.badgeTextColor,fontWeight:m,fontSize:l,lineHeight:(0,x.unit)(u),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:g(u).div(2).equal(),boxShadow:"0 0 0 ".concat((0,x.unit)(i)," ").concat(e.badgeShadowColor),transition:"background-color ".concat(e.motionDurationMid),a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},["".concat(n,"-count-sm")]:{minWidth:h,height:h,fontSize:s,lineHeight:(0,x.unit)(h),borderRadius:g(h).div(2).equal()},["".concat(n,"-multiple-words")]:{padding:"0 ".concat((0,x.unit)(e.paddingXS)),bdi:{unicodeBidi:"plaintext"}},["".concat(n,"-dot")]:{zIndex:e.indicatorZIndex,width:d,minWidth:d,height:d,background:e.badgeColor,borderRadius:"100%",boxShadow:"0 0 0 ".concat((0,x.unit)(i)," ").concat(e.badgeShadowColor)},["".concat(n,"-count, ").concat(n,"-dot, ").concat(b,"-custom-component")]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",["&".concat(a,"-spin")]:{animationName:E,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},["&".concat(n,"-status")]:{lineHeight:"inherit",verticalAlign:"baseline",["".concat(n,"-status-dot")]:{position:"relative",top:-1,display:"inline-block",width:c,height:c,verticalAlign:"middle",borderRadius:"50%"},["".concat(n,"-status-success")]:{backgroundColor:e.colorSuccess},["".concat(n,"-status-processing")]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:N,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},["".concat(n,"-status-default")]:{backgroundColor:e.colorTextPlaceholder},["".concat(n,"-status-error")]:{backgroundColor:e.colorError},["".concat(n,"-status-warning")]:{backgroundColor:e.colorWarning},["".concat(n,"-status-text")]:{marginInlineStart:f,color:e.colorText,fontSize:e.fontSize}}}),y),{["".concat(n,"-zoom-appear, ").concat(n,"-zoom-enter")]:{animationName:w,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["".concat(n,"-zoom-leave")]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},["&".concat(n,"-not-a-wrapper")]:{["".concat(n,"-zoom-appear, ").concat(n,"-zoom-enter")]:{animationName:_,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["".concat(n,"-zoom-leave")]:{animationName:k,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},["&:not(".concat(n,"-status)")]:{verticalAlign:"middle"},["".concat(b,"-custom-component, ").concat(n,"-count")]:{transform:"none"},["".concat(b,"-custom-component, ").concat(b)]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[b]:{overflow:"hidden",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseOutBack),["".concat(b,"-only")]:{position:"relative",display:"inline-block",height:u,transition:"all ".concat(e.motionDurationSlow," ").concat(e.motionEaseOutBack),WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",["> p".concat(b,"-only-unit")]:{height:u,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},["".concat(b,"-symbol")]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",["".concat(n,"-count, ").concat(n,"-dot, ").concat(b,"-custom-component")]:{transform:"translate(-50%, -50%)"}}})}})(C(e)),j),I=a.forwardRef((e,u)=>{let{prefixCls:h,scrollNumberPrefixCls:g,children:x,status:p,text:A,color:b,count:y=null,overflowCount:N=99,dot:w=!1,size:v="default",title:_,offset:k,style:E,className:C,rootClassName:j,classNames:I,styles:B,showZero:R=!1}=e,L=(0,n._)(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:T,direction:O,className:z,style:F,classNames:D,styles:M}=(0,m.useComponentConfig)("badge"),W=T("badge",h),[P,U]=S(W),Q=(0,o._)((0,t._)({},e),{overflowCount:N,size:v,dot:w,showZero:R}),[H,K]=(0,s.useMergeSemantic)([D,I],[M,B],{props:Q}),V=y>N?"".concat(N,"+"):y,Z="0"===V||0===V||"0"===A||0===A,G=null===y||Z&&!R,q=((0,c.default)(p)||(0,c.default)(b))&&G,Y=(0,c.default)(p)||!Z,X=w&&!Z,J=X?""
3:V,$=(0,a.useMemo)(()=>((!(0,c.default)(J)||""===J)&&(!(0,c.default)(A)||""===A)||Z&&!R)&&!X,[J,Z,R,X,A]),ee=(0,a.useRef)(y);$||(ee.current=y);let et=ee.current,eo=(0,a.useRef)(J);$||(eo.current=J);let en=eo.current,ea=(0,a.useRef)(X);$||(ea.current=X);let er=(0,a.useMemo)(()=>{if(!k)return(0,t._)({},F,E);let e=Number.parseInt(k[0],10),o={marginTop:k[1],insetInlineEnd:-e};return(0,t._)({},o,F,E)},[k,E,F]),ei=null!=_?_:"string"==typeof et||"number"==typeof et?et:void 0,el=!$&&(0===A?R:!!A&&!0!==A),es=el?a.createElement("span",{className:"".concat(W,"-status-text")},A):null,ec=et&&"object"==typeof et?(0,d.cloneElement)(et,e=>({style:(0,t._)({},er,e.style)})):void 0,ed=(0,l.isPresetColor)(b,!1),em=(0,i.clsx)(H.indicator,{["".concat(W,"-status-dot")]:q,["".concat(W,"-status-").concat(p)]:!!p,["".concat(W,"-color-").concat(b)]:ed}),eu={};b&&!ed&&(eu.color=b,eu.background=b);let eh=(0,i.clsx)(W,{["".concat(W,"-status")]:q,["".concat(W,"-not-a-wrapper")]:!x,["".concat(W,"-rtl")]:"rtl"===O},C,j,z,H.root,P,U);if(!x&&q&&(A||Y||!G)){let e=er.color;return a.createElement("span",(0,o._)((0,t._)({ref:u},L),{className:eh,style:(0,t._)({},K.root,er)}),a.createElement("span",{className:em,style:(0,t._)({},K.indicator,eu)}),el&&a.createElement("span",{style:{color:e},className:"".concat(W,"-status-text")},A))}return a.createElement("span",(0,o._)((0,t._)({ref:u},L),{className:eh,style:K.root}),x,a.createElement(r.default,{visible:!$,motionName:"".concat(W,"-zoom"),motionAppear:!1,motionDeadline:1e3},e=>{let{className:o}=e,n=T("scroll-number",g),r=ea.current,l=(0,i.clsx)(H.indicator,{["".concat(W,"-dot")]:r,["".concat(W,"-count")]:!r,["".concat(W,"-count-sm")]:"small"===v,["".concat(W,"-multiple-words")]:!r&&en&&en.toString().length>1,["".concat(W,"-status-").concat(p)]:!!p,["".concat(W,"-color-").concat(b)]:ed}),s=(0,t._)({},K.indicator,er);return b&&!ed&&((s=s||{}).background=b),a.createElement(f,{prefixCls:n,show:!$,motionClassName:o,className:l,count:en,title:ei,style:s,key:"scrollNumber"},ec)}),es)}),B=(0,b.genStyleHooks)(["Badge","Ribbon"],e=>(e=>{let{antCls:n,badgeFontHeight:a,marginXS:r,badgeRibbonOffset:i,calc:l}=e,s="".concat(n,"-ribbon"),c=(0,A.genPresetColor)(e,(e,t)=>{let{darkColor:o}=t;return{["&".concat(s,"-color-").concat(e)]:{background:o,color:o}}});return{["".concat(n,"-ribbon-wrapper")]:{position:"relative"},[s]:(0,o._)((0,t._)((0,o._)((0,t._)({},(0,p.resetComponent)(e)),{position:"absolute",top:r,padding:"0 ".concat((0,x.unit)(e.paddingXS)),color:e.colorPrimary,lineHeight:(0,x.unit)(a),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,["".concat(s,"-content")]:{color:e.badgeTextColor},["".concat(s,"-corner")]:{position:"absolute",top:"100%",width:i,height:i,color:"currentcolor",border:"".concat((0,x.unit)(l(i).div(2).equal())," solid"),transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),c),{["&".concat(s,"-placement-end")]:{insetInlineEnd:l(i).mul(-1).equal(),borderEndEndRadius:0,["".concat(s,"-corner")]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},["&".concat(s,"-placement-start")]:{insetInlineStart:l(i).mul(-1).equal(),borderEndStartRadius:0,["".concat(s,"-corner")]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}})(C(e)),j);I.Ribbon=e=>{let{className:n,prefixCls:r,style:c,color:d,children:u,text:h,placement:f="end",rootClassName:g,styles:x,classNames:p}=e,{getPrefixCls:A,direction:b,className:y,style:N,classNames:w,styles:v}=(0,m.useComponentConfig)("ribbon"),_=A("ribbon",r),k="".concat(_,"-wrapper"),[E,C]=B(_,k),j=(0,o._)((0,t._)({},e),{placement:f}),[S,I]=(0,s.useMergeSemantic)([w,p],[v,x],{props:j}),R=(0,l.isPresetColor)(d,!1),L=(0,i.clsx)(_,"".concat(_,"-placement-").concat(f),{["".concat(_,"-rtl")]:"rtl"===b,["".concat(_,"-color-").concat(d)]:R},n,y,S.indicator),T={},O={};return d&&!R&&(T.background=d,O.color=d),a.createElement("div",{className:(0,i.clsx)(k,g,E,C,S.root),style:I.root},u,a.createElement("div",{className:(0,i.clsx)(L,E),style:(0,t._)({},T,I.indicator,N,c)},a.createElement("span",{className:(0,i.clsx)("".concat(_,"-content"),S.content),style:I.content},h),a.createElement("div",{className:"".concat(_,"-corner"),style:O})))};let R=I},175398,e=>{"use strict";e.s(["default",()=>t]);let t={src:e.i(468376).default,width:286,height:90,blurWidth:0,blurHeight:0}},270089,e=>{"use strict";e.s(["default",()=>p],270089);var t=e.i(64022),o=e.i(678559),n=e.i(234554),a=e.i(191788),r=e.i(56206),i=e.i(430898),l=e.i(497630),s=e.i(993175),c=e.i(625263);e.i(290586);var d=e.i(774778),m=e.i(307441),u=e.i(352050),h=e.i(104616);let f=(0,u.genStyleHooks)("Divider",e=>{let n=(0,h.mergeToken)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:n,sizePaddingEdgeHorizontal:a,colorSplit:r,lineWidth:i,textPaddingInline:l,orientationMargin:s,verticalMarginInline:c}=e,u="".concat(n,"-rail");return{[n]:(0,o._)((0,t._)({},(0,m.resetComponent)(e)),{borderBlockStart:"".concat((0,d.unit)(i)," solid ").concat(r),[u]:{borderBlockStart:"".concat((0,d.unit)(i)," solid ").concat(r)},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,d.unit)(i)," solid ").concat(r)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,d.unit)(e.marginLG)," 0")},["&-horizontal".concat(n,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,d.unit)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(r),["".concat(u,"-start, ").concat(u,"-end")]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},["&-horizontal".concat(n,"-with-text-start")]:{["".concat(u,"-start")]:{width:"calc(".concat(s," * 100%)")},["".concat(u,"-end")]:{width:"calc(100% - ".concat(s," * 100%)")}},["&-horizontal".concat(n,"-with-text-end")]:{["".concat(u,"-start")]:{width:"calc(100% - ".concat(s," * 100%)")},["".concat(u,"-end")]:{width:"calc(".concat(s," * 100%)")}},["".concat(n,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:l},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:"".concat((0,d.unit)(i)," 0 0"),[u]:{borderBlockStart:"".concat((0,d.unit)(i)," dashed ").concat(r)}},["&-horizontal".concat(n,"-with-text").concat(n,"-dashed")]:{["".concat(u,"-start, ").concat(u,"-end")]:{borderStyle:"dashed none none"}},["&-vertical".concat(n,"-dashed")]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:"".concat((0,d.unit)(i)," 0 0"),[u]:{borderBlockStart:"".concat((0,d.unit)(i)," dotted ").concat(r)}},["&-horizontal".concat(n,"-with-text").concat(n,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(n,"-dotted")]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(n,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(n,"-with-text-start").concat(n,"-no-default-orientation-margin-start")]:{["".concat(u,"-start")]:{width:0},["".concat(u,"-end")]:{width:"100%"},["".concat(n,"-inner-text")]:{paddingInlineStart:a}},["&-horizontal".concat(n,"-with-text-end").concat(n,"-no-default-orientation-margin-end")]:{["".concat(u,"-start")]:{width:"100%"},["".concat(u,"-end")]:{width:0},["".concat(n,"-inner-text")]:{paddingInlineEnd:a}}})}})(n),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{["&".concat(t)]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(n)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),g=["left","right","center","start","end"],x={small:"sm",middle:"md"},p=e=>{let{getPrefixCls:d,direction:m,className:u,style:h,classNames:p,styles:A}=(0,s.useComponentConfig)("divider"),{prefixCls:b,type:y,orientation:N,vertical:w,titlePlacement:v,orientationMargin:_,className:k,rootClassName:E,
3children:C,dashed:j,variant:S="solid",plain:I,style:B,size:R,classNames:L,styles:T}=e,O=(0,n._)(e,["prefixCls","type","orientation","vertical","titlePlacement","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size","classNames","styles"]),z=d("divider",b),F="".concat(z,"-rail"),[D,M]=f(z),W=(0,c.default)(R),P=x[W],U=!!C,Q=g.includes(N||""),H=a.useMemo(()=>{let e=null!=v?v:Q?N:"center";return"left"===e?"rtl"===m?"end":"start":"right"===e?"rtl"===m?"start":"end":e},[m,N,v,Q]),K="start"===H&&null!=_,V="end"===H&&null!=_,[Z,G]=(0,l.useOrientation)(N,w,y),q=(0,o._)((0,t._)({},e),{orientation:Z,titlePlacement:H,size:W}),[Y,X]=(0,i.useMergeSemantic)([p,L],[A,T],{props:q}),J=(0,r.clsx)(z,u,D,M,"".concat(z,"-").concat(Z),{["".concat(z,"-with-text")]:U,["".concat(z,"-with-text-").concat(H)]:U,["".concat(z,"-dashed")]:!!j,["".concat(z,"-").concat(S)]:"solid"!==S,["".concat(z,"-plain")]:!!I,["".concat(z,"-rtl")]:"rtl"===m,["".concat(z,"-no-default-orientation-margin-start")]:K,["".concat(z,"-no-default-orientation-margin-end")]:V,["".concat(z,"-").concat(P)]:!!P,[F]:!C,[Y.rail]:Y.rail&&!C},k,E,Y.root),$=a.useMemo(()=>"number"==typeof _?_:/^\d+$/.test(_)?Number(_):_,[_]);return a.createElement("div",(0,o._)((0,t._)({className:J,style:(0,t._)({},h,X.root,C?{}:X.rail,B)},O),{role:"separator"}),C&&!G&&a.createElement(a.Fragment,null,a.createElement("div",{className:(0,r.clsx)(F,"".concat(F,"-start"),Y.rail),style:X.rail}),a.createElement("span",{className:(0,r.clsx)("".concat(z,"-inner-text"),Y.content),style:(0,t._)({},{marginInlineStart:K?$:void 0,marginInlineEnd:V?$:void 0},X.content)},C),a.createElement("div",{className:(0,r.clsx)(F,"".concat(F,"-end"),Y.rail),style:X.rail})))}},914173,e=>{"use strict";e.s(["Divider",()=>t.default]);var t=e.i(270089)},993306,29318,e=>{"use strict";e.s(["Logout",()=>c],993306);var t=e.i(391398),o=e.i(272043);e.i(664157);var n=e.i(271179),a=e.i(251830),r=e.i(774666),i=e.i(285700),l=e.i(203828),s=e.i(777067);let c=e=>{let{className:c}=e,d=(0,i.useQueryClient)(),{t:m}=(0,n.useTranslation)(),{mutate:u}=(0,a.useLogoutMutation)(r.default,{onSuccess:()=>{d.clear(),l.default.replace("/"),localStorage.setItem("theme","system"),document.cookie="theme=system; path=/; max-age=31536000"}});return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,o.default)("flex items-center px-5 py-2 text-[#000000E0]",c),onClick:()=>{u({})},children:[(0,t.jsx)(s.IconUserArrowRight,{width:16,className:"mr-3"}),(0,t.jsx)("span",{children:m("common.layout.header.logout")})]})})};e.s(["MoonIcon",()=>m,"SunIcon",()=>d],29318);let d=e=>{let{className:o}=e;return(0,t.jsx)(s.IconSun,{className:o})},m=e=>{let{className:o}=e;return(0,t.jsx)(s.IconMoon,{className:o})}},723971,e=>{e.v({"!container":"UserDropdown-module-scss-module__nZZVEW__!container",avatar:"UserDropdown-module-scss-module__nZZVEW__avatar",container:"UserDropdown-module-scss-module__nZZVEW__container",divider:"UserDropdown-module-scss-module__nZZVEW__divider","menu-item":"UserDropdown-module-scss-module__nZZVEW__menu-item","menu-item-icon":"UserDropdown-module-scss-module__nZZVEW__menu-item-icon","text-shadow-none":"UserDropdown-module-scss-module__nZZVEW__text-shadow-none"})}]); 4 5//# sourceMappingURL=e82664c7e9ee4c63.js.map 6//# debugId=e192d60e-281b-5317-a039-0ae1f235c299
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.