index-legacy-bead3ddf-1724872791500.js 13 KB

1
  1. System.register(["./Scrollbar-legacy-e9a6923f-1724872791500.js","./index-legacy-508a3c9b-1724872791500.js"],(function(t,e){"use strict";var s,n,_,i,l,a,p;return{setters:[t=>{s=t.N},t=>{n=t.d,_=t.r,i=t.e,l=t.f,a=t.F,p=t.k}],execute:function(){var v=document.createElement("style");v.textContent="._theAuth_5h4tv_1{width:46.45833333vw;padding-top:8.33333333vw;box-shadow:none;position:relative}._theAuth_5h4tv_1 ._iconClose_5h4tv_7{position:absolute;right:1.97916667vw;top:7.55208333vw;width:max(1.04166667vw,16Px);height:max(1.04166667vw,16Px);background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAAAXNSR0IArs4c6QAAAi5JREFUaEPtmc8rNlEUxz9I2diwIIWFhYXYKbKwsNCbUv5RSkosZKEoO0qRDRvZ2Fh4Kb9OzdRNM3Pu3HtOejKzfOY5Z76f870/ztzpo8evvh7XTwfw2w52DnQOZFbgTwyheWAW+A+cA4+ZRdPCx4BFYAi4Bi6bAjQHZoC1IMEHcAjcayoS708C60B/EH8E3Nbl0wBWi+qH8V4QVeLluTfAcSrAArBUEWwNUSdeHn0GXKQCDHyP+w1g3BGiSbzMtz3gPRVA4gaBf04Qmvh94C1nEpexHhDZ4kWcNolDeEsIE/FtAayGk5n4FIBcCFPxqQCpEObicwDaQriIzwWIhfisaA/KxUHWeXWptFhGm3Joq5PEhr2NmXgLB2L2iSr47MqXSdvsA00uaMMpjDUTb+lA6MQmMFpD+wTsau2BVqnwvqUDkrdptZH71l1sq1ZCK4wmvow3hbByIFa8OYQFgLZJyT7g9j6RC6CJl01KALzeJ7LmQIz48mVE2+ySDwpSHWgjPmazS57YKQAp4t0g2gLkiHeBaANgId4cIhbAUrwpRAyAh3gzCA1gBNgC5IDr52XVVWpL7DYgTWDlpQGsAHOO4mOcuAJOUgGWATled+vng8R1Tsjx+mkqwHAxhOSsXq4H4MCyn/8hTCDkeH2i+F2+SewAz6kAEifip4FX4K7oberyWfwuw3qqeK58h3hpSqrNAQtBrjk6ANfyRiTvHIgokutfOgdcyxuRvOcd+ALG8rAzj+Q3lQAAAABJRU5ErkJggg==) no-repeat center;background-size:contain;cursor:pointer}._theTitle_5h4tv_17{position:absolute;top:0;left:0;background:url("+new URL("auth-title-bg-facbd3ec.png",e.meta.url).href+") top center no-repeat;background-size:100%;width:100%;height:9.0625vw}._authContent_5h4tv_26{background:linear-gradient(180deg,#E1F8FF 0%,#BBE7FD 100%);border-radius:0 0 1.19791667vw 1.19791667vw}._steps_5h4tv_30{margin:.72916667vw 1.40625vw 0;padding-top:.625vw;background:linear-gradient(180deg,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 88%,#CDF0FF 100%);border-radius:1.19791667vw;border:1px solid #FFFFFF}._steps_5h4tv_30 .n-scrollbar{margin:0 0 1.30208333vw;padding:.72916667vw 1.77083333vw 1.77083333vw;min-height:calc(55vh - 1.45833333vw);max-height:calc(55vh - 1.45833333vw)}._step_5h4tv_30{display:flex;align-items:flex-start;padding-bottom:1.82291667vw}._step_5h4tv_30 ._stepNum_5h4tv_48{width:1.71875vw;height:1.71875vw;display:flex;align-items:center;justify-content:center;text-align:center;background:#B9EAFF;border:1px solid #FFFFFF;font-size:.88541667rem;font-weight:600;color:#131415;border-radius:50%;margin-right:.72916667vw;flex-shrink:0}._step_5h4tv_30 ._stepContent_5h4tv_64 ._txt_5h4tv_64{font-size:max(1.14583333rem,14Px);font-family:PingFangSC,PingFang SC;font-weight:600;color:#000;line-height:1.71875vw}._step_5h4tv_30 ._stepContent_5h4tv_64 ._txt_5h4tv_64 span{color:#1f6dec}._step_5h4tv_30 ._stepContent_5h4tv_64 ._txt_5h4tv_64 ._red_5h4tv_74{color:#e80000}._step_5h4tv_30 ._downloadCert_5h4tv_77{margin-top:.72916667vw;width:12.70833333vw;height:3.02083333vw;background:url("+new URL("downlowdCert-1ec8f80b.png",e.meta.url).href+") no-repeat center;background-size:contain;border-radius:2.60416667vw;cursor:pointer}._step_5h4tv_30 ._imgs2_5h4tv_86{display:flex;align-items:flex-start;padding-top:1.04166667vw}._step_5h4tv_30 ._imgs2_5h4tv_86 ._m6_5h4tv_91,._step_5h4tv_30 ._imgs2_5h4tv_86 ._w2_5h4tv_92{margin-left:1.97916667vw}._step_5h4tv_30 img{border-radius:.41666667vw}._step_5h4tv_30 ._w1_5h4tv_98{width:4.6875vw;height:5.10416667vw}._step_5h4tv_30 ._w2_5h4tv_92{width:20.83333333vw;height:21.45833333vw}._step_5h4tv_30 ._w3_5h4tv_106,._step_5h4tv_30 ._w4_5h4tv_107,._step_5h4tv_30 ._w5_5h4tv_108,._step_5h4tv_30 ._w8_5h4tv_109{margin-top:1.04166667vw;width:17.65625vw;height:18.17708333vw}._step_5h4tv_30 ._w6_5h4tv_114{margin-top:1.04166667vw;width:21.09375vw;height:23.54166667vw}._step_5h4tv_30 ._w7_5h4tv_119{margin-top:.41666667vw;width:96%}._step_5h4tv_30 ._m1_5h4tv_123{width:5.625vw;height:6.14583333vw}._step_5h4tv_30 ._m6_5h4tv_91{width:13.69791667vw}._step_5h4tv_30 ._m3_5h4tv_130{margin-top:.41666667vw;width:18.64583333vw}._step_5h4tv_30 ._m2_5h4tv_134,._step_5h4tv_30 ._m4_5h4tv_135,._step_5h4tv_30 ._m5_5h4tv_136{margin-top:.41666667vw;width:100%}._step_5h4tv_30 ._m2_5h4tv_134{width:90%}._step_5h4tv_30 ._moreImg_5h4tv_143{display:flex;align-items:center;flex-wrap:wrap}._step_5h4tv_30 ._moreImg_5h4tv_143 img{width:47%;margin-bottom:1.66666667vw}._step_5h4tv_30 ._moreImg_5h4tv_143 img:nth-child(2n+2){margin-left:6%}._btnGroup_5h4tv_155{padding:1.30208333vw 0;display:flex;align-items:center;justify-content:center}._btnGroup_5h4tv_155 ._btn_5h4tv_155{width:12.70833333vw;height:3.02083333vw;cursor:pointer}._btnGroup_5h4tv_155 ._btn_5h4tv_155+._btn_5h4tv_155{margin-left:.83333333vw}._btnGroup_5h4tv_155 ._btnUp_5h4tv_169{background:url("+new URL("btn-up-cc0e6f62.png",e.meta.url).href+") no-repeat center center;background-size:contain}._btnGroup_5h4tv_155 ._btnDown_5h4tv_173{background:url("+new URL("btn-down-712c3e63.png",e.meta.url).href+") no-repeat center center;background-size:contain}._btnGroup_5h4tv_155 ._btnDone_5h4tv_177{background:url("+new URL("btn-done-31f2a4f1.png",e.meta.url).href+") no-repeat center center;background-size:contain}\n",document.head.appendChild(v);const h={theAuth:"_theAuth_5h4tv_1",iconClose:"_iconClose_5h4tv_7",theTitle:"_theTitle_5h4tv_17",authContent:"_authContent_5h4tv_26",steps:"_steps_5h4tv_30",step:"_step_5h4tv_30",stepNum:"_stepNum_5h4tv_48",stepContent:"_stepContent_5h4tv_64",txt:"_txt_5h4tv_64",red:"_red_5h4tv_74",downloadCert:"_downloadCert_5h4tv_77",imgs2:"_imgs2_5h4tv_86",m6:"_m6_5h4tv_91",w2:"_w2_5h4tv_92",w1:"_w1_5h4tv_98",w3:"_w3_5h4tv_106",w4:"_w4_5h4tv_107",w5:"_w5_5h4tv_108",w8:"_w8_5h4tv_109",w6:"_w6_5h4tv_114",w7:"_w7_5h4tv_119",m1:"_m1_5h4tv_123",m3:"_m3_5h4tv_130",m2:"_m2_5h4tv_134",m4:"_m4_5h4tv_135",m5:"_m5_5h4tv_136",moreImg:"_moreImg_5h4tv_143",btnGroup:"_btnGroup_5h4tv_155",btn:"_btn_5h4tv_155",btnUp:"_btnUp_5h4tv_169",btnDown:"_btnDown_5h4tv_173",btnDone:"_btnDone_5h4tv_177"},r=""+new URL("1-0f030cca.png",e.meta.url).href,c=""+new URL("2-685ea14d.png",e.meta.url).href,o=""+new URL("3-f1877f09.png",e.meta.url).href,d=""+new URL("4-dadbe478.png",e.meta.url).href,m=""+new URL("5-781ec9a2.png",e.meta.url).href,w=""+new URL("6-a6c53998.png",e.meta.url).href,g=""+new URL("7-9bf60f87.png",e.meta.url).href,u=""+new URL("8-55055f79.png",e.meta.url).href,f=""+new URL("1-779c458d.png",e.meta.url).href,b=""+new URL("2-e3401bf1.png",e.meta.url).href,A=""+new URL("3-66e27cfb.png",e.meta.url).href,x=""+new URL("4-7b58f651.png",e.meta.url).href,C=""+new URL("5-e41061b2.png",e.meta.url).href,F=""+new URL("6-20326c16.png",e.meta.url).href,U=()=>{const t=navigator.userAgent;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&-1==t.indexOf("KHTML"),mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/Mac OS X/),android:t.indexOf("DAYAAPPA")>-1||t.indexOf("Adr")>-1,iPhone:t.indexOf("DAYAAPPI")>-1,isApp:t.indexOf("DAYAAPPI")>-1||t.indexOf("DAYAAPPA")>-1||t.indexOf("Adr")>-1,iPad:t.indexOf("iPad")>-1,webApp:-1==t.indexOf("Safari"),weixin:t.indexOf("MicroMessenger")>-1,alipay:t.indexOf("AlipayClient")>-1,huawei:!!t.match(/huawei/i)||!!t.match(/honor/i),xiaomi:!!t.match(/mi\s/i)||!!t.match(/redmi/i)||!!t.match(/mix/i)}};t("T",n({name:"the-auth",emits:["close"],setup(t,{emit:e}){const n=_(),v=i({step:1,maxStep:U().ios?5:7}),y=()=>{/macintosh|mac os x/i.test(navigator.userAgent)?window.open(`https://oss.dayaedu.com/https-ssl/安全证书.p12?v=${(new Date).getTime()}`):window.open("https://oss.dayaedu.com/https-ssl/安全证书.pfx")};return()=>l("div",{class:h.theAuth},[l("div",{class:h.theTitle},null),l("div",{class:h.authContent},[l("div",{class:h.steps},[l(s,{ref:n},{default:()=>[U().ios?l(a,null,[1===v.step&&l(a,null,[l("div",{class:h.step},[l("div",{class:h.stepNum},[p("01")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("点击下方【下载证书】按钮,下载数据安全证书安装包")]),l("div",null,[l("div",{class:h.downloadCert,onClick:y},null)])])]),l("div",{class:h.step},[l("div",{class:h.stepNum},[p("02")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("双击"),l("span",null,[p("《安全证书.p12》")]),p(",输入钥匙串密码,点击"),l("span",null,[p("【修改钥匙串】")]),l("span",{style:{"font-weight":400,color:"#777777"}},[p("(若无此步骤则忽略)")])]),l("div",{class:[h.imgs,h.imgs2]},[l("img",{src:f,class:h.m1},null),l("img",{src:F,class:h.m6},null)])])])]),2===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("03")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("输入证书密码:"),l("span",{class:h.red,style:{"text-decoration":"underline"}},[p("colexiu.com")]),p(",点击"),l("span",null,[p("【好】")])]),l("div",{class:h.imgs},[l("img",{src:b,class:h.m2},null)])])]),3===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("04")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[l("span",{class:h.red},[p("重启浏览器")]),p("(在电脑屏幕左上方选择当前浏览器并点击"),l("span",null,[p("【退出】")]),p("),再重新打开音乐数字课堂网址")]),l("div",{class:h.imgs},[l("img",{src:A,class:h.m3},null)])])]),4===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("05")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("在【选择证书】弹窗中点击"),l("span",null,[p("【确定】")]),p("按钮")]),l("div",{class:h.imgs},[l("img",{src:x,class:h.m4},null)])])]),5===v.step&&l(a,null,[l("div",{class:h.step},[l("div",{class:h.stepNum},[p("06")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("输入您的电脑密码,点击"),l("span",null,[p("【始终允许】")]),l("span",{style:{"font-weight":400,color:"#777777"}},[p("(若无此步骤则忽略)")])]),l("div",{class:h.imgs},[l("img",{src:C,class:h.m5},null)])])]),l("div",{class:h.step},[l("div",{class:h.stepNum},[p("07")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("证书安装完成,开始使用音乐数字课堂吧!")])])])])]):l(a,null,[1===v.step&&l(a,null,[l("div",{class:h.step},[l("div",{class:h.stepNum},[p("01")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("点击下方【下载证书】按钮,下载数据安全证书安装包")]),l("div",null,[l("div",{class:h.downloadCert,onClick:y},null)])])]),l("div",{class:h.step},[l("div",{class:h.stepNum},[p("02")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("双击"),l("span",null,[p("《安全证书.pfx》")]),p(",出现弹窗后点击"),l("span",null,[p("【下一步】")])]),l("div",{class:[h.imgs,h.imgs2]},[l("img",{src:r,class:h.w1},null),l("img",{src:c,class:h.w2},null)])])])]),2===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("03")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("点击"),l("span",null,[p("【下一步】")])]),l("div",{class:h.imgs},[l("img",{src:o,class:h.w3},null)])])]),3===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("04")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("点击"),l("span",null,[p("【下一步】")])]),l("div",{class:h.imgs},[l("img",{src:d,class:h.w4},null)])])]),4===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("05")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("点击"),l("span",null,[p("【下一步】")])]),l("div",{class:h.imgs},[l("img",{src:u,class:h.w8},null)])])]),5===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("06")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("点击"),l("span",null,[p("【完成】")])]),l("div",{class:h.imgs},[l("img",{src:m,class:h.w5},null)])])]),6===v.step&&l("div",{class:h.step},[l("div",{class:h.stepNum},[p("07")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("点击"),l("span",null,[p("【确定】")])]),l("div",{class:h.imgs},[l("img",{src:w,class:h.w6},null)])])]),7===v.step&&l(a,null,[l("div",{class:h.step},[l("div",{class:h.stepNum},[p("08")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[l("span",{class:h.red},[p("重启浏览器")]),p(",打开音乐数字课堂网址")])])]),l("div",{class:h.step},[l("div",{class:h.stepNum},[p("09")]),l("div",{class:h.stepContent},[l("p",{class:h.txt},[p("在【选择证书】弹窗中点击"),l("span",null,[p("【确定】")]),p("按钮,证书安装完成,开始使用音乐数字课堂吧!")]),l("img",{src:g,class:h.w7},null)])])])])]})]),l("div",{class:h.btnGroup},[v.step>1&&l("div",{class:[h.btn,h.btnUp],style:{cursor:v.step<=1?"not-allowed":"pointer"},onClick:()=>{v.step<=1||(v.step-=1,n.value.scrollTo({top:0,left:0}))}},null),l("div",{class:[h.btn,h.btnDown,v.step===v.maxStep&&h.btnDone],onClick:()=>{v.step>=v.maxStep?e("close"):v.step+=1,n.value.scrollTo({top:0,left:0})}},null)])])])}}))}}}));