!function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(_){l=!0,o=_}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nimg{width:100%}._theFooterApp_53wkw_12{position:fixed;left:50%;bottom:1.06667rem;width:6.4rem;height:1.17333rem;display:flex;justify-content:center;align-items:center;font-size:.42667rem;font-weight:700;color:#fff;background-color:var(--van-primary-color);border-radius:.53333rem;transform:translate(-50%);overflow:hidden;z-index:100}._theFooterApp_53wkw_12>img{width:.66667rem;height:.66667rem;margin-right:.32rem}._theFooterApp_53wkw_12:active:before{opacity:.1}._theFooterApp_53wkw_12:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background:var(--van-black);border:inherit;border-color:var(--van-black);border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}._appContent_53wkw_52{background:#f8f8f8}._appContent_53wkw_52 ._top_53wkw_55{display:flex;justify-content:space-between;padding:.42667rem;background-image:url(__VITE_ASSET__3ee92736__);background-repeat:no-repeat;background-size:100% 100%;font-size:.42667rem;font-weight:700;line-height:.58667rem}._appContent_53wkw_52 ._top_53wkw_55 ._des_53wkw_66{display:flex;align-items:center;font-size:.32rem;color:#999}._appContent_53wkw_52 ._content_53wkw_72{padding:0 .42667rem .16rem}._appContent_53wkw_52 ._content_53wkw_72 ._item_53wkw_75{display:flex;align-items:center;padding:.32rem .42667rem;background:#ffffff;box-shadow:0 .02667rem .05333rem rgba(0,0,0,.05);border-radius:.21333rem;margin-bottom:.32rem}._appContent_53wkw_52 ._content_53wkw_72 ._item_53wkw_75 .van-button{margin-left:auto;width:1.81333rem;height:.90667rem}._appContent_53wkw_52 ._content_53wkw_72 ._tag_53wkw_89{font-size:.32rem;color:#fd6223;background:#ffeae2;border-radius:.10667rem;padding:.02667rem .05333rem;margin-left:.26667rem}._appContent_53wkw_52 ._content_53wkw_72 ._description_53wkw_97{font-size:.42667rem}._appContent_53wkw_52 ._content_53wkw_72 ._description_53wkw_97 ._title_53wkw_100{line-height:.64rem}._appContent_53wkw_52 ._content_53wkw_72 ._description_53wkw_97 ._des_53wkw_66{font-size:.32rem;color:#999}._appContent_53wkw_52 ._content_53wkw_72 ._itemLogo_53wkw_107{width:1.6rem;height:1.6rem;margin-right:.37333rem;border:.02667rem solid #dedede;border-radius:.37333rem}\n',document.head.appendChild(n),System.register(["./logo-1-legacy.33a78a26.js","./index-legacy.7ef67fdb.js","./index-legacy.53298efe.js","./index-legacy.578fcaba.js","./utils-legacy.2e55ffa8.js"],(function(t){"use strict";var n,r,o,i,a,l,_,c,u,w,d,s,p,f,m;return{setters:[function(e){n=e.I},function(e){r=e.d,o=e.r,i=e.o,a=e.c,l=e.b,_=e.F,c=e.e,u=e.u},function(e){w=e.P,d=e.I},function(e){s=e.B,p=e.T},function(e){f=e.i,m=e.a}],execute:function(){var g={wx_bg:"_wx_bg_53wkw_1",theFooterApp:"_theFooterApp_53wkw_12",appContent:"_appContent_53wkw_52",top:"_top_53wkw_55",des:"_des_53wkw_66",content:"_content_53wkw_72",item:"_item_53wkw_75",tag:"_tag_53wkw_89",description:"_description_53wkw_97",title:"_title_53wkw_100",itemLogo:"_itemLogo_53wkw_107"},h=""+new URL("wx_bg.7fc6518a.png",module.meta.url).href,k=e(c(!1),2),v=k[0],b=k[1];t("T",r({name:"TheFooterApp",setup:function(){var e=u(),t=o();i((function(){"index"==e.name&&b(!0),window.addEventListener("error",(function(e){e.preventDefault()}),!0)}));var r=[{title:"酷乐秀",des:"学习海量优质乐谱",tag:"推荐",type:"ColexiuStudent"},{title:"酷乐秀学院",des:"我要提供优质内容",tag:"",type:"ColexiuTeacher"}],c=o(!1);return function(){return a(_,null,[c.value&&a("div",{class:g.wx_bg},[a("img",{src:h},null)]),a("div",{class:g.theFooterApp,onClick:function(){return b(!0)}},[a("img",{class:g.img,src:n},null),a("span",null,[l("打开APP看海量热门乐谱")])]),a(w,{position:"bottom",round:!0,show:v.value,"onUpdate:show":function(e){return v.value=e},onClose:function(){return c.value=!1}},{default:function(){return[a("div",{class:g.appContent},[a("div",{class:g.top},[a("span",null,[l("打开方式")]),a("div",{class:g.des,onClick:function(){return b(!1)}},[a("span",null,[l("继续使用浏览器")]),a(d,{name:"play",size:10},null)])]),a("div",{class:g.content},[r.map((function(e){return a("div",{class:g.item},[a("img",{class:g.itemLogo,src:n,alt:""},null),a("div",{class:g.description},[a("div",{class:g.title},[e.title,e.tag&&a("span",{class:g.tag},[e.tag])]),a("div",{class:g.des},[e.des])]),a(s,{round:!0,type:"primary",onClick:function(){return function(e){if(f()||m())c.value=!0;else try{var n=encodeURIComponent(JSON.stringify({url:"",action:"h5",pageTag:1}));if("ColexiuStudent"==e)if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent))window.location.href="ColexiuStudent://linkUrl=".concat(n);else if(/(Android)/i.test(navigator.userAgent))window.location.href="colexiustudent://html:8888/SplashActivity?url=".concat(n);else{var r;null===(r=t.value)||void 0===r||r.downLoadApp("student")}else if(/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent))window.location.href="ColexiuTeacher://linkUrl=".concat(n);else if(/(Android)/i.test(navigator.userAgent))window.location.href="colexiuteacher://html:8888/SplashActivity?url=".concat(n);else{var o;null===(o=t.value)||void 0===o||o.downLoadApp("teacher")}}catch(i){}}(e.type)}},{default:function(){return[l("打开")]}})])}))])])]}}),a(p,{ref:t},null)])}}}))}}}))}();