1import{_ as e,u as a,aM as i,B as l,bT as n,bU as o,h as s,C as t,a7 as r,b as c,s as u,bV as d,bW as v,A as m,M as b,bX as p,I as g,a as k}from"./index-hPb3wyDx.js";import{g as _,J as f,y as h,K as y,B as w,O as C,u as S,at as A,f as I,x,G as z,a2 as D,U as L,au as E,c as M,r as V,w as N,H as P,P as $,I as B,M as T,V as G,a6 as U,n as F,aA as R,d as O}from"./vendor-core-ByUhKfPn.js";import{_ as q}from"./bubble-HdCexAU8.js";import{j,g as Q,i as W,k as H,L as J,p as X}from"./i18n-misc-BDWLtpFz.js";import{n as Y}from"./openInStudioUtils-KANaFmgM.js";import{G as K,T as Z,M as ee,u as ae}from"./notEnoughGold-D1bmvqLv.js";import{j as ie}from"./element-plus-BA4DjSQT.js";import le from"./removeWatermarkDialog-CYH2B8Dy.js";import{S as ne}from"./feedbackSupportDialog-C5MaZgpB.js";import{g as oe}from"./geoContentUrl-yMD_WfNl.js";const se={class:"not-enough-gold-tips-content"},te={class:"sub-title"},re={class:"desc"},ce={class:"desc"},ue={class:"desc"},de=e({__name:"notEnoughGoldTips",props:{source:{type:String,default:""}},setup(e){var a;const i=null==(a=_())?void 0:a.appContext.config.globalProperties,{$$t:l}=(null==i?void 0:i.$i18n)??{},n=e,o=()=>{i.logCustomEvent("rule_detail_page_show",{source:n.source})};return(e,a)=>{const i=ie;return h(),f(i,{onShow:o,"show-arrow":!1,"popper-style":{padding:0,"border-radius":"12px !important",border:"none",marginTop:"4px"}},{reference:y(()=>[...a[0]||(a[0]=[w("div",{class:"not-enough-gold-tips"},null,-1)])]),default:y(()=>[w("div",se,[w("div",te,C(S(l)("credit.listen_gold_rules")),1),w("div",re,C(S(l)("credit.listen_gold_rules1",{time:S(Z)/60/1e3,count:S(K)})),1),w("div",ce,C(S(l)("credit.listen_gold_rules2",{count:S(ee)})),1),w("div",ue,C(S(l)("credit.listen_gold_rules3")),1)])]),_:1})}}},[["__scopeId","data-v-53fe1b84"]]),ve={key:0,class:"listen-gold-tips"},me=e({__name:"listenGoldTips",setup(e){var i;const{$$t:l}=(null==(i=_().appContext)?void 0:i.config.globalProperties.$i18n)??{},n=ae(),o=a(),{inNotEnoughGoldTest:s}=A(n),{userInfo:t}=A(o);return I(async()=>{await n.getNotEnoughGoldTest()}),(e,a)=>S(s)&&+S(t).awarded_song_play_credit>0?(h(),x("div",ve,[D(C(S(l)("credit.listen_gold_tips",{count:S(t).awarded_song_play_credit}))+" ",1),L(de,{source:"sildebar"})])):z("",!0)}},[["__scopeId","data-v-198b3d43"]]),be={class:"go-subscribe-box"},pe={key:0,class:"go-subscribe-free-collapsed"},ge=["aria-label"],ke=["title"],_e={class:"go-subscribe-content"},fe={class:"go-subscribe-copy"},he={class:"go-test"},ye={class:"go-test-content"},we={class:"go-subscribe-gold-text"},Ce={class:"go-subscribe-ultra-copy"},Se={class:"go-subscribe-ultra-title"},Ae={class:"go-subscribe-ultra-desc"},Ie={key:1,class:"go-subscribe-offer"},xe={class:"go-subscribe-offer-copy"},ze={class:"go-subscribe-offer-title"},De={class:"go-subscribe-offer-desc"},Le={key:2,class:"go-subscribe-free-content"},Ee=e({__name:"go-subscribe",setup(e){var c;const u=i(),d=l(),v=a(),m=E(),b=null==(c=_())?void 0:c.appContext.config.globalProperties,{$$t:p}=(null==b?void 0:b.$i18n)??{},g=M(()=>((null==v?void 0:v.credits)||0).toLocaleString()),k=M(()=>{const e=Number((null==v?void 0:v.credits)||0);if(e<1e3)return e.toLocaleString();const a=Math.floor(e/1e3);return a>999?"999 k+":`${a} k`}),A=M(()=>`url("${j("/mureka/icons/biz-premier-upsell-card-bg-04b367ac.webp")}")`),I=M(()=>{var e;return!!(null==(e=null==v?void 0:v.userInfo)?void 0:e.user)}),G=M(()=>!v.isLogin||I.value||v.hasInit),U=M(()=>{var e,a;return!0===(null==(a=null==(e=null==v?void 0:v.userInfo)?void 0:e.user)?void 0:a.is_vip)}),F=M(()=>{var e;const a=null==(e=null==v?void 0:v.userInfo)?void 0:e.user;return"pro"===(null==a?void 0:a.vip_level_name)&&"year"===(null==a?void 0:a.vip_period_name)}),R=M(()=>F.value?"credit.addCredits":"common.upgrade_now"),O=M(()=>Q.appname!==W),q=M(()=>n(v.userInfo)!==o.DEFAULT),H=M(()=>O.value&&X.value||O.value&&q.value?p("common.usd1_trial_upgrade_title"):p("common.go_pro")),J=M(()=>O.value&&X.value||O.value&&q.value?p("common.usd1_trial_upgrade_desc"):p("common.go_pro_desc")),X=M(()=>{var e;return(null==(e=d.phase2TrialPlans)?void 0:e[0])||null}),Y=M(()=>{var e;return null==(e=null==v?void 0:v.userInfo)?void 0:e.month_to_annual_offer}),K={test_a_14m_bundle:"bundle_14m",test_b_trial_annual_80:"trial_1d_8off"},Z=M(()=>{var e,a;const i=null==(e=Y.value)?void 0:e.experiment_group;return(null==(a=Y.value)?void 0:a.show_sidebar_banner)&&["test_a_14m_bundle","test_b_trial_annual_80"].includes(i)}),ee=M(()=>{var e;return"ultra"===(null==(e=null==v?void 0:v.userInfo)?void 0:e.web_ultra_sku_ab_group)}),ae=M(()=>{var e,a;return(null==(a=null==(e=null==v?void 0:v.userInfo)?void 0:e.user)?void 0:a.vip_level_name)||""}),ie=M(()=>"pro"===ae.value),le=M(()=>"ultra"===ae.value),ne=M(()=>{var e;
1return null==(e=d.productList)?void 0:e.some(e=>"ultra"===(null==e?void 0:e.level_name))}),oe=M(()=>!!ee.value&&(!!le.value||ie.value&&ne.value)),se=M(()=>le.value?"credit.ultra_member_title":"credit.go_ultra_title"),te=M(()=>le.value?"credit.ultra_member_subtitle":"credit.go_ultra_subtitle"),re=M(()=>le.value?"credit.addCredits":"credit.ultra_sidebar_upgrade_now"),ce=M(()=>{var e;return K[null==(e=Y.value)?void 0:e.experiment_group]||"bundle_14m"}),ue=V(!1),de=V(!1);N(()=>[ee.value,ie.value],([e,a])=>{e&&a&&(async()=>{var e;if(v.isLogin&&(!d.initialized||!(null==(e=d.productList)?void 0:e.length)))try{await d.loadProductList()}catch{}})()},{immediate:!0}),N(()=>[Z.value,ce.value],([e,a])=>{var i;e&&!ue.value&&(null==(i=null==b?void 0:b.logCustomEvent)||i.call(b,"month_to_annual_sidebar_banner_show",{plan_variant:a}),ue.value=!0)},{immediate:!0});const ve=M(()=>{var e,a;return O.value&&!(null==(a=null==(e=null==v?void 0:v.userInfo)?void 0:e.user)?void 0:a.is_vip)&&!!X.value}),Ee=M(()=>O.value&&(ve.value||q.value));N(()=>ve.value,e=>{var a;e&&!de.value&&(null==(a=null==b?void 0:b.logCustomEvent)||a.call(b,"sidebar_usd1_trial_banner_show",{}),de.value=!0)},{immediate:!0});const Me=M(()=>({membership_source1:oe.value||Z.value||ve.value?"sidebar":"upgrad_tab"})),Ve=async()=>{var e;null==(e=null==b?void 0:b.logCustomEvent)||e.call(b,"month_to_annual_sidebar_banner_click",{plan_variant:ce.value}),await $e()},Ne=async()=>{le.value?await Be():await $e()},Pe=()=>{u.notificationsDialog&&u.closeNotificationsDialog()},$e=async()=>{var e;ve.value&&(null==(e=null==b?void 0:b.logCustomEvent)||e.call(b,"sidebar_usd1_trial_banner_click",{})),b.logClickEvent("navigation",{tab_stare:"upgrade"}),await v.checkLoginStatus({source:"subscribe"})&&(Pe(),await m.push({name:"subscribe",query:Me.value}))},Be=async()=>{b.logClickEvent("navigation",{tab_stare:"upgrade"}),await v.checkLoginStatus()&&(Pe(),r())};return(e,a)=>{var i,l,n,o,r,c;return h(),x("div",be,[S(v).navCollapsed?(h(),x("div",pe,[w("button",{type:"button",class:"go-subscribe-credits","aria-label":`${g.value} ${e.$t("credit.credits")}`,onClick:Be},[L(S(s),{name:"biz-credit",color:"#48e1eb",class:"go-subscribe-credit-icon"}),w("span",{class:"go-subscribe-credit-count",title:g.value},C(k.value),9,ke)],8,ge)])):G.value?(h(),x(P,{key:1},[U.value?(h(),x("div",{key:1,class:B(["go-subscribe-free",{"go-subscribe-free--offer":Z.value||oe.value}])},[oe.value?(h(),x("div",{key:0,class:"go-subscribe-ultra",style:$({"--go-subscribe-bg-image":A.value})},[w("div",Ce,[w("div",Se,C(e.$t(se.value)),1),w("div",Ae,C(e.$t(te.value)),1)]),w("div",{class:"go-subscribe-credits",onClick:T(Be,["stop"])},[L(S(s),{name:"biz-credit",size:20}),w("span",null,C(g.value),1),D(" "+C(e.$t("credit.credits"))+" ",1),L(me)]),L(S(t),{type:"ghost","native-type":"button","ghost-text-tone":"primary",size:"small",class:"go-subscribe-ultra-button",onClick:Ne},{default:y(()=>[D(C(e.$t(re.value)),1)]),_:1})],4)):Z.value?(h(),x("div",Ie,[w("div",{class:"go-subscribe-offer-card",style:$({"--go-subscribe-bg-image":A.value}),onClick:$e},[w("div",xe,[w("div",ze,C(null==(l=null==(i=Y.value)?void 0:i.copywriting)?void 0:l.sidebar_title),1),w("div",De,C(null==(o=null==(n=Y.value)?void 0:n.copywriting)?void 0:o.sidebar_subtitle),1)]),w("div",{class:"go-subscribe-credits",onClick:T(Be,["stop"])},[L(S(s),{name:"biz-credit",size:20}),w("span",null,C(g.value),1),D(" "+C(e.$t("credit.credits"))+" ",1),L(me)]),w("div",{class:"go-subscribe-offer-button",onClick:T(Ve,["stop"])},C(null==(c=null==(r=Y.value)?void 0:r.copywriting)?void 0:c.sidebar_cta),1)],4)])):(h(),x("div",Le,[w("div",{class:"go-subscribe-credits",onClick:Be},[w("span",null,C(g.value),1),D(" "+C(e.$t("credit.credits"))+" ",1),L(me)]),L(S(t),{type:"ghost","native-type":"button","ghost-text-tone":"primary",size:"small",class:"go-subscribe-free-button",onClick:$e},{default:y(()=>[D(C(e.$t(R.value)),1)]),_:1})]))],2)):(h(),x("div",{key:0,class:"go-subscribe",style:$({"--go-subscribe-bg-image":A.value})},[w("div",_e,[w("div",fe,[w("div",he,C(H.value),1),w("div",ye,C(J.value),1)]),w("div",{class:"go-subscribe-gold",onClick:$e},[L(S(s),{name:"biz-credit",color:"#FFFFFF",class:"go-subscribe-gold-icon"}),w("div",we,[w("span",null,C(g.value),1),D(" "+C(e.$t("credit.credits"))+" ",1),L(me)])]),Ee.value?(h(),f(S(t),{key:0,appearance:"inverse","native-type":"button",class:"go-button-upgrade",onClick:$e},{default:y(()=>
1[D(C(e.$t("common.usd1_trial_upgrade_button")),1)]),_:1})):(h(),x("div",{key:1,class:"go-button",onClick:$e},C(e.$t("common.upgrade_now")),1))])],4))],64)):z("",!0)])}}},[["__scopeId","data-v-157c4bd6"]]),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAJCSURBVHic7ZrhURsxFIRXTP7jDjg6IBUAFUAHcQnuIE4FhAqgBKgAUgFOBecOIBVsfpxukhGHxUlPusPsN+MfN9j7lr1n6SwJEEIIIYQQQgghhBC7IHlJsiX5THJVqMbK12hJLkvUKALJhQ/mf9bGNdaB/jPJhWWNYpBsOMzaSD8Mp6ex0K+Cb3vzkHaE82BkvQ6+i0xD2hFO+6G6p8cypL0Lp8cipL0NpycnpLmE43IFvNnvAE4ANACmmHJf/OsOwL1z7nECD68hefXGXZ6aGxo9GyV1kC/+gK5r5srGOfc1V+Qg8XP9V2rOnJC8yhUZ3UEkz9B1T8gWwAbA7zxLSRwBuMTw+HfsnNtWc8LhcSf7Thn4Wrzh7aa2kTYw0FY1EGHA31OOXsoYFLbxXY6BAoR+mhwxi4D+5BgoQOgna7pPncU+DQooQvGASC79k+1yDjrFGZhG1zveuwreu0ys+W4dDvzITanZU7qDToPrbxPrjKZ0QFa/7CdblNcgHUEBRVBAEUoH9BK5rq0zmtIBXUeua+uM5ktJcefcI8ljdNP0r9R1GSudFIoGBAD+n9nORWcsGqQjKKAICiiCAopgEdChgYYloZ9qz0wAAJJPM1+0N/WX0kGb4LrhDLZ9gG5LCq83NLM2FVI2DhsAQ3dl681MsYh/iG7jsBn423n1wwyc76GFkOxNw70+vICue7IG6aRZzBc9B3CbU7wgP2EQDmBzgOoMwAX+HR6Yanl0418/qh5WEEIIIYQQQgghhPhY/AXhxCeeRq90CQAAAABJRU5ErkJggg==",Ve={key:0,class:"main-nav-other"},Ne=["onClick"],Pe={__name:"clubEntrance",setup(e){var i;const l=null==(i=_())?void 0:i.appContext.config.globalProperties,{$$language:n}=(null==l?void 0:l.$i18n)??{},o=a(),s={cnEntranceMap:[{lang:"cn",label:"æé³ï¼",ico:"https://static-cos.mureka.ai/mureka/icons/biz-social-tiktok-fill-69d6b3cc.svg",url:"https://www.douyin.com/user/MS4wLjABAAAANveXe_WjD6nKr_z8GeezeL5ihLRhX11yS0TbD91_ZiCK6Ckf5-eEPEXiMHk3QVbB"},{lang:"cn",label:"å¿«æï¼",ico:"https://static-cos.mureka.cn/mureka/icons/biz-social-kuaishou-3148aebb.svg",url:"https://v.kuaishou.com/Fc8yMA"},{lang:"cn",label:"bç«ï¼",ico:Me,url:"https://space.bilibili.com/3546702594181285"}],otherEntranceMap:[{lang:"en",label:"twitter",ico:"https://static-cos.mureka.ai/mureka/icons/biz-social-x-3c039929.svg",url:"https://x.com/Mureka_AI"},{lang:"en",label:"Tiktok",ico:"https://static-cos.mureka.ai/mureka/icons/biz-social-tiktok-fill-69d6b3cc.svg",url:"https://www.tiktok.com/@mureka.ai"},{lang:"en",label:"youtube",ico:"https://static-cos.mureka.ai/mureka/icons/biz-social-youtube-fill-1d0dd1de.svg",url:"https://youtube.com/@mureka_ai"}]},t=G({otherEntrance:"MurekaCn"===Q.appname||"cn"==n()?s.cnEntranceMap:s.otherEntranceMap});return N(()=>o.appLanguage,()=>{F().then(()=>{t.otherEntrance="MurekaCn"===Q.appname||"cn"==n()?s.cnEntranceMap:s.otherEntranceMap})}),I(()=>{}),(e,a)=>t.otherEntrance.length?(h(),x("div",Ve,[(h(!0),x(P,null,U(t.otherEntrance,(e,a)=>(h(),x("div",{key:a,class:"main-nav-other-item pointer",onClick:()=>{(e=>{l.logClickEvent(`catalog_${e.label}`),window.open(e.url,"_blank")})(e)}},[w("i",{class:"main-nav-other-icon",style:$({background:`url(${e.ico})`,"background-size":"100% 100%","background-repeat":"no-repeat","background-position":"center"})},null,4)],8,Ne))),128))])):z("",!0)}},$e={class:"link-social-dialog-content"},Be={class:"link-social-dialog-title"},Te={class:"link-social-dialog-body"},Ge={class:"link-social-dialog-description"},Ue={class:"link-social-dialog-qr"},Fe={class:"link-social-dialog-code-box"},Re={class:"link-social-dialog-code-text"},Oe={key:1,class:"link-social-dialog-loading"},qe={__name:"linkSocialDialog",props:{visible:{type:Boolean,default:!1},appItem:{type:Object,default:()=>({})}},emits:["close"],setup(e,{emit:a}){const i=e,l=a,n=V(""),o=M(()=>{var e;return(null==(e=i.appItem)?void 0:e.displayName)||""}),s=M(()=>{var e;return(null==(e=i.appItem)?void 0:e.title_text)||`Link ${o.value}`}),t=M(()=>{var e;return(null==(e=i.appItem)?void 0:e.instruction_text)||`Add Mureka on ${o.value} and send the verification code. Please do not edit the verification code message.`}),r=M(()=>{var e;return(null==(e=i.appItem)?void 0:e.button_text)||`Copy Code and Open ${o.value}`}),v=M(()=>{var e;return(null==(e=i.appItem)?void 0:e.bind_key)||"-"}),m=M(()=>{var e,a;return(null==(e=i.appItem)?void 0:e.bind_content)||(null==(a=i.appItem)?void 0:a.bind_key)||""}),b=async()=>{if(m.value)try{await H(m.value),u.success({position:"top",content:"Copied"})}catch{u.error({position:"top",content:"Copy failed"})}},p=async()=>{var e;await b(),(null==(e=i.appItem)?void 0:e.open_url)&&window.open(i.appItem.open_url,"_blank")};return N(()=>{var e,a,l;return[i.visible,null==(e=i.appItem)?void 0:e.channel,null==(a=i.appItem)?void 0:a.qr_content,null==(l=i.appItem)?void 0:l.bind_key]},([e])=>{e&&(async()=>{var e;const a=(null==(e=i.appItem)?void 0:e.qr_content)||"";if(a)try{n.value=await d.toDataURL(a,{margin:0,width:116})}catch(l){n.value=""}else n.value=""})()},{immediate:!0}),(a,o)=>(h(),f(c,{visible:e.visible,width:"480px",background:"rgba(255, 255, 255, 0.12)","custom-class":"link-social-dialog","hide-close-btn":!1,"mask-close":!1,onClose:o[
10]||(o[0]=e=>l("close"))},{default:y(()=>{var e;return[w("div",$e,[(null==(e=i.appItem)?void 0:e.loading)?(h(),x("div",Oe,"Loading...")):(h(),x(P,{key:0},[w("div",Be,C(s.value),1),w("div",Te,[w("div",Ge,C(t.value),1),w("div",Ue,[n.value?(h(),x("div",{key:0,class:"link-social-dialog-qr-image",style:$({backgroundImage:`url(${n.value})`})},null,4)):z("",!0)])]),o[2]||(o[2]=w("div",{class:"link-social-dialog-code-label"},"Verification code",-1)),w("div",Fe,[w("div",Re,C(v.value),1),w("button",{class:"link-social-dialog-copy-btn",onClick:b},[...o[1]||(o[1]=[w("span",{class:"copy-icon"},null,-1)])])]),w("button",{class:"link-social-dialog-open-btn",onClick:p},C(r.value),1)],64))])]}),_:1},8,["visible"]))}},je={class:"user-nav-box"},Qe=["onMouseenter","onClick"],We={key:0,class:"bubble-popover-trigger"},He={class:"language-text-box"},Je={class:"language-text"},Xe={class:"more-language-list"},Ye=["onClick"],Ke={class:"block flex1 width-0"},Ze={class:"language-text-box"},ea={class:"reward-menu-list"},aa=["onClick"],ia={class:"text-inner"},la={class:"language-text-box"},na={class:"more-language-list"},oa=["onClick"],sa={class:"text-inner"},ta={class:"more-language-list"},ra=["onClick"],ca={class:"block flex1 width-0"},ua=["onClick"],da={class:"text-inner"},va={class:"link-social-menu"},ma={key:0,class:"link-social-menu-loading"},ba=["onClick"],pa={class:"link-social-menu-item-left"},ga=["src","alt"],ka={class:"link-social-menu-item-text"},_a={key:0,class:"link-social-menu-item-status is-bound"},fa={key:1,class:"link-social-menu-item-status is-unbound"},ha=["onClick"],ya={class:"text-inner"},wa={key:1,class:"text-box"},Ca={class:"olh text-item"},Sa={key:2,class:"user-nav-new-dot","aria-hidden":"true"},Aa=e({__name:"user-nav",setup(e){var l;const n=i(),o=v(),t=null==(l=_())?void 0:l.appContext.config.globalProperties,{$$t:r,$$language:c}=(null==t?void 0:t.$i18n)??{},d=m(),k=a(),A=E(),I=R(),D=M(()=>I.name),V=M(()=>!0),$=()=>{const e=[{label:r("common.invite_for_free"),name:"invite",ico:"biz-nav-invite-gift",isBorder:!0},{label:r("common.affiliate_program"),name:"affiliate",ico:"biz-nav-affiliate-program",isBorder:!0},{label:r("common.current_language"),name:"switchlanguage",ico:"biz-nav-switch-language"}],a=[{label:r("common.rewards"),name:"rewards",ico:"biz-reward"}],i=V.value?a:e;return i.push({label:r("common.mureka_co"),name:"Mureka Co",ico:"biz-linaer-compute"},V.value&&Q.appname!==W&&{label:r("common.language"),name:"switchlanguage",ico:"biz-nav-switch-language"},{label:r("common.more"),name:"more",ico:"biz-nav-more"}),i.filter(e=>!!e&&(("affiliate"!==e.name||Q.appname!==W)&&("switchlanguage"!==e.name||Q.appname!==W)))},O=()=>[{label:r("common.invite_for_free"),name:"invite",ico:"biz-nav-invite-gift"},{label:r("common.affiliate_program"),name:"affiliate",ico:"biz-nav-affiliate-program"}].filter(e=>"affiliate"!==e.name||Q.appname!==W),j=()=>[V.value&&{label:r("tts.create_audio"),name:"speech",ico:"biz-nav-speech"},..."MurekaCn"!==Q.appname?[{label:"Link Social App",name:"social",ico:"biz-social-im"}]:[],..."MurekaCn"!==Q.appname?[{label:r("mine.what_new"),name:"news",ico:"biz-more-news"},{label:"Blog",name:"blog",ico:"biz-more-blog"}]:[],...Q.appname===W?[{label:r("common.remove_watermark_settings"),name:"remove-watermark-settings",ico:"sys-linear-watermark"}]:[],{label:r("mine.TermsofService"),name:"terms",ico:"biz-more-service"},{label:r("mine.PrivacyPolicy"),name:"privacy",ico:"biz-more-policy"},{label:"FAQ",name:"faq",ico:"biz-more-faq"},{label:r("editor.feedback_support_title"),name:"feedback",ico:"biz-more-feedback"},V.value&&{label:r("mine.API_Platform"),name:"api",ico:"biz-nav-api-platform"}].filter(Boolean),H=["telegram","line_bot","discord_bot"],Y={telegram:"Telegram",line_bot:"Line",discord_bot:"Discord"},K={telegram:"https://static-cos.mureka.ai/mureka/icons/biz-social-telegram-563b643d.webp",line_bot:"https://static-cos.mureka.ai/mureka/icons/biz-social-line-7eb45ca0.webp",discord_bot:"https://static-cos.mureka.ai/mureka/icons/biz-social-discord-1060d766.webp",whatsapp:"https://static-cos.mureka.ai/mureka/icons/biz-social-whatsapp-65d8d084.webp",messenger:"https://static-cos.mureka.ai/mureka/icons/biz-social-messenger-4ba1e79c.webp"},Z=G({curnav:"",hoveredUserNav:"",ifRenderLangPopover:!0,rewardsPopoverVisible:!1,morePopoverVisible:!1,languageMenuVisible:!1,linkSocialLoading:!1,linkSocialDetailLoa
1ding:!1,linkSocialMenuVisible:!1,linkSocialDialogVisible:!1,removeWatermarkDialogVisible:!1,linkSocialApps:[],currentLinkSocialApp:{}}),ee=(e="")=>{Z.hoveredUserNav=e},ae=e=>D.value===e.name?"#48e1eb":Z.hoveredUserNav===e.name?"#5CE8F1":"rgba(255, 255, 255)",se=()=>{const e=null==c?void 0:c();return Q.appname!==W&&e&&"en"!==e?{lang:e}:{}},te=e=>{Z.ifRenderLangPopover=!1,F(()=>{Z.ifRenderLangPopover=!0,F(()=>{k.switchLanguage(e.key)})})},re=G({navs:$(),rewardNavs:O(),secondNavs:j()}),ce=()=>{re.navs=$(),re.rewardNavs=O(),re.secondNavs=j()};N(()=>Z.morePopoverVisible,e=>{e||(Z.linkSocialMenuVisible=!1,Z.languageMenuVisible=!1)}),N(()=>k.appLanguage,()=>{F(()=>{ce()})}),N(()=>d.webSidebar20260508,()=>{ce()});const ue=async()=>{Z.linkSocialLoading=!0;const{code:e,data:a,items:i,msg:l,message:n}=await g.getBindChannels();return 200!==e?(u.error({position:"top",content:l||n||"Load failed"}),Z.linkSocialLoading=!1,!1):(Z.linkSocialApps=((e=[])=>{const a=e.map(e=>{const a=String((null==e?void 0:e.channel)||"").toLowerCase();return H.includes(a)?{...e,channel:a,bound:Boolean(null==e?void 0:e.bound),supported:!1!==(null==e?void 0:e.supported),displayName:(null==e?void 0:e.display_name)||Y[a]||a,icon:K[a]||""}:null}).filter(e=>null==e?void 0:e.supported),i=new Map(a.map(e=>[e.channel,e]));return H.map(e=>i.get(e)).filter(Boolean)})((null==a?void 0:a.items)||i||[]),Z.linkSocialLoading=!1,!0)},de=async e=>{if(t.logClickEvent("link_social_app_web"),e.bound)return;Z.linkSocialMenuVisible=!1,Z.morePopoverVisible=!1,Z.linkSocialDialogVisible=!0,Z.currentLinkSocialApp={...e,loading:!0};const a=await(async e=>
1{Z.linkSocialDetailLoading=!0;const{code:a,data:i,msg:l,message:n}=await g.getBindDetail({channel:e});return 200!==a&&0!==a?(u.error({position:"top",content:l||n||"Load failed"}),Z.linkSocialDetailLoading=!1,null):(Z.linkSocialDetailLoading=!1,i||{})})(e.channel);if(!a)return Z.linkSocialDialogVisible=!1,void(Z.currentLinkSocialApp={});Z.currentLinkSocialApp={...e,...a,displayName:a.display_name||a.displayName||e.displayName,loading:!1}},ve=()=>{Z.linkSocialDialogVisible=!1,Z.currentLinkSocialApp={}},me=()=>{t.logCustomEvent("more_click",{})},be=async e=>{if("social"!==e.name){if("language"===e.name)return Z.languageMenuVisible=!Z.languageMenuVisible,void(Z.linkSocialMenuVisible=!1);switch(Z.morePopoverVisible=!1,Z.referralsPopoverVisible=!1,e.name){case"speech":t.logClickEvent("navigation",{nav_code:2,tab_stare:"speech"}),A.push({name:"speech"});break;case"faq":t.logClickEvent("faq"),window.open(A.resolve({name:"faq",params:I.params,query:I.query}).href,"_blank");break;case"news":t.logCustomEvent("what_is_new_click",{}),o.changeNewReaded(!0),window.location.href=oe("whats-new",c());break;case"blog":t.logCustomEvent("more_blog_click",{}),window.location.href=oe("blog",c());break;case"remove-watermark-settings":Z.removeWatermarkDialogVisible=!0;break;case"terms":window.open("MurekaCn"==Q.appname?X("/static/terms-cn-20250829.pdf"):X("/static/terms-20260513.pdf"),"_blank");break;case"privacy":window.open("MurekaCn"==Q.appname?X("/static/privacy.pdf"):X("/static/privacy-20250709.pdf"),"_blank");break;case"feedback":t.logClickEvent("feedback_global"),ne();break;case"api":{t.logClickEvent("api_platform");const e="https://platform.mureka."+(Q.appname==W?"cn":"ai");window.open(e,"_blank");break}case"invite":if(t.logClickEvent("invite_for_free_credits"),!(await k.checkLoginStatus({source:"invite"})))return;p();break;case"affiliate":t.logClickEvent("affiliate_program"),A.push({name:"affiliate",query:I.query})}}else await(async()=>{await k.checkLoginStatus({source:"link_social_app"})&&(Z.linkSocialMenuVisible?Z.linkSocialMenuVisible=!1:(Z.linkSocialMenuVisible=!0,Z.languageMenuVisible=!1,t.logCustomEvent("link_social_app_web_show"),ue()))})()},pe=e=>e.label,ge=async e=>{switch(n.notificationsDialog&&n.closeNotificationsDialog(),e.name){case"invite":case"affiliate":await be(e);break;case"cpp":window.open("https://wghmv698030.sg.larksuite.com/share/base/form/shrlg1OxItpKcPymNfVlbQT8UYg","_blank");break;case"Mureka Co":"undefined"!=typeof window&&window.open(A.resolve({name:"murekaDesktop",params:se(),query:{source:"sidebar"}}).href,"_blank")}};return(e,a)=>{const i=ie;return h(),x(P,null,[w("div",je,[(h(!0),x(P,null,U(re.navs,e=>{var l;return h(),x("div",{key:e.name,class:B(["user-nav-item flex pointer",{isBorder:e.isBorder,isActive:D.value===e.name||(null==(l=e.activeRoutes)?void 0:l.includes(D.value))}]),onMouseenter:a=>ee(e.name),onMouseleave:a[7]||(a[7]=e=>ee()),onClick:a=>ge(e)},[L(q,{content:pe(e),position:"right",disabled:!S(k).navCollapsed},{default:y(()=>["switchlanguage"==e.name&&Z.ifRenderLangPopover||"rewards"==e.name||"more"==e.name?(h(),x("div",We,["switchlanguage"==e.name&&Z.ifRenderLangPopover?(h(),f(i,{key:0,placement:"right","popper-class":"more-right-list-box",trigger:"click",offset:30,width:200},{reference:y(()=>[w("div",{class:"language-btn",onClick:a[0]||(a[0]=T(()=>{},["stop"]))},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:18,color:ae(e),class:"user-nav-icon icon-img"},null,8,["name","color"])):z("",!0),w("div",He,[w("span",Je,C(e.label),1),a[9]||(a[9]=w("span",{class:"btn-arrow"},null,-1))])])]),default:y(()=>[w("div",Xe,[(h(!0),x(P,null,U(S(J),e=>(h(),x("div",{key:e.key,class:B(["more-language-item flex",{active:S(c)()===e.key}]),onClick:()=>{te(e)}},[w("span",Ke,C(e.label),1),a[10]||(a[10]=w("i",{class:"block"},null,-1))],10,Ye))),128))])]),_:2},1024)):"rewards"==e.name?(h(),f(i,{key:1,visible:Z.rewardsPopoverVisible,"onUpdate:visible":a[2]||(a[2]=e=>Z.rewardsPopoverVisible=e),placement:"right","popper-class":"rewards-right-list-box",trigger:"click",offset:4},{reference:y(()=>[w("div",{class:"language-btn",onClick:a[1]||(a[1]=T(()=>{},["stop"]))},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:18,color:ae(e),class:"user-nav-icon icon-img"},null,8,["name","color"])):z("",!0),w("div",Ze,[w("div",null,C(e.label),1)])])]),default:y(()=>[w("div",ea,[(h(!0),x(P,null,U(re.rewardNavs,e=>(h(),x("div",{key:e.name,class:"reward-menu-item flex",onClick:()=>{(async e=>{Z.rewardsPopoverVisible=!1,await ge(e)})(e)}},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:20,color:"rgba(255, 255, 255)",class:"reward-menu-icon"},null,8,["name"])):z("",!0),w("span",ia,C(e.label),1)],8,aa))),128))])]),_:2},1032,["visible"])):"more"==e.name?(h(),f(i,{key:2,visible:Z.morePopoverVisible,"onUpdate:visible":a[6]||(a[6]=e=>Z.morePopoverVisible=e),placement:"right","popper-class":"more-right-list-box",trigger:"click",offset:30,width:200,onShow:me},{reference:y(()=>[w("div",{class:"language-btn",onClick:a[3]||(a[3]=T(()=>{},["stop"]))},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:18,color:ae(e),class:"user-nav-icon icon-img"},null,8,["name","color"])):z("",!0),w("div",la,[w("div",null,C(e.label),1)])])]),default:y(()=>[w("div",na,[(h(!0),x(P,null,U(re.secondNavs,e=>(h(),x(P,{key:e.name},["language"===e.name?(h(),f(i,{key:0,visible:Z.languageMenuVisible,"onUpdate:visible":a[4]||(a[4]=e=>Z.languageMenuVisible=e),placement:"right-start","popper-class":"more-right-list-box",trigger:"manual",offset:20,width:200},{reference:y(()=>[w("div",{class:"more-language-item flex",onClick:T(a=>be(e),["stop"])},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:20,color:"rgba(255, 255, 255)",class:"more-menu-icon"},null,8,["name"])):z("",!0),w("span",sa,C(e.label),1)],8,oa)]),default:y(()=>[w("div",ta,[(h(!0),x(P,null,U(S(J),e=>(h(),x("div",{key:e.key,class:B(["more-language-item flex",{active:S(c)()===e.key}]),onClick:a=>(e=>{Z.languageMenuVisible=!1,Z.morePopoverVisible=!1,te(e)})(e)},[w("span",ca,C(e.label),1),a[11]||(a[11]=w("i",{class:"block"},null,-1))],10,ra))),128))])]),_:2},1032,["visible"])):"social"===e.name?(h(),f(i,{key:1,visible:Z.linkSocialMenuVisible,"onUpdate:visible":a[5]||(a[5]=e=>Z.linkSocialMenuVisible=e),placement:"right-start","popper-class":"link-social-menu-popper",trigger:"manual",offset:20,width:220},{reference:y(()=>[w("div",{class:B(["more-language-item flex",{"is-link-social-active":Z.linkSocialMenuVisible}]),onClick:T(a=>be(e),["stop"])},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:20,color:"rgba(255, 255, 255)",class:"more-menu-icon"},null,8,["name"])):z("",!0),w("span",da,C(e.label),1)],10,ua)]),default:y(()=>[w("div",va,[Z.linkSocialLoading&&!Z.linkSocialApps.length?(h(),x("div",ma," Loading... ")):z("",!0),(h(!0),x(P,null,U(Z.linkSocialApps,e=>(h(),x("div",{key:e.channel,class:"link-social-menu-item",onClick:a=>de(e)},[w("div",pa,[e.icon?(h(),x("img",{key:0,src:e.icon,alt:e.displayName,class:"link-social-menu-item-icon"},null,8,ga)):z("",!0),w("span",ka,C(e.displayName),1)]),e.bound?(h(),x("span",_a)):(h(),x("span",fa))],8,ba))),128))])]),_:2},1032,["visible"])):(h(),x("div",{key:2,class:"more-language-item flex",onClick:()=>{be(e)}},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:20,color:"rgba(255, 255, 255)",class:"more-menu-icon"},null,8,["name"])):z("",!0),w("span",ya,C(e.label),1)],8,ha))],64))),128)),L(Pe)])]),_:2},1032,["visible"])):z("",!0)])):(h(),x("div",wa,[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:18,color:ae(e),class:"user-nav-icon"},null,8,["name","color"])):z("",!0),w("div",Ca,C(e.label),1),e.hasNewTag&&!S(k).navCollapsed?(h(),f(S(b),{key:1,preset
1:"new-mini",class:"user-nav-new-tag"})):z("",!0),e.hasNewTag&&S(k).navCollapsed?(h(),x("i",Sa)):z("",!0)]))]),_:2},1032,["content","disabled"])],42,Qe)}),128))]),L(qe,{visible:Z.linkSocialDialogVisible,"app-item":Z.currentLinkSocialApp,onClose:ve},null,8,["visible","app-item"]),Z.removeWatermarkDialogVisible?(h(),f(le,{key:0,visible:Z.removeWatermarkDialogVisible,"onUpdate:visible":a[8]||(a[8]=e=>Z.removeWatermarkDialogVisible=e)},null,8,["visible"])):z("",!0)],64)}}},[["__scopeId","data-v-f553fd27"]]),Ia=()=>{const e=a(),i=R(),l={DIALOG_STATE:"xmas_dialog_state",CONFIG:"xmas_config"},n=()=>{return`${(e=new Date).getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")} ${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}`;var e},o=e=>{try{const a=localStorage.getItem(e);return a?JSON.parse(a):null}catch(a){return null}},s=()=>{const e=o(l.CONFIG);return{cooldownDays:(null==e?void 0:e.cooldownDays)??3,christmasMonth:(null==e?void 0:e.christmasMonth)??12,christmasDay:(null==e?void 0:e.christmasDay)??25,fullscreenDelay:(null==e?void 0:e.fullscreenDelay)??500}},t=M(()=>{const a=e.bannerList??[],i="undefined"==typeof window?135:(window.location.hostname.includes("pre"),40);return a.some(e=>Number(e.id)===i)}),r=()=>{var a,i;const l=null==(i=null==(a=null==e?void 0:e.userInfo)?void 0:a.user)?void 0:i.user_id;return l?String(l):null},c=()=>{const e=r();return e?`${l.DIALOG_STATE}_${e}`:l.DIALOG_STATE},u=()=>{const e=o(c());return{lastClosedCornerTime:(null==e?void 0:e.lastClosedCornerTime)||null,lastClosedFullscreenTime:(null==e?void 0:e.lastClosedFullscreenTime)||null,lastSubscribeTime:(null==e?void 0:e.lastSubscribeTime)||null,christmasCornerClosed:(null==e?void 0:e.christmasCornerClosed)||!1}},d=e=>{if(!r())return;const a={...u(),...e};((e,a)=>{try{localStorage.setItem(e,JSON.stringify(a))}catch(i){}})(c(),a)},v=M(()=>{var a;const i=null==(a=null==e?void 0:e.userInfo)?void 0:a.user;if(!(null==i?void 0:i.vip_level_name)||!(null==i?void 0:i.vip_period_name))return"";let l="Pro";"pro"===i.vip_level_name&&(l="Premier");return`${l}${"month"===i.vip_period_name?"æå¡":"å¹´å¡"}`}),m=M(()=>(v.value,40));O(()=>{"subscribe"===i.name&&d({lastSubscribeTime:n()})});const b=M(()=>!!e.isLogin&&(!!t.value&&("Premierå¹´å¡"!==v.value&&"subscribe"!==i.name)));return{isOnline:t,userPlan:v,discountPercent:m,userDataStore:e,STORAGE_KEYS:l,getCurrentTimestamp:()=>(new Date).getTime(),getCurrentDateTime:n,parseDateTime:e=>{if(!e)return null;try{const a=e.replace(" ","T");return new Date(a)}catch(a){return null}},isChristmasDay:(e=new Date)=>{const a=s(),i=e.getMonth()+1,l=e.getDate();return i===a.christmasMonth&&l===a.christmasDay},meetsBaseConditions:b,getDialogState:u,setDialogState:d,getCooldownMilliseconds:()=>24*s().cooldownDays*60*60*1e3,getFullscreenDelay:()=>s().fullscreenDelay,logCustomEvent:(e,a={})=>{var i,l,n,o,s;const t=null==(o=null==(n=null==(l=_()||(null==(i=null==window?void 0:window.$getVueCurrentInstance)?void 0:i.call(window)))?void 0:l.appContext)?void 0:n.config)?void 0:o.globalProperties;null==(s=null==t?void 0:t.logCustomEvent)||s.call(t,e,a)}}},xa={key:0,class:"xmas-banner"},za={class:"xmas-banner__text"},Da=e({__name:"XMasBanner",setup(e){const a=R(),{discountPercent:i,getDialogState:l,meetsBaseConditions:n,userDataStore:o,userPlan:s}=Ia(),t=V(!1);return N([a,o,s],()=>{t.value=!!n.value&&!l().lastSubscribeTime},{immediate:!0}),(e,a)=>t.value?(h(),x("div",xa,[w("div",za,C(S(i))+"% OFF",1)])):z("",!0)}},[["__scopeId","data-v-9fb1f38d"]]),La={key:0,class:"mobile-nav-container"},Ea=["onClick"],Ma={class:"icon-wrapper"},Va={key:0,class:"nav-text"},Na={key:1,class:"height-all nav-box"},Pa={class:"nav-wraper-main"},$a=["onMouseenter","onClick"],Ba={class:"fn-inline text olh"},Ta={key:1,class:"has-new-banner"},Ga={class:"has-new-banner-text"},Ua={key:2,class:"mobile-red-dot"},Fa={key:4,class:"nav-new-dot","aria-hidden":"true"},Ra={class:"nav-item-level-1"},Oa={class:"fn-inline text olh"},qa={class:"user-nav-list"},ja=e({__name:"nav",setup(e){var l;const n=k(),{createRenderType:o,lastCreateTabName:t}=A(n),r=E(),c=R(),d=a(),m=v(),p=i(),g=null==(l=_())?void 0:l.appContext.config.globalProperties,{$$t:D}=(null==g?void 0:g.$i18n)??{},V=M(()=>{var e;return(null==(e=null==c?void 0:c.meta)?void 0:e.title)??""}),$=e=>e.routername==V.value||"create"==e.routername&&["create","instrumental"].includes(V.value)||e.isVideoCreationEntry&&["videoDetail","lightCanvasWorkspace","canvasDetail"].includes(c.name)||"studio"==e.routername&&["studio","dawlandingpage"].includes(V.value),T=M(()=>!0),O=M(()=>[{label:D("common.nav_home"),routername:"home",ico:"biz-nav-home",activeIco:"biz-nav-home-active",code:0},{label:D("common.nav_library"),routername:"library",ico:"biz-nav-library",activeIco:"biz-nav-library-active",code:3},{label:"",routername:"create",ico:"sys-add",color:"#000",isCenter:!0,code:1},{label:D("common.nav_credits"),routername:"subscribe",ico:"sys-icon-subscribe",activeIco:"sys-icon-subscribe-high",code:4},{label:D("common.nav_me"),routername:"profile",ico:"sys-icon-mine",activeIco:"sys-icon-mine-high",code:6}
1].filter(Boolean)),j=G({curnav:"",hoveredDesktopNav:"",ifRenderLangPopover:!0}),H=(e="")=>{j.hoveredDesktopNav=e},J=(e,a=!1)=>a?"#48e1eb":(e=>j.hoveredDesktopNav===e)(e)?"#5CE8F1":void 0,X=e=>J(e.routername,$(e)),K=e=>{var a,i;if(j.curnav!==e.routername)return!1;if("profile"===e.routername){const e=c.query.user_id,l=null==(i=null==(a=null==d?void 0:d.userInfo)?void 0:a.user)?void 0:i.user_id;return!(e&&(!l||String(e)!==String(l)))}return!0},Z=()=>{g.logClickEvent("api_platform");const e="https://platform.mureka."+(Q.appname==W?"cn":"ai");window.open(e,"_blank")},ee=(e,a)=>{j.curnav=e.routername,(async(e,a)=>{var i,l;if(p.notificationsDialog&&p.$patch({notificationsDialog:!1}),"library"==e.routername||"subscribe"==e.routername||"profile"==e.routername){if(!(await d.checkLoginStatus({source:e.routername})))return;if("subscribe"==e.routername)return void r.push({name:e.routername,query:{membership_source1:"subcribe_tab"}});if("profile"==e.routername)return void r.push({name:e.routername,query:{user_id:null==(l=null==(i=null==d?void 0:d.userInfo)?void 0:i.user)?void 0:l.user_id}})}if("create"!=e.routername||"default"!=a)if(e.isVideoCreationEntry){if(e.routername==c.name)return;await Y(r)&&(null==g||g.logCustomEvent("createvideo_click",{entry_source:"sidebar"}))}else e.routername!=c.name&&r.push({name:e.routername});else r.push({name:t.value})})(e,a),e.sub?g.logClickEvent("create_tab_stare",{tab_stare:e.tab_stare}):g.logClickEvent("navigation",{nav_code:e.code,tab_stare:e.routername})};return N(()=>c.name,e=>{j.curnav=e}),N(()=>d.appLanguage,()=>{F().then(()=>{m.doNewsRetry()})}),N(()=>m.hasWinnerRemind,e=>{e&&"activity"!==c.name&&u.success({position:"top",content:D("common.new_winner_remind")})}),N(()=>d.isLogin,e=>{e&&d.isLogin&&m.doGetWinnerRemind()}),I(()=>{j.curnav=c.name,m.doNewsRetry(),d.isLogin&&m.doGetWinnerRemind()}),(e,a)=>(h(),x("div",{class:B(["nav-wraper",`nav-wraper--${S(o)}`])},["mobile"===S(o)?(h(),x("div",La,[(h(!0),x(P,null,U(O.value,e=>(h(),x("div",{key:e.routername,class:B(["mobile-nav-item",{active:K(e),"center-btn":e.isCenter}]),onClick:a=>ee(e,"default")},[w("div",Ma,[L(S(s),{name:K(e)&&e.activeIco?e.activeIco:e.ico,size:24,color:e.color,class:"nav-icon"},null,8,["name","color"])]),e.isCenter?z("",!0):(h(),x("span",Va,C(e.label),1))],10,Ea))),128))])):(h(),x("div",Na,[w("div",Pa,[(h(!0),x(P,null,U([{label:D("common.nav_home"),routername:"home",ico:"biz-nav-home",hasNewBanner:d.hasNewBanner&&d.isLogin,mobileVisible:!0,code:0},{label:D("common.nav_create_music"),routername:"create",ico:"biz-nav-create",mobileVisible:!0,code:1},{label:D("video.create_video"),routername:"videoDetail",ico:"biz-nav-create-video",mobileVisible:!1,code:6,isVideoCreationEntry:!0,beta:!0},!T.value&&{label:D("tts.create_audio"),routername:"speech",ico:"biz-nav-speech",mobileVisible:!0,code:2},{label:D("common.audio_edit"),routername:"studio",tab_stare:"audio_edit",ico:"biz-nav-studio",mobileVisible:!1,code:5},{label:D("common.music_edit"),routername:"editor",tab_stare:"audio_edit",ico:"biz-nav-music-edit",mobileVisible:!1,code:5},{label:D("common.nav_library"),routername:"library",ico:"biz-nav-library",mobileVisible:!0,code:3},{label:D("common.nav_credits"),routername:"subscribe",ico:"biz-nav-sub
1scribe",mobileVisible:!0,code:4}].filter(Boolean),e=>(h(),x("div",{key:e.routername,class:B(["nav-item tl pointer",{active:$(e),"nav-item--mobile-hidden":!e.mobileVisible}]),onMouseenter:a=>H(e.routername),onMouseleave:a[0]||(a[0]=e=>H()),onClick:()=>{ee(e,"default")}},[L(q,{content:e.label,position:"right",disabled:!S(d).navCollapsed},{default:y(()=>[w("div",{class:B(["nav-item-level-1",`nav-item-name--${e.routername}`])},[e.ico?(h(),f(S(s),{key:0,name:e.ico,size:18,color:X(e),class:"fn-inline ico"},null,8,["name","color"])):z("",!0),w("span",Ba,C(e.label),1),e.hasNewBanner&&"pc"===S(o)&&S(d).isLogin&&"home"===e.routername?(h(),x("div",Ta,[w("div",Ga,C(S(D)("common.new")),1)])):z("",!0),"mobile"===S(o)&&"home"===e.routername&&S(d).hasNewBanner&&S(d).isLogin?(h(),x("div",Ua)):z("",!0),e.beta&&!S(d).navCollapsed?(h(),f(S(b),{key:3,preset:"new-mini",class:"nav-new-tag"})):z("",!0),e.beta&&S(d).navCollapsed?(h(),x("i",Fa)):z("",!0),"subscribe"===e.routername&&"pc"===S(o)?(h(),f(S(Da),{key:5})):z("",!0)],2)]),_:2},1032,["content","disabled"])],42,$a))),128)),a[3]||(a[3]=w("div",{class:"platfrom-line"},null,-1)),T.value?z("",!0):(h(),x("div",{key:0,class:B(["nav-item nav-item-api-platform tl pointer",{"nav-item--mobile-hidden":!0}]),onMouseenter:a[1]||(a[1]=e=>H("api")),onMouseleave:a[2]||(a[2]=e=>H()),onClick:Z},[L(q,{content:e.$t("mine.API_Platform"),position:"right",disabled:!S(d).navCollapsed},{default:y(()=>[w("div",Ra,[L(S(s),{name:"biz-nav-api-platform",size:18,color:J("api"),class:"fn-inline ico"},null,8,["color"]),w("span",Oa,C(e.$t("mine.API_Platform")),1)])]),_:1},8,["content","disabled"])],32)),L(Aa)]),w("div",qa,[L(Ee)])]))],2))}},[["__scopeId","data-v-0d6c96f7"]]);export{Me as B,ja as N,Pe as _,Ia as u};
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.