index-97c9d0de.js 21 KB

1
  1. import{d as e,c as t,a as n,E as o,z as a,g as l,r as s,f as r,e as i,i as c,b as u,h as d,n as v,G as p,w as f,t as h,p as m,H as g,I as b,q as y,T as w,k,v as x,J as C,F as _,K as S,L as O,M as A,N as z}from"./index-fdcf3efe.js";const L=""+new URL("logo-bottom-59fcd33f.png",import.meta.url).href,I=""+new URL("qrcode-ba752f74.png",import.meta.url).href,P=e({name:"m-footer",setup:()=>()=>t("div",{"class":"_footer_cd5c1_1"},[t("img",{"class":"_bottomLogo_cd5c1_4",src:L},null),t("div",{"class":"_friendLink_cd5c1_10"},[t("div",{"class":"_link_cd5c1_14"},[t("p",{"class":"_linkTitle_cd5c1_17"},[n("友情链接")]),t("p",{"class":"_linkContent_cd5c1_23"},[t("a",{href:"https://www.chnmusic.org/",target:"_blank"},[n("中国音乐家协会")]),t("br",null,null),t("a",{href:"https://www.cnorch.com/leaderInfo/list?leaderType=2",target:"_blank"},[n("中国音协管乐学会低音铜管")])])]),t("div",{"class":"_logoUrl_cd5c1_43"},[t("img",{src:I,"class":"w100"},null)])]),t("div",{"class":"_copyright_cd5c1_35"},[n("Copyright © 2022 武汉酷乐秀网络科技有限公司 "),t("br",null,null),n("All Rights Reserved.鄂ICP备2021020787号-1")])])}),T={headerSection:"_headerSection_m6k18_4",header:"_header_m6k18_4",logo:"_logo_m6k18_21",navMenu:"_navMenu_m6k18_26",line:"_line_m6k18_26","is-active":"_is-active_m6k18_41",menuPopup:"_menuPopup_m6k18_50",subCell:"_subCell_m6k18_68",arrowActive:"_arrowActive_m6k18_74"},B=""+new URL("logo-large-b4e43429.png",import.meta.url).href;function E(){}const M=Object.assign,R="undefined"!=typeof window,j=e=>null!==e&&"object"==typeof e,D=e=>null!=e,N=e=>"function"==typeof e,Y=e=>j(e)&&N(e.then)&&N(e["catch"]),q=e=>"number"==typeof e||/^\d+(\.\d+)?$/.test(e);function F(e,t){const n=t.split(".");let o=e;return n.forEach((e=>{var t;o=j(o)&&null!=(t=o[e])?t:""})),o}function H(e,t,n){return t.reduce(((t,o)=>(n&&void 0===e[o]||(t[o]=e[o]),t)),{})}const X=(e,t)=>JSON.stringify(e)===JSON.stringify(t),U=e=>Array.isArray(e)?e:[e],J=null,W=[Number,String],$={type:Boolean,"default":!0},K=e=>({type:e,required:!0}),V=()=>({type:Array,"default":()=>[]}),Z=e=>({type:Number,"default":e}),G=e=>({type:W,"default":e}),Q=e=>({type:String,"default":e});var ee="undefined"!=typeof window;function te(e){return ee?requestAnimationFrame(e):-1}function ne(e){ee&&cancelAnimationFrame(e)}function oe(e){te((()=>te(e)))}var ae=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),le=e=>{const t=g(e);if(t===window){const e=t.innerWidth,n=t.innerHeight;return ae(e,n)}return(null==t?void 0:t.getBoundingClientRect)?t.getBoundingClientRect():ae(0,0)};function se(e){const t=o(e,null);if(t){const e=h(),{link:n,unlink:o,internalChildren:s}=t;return n(e),a((()=>o(e))),{parent:t,index:l((()=>s.indexOf(e)))}}return{parent:null,index:s(-1)}}var re=(e,t)=>{const n=e.indexOf(t);return-1===n?e.findIndex((e=>void 0!==t.key&&null!==t.key&&e.type===t.type&&e.key===t.key)):n};function ie(e){const t=r([]),n=r([]),o=h();return{children:t,linkChildren:a=>{m(e,Object.assign({link:e=>{e.proxy&&(n.push(e),t.push(e.proxy),function(e,t,n){const o=function(e){const t=[],n=e=>{Array.isArray(e)&&e.forEach((e=>{var o;b(e)&&(t.push(e),(null==(o=e.component)?void 0:o.subTree)&&(t.push(e.component.subTree),n(e.component.subTree.children)),e.children&&n(e.children))}))};return n(e),t}(e.subTree.children);n.sort(((e,t)=>re(o,e.vnode)-re(o,t.vnode)));const a=n.map((e=>e.proxy));t.sort(((e,t)=>a.indexOf(e)-a.indexOf(t)))}(o,t,n))},unlink:e=>{const o=n.indexOf(e);t.splice(o,1),n.splice(o,1)},children:t,internalChildren:n},a))}}}var ce,ue,de=1e3,ve=6e4,pe=60*ve,fe=24*pe;function he(e){let t,n,o,a;const r=s(e.time),d=l((()=>{return{total:e=r.value,days:Math.floor(e/fe),hours:Math.floor(e%fe/pe),minutes:Math.floor(e%pe/ve),seconds:Math.floor(e%ve/de),milliseconds:Math.floor(e%de)};var e})),v=()=>{o=!1,ne(t)},p=()=>Math.max(n-Date.now(),0),f=t=>{var n,o;r.value=t,null==(n=e.onChange)||n.call(e,d.value),0===t&&(v(),null==(o=e.onFinish)||o.call(e))},h=()=>{t=te((()=>{o&&(f(p()),r.value>0&&h())}))},m=()=>{t=te((()=>{if(o){const n=p();e=n,t=r.value,(Math.floor(e/1e3)!==Math.floor(t/1e3)||0===n)&&f(n),r.value>0&&m()}var e,t}))},g=()=>{ee&&(e.millisecond?h():m())};return i(v),c((()=>{a&&(o=!0,a=!1,g())})),u((()=>{o&&(v(),a=!0)})),{start:()=>{o||(n=Date.now()+r.value,o=!0,g())},pause:v,reset:(t=e.time)=>{v(),r.value=t},current:d}}function me(e){let t;d((()=>{e(),v((()=>{t=!0}))})),c((()=>{t&&e()}))}function ge(e,t,n={}){if(!ee)return;const{target:o=window,passive:l=!1,capture:s=!1}=n;let r,i=!1;const c=n=>{if(i)return;const o=g(n);o&&!r&&(o.addEventListener(e,t,{capture:s,passive:l}),r=!0)},d=n=>{if(i)return;const o=g(n);o&&r&&(o.removeEventListener(e,t,s),r=!1)};let v;return a((()=>d(o))),u((()=>d(o))),me((()=>c(o))),p(o)&&(v=f(o,((e,t)=>{d(t),c(e)}))),()=>{null==v||v(),d(o),i=!0}}var be,ye=/scroll|auto|overlay/i,we=ee?window:void 0;function ke(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}function xe(e,t=we){let n=e;for(;n&&n!==t&&ke(n);){const{overflowY:e}=window.getComputedStyle(n);if(ye.test(e))return n;n=n.parentNode}return t}function Ce(e,t=we){const n=s();return d((()=>{e.value&&(n.value=xe(e.value,t))})),n}function _e(){if(!be&&(be=s("visible"),ee)){const e=()=>{be.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return be}var Se=Symbol("van-field");function Oe(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function Ae(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function ze(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Le(e){Ae(window,e),Ae(document.body,e)}function Ie(e,t){if(e===window)return 0;const n=t?Oe(t):ze();return le(e).top+n}const Pe=!!R&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function Te(){Pe&&Le(ze())}function Be(e,t){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&(e=>{e.stopPropagation()})(e)}function Ee(e){const t=g(e);if(!t)return!1;const n=window.getComputedStyle(t),o="none"===n.display,a=null===t.offsetParent&&"fixed"!==n.position;return o||a}const{width:Me,height:Re}=function(){if(!ce&&(ce=s(0),ue=s(0),ee)){const e=()=>{ce.value=window.innerWidth,ue.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:ce,height:ue}}();function je(e){if(D(e))return q(e)?"".concat(e,"px"):String(e)}function De(e){if(D(e)){if(Array.isArray(e))return{width:je(e[0]),height:je(e[1])};const t=je(e);return{width:t,height:t}}}function Ne(e){const t={};return void 0!==e&&(t.zIndex=+e),t}let Ye;function qe(e){if("number"==typeof e)return e;if(R){if(e.includes("rem"))return function(e){return+(e=e.replace(/rem/g,""))*function(){if(!Ye){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;Ye=parseFloat(t)}return Ye}()}(e);if(e.includes("vw"))return+e.replace(/vw/g,"")*Me.value/100;if(e.includes("vh"))return function(e){return+(e=e.replace(/vh/g,""))*Re.value/100}(e)}return parseFloat(e)}const Fe=/-(\w)/g,He=e=>e.replace(Fe,((e,t)=>t.toUpperCase()));function Xe(e,t=2){let n=e+"";for(;n.length<t;)n="0"+n;return n}const Ue=(e,t,n)=>Math.min(Math.max(e,t),n);function Je(e,t,n){const o=e.indexOf(t);return-1===o?e:"-"===t&&0!==o?e.slice(0,o):e.slice(0,o+1)+e.slice(o).replace(n,"")}function We(e,t=!0,n=!0){e=t?Je(e,".",/\./g):e.split(".")[0];const o=t?/[^-0-9.]/g:/[^-0-9]/g;return(e=n?Je(e,"-",/-/g):e.replace(/-/,"")).replace(o,"")}const{hasOwnProperty:$e}=Object.prototype;function Ke(e,t){return Object.keys(t).forEach((n=>{!function(e,t,n){const o=t[n];D(o)&&($e.call(e,n)&&j(o)?e[n]=Ke(Object(e[n]),o):e[n]=o)}(e,t,n)})),e}const Ve=s("zh-CN"),Ze=r({"zh-CN":{name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认","delete":"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>"".concat(e,"年").concat(t,"月"),rangePrompt:e=>"最多选择 ".concat(e," 天")},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>"".concat(e,"折"),condition:e=>"满".concat(e,"元可用")},vanCouponCell:{title:"优惠券",count:e=>"".concat(e,"张可用")},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}}});var Ge={messages:()=>Ze[Ve.value],use(e,t){Ve.value=e,this.add({[e]:t})},add(e={}){Ke(Ze,e)}};function Qe(e){const t=He(e)+".";return(e,...n)=>{const o=Ge.messages(),a=F(o,t+e)||F(o,e);return N(a)?a(...n):a}}function et(e,t){return t?"string"==typeof t?" ".concat(e,"--").concat(t):Array.isArray(t)?t.reduce(((t,n)=>t+et(e,n)),""):Object.keys(t).reduce(((n,o)=>n+(t[o]?et(e,o):"")),""):""}function tt(e){return(t,n)=>(t&&"string"!=typeof t&&(n=t,t=""),"".concat(t=t?"".concat(e,"__").concat(t):e).concat(et(t,n)))}function nt(e){const t="van-".concat(e);return[t,tt(t),Qe(t)]}const ot="van-hairline",at="".concat(ot,"--surround"),lt="".concat(ot,"--top-bottom"),st="".concat(ot,"-unset--top-bottom"),rt="van-haptics-feedback",it=Symbol("van-form");function ct(e,{args:t=[],done:n,canceled:o,error:a}){if(e){const l=e.apply(null,t);Y(l)?l.then((e=>{e?n():o&&o()}))["catch"](a||E):l?n():o&&o()}else n()}function ut(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(He("-".concat(n)),e))},e}const dt=Symbol();function vt(e){const t=o(dt,null);t&&f(t,(t=>{t&&e()}))}function pt(e){const t=h();t&&M(t.proxy,e)}const ft={to:[String,Object],url:String,replace:Boolean};function ht({to:e,url:t,replace:n,$router:o}){e&&o?o[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function mt(){const e=h().proxy;return()=>ht(e)}const[gt,bt]=nt("badge"),yt=ut(e({name:gt,props:{dot:Boolean,max:W,tag:Q("div"),color:String,offset:Array,content:W,showZero:$,position:Q("top-right")},setup(e,{slots:n}){const o=()=>{if(n.content)return!0;const{content:t,showZero:o}=e;return D(t)&&""!==t&&(o||0!==t&&"0"!==t)},a=()=>{const{dot:t,max:a,content:l}=e;if(!t&&o())return n.content?n.content():D(a)&&q(l)&&+l>+a?"".concat(a,"+"):l},s=e=>e.startsWith("-")?e.replace("-",""):"-".concat(e),r=l((()=>{const t={background:e.color};if(e.offset){const[o,a]=e.offset,{position:l}=e,[r,i]=l.split("-");n["default"]?(t[r]="number"==typeof a?je("top"===r?a:-a):"top"===r?je(a):s(a),t[i]="number"==typeof o?je("left"===i?o:-o):"left"===i?je(o):s(o)):(t.marginTop=je(a),t.marginLeft=je(o))}return t})),i=()=>{if(o()||e.dot)return t("div",{"class":bt([e.position,{dot:e.dot,fixed:!!n["default"]}]),style:r.value},[a()])};return()=>{if(n["default"]){const{tag:o}=e;return t(o,{"class":bt("wrapper")},{"default":()=>[n["default"](),i()]})}return i()}}}));let wt=2e3;const[kt,xt]=nt("config-provider"),Ct=Symbol(kt),[_t,St]=nt("icon"),Ot=ut(e({name:_t,props:{dot:Boolean,tag:Q("i"),name:String,size:W,badge:W,color:String,badgeProps:Object,classPrefix:String},setup(e,{slots:n}){const a=o(Ct,null),s=l((()=>e.classPrefix||(null==a?void 0:a.iconPrefix)||St()));return()=>{const{tag:o,dot:a,name:l,size:r,badge:i,color:c}=e,u=null==(d=l)?void 0:d.includes("/");var d;return t(yt,y({dot:a,tag:o,"class":[s.value,u?"":"".concat(s.value,"-").concat(l)],style:{color:c,fontSize:je(r)},content:i},e.badgeProps),{"default":()=>{var e;return[null==(e=n["default"])?void 0:e.call(n),u&&t("img",{"class":St("image"),src:l},null)]}})}}})),At={show:Boolean,zIndex:W,overlay:$,duration:W,teleport:[String,Object],lockScroll:$,lazyRender:$,beforeClose:Function,overlayStyle:Object,overlayClass:J,transitionAppear:Boolean,closeOnClickOverlay:$};function zt(){const e=s(0),t=s(0),n=s(0),o=s(0),a=s(0),l=s(0),r=s(""),i=s(!0),c=()=>{n.value=0,o.value=0,a.value=0,l.value=0,r.value="",i.value=!0};return{move:s=>{const c=s.touches[0];var u,d;n.value=(c.clientX<0?0:c.clientX)-e.value,o.value=c.clientY-t.value,a.value=Math.abs(n.value),l.value=Math.abs(o.value),(!r.value||a.value<10&&l.value<10)&&(r.value=(u=a.value)>(d=l.value)?"horizontal":d>u?"vertical":""),i.value&&(a.value>5||l.value>5)&&(i.value=!1)},start:n=>{c(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},reset:c,startX:e,startY:t,deltaX:n,deltaY:o,offsetX:a,offsetY:l,direction:r,isVertical:()=>"vertical"===r.value,isHorizontal:()=>"horizontal"===r.value,isTap:i}}let Lt=0;const It="van-overflow-hidden";function Pt(e){const t=s(!1);return f(e,(e=>{e&&(t.value=e)}),{immediate:!0}),e=>()=>t.value?e():null}const Tt=()=>{var e;const{scopeId:t}=(null==(e=h())?void 0:e.vnode)||{};return t?{[t]:""}:null},[Bt,Et]=nt("overlay"),Mt=ut(e({name:Bt,props:{show:Boolean,zIndex:W,duration:W,className:J,lockScroll:$,lazyRender:$,customStyle:Object},setup(e,{slots:n}){const o=s(),a=Pt((()=>e.show||!e.lazyRender))((()=>{var a;const l=M(Ne(e.zIndex),e.customStyle);return D(e.duration)&&(l.animationDuration="".concat(e.duration,"s")),k(t("div",{ref:o,style:l,"class":[Et(),e.className]},[null==(a=n["default"])?void 0:a.call(n)]),[[x,e.show]])}));return ge("touchmove",(t=>{e.lockScroll&&Be(t,!0)}),{target:o}),()=>t(w,{name:"van-fade",appear:!0},{"default":a})}})),Rt=M({},At,{round:Boolean,position:Q("center"),closeIcon:Q("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Q("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[jt,Dt]=nt("popup"),Nt=ut(e({name:jt,inheritAttrs:!1,props:Rt,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:n,attrs:o,slots:a}){let r,p;const h=s(),g=s(),b=Pt((()=>e.show||!e.lazyRender)),S=l((()=>{const t={zIndex:h.value};return D(e.duration)&&(t["center"===e.position?"animationDuration":"transitionDuration"]="".concat(e.duration,"s")),t})),O=()=>{r||(r=!0,h.value=void 0!==e.zIndex?+e.zIndex:++wt,n("open"))},A=()=>{r&&ct(e.beforeClose,{done(){r=!1,n("close"),n("update:show",!1)}})},z=t=>{n("clickOverlay",t),e.closeOnClickOverlay&&A()},L=()=>{if(e.overlay)return t(Mt,y({show:e.show,"class":e.overlayClass,zIndex:h.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},Tt(),{onClick:z}),{"default":a["overlay-content"]})},I=e=>{n("clickCloseIcon",e),A()},P=()=>{if(e.closeable)return t(Ot,{role:"button",tabindex:0,name:e.closeIcon,"class":[Dt("close-icon",e.closeIconPosition),rt],classPrefix:e.iconPrefix,onClick:I},null)};let T;const B=()=>{T&&clearTimeout(T),T=setTimeout((()=>{n("opened")}))},E=()=>n("closed"),M=e=>n("keydown",e),R=b((()=>{var n;const{round:l,position:s,safeAreaInsetTop:r,safeAreaInsetBottom:i}=e;return k(t("div",y({ref:g,style:S.value,role:"dialog",tabindex:0,"class":[Dt({round:l,[s]:s}),{"van-safe-area-top":r,"van-safe-area-bottom":i}],onKeydown:M},o,Tt()),[null==(n=a["default"])?void 0:n.call(a),P()]),[[x,e.show]])})),j=()=>{const{position:n,transition:o,transitionAppear:a}=e;return t(w,{name:o||("center"===n?"van-fade":"van-popup-slide-".concat(n)),appear:a,onAfterEnter:B,onAfterLeave:E},{"default":R})};return f((()=>e.show),(e=>{e&&!r&&(O(),0===o.tabindex&&v((()=>{var e;null==(e=g.value)||e.focus()}))),!e&&r&&(r=!1,n("close"))})),pt({popupRef:g}),function(e,t){const n=zt(),o=t=>{n.move(t);const o=n.deltaY.value>0?"10":"01",a=xe(t.target,e.value),{scrollHeight:l,offsetHeight:s,scrollTop:r}=a;let i="11";0===r?i=s>=l?"00":"01":r+s>=l&&(i="10"),"11"===i||!n.isVertical()||parseInt(i,2)&parseInt(o,2)||Be(t,!0)},a=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",o,{passive:!1}),Lt||document.body.classList.add(It),Lt++},l=()=>{Lt&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",o),Lt--,Lt||document.body.classList.remove(It))},s=()=>t()&&l();me((()=>t()&&a())),u(s),i(s),f(t,(e=>{e?a():l()}))}(g,(()=>e.show&&e.lockScroll)),ge("popstate",(()=>{e.closeOnPopstate&&(A(),p=!1)})),d((()=>{e.show&&O()})),c((()=>{p&&(n("update:show",!0),p=!1)})),u((()=>{e.show&&e.teleport&&(A(),p=!0)})),m(dt,(()=>e.show)),()=>e.teleport?t(C,{to:e.teleport},{"default":()=>[L(),j()]}):t(_,null,[L(),j()])}})),[Yt,qt]=nt("cell"),Ft={tag:Q("div"),icon:String,size:String,title:W,value:W,label:W,center:Boolean,isLink:Boolean,border:$,iconPrefix:String,valueClass:J,labelClass:J,titleClass:J,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],"default":null},clickable:{type:Boolean,"default":null}};const Ht=ut(e({name:Yt,props:M({},Ft,ft),setup(e,{slots:n}){const o=mt(),a=()=>{if(n.label||D(e.label))return t("div",{"class":[qt("label"),e.labelClass]},[n.label?n.label():e.label])},l=()=>{var o;if(n.title||D(e.title)){const l=null==(o=n.title)?void 0:o.call(n);if(Array.isArray(l)&&0===l.length)return;return t("div",{"class":[qt("title"),e.titleClass],style:e.titleStyle},[l||t("span",null,[e.title]),a()])}},s=()=>{const o=n.value||n["default"];if(o||D(e.value))return t("div",{"class":[qt("value"),e.valueClass]},[o?o():t("span",null,[e.value])])},r=()=>{if(n["right-icon"])return n["right-icon"]();if(e.isLink){const n=e.arrowDirection&&"right"!==e.arrowDirection?"arrow-".concat(e.arrowDirection):"arrow";return t(Ot,{name:n,"class":qt("right-icon")},null)}};return()=>{var a;const{tag:i,size:c,center:u,border:d,isLink:v,required:p}=e,f=null!=(a=e.clickable)?a:v,h={center:u,required:!!p,clickable:f,borderless:!d};return c&&(h[c]=!!c),t(i,{"class":qt(h),role:f?"button":void 0,tabindex:f?0:void 0,onClick:o},{"default":()=>{var o;return[n.icon?n.icon():e.icon?t(Ot,{name:e.icon,"class":qt("left-icon"),classPrefix:e.iconPrefix},null):void 0,l(),s(),r(),null==(o=n.extra)?void 0:o.call(n)]}})}}}));function Xt(e){var t;const n="function"==typeof(o=e)?o():g(o);var o;return null!=(t=null==n?void 0:n.$el)?t:n}const Ut="undefined"!=typeof window&&"undefined"!=typeof document?window:void 0;function Jt(e,t,n={}){const{window:o=Ut,...a}=n;let r;const i=function(e){const t=function(){const e=s(!1);return h()&&d((()=>{e.value=!0})),e}();return l((()=>(t.value,Boolean(e()))))}((()=>o&&"ResizeObserver"in o)),c=()=>{r&&(r.disconnect(),r=void 0)},u=l((()=>Array.isArray(e)?e.map((e=>Xt(e))):[Xt(e)])),v=f(u,(e=>{if(c(),i.value&&o){r=new ResizeObserver(t);for(const t of e)t&&r.observe(t,a)}}),{immediate:!0,flush:"post",deep:!0}),p=()=>{c(),v()};var m;return m=p,S()&&O(m),{isSupported:i,stop:p}}const Wt=e({name:"m-header",emits:["height"],setup(e,{emit:n}){const o=A(),a=z(),l=s(!1),r=s(!1),i=s(!1),c=s(),u=e=>{r.value=!1,l.value=!1,a.push(e)};return d((()=>{["/music-classroom","/colexiu-tenant","/colexiu-person"].includes(o.path)&&(i.value=!0);try{Jt(c.value,(e=>{const t=e[0],{height:o}=t.contentRect;n("height",o)}))}catch(e){}})),()=>t("div",{"class":T.headerSection,id:"headerSection"},[t("div",{"class":T.header,ref:c},[t("img",{"class":T.logo,src:B,onClick:()=>a.push("/")},null),t("div",{"class":[T.navMenu,l.value&&T["is-active"]],onClick:()=>{l.value=!l.value,r.value=!r.value}},[t("span",{"class":[T.line,T.line1]},null),t("span",{"class":[T.line,T.line2]},null),t("span",{"class":[T.line,T.line3]},null)])]),t(Nt,{position:"top",show:r.value,"onUpdate:show":[e=>r.value=e,e=>{l.value=e}],"class":T.menuPopup,teleport:"body"},{"default":()=>[t("div",{"class":"van-hairline--top"},[t(Ht,{title:"首页",border:!1,clickable:!0,"class":["/","/colexiu-technology"].includes(o.path)&&T["is-active"],onClick:()=>u("/")},null),t(Ht,{title:"产品",clickable:!0,border:!1,"class":["/home"].includes(o.path)&&T["is-active"],onClick:()=>u("/home")},null),t(Ht,{title:"解决方案",isLink:!0,clickable:!0,arrowDirection:i.value?"up":"down",border:!1,onClick:()=>i.value=!i.value},null),t("div",{"class":[T.subCell,i.value&&T.arrowActive]},[t(Ht,{title:"数字化音乐课堂",clickable:!0,border:!1,"class":["/music-classroom"].includes(o.path)&&T["is-active"],onClick:()=>u("/music-classroom")},null),t(Ht,{title:"器乐教培行业解决方案",clickable:!0,border:!1,"class":["/colexiu-tenant"].includes(o.path)&&T["is-active"],onClick:()=>u("/colexiu-tenant")},null),t(Ht,{title:"音乐达人展示平台",clickable:!0,border:!1,"class":["/colexiu-person"].includes(o.path)&&T["is-active"],onClick:()=>u("/colexiu-person")},null)]),t(Ht,{title:"渠道合作",border:!1,clickable:!0,"class":["/cooperate-channels"].includes(o.path)&&T["is-active"],onClick:()=>u("/cooperate-channels")},null),t(Ht,{title:"关于我们",clickable:!0,border:!1,"class":["/about-us"].includes(o.path)&&T["is-active"],onClick:()=>u("/about-us")},null)])]})])}});export{j as $,je as A,D as B,lt as C,Le as D,Ie as E,ct as F,ht as G,yt as H,ft as I,J,se as K,oe as L,Wt as M,H as N,zt as O,_e as P,Be as Q,Ue as R,Nt as S,mt as T,at as U,Ot as V,V as W,rt as X,X as Y,st as Z,ze as _,P as a,Y as a0,N as a1,Ft as a2,Se as a3,Ht as a4,it as a5,U as a6,We as a7,Te as a8,Xe as a9,he as aa,De as ab,Z as ac,nt as b,ne as c,G as d,qe as e,M as f,Oe as g,Ne as h,R as i,ge as j,Ee as k,le as l,Q as m,W as n,me as o,Re as p,ut as q,te as r,Ae as s,K as t,Ce as u,pt as v,Me as w,$ as x,ie as y,vt as z};