1234567 |
- !function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){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,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(l){s=!0,a=l}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}(e,t)||n(e,t)||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 n(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,a)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){s(i,r,a,o,l,"next",e)}function l(e){s(i,r,a,o,l,"throw",e)}o(void 0)}))}}var c=document.createElement("style");c.innerHTML='._liveHeader_turek_1{padding:0 40px 0 20px;height:var(--header-bar-height);background:var(--live-main-color);box-shadow:0 0 2px rgba(0,0,0,.25),0 0 6px 2px rgba(0,0,0,.1);display:flex;justify-content:space-between;align-items:center;color:var(--live-color);overflow:overlay}._liveHeader_turek_1 ._liveLogo_turek_12{height:36px;width:36px;padding-right:10px}._liveHeader_turek_1 ._liveHeaderLeft_turek_17{display:flex;align-items:center;font-weight:700;font-size:22px}._liveHeader_turek_1 ._liveHeaderLeft_turek_17 ._liveHeaderLeftIcon_turek_23{display:inherit;align-items:inherit}._liveHeader_turek_1 ._liveHeaderLeft_turek_17 ._liveHeaderLeftText_turek_27{padding-left:20px}._avatarWrapper_turek_30{display:flex;align-items:center;color:var(--live-color);font-weight:500;font-size:18px}._avatarWrapper_turek_30 ._userAvatar_turek_37{width:34px;height:34px;border-radius:50%}._avatarWrapper_turek_30 span{padding-left:8px}._header_nc46v_1{display:flex;justify-content:space-between;align-items:center;padding:13px 19px;height:var(--header-height);box-sizing:border-box;background:rgba(0,0,0,.6)}._header_nc46v_1>._title_nc46v_10{font-size:18px;font-weight:400}.el-message-box{border-color:transparent;background-color:var(--live-main-color)}.el-message-box__header{background-color:var(--live-backound-color);color:var(--live-color)}.el-message-box__title,.el-message-box__container,.el-message-box__headerbtn .el-message-box__close{color:var(--live-color)}._action-bar_1akc3_1{box-sizing:border-box;height:var(--action-bar-height);padding:14px 22px;display:flex;align-items:center;justify-content:space-between}._action-bar_1akc3_1 button{overflow:hidden}._bar-btn_1akc3_12{display:flex;flex-direction:column;align-items:center;color:var(--live-color);font-size:14px}._bar-btn_1akc3_12 ._bar-btn-text_1akc3_19{padding-top:6px;line-height:20px}._bar-btn_1akc3_12+._bar-btn_1akc3_12{margin-left:25px}.el-dialog{margin-bottom:10vh}.el-dialog .el-dialog__header{background:var(--live-main-color);padding:15px 20px}.el-dialog .el-dialog__header .el-dialog__title,.el-dialog .el-dialog__header .el-dialog__headerbtn .el-dialog__close{color:#fff}.el-dropdown__popper.el-popper{border-color:var(--live-main-color)!important}.el-dropdown__popper.el-popper[role=tooltip] .el-popper__arrow:before{border-color:var(--live-main-color);background-color:var(--live-main-color)}.el-slider{--el-slider-height: 2px;--el-slider-button-size: 14px;--el-slider-button-wrapper-offset: -17px;--el-slider-main-bg-color: var(--live-text-color)}.el-slider__button{border-color:var(--live-color);background-color:var(--live-text-color)}.el-dropdown-menu{background-color:var(--live-main-color);color:var(--live-color);border-radius:2px}.el-dropdown-menu .el-dropdown-menu__item{color:inherit}.el-dropdown-menu .is-disabled{opacity:.5}.el-dropdown-menu .el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--live-main-color);color:var(--live-color)}._volumeSlider_1akc3_71{display:flex;align-items:center;padding:0 12px;width:195px;height:55px;background-color:var(--live-main-color);border-color:var(--live-main-color)}._volumeSlider_1akc3_71 ._volumeIcon_1akc3_80{width:14px;height:15px;padding-right:8px}._btnInner_1akc3_85{display:flex;align-items:center;justify-content:center;width:60px;height:32px;background:rgba(94,98,109,.33);border-radius:16px}._shareWrap_d61fv_1{background:#f9f9f9;padding:16px}._shareWrap_d61fv_1 h2{font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#333;line-height:25px;margin-bottom:18px}._shareWrap_d61fv_1 h4{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:28px}._shareWrap_d61fv_1 p{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:30px}._shareBtn_d61fv_27{height:48px;background:var(--el-color-primary);border-radius:32px;width:192px;color:#fff;margin:24px auto 0;text-align:center;line-height:48px;font-size:20px;cursor:pointer}._shareWrap_ap100_1{background-color:#f9f9f9;padding:15px}._chioseBox_ap100_5 .el-checkbox__inner{width:20px;height:20px;border-radius:50%}._chioseBox_ap100_5 .el-checkbox__inner:after{height:8px;left:6px;position:absolute;top:3px;width:4px}._cell_ap100_17{height:63px;background:#ffffff;padding:10px 18px;display:flex;flex-direction:row;align-items:center;cursor:pointer;margin-bottom:10px}._dotle_ap100_27{width:42px;height:43px;background:var(--el-color-primary);border-radius:4px;line-height:42px;text-align:center;color:#fff;margin-left:17px;font-size:14px}._teamInfo_ap100_38{font-size:14px;margin-left:8px}._teamInfo_ap100_38 ._title_ap100_42{font-weight:500;color:#1a1a1a;line-height:22px}._teamInfo_ap100_38 ._subInfo_ap100_47{color:#666;line-height:22px}._tableWrap_ap100_51{max-height:500px;overflow-y:scroll}._third_p1nol_1{position:relative;background:linear-gradient(135deg,#8d8cff 0%,#9664ec 100%);padding:43px 20px 54px}._third_p1nol_1 h2{width:254px;font-size:30px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:40px;text-shadow:0px 2px 4px #9366ee;min-height:80px;display:flex;flex-direction:row;align-items:center}._third_p1nol_1 ._preCore_p1nol_19 ._title_p1nol_19{background:#fa912c}._second_p1nol_22{position:relative;background:linear-gradient(135deg,#ff9d9d 0%,#ff6d6d 100%);padding:43px 20px 54px}._second_p1nol_22 h2{width:254px;font-size:30px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:40px;text-shadow:0px 2px 4px #ff5f5f;min-height:80px;display:flex;flex-direction:row;align-items:center}._second_p1nol_22 ._preCore_p1nol_19 ._title_p1nol_19{background:#fa502c}._first_p1nol_43{position:relative;background:linear-gradient(135deg,#4f8dff 0%,#0055ee 100%);padding:43px 20px 54px}._first_p1nol_43 h2{width:254px;font-size:30px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:40px;text-shadow:0px 2px 4px #1054f1;min-height:80px;display:flex;flex-direction:row;align-items:center}._icon_p1nol_61{width:231px;height:223px;position:absolute;right:3px;top:36px}._teacher_p1nol_68{font-size:16px!important;font-family:PingFangSC-Medium,PingFang SC!important;font-weight:500!important;color:#fff!important;line-height:20px!important;margin-top:15px!important;margin-bottom:67px!important}._preCore_p1nol_19{position:relative;z-index:100;padding:12px;background:#ffffff;border-radius:11px}._preCore_p1nol_19 ._start_p1nol_84{width:50px;height:59px;position:absolute;top:24px;right:-11px}._preCore_p1nol_19 ._title_p1nol_19{width:85px;background:#faab2c;border-radius:7px;padding:2px;font-size:18px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff;line-height:25px;text-align:center}._preCore_p1nol_19 ._time_p1nol_103{font-size:18px;font-family:PingFangSC-Medium,PingFang SC;font-weight:600;color:#000;line-height:25px;margin:15px 0 15px 4px}._preCore_p1nol_19 ._content_p1nol_112{margin-top:20px;position:relative;background:linear-gradient(49deg,#fff8e2 0%,#fff1d5 100%);border-radius:8px;padding:20px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000;line-height:25px;margin-bottom:12px}._preCore_p1nol_19 ._content_p1nol_112 ._pre_p1nol_19{width:20px;height:20px;position:absolute;left:-3px;top:-4px}._preCore_p1nol_19 ._content_p1nol_112 ._end_p1nol_132{width:20px;height:20px;position:absolute;bottom:-4px;right:10px}._bottom_p1nol_139{display:flex;flex-direction:row;justify-content:space-between;margin:30px 8px 0}._bottom_p1nol_139 ._logo_p1nol_145{width:202px;height:84px}._bottom_p1nol_139 ._code_p1nol_149{padding:2px;width:80px;height:80px;background-color:#fff}._container_19awp_1{position:absolute;top:50%;left:50%;display:flex;background-color:var(--tips-backound-color);color:var(--live-color);border-radius:8px;transform:translate(-50%,-50%)}._container_19awp_1>div{padding:32px 100px;text-align:center;width:360px;box-sizing:border-box}._container_19awp_1>div svg{width:74px;height:68px}._container_19awp_1>div ._title_19awp_21{font-size:20px;margin-top:15px}._container_19awp_1>div ._tips_19awp_25{font-size:14px;color:var(--tips-color);margin-top:5px}.ball-pulse-sync>div,.ball-pulse>div{width:15px;height:15px;margin:2px;display:inline-block}.ball-pulse-sync>div,.ball-pulse>div,.ball-scale>div{background-color:#fff;border-radius:100%}@-webkit-keyframes scale{0%,80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}}@keyframes scale{0%,80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}}.ball-pulse>div:nth-child(0){-webkit-animation:scale .75s -.36s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.36s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div:nth-child(1){-webkit-animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div:nth-child(2){-webkit-animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div:nth-child(3){-webkit-animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08)}.ball-pulse>div{-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes ball-pulse-sync{33%{-webkit-transform:translateY(10px);transform:translateY(10px)}66%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes ball-pulse-sync{33%{-webkit-transform:translateY(10px);transform:translateY(10px)}66%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.ball-pulse-sync>div:nth-child(0){-webkit-animation:ball-pulse-sync .6s -.21s infinite ease-in-out;animation:ball-pulse-sync .6s -.21s infinite ease-in-out}.ball-pulse-sync>div:nth-child(1){-webkit-animation:ball-pulse-sync .6s -.14s infinite ease-in-out;animation:ball-pulse-sync .6s -.14s infinite ease-in-out}.ball-pulse-sync>div:nth-child(2){-webkit-animation:ball-pulse-sync .6s -.07s infinite ease-in-out;animation:ball-pulse-sync .6s -.07s infinite ease-in-out}.ball-pulse-sync>div:nth-child(3){-webkit-animation:ball-pulse-sync .6s 0s infinite ease-in-out;animation:ball-pulse-sync .6s 0s infinite ease-in-out}.ball-pulse-sync>div{-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.ball-scale>div{height:60px;width:60px;animation:ball-scale 1s 0s ease-in-out infinite}.ball-scale-random>div,.ball-scale>div{display:inline-block;margin:2px;-webkit-animation:ball-scale 1s 0s ease-in-out infinite}.ball-scale-random{width:37px;height:40px}.ball-scale-random>div{background-color:#fff;border-radius:100%;position:absolute;height:30px;width:30px;animation:ball-scale 1s 0s ease-in-out infinite}.ball-rotate>div,.ball-rotate>div:after,.ball-rotate>div:before{background-color:#fff;width:15px;height:15px;border-radius:100%}.ball-rotate,.ball-rotate>div{position:relative}.ball-scale-random>div:nth-child(1){margin-left:-7px;-webkit-animation:ball-scale 1s .2s ease-in-out infinite;animation:ball-scale 1s .2s ease-in-out infinite}.ball-scale-random>div:nth-child(3){margin-left:-2px;margin-top:9px;-webkit-animation:ball-scale 1s .5s ease-in-out infinite;animation:ball-scale 1s .5s ease-in-out infinite}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ball-rotate>div{margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ball-rotate>div:first-child{-webkit-animation:rotate 1s 0s cubic-bezier(.7,-.13,.22,.86) infinite;animation:rotate 1s 0s cubic-bezier(.7,-.13,.22,.86) infinite}.ball-rotate>div:after,.ball-rotate>div:before{margin:2px;content:"";position:absolute;opacity:.8}.ball-rotate>div:before{top:0;left:-28px}.ball-rotate>div:after{top:0;left:25px}.ball-clip-rotate>div{border-radius:100%;margin:2px;border:2px solid #fff;border-bottom-color:transparent;height:25px;width:25px;background:0 0!important;display:inline-block;-webkit-animation:rotate .75s 0s linear infinite;animation:rotate .75s 0s linear infinite}@keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes scale{30%{-webkit-transform:scale(.3);transform:scale(.3)}to{-webkit-transform:scale(1);transform:scale(1)}}.ball-clip-rotate-pulse{position:relative;-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}.ball-clip-rotate-pulse>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;top:0;left:0;border-radius:100%}.ball-clip-rotate-pulse>div:first-child{background:#fff;height:16px;width:16px;top:7px;left:-7px;-webkit-animation:scale 1s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:scale 1s 0s cubic-bezier(.09,.57,.49,.9) infinite}.ball-clip-rotate-pulse>div:last-child{position:absolute;width:30px;height:30px;left:-16px;top:-2px;background:0 0;border:2px solid;border-color:#fff transparent;-webkit-animation:rotate 1s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:rotate 1s 0s cubic-bezier(.09,.57,.49,.9) infinite;-webkit-animation-duration:1s;animation-duration:1s}@keyframes rotate{0%{-webkit-transform:rotate(0) scale(1);transform:rotate(0) scale(1)}50%{-webkit-transform:rotate(180deg) scale(.6);transform:rotate(180deg) scale(.6)}to{-webkit-transform:rotate(360deg) scale(1);transform:rotate(360deg) scale(1)}}.ball-clip-rotate-multiple{position:relative}.ball-clip-rotate-multiple>div{position:absolute;left:-20px;top:-20px;border:2px solid #fff;border-bottom-color:transparent;border-top-color:transparent;border-radius:100%;height:35px;width:35px;-webkit-animation:rotate 1s 0s ease-in-out infinite;animation:rotate 1s 0s ease-in-out infinite}.ball-clip-rotate-multiple>div:last-child{display:inline-block;top:-10px;left:-10px;width:15px;height:15px;-webkit-animation-duration:.5s;animation-duration:.5s;border-color:#fff transparent;-webkit-animation-direction:reverse;animation-direction:reverse}@-webkit-keyframes ball-scale-ripple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}@keyframes ball-scale-ripple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}.ball-scale-ripple>div{height:50px;width:50px;border-radius:100%;border:2px solid #fff;-webkit-animation:ball-scale-ripple 1s 0s infinite cubic-bezier(.21,.53,.56,.8);animation:ball-scale-ripple 1s 0s infinite cubic-bezier(.21,.53,.56,.8)}@-webkit-keyframes ball-scale-ripple-multiple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}to{opacity:0}}.ball-scale-ripple-multiple{position:relative;-webkit-transform:translateY(-25px);-ms-transform:translateY(-25px);transform:translateY(-25px)}.ball-scale-ripple-multiple>div:nth-child(0){-webkit-animation-delay:-.8s;animation-delay:-.8s}.ball-scale-ripple-multiple>div:nth-child(1){-webkit-animation-delay:-.6s;animation-delay:-.6s}.ball-scale-ripple-multiple>div:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.ball-scale-ripple-multiple>div:nth-child(3){-webkit-animation-delay:-.2s;animation-delay:-.2s}.ball-scale-ripple-multiple>div{position:absolute;top:-2px;left:-26px;width:50px;height:50px;border-radius:100%;border:2px solid #fff;-webkit-animation:ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8);animation:ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8)}@-webkit-keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;-webkit-transform:scale(.75);transform:scale(.75)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.ball-beat>div{background-color:#fff;width:15px;height:15px;border-radius:100%;margin:2px;display:inline-block;-webkit-animation:ball-beat .7s 0s infinite linear;animation:ball-beat .7s 0s infinite linear}.ball-beat>div:nth-child(2n-1){-webkit-animation-delay:-.35s!important;animation-delay:-.35s!important}@-webkit-keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.ball-scale-multiple{position:relative;-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}.ball-scale-multiple>div:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.ball-scale-multiple>div:nth-child(3){-webkit-animation-delay:-.2s;animation-delay:-.2s}.ball-scale-multiple>div{background-color:#fff;border-radius:100%;position:absolute;left:-30px;top:0;opacity:0;margin:0;width:60px;height:60px;-webkit-animation:ball-scale-multiple 1s 0s linear infinite;animation:ball-scale-multiple 1s 0s linear infinite}@-webkit-keyframes ball-triangle-path-1{33%{-webkit-transform:translate(25px,-50px);transform:translate(25px,-50px)}66%{-webkit-transform:translate(50px,0);transform:translate(50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-triangle-path-1{33%{-webkit-transform:translate(25px,-50px);transform:translate(25px,-50px)}66%{-webkit-transform:translate(50px,0);transform:translate(50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-triangle-path-2{33%{-webkit-transform:translate(25px,50px);transform:translate(25px,50px)}66%{-webkit-transform:translate(-25px,50px);transform:translate(-25px,50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-triangle-path-2{33%{-webkit-transform:translate(25px,50px);transform:translate(25px,50px)}66%{-webkit-transform:translate(-25px,50px);transform:translate(-25px,50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-triangle-path-3{33%{-webkit-transform:translate(-50px,0);transform:translate(-50px)}66%{-webkit-transform:translate(-25px,-50px);transform:translate(-25px,-50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-triangle-path-3{33%{-webkit-transform:translate(-50px,0);transform:translate(-50px)}66%{-webkit-transform:translate(-25px,-50px);transform:translate(-25px,-50px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}.ball-triangle-path{position:relative;-webkit-transform:translate(-29.99px,-37.51px);-ms-transform:translate(-29.99px,-37.51px);transform:translate(-29.99px,-37.51px)}.ball-triangle-path>div:nth-child(1){-webkit-animation-name:ball-triangle-path-1;animation-name:ball-triangle-path-1;-webkit-animation-delay:0;animation-delay:0;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ball-triangle-path>div:nth-child(2){-webkit-animation-name:ball-triangle-path-2;animation-name:ball-triangle-path-2;-webkit-animation-delay:0;animation-delay:0;animation-duration:2s;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ball-triangle-path>div:nth-child(2),.ball-triangle-path>div:nth-child(3){-webkit-animation-duration:2s;-webkit-animation-timing-function:ease-in-out}.ball-triangle-path>div:nth-child(3){-webkit-animation-name:ball-triangle-path-3;animation-name:ball-triangle-path-3;-webkit-animation-delay:0;animation-delay:0;animation-duration:2s;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ball-triangle-path>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;width:10px;height:10px;border-radius:100%;border:1px solid #fff}.ball-grid-beat>div,.ball-pulse-rise>div{background-color:#fff;height:15px;border-radius:100%;margin:2px}.ball-triangle-path>div:nth-of-type(1){top:50px}.ball-triangle-path>div:nth-of-type(2){left:25px}.ball-triangle-path>div:nth-of-type(3){top:50px;left:50px}@-webkit-keyframes ball-pulse-rise-even{0%{-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}50%{-webkit-transform:scale(.4);transform:scale(.4)}75%{-webkit-transform:translateY(30px);transform:translateY(30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{-webkit-transform:scale(1.1);transform:scale(1.1)}25%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}50%{-webkit-transform:scale(.4);transform:scale(.4)}75%{-webkit-transform:translateY(30px);transform:translateY(30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(30px);transform:translateY(30px)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(.75);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{-webkit-transform:scale(.4);transform:scale(.4)}25%{-webkit-transform:translateY(30px);transform:translateY(30px)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}75%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}to{-webkit-transform:translateY(0);transform:translateY(0);-webkit-transform:scale(.75);transform:scale(.75)}}.ball-pulse-rise>div{width:15px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:cubic-bezier(.15,.46,.9,.6);animation-timing-function:cubic-bezier(.15,.46,.9,.6);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}.ball-pulse-rise>div:nth-child(2n){-webkit-animation-name:ball-pulse-rise-even;animation-name:ball-pulse-rise-even}.ball-pulse-rise>div:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}@-webkit-keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}@keyframes ball-grid-beat{50%{opacity:.7}to{opacity:1}}.ball-grid-beat{width:57px}.ball-grid-beat>div:nth-child(1){-webkit-animation-delay:.44s;animation-delay:.44s;-webkit-animation-duration:1.27s;animation-duration:1.27s}.ball-grid-beat>div:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-duration:1.52s;animation-duration:1.52s}.ball-grid-beat>div:nth-child(3){-webkit-animation-delay:.14s;animation-delay:.14s;-webkit-animation-duration:.61s;animation-duration:.61s}.ball-grid-beat>div:nth-child(4){-webkit-animation-delay:.15s;animation-delay:.15s;-webkit-animation-duration:.82s;animation-duration:.82s}.ball-grid-beat>div:nth-child(5){-webkit-animation-delay:-.01s;animation-delay:-.01s;-webkit-animation-duration:1.24s;animation-duration:1.24s}.ball-grid-beat>div:nth-child(6){-webkit-animation-delay:-.07s;animation-delay:-.07s;-webkit-animation-duration:1.35s;animation-duration:1.35s}.ball-grid-beat>div:nth-child(7){-webkit-animation-delay:.29s;animation-delay:.29s;-webkit-animation-duration:1.44s;animation-duration:1.44s}.ball-grid-beat>div:nth-child(8){-webkit-animation-delay:.63s;animation-delay:.63s;-webkit-animation-duration:1.19s;animation-duration:1.19s}.ball-grid-beat>div:nth-child(9){-webkit-animation-delay:-.18s;animation-delay:-.18s;-webkit-animation-duration:1.48s;animation-duration:1.48s}.ball-grid-beat>div{width:15px;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}.ball-grid-beat>div,.ball-grid-pulse>div{display:inline-block;float:left;-webkit-animation-iteration-count:infinite}@-webkit-keyframes ball-grid-pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes ball-grid-pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.ball-grid-pulse{width:57px}.ball-grid-pulse>div,.ball-spin-fade-loader>div{background-color:#fff;width:15px;height:15px;border-radius:100%;margin:2px}.ball-grid-pulse>div:nth-child(1){-webkit-animation-delay:.58s;animation-delay:.58s;-webkit-animation-duration:.9s;animation-duration:.9s}.ball-grid-pulse>div:nth-child(2){-webkit-animation-delay:.01s;animation-delay:.01s;-webkit-animation-duration:.94s;animation-duration:.94s}.ball-grid-pulse>div:nth-child(3){-webkit-animation-delay:.25s;animation-delay:.25s;-webkit-animation-duration:1.43s;animation-duration:1.43s}.ball-grid-pulse>div:nth-child(4){-webkit-animation-delay:-.03s;animation-delay:-.03s;-webkit-animation-duration:.74s;animation-duration:.74s}.ball-grid-pulse>div:nth-child(5){-webkit-animation-delay:.21s;animation-delay:.21s;-webkit-animation-duration:.68s;animation-duration:.68s}.ball-grid-pulse>div:nth-child(6){-webkit-animation-delay:.25s;animation-delay:.25s;-webkit-animation-duration:1.17s;animation-duration:1.17s}.ball-grid-pulse>div:nth-child(7){-webkit-animation-delay:.46s;animation-delay:.46s;-webkit-animation-duration:1.41s;animation-duration:1.41s}.ball-grid-pulse>div:nth-child(8){-webkit-animation-delay:.02s;animation-delay:.02s;-webkit-animation-duration:1.56s;animation-duration:1.56s}.ball-grid-pulse>div:nth-child(9){-webkit-animation-delay:.13s;animation-delay:.13s;-webkit-animation-duration:.78s;animation-duration:.78s}.ball-grid-pulse>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}@-webkit-keyframes ball-spin-fade-loader{50%{opacity:.3;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ball-spin-fade-loader{50%{opacity:.3;-webkit-transform:scale(.4);transform:scale(.4)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.ball-spin-fade-loader{position:relative;top:-10px;left:-10px}.ball-spin-fade-loader>div:nth-child(1){top:25px;left:0;-webkit-animation:ball-spin-fade-loader 1s -.96s infinite linear;animation:ball-spin-fade-loader 1s -.96s infinite linear}.ball-spin-fade-loader>div:nth-child(2){top:17.05px;left:17.05px;-webkit-animation:ball-spin-fade-loader 1s -.84s infinite linear;animation:ball-spin-fade-loader 1s -.84s infinite linear}.ball-spin-fade-loader>div:nth-child(3){top:0;left:25px;-webkit-animation:ball-spin-fade-loader 1s -.72s infinite linear;animation:ball-spin-fade-loader 1s -.72s infinite linear}.ball-spin-fade-loader>div:nth-child(4){top:-17.05px;left:17.05px;-webkit-animation:ball-spin-fade-loader 1s -.6s infinite linear;animation:ball-spin-fade-loader 1s -.6s infinite linear}.ball-spin-fade-loader>div:nth-child(5){top:-25px;left:0;-webkit-animation:ball-spin-fade-loader 1s -.48s infinite linear;animation:ball-spin-fade-loader 1s -.48s infinite linear}.ball-spin-fade-loader>div:nth-child(6){top:-17.05px;left:-17.05px;-webkit-animation:ball-spin-fade-loader 1s -.36s infinite linear;animation:ball-spin-fade-loader 1s -.36s infinite linear}.ball-spin-fade-loader>div:nth-child(7){top:0;left:-25px;-webkit-animation:ball-spin-fade-loader 1s -.24s infinite linear;animation:ball-spin-fade-loader 1s -.24s infinite linear}.ball-spin-fade-loader>div:nth-child(8){top:17.05px;left:-17.05px;-webkit-animation:ball-spin-fade-loader 1s -.12s infinite linear;animation:ball-spin-fade-loader 1s -.12s infinite linear}.ball-spin-fade-loader>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute}@-webkit-keyframes ball-spin-loader{75%{opacity:.2}to{opacity:1}}@keyframes ball-spin-loader{75%{opacity:.2}to{opacity:1}}.ball-spin-loader{position:relative}.ball-spin-loader>span:nth-child(1){top:45px;left:0;-webkit-animation:ball-spin-loader 2s .9s infinite linear;animation:ball-spin-loader 2s .9s infinite linear}.ball-spin-loader>span:nth-child(2){top:30.68px;left:30.68px;-webkit-animation:ball-spin-loader 2s 1.8s infinite linear;animation:ball-spin-loader 2s 1.8s infinite linear}.ball-spin-loader>span:nth-child(3){top:0;left:45px;-webkit-animation:ball-spin-loader 2s 2.7s infinite linear;animation:ball-spin-loader 2s 2.7s infinite linear}.ball-spin-loader>span:nth-child(4){top:-30.68px;left:30.68px;-webkit-animation:ball-spin-loader 2s 3.6s infinite linear;animation:ball-spin-loader 2s 3.6s infinite linear}.ball-spin-loader>span:nth-child(5){top:-45px;left:0;-webkit-animation:ball-spin-loader 2s 4.5s infinite linear;animation:ball-spin-loader 2s 4.5s infinite linear}.ball-spin-loader>span:nth-child(6){top:-30.68px;left:-30.68px;-webkit-animation:ball-spin-loader 2s 5.4s infinite linear;animation:ball-spin-loader 2s 5.4s infinite linear}.ball-spin-loader>span:nth-child(7){top:0;left:-45px;-webkit-animation:ball-spin-loader 2s 6.3s infinite linear;animation:ball-spin-loader 2s 6.3s infinite linear}.ball-spin-loader>span:nth-child(8){top:30.68px;left:-30.68px;-webkit-animation:ball-spin-loader 2s 7.2s infinite linear;animation:ball-spin-loader 2s 7.2s infinite linear}.ball-spin-loader>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;width:15px;height:15px;border-radius:100%;background:green}.ball-zig-zag-deflect>div,.ball-zig-zag>div{background-color:#fff;width:15px;height:15px;border-radius:100%;margin:2px 2px 2px 15px;top:4px;left:-7px}@-webkit-keyframes ball-zig{33%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}66%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zig{33%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}66%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-zag{33%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}66%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zag{33%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}66%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to{-webkit-transform:translate(0,0);transform:translate(0)}}.ball-zig-zag{position:relative;-webkit-transform:translate(-15px,-15px);-ms-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}.ball-zig-zag>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute}.ball-zig-zag>div:first-child{-webkit-animation:ball-zig .7s 0s infinite linear;animation:ball-zig .7s 0s infinite linear}.ball-zig-zag>div:last-child{-webkit-animation:ball-zag .7s 0s infinite linear;animation:ball-zag .7s 0s infinite linear}@-webkit-keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}34%,67%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zig-deflect{17%,84%{-webkit-transform:translate(-15px,-30px);transform:translate(-15px,-30px)}34%,67%{-webkit-transform:translate(15px,-30px);transform:translate(15px,-30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}@-webkit-keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}34%,67%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}@keyframes ball-zag-deflect{17%,84%{-webkit-transform:translate(15px,30px);transform:translate(15px,30px)}34%,67%{-webkit-transform:translate(-15px,30px);transform:translate(-15px,30px)}to,50%{-webkit-transform:translate(0,0);transform:translate(0)}}.ball-zig-zag-deflect{position:relative;-webkit-transform:translate(-15px,-15px);-ms-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}.ball-zig-zag-deflect>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute}.ball-zig-zag-deflect>div:first-child{-webkit-animation:ball-zig-deflect 1.5s 0s infinite linear;animation:ball-zig-deflect 1.5s 0s infinite linear}.ball-zig-zag-deflect>div:last-child{-webkit-animation:ball-zag-deflect 1.5s 0s infinite linear;animation:ball-zag-deflect 1.5s 0s infinite linear}@-webkit-keyframes line-scale{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}@keyframes line-scale{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}.line-scale>div:nth-child(1){-webkit-animation:line-scale 1s -.4s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.4s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(2){-webkit-animation:line-scale 1s -.3s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.3s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(3){-webkit-animation:line-scale 1s -.2s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.2s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(4){-webkit-animation:line-scale 1s -.1s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s -.1s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div:nth-child(5){-webkit-animation:line-scale 1s 0s infinite cubic-bezier(.2,.68,.18,1.08);animation:line-scale 1s 0s infinite cubic-bezier(.2,.68,.18,1.08)}.line-scale>div{animation-fill-mode:both;display:inline-block}.line-scale-party>div,.line-scale>div{background-color:#fff;border-radius:2px;margin:2px;width:4px;height:35px;-webkit-animation-fill-mode:both}@-webkit-keyframes line-scale-party{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5)}}@keyframes line-scale-party{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(.5);transform:scale(.5)}}.line-scale-party>div:nth-child(1){-webkit-animation-delay:-.09s;animation-delay:-.09s;-webkit-animation-duration:.83s;animation-duration:.83s}.line-scale-party>div:nth-child(2){-webkit-animation-delay:.33s;animation-delay:.33s;-webkit-animation-duration:.64s;animation-duration:.64s}.line-scale-party>div:nth-child(3){-webkit-animation-delay:.32s;animation-delay:.32s;-webkit-animation-duration:.39s;animation-duration:.39s}.line-scale-party>div:nth-child(4){-webkit-animation-delay:.47s;animation-delay:.47s;-webkit-animation-duration:.52s;animation-duration:.52s}.line-scale-party>div{animation-fill-mode:both;display:inline-block;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-delay:0;animation-delay:0}@-webkit-keyframes line-scale-pulse-out{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}@keyframes line-scale-pulse-out{0%,to{-webkit-transform:scaley(1);transform:scaley(1)}50%{-webkit-transform:scaley(.4);transform:scaley(.4)}}.line-scale-pulse-out>div{background-color:#fff;width:4px;height:35px;border-radius:2px;margin:2px;display:inline-block;-webkit-animation:line-scale-pulse-out .9s -.6s infinite cubic-bezier(.85,.25,.37,.85);animation:line-scale-pulse-out .9s -.6s infinite cubic-bezier(.85,.25,.37,.85)}.line-scale-pulse-out>div:nth-child(2),.line-scale-pulse-out>div:nth-child(4){-webkit-animation-delay:-.4s!important;animation-delay:-.4s!important}.line-scale-pulse-out>div:nth-child(1),.line-scale-pulse-out>div:nth-child(5){-webkit-animation-delay:-.2s!important;animation-delay:-.2s!important}@-webkit-keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}@keyframes line-scale-pulse-out-rapid{0%,90%{-webkit-transform:scaley(1);transform:scaley(1)}80%{-webkit-transform:scaley(.3);transform:scaley(.3)}}.line-scale-pulse-out-rapid>div{background-color:#fff;width:4px;height:35px;border-radius:2px;margin:2px;display:inline-block;-webkit-animation:line-scale-pulse-out-rapid .9s -.5s infinite cubic-bezier(.11,.49,.38,.78);animation:line-scale-pulse-out-rapid .9s -.5s infinite cubic-bezier(.11,.49,.38,.78)}.line-scale-pulse-out-rapid>div:nth-child(2),.line-scale-pulse-out-rapid>div:nth-child(4){-webkit-animation-delay:-.25s!important;animation-delay:-.25s!important}.line-scale-pulse-out-rapid>div:nth-child(1),.line-scale-pulse-out-rapid>div:nth-child(5){-webkit-animation-delay:0s!important;animation-delay:0s!important}@-webkit-keyframes line-spin-fade-loader{50%{opacity:.3}to{opacity:1}}@keyframes line-spin-fade-loader{50%{opacity:.3}to{opacity:1}}.line-spin-fade-loader{position:relative;top:-10px;left:-4px}.line-spin-fade-loader>div:nth-child(1){top:20px;left:0;-webkit-animation:line-spin-fade-loader 1.2s -.84s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.84s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(2){top:13.64px;left:13.64px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:line-spin-fade-loader 1.2s -.72s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.72s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(3){top:0;left:20px;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation:line-spin-fade-loader 1.2s -.6s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.6s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(4){top:-13.64px;left:13.64px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:line-spin-fade-loader 1.2s -.48s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.48s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(5){top:-20px;left:0;-webkit-animation:line-spin-fade-loader 1.2s -.36s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.36s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(6){top:-13.64px;left:-13.64px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:line-spin-fade-loader 1.2s -.24s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.24s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(7){top:0;left:-20px;-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation:line-spin-fade-loader 1.2s -.12s infinite ease-in-out;animation:line-spin-fade-loader 1.2s -.12s infinite ease-in-out}.line-spin-fade-loader>div:nth-child(8){top:13.64px;left:-13.64px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:line-spin-fade-loader 1.2s 0s infinite ease-in-out;animation:line-spin-fade-loader 1.2s 0s infinite ease-in-out}.line-spin-fade-loader>div{background-color:#fff;border-radius:2px;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;width:5px;height:15px}@-webkit-keyframes triangle-skew-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}@keyframes triangle-skew-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}.triangle-skew-spin>div{width:0;height:0;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:20px solid #fff;-webkit-animation:triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:triangle-skew-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite}@-webkit-keyframes square-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}@keyframes square-spin{25%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(0);transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{-webkit-transform:perspective(100px) rotateX(180deg) rotateY(180deg);transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{-webkit-transform:perspective(100px) rotateX(0) rotateY(180deg);transform:perspective(100px) rotateX(0) rotateY(180deg)}to{-webkit-transform:perspective(100px) rotateX(0) rotateY(0);transform:perspective(100px) rotateX(0) rotateY(0)}}.square-spin>div{width:50px;height:50px;background:#fff;border:1px solid red;-webkit-animation:square-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite;animation:square-spin 3s 0s cubic-bezier(.09,.57,.49,.9) infinite}.pacman>div:first-of-type,.pacman>div:nth-child(2){width:0;height:0;border-right:25px solid transparent;border-top:25px solid #fff;border-left:25px solid #fff;border-bottom:25px solid #fff;border-radius:25px;position:relative;left:-30px}@-webkit-keyframes rotate_pacman_half_up{0%,to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate_pacman_half_up{0%,to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}50%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes rotate_pacman_half_down{0%,to{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes rotate_pacman_half_down{0%,to{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes pacman-balls{75%{opacity:.7}to{-webkit-transform:translate(-100px,-6.25px);transform:translate(-100px,-6.25px)}}@keyframes pacman-balls{75%{opacity:.7}to{-webkit-transform:translate(-100px,-6.25px);transform:translate(-100px,-6.25px)}}.pacman{position:relative}.pacman>div:nth-child(3){-webkit-animation:pacman-balls 1s -.66s infinite linear;animation:pacman-balls 1s -.66s infinite linear}.pacman>div:nth-child(4){-webkit-animation:pacman-balls 1s -.33s infinite linear;animation:pacman-balls 1s -.33s infinite linear}.pacman>div:nth-child(5){-webkit-animation:pacman-balls 1s 0s infinite linear;animation:pacman-balls 1s 0s infinite linear}.pacman>div:first-of-type{-webkit-animation:rotate_pacman_half_up .5s 0s infinite;animation:rotate_pacman_half_up .5s 0s infinite}.pacman>div:nth-child(2){-webkit-animation:rotate_pacman_half_down .5s 0s infinite;animation:rotate_pacman_half_down .5s 0s infinite;margin-top:-50px}.pacman>div:nth-child(3),.pacman>div:nth-child(4),.pacman>div:nth-child(5),.pacman>div:nth-child(6){background-color:#fff;border-radius:100%;margin:2px;width:10px;height:10px;position:absolute;-webkit-transform:translate(0,-6.25px);-ms-transform:translate(0,-6.25px);transform:translateY(-6.25px);top:25px;left:70px}@-webkit-keyframes cube-transition{25%{-webkit-transform:translateX(50px) scale(.5) rotate(-90deg);transform:translate(50px) scale(.5) rotate(-90deg)}50%{-webkit-transform:translate(50px,50px) rotate(-180deg);transform:translate(50px,50px) rotate(-180deg)}75%{-webkit-transform:translateY(50px) scale(.5) rotate(-270deg);transform:translateY(50px) scale(.5) rotate(-270deg)}to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes cube-transition{25%{-webkit-transform:translateX(50px) scale(.5) rotate(-90deg);transform:translate(50px) scale(.5) rotate(-90deg)}50%{-webkit-transform:translate(50px,50px) rotate(-180deg);transform:translate(50px,50px) rotate(-180deg)}75%{-webkit-transform:translateY(50px) scale(.5) rotate(-270deg);transform:translateY(50px) scale(.5) rotate(-270deg)}to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.cube-transition{position:relative;-webkit-transform:translate(-25px,-25px);-ms-transform:translate(-25px,-25px);transform:translate(-25px,-25px)}.cube-transition>div{width:10px;height:10px;position:absolute;top:-5px;left:-5px;background-color:#fff;-webkit-animation:cube-transition 1.6s 0s infinite ease-in-out;animation:cube-transition 1.6s 0s infinite ease-in-out}.cube-transition>div:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes spin-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.semi-circle-spin{position:relative;width:35px;height:35px;overflow:hidden}.semi-circle-spin>div{position:absolute;border-width:0;border-radius:100%;-webkit-animation:spin-rotate .6s 0s infinite linear;animation:spin-rotate .6s 0s infinite linear;background-image:-webkit-linear-gradient(transparent 0,transparent 70%,#fff 30%,#fff 100%);background-image:linear-gradient(transparent 0,transparent 70%,#fff 30%,#fff 100%);width:100%;height:100%}@-webkit-keyframes bar-progress{0%,to{-webkit-transform:scaleY(20%);transform:scaleY(.2);opacity:1}25%,75%{-webkit-transform:translateX(6%) scaleY(10%);transform:translate(6%) scaleY(.1);opacity:.7}50%{-webkit-transform:translateX(20%) scaleY(20%);transform:translate(20%) scaleY(.2);opacity:1}}@keyframes bar-progress{0%,to{-webkit-transform:scaleY(20%);transform:scaleY(.2);opacity:1}25%,75%{-webkit-transform:translateX(6%) scaleY(10%);transform:translate(6%) scaleY(.1);opacity:.7}50%{-webkit-transform:translateX(20%) scaleY(20%);transform:translate(20%) scaleY(.2);opacity:1}}.bar-progress{width:30%;height:12px}.bar-progress>div{position:relative;width:20%;height:12px;border-radius:10px;background-color:#fff;-webkit-animation:bar-progress 3s cubic-bezier(.57,.1,.44,.93) infinite;animation:bar-progress 3s cubic-bezier(.57,.1,.44,.93) infinite;opacity:1}.bar-swing,.bar-swing>div{height:8px;width:30%}@-webkit-keyframes bar-swing{0%,to{left:0}50%{left:70%}}@keyframes bar-swing{0%,to{left:0}50%{left:70%}}.bar-swing>div{position:relative;border-radius:10px;background-color:#fff;-webkit-animation:bar-swing 1.5s infinite;animation:bar-swing 1.5s infinite}@-webkit-keyframes bar-swing-container{0%,to{left:0;-webkit-transform:translateX(0);transform:translate(0)}50%{left:70%;-webkit-transform:translateX(-4px);transform:translate(-4px)}}@keyframes bar-swing-container{0%,to{left:0;-webkit-transform:translateX(0);transform:translate(0)}50%{left:70%;-webkit-transform:translateX(-4px);transform:translate(-4px)}}.bar-swing-container{width:20%;height:8px;position:relative}.bar-swing-container div:nth-child(1){position:absolute;width:100%;background-color:rgba(255,255,255,.2);height:12px;border-radius:10px}.bar-swing-container div:nth-child(2){position:absolute;width:30%;height:8px;border-radius:10px;background-color:#fff;-webkit-animation:bar-swing-container 2s cubic-bezier(.91,.35,.12,.6) infinite;animation:bar-swing-container 2s cubic-bezier(.91,.35,.12,.6) infinite;margin:2px 2px 0}._time_1c1wd_1{position:absolute;left:20px;top:20px;display:flex;color:var(--white);border-radius:4px;overflow:hidden;height:36px;line-height:36px;box-sizing:border-box;font-size:18px}._time_1c1wd_1 ._status_1c1wd_14{display:flex;align-items:center;background-color:var(--live-time-status-background-color);padding:10px}._time_1c1wd_1 ._status_1c1wd_14>div{margin-right:5px;height:20px}._time_1c1wd_1 ._status_1c1wd_14>div>div{height:20px}._time_1c1wd_1 ._text_1c1wd_27{background-color:var(--live-time-background-color);display:flex;align-items:center;padding:10px}._main_dv466_1{--header-height: 68px;--header-height-down: -68px;--action-bar-height: 88px;width:calc(100% - 385px);background-color:var(--live-backound-color);color:var(--live-color);display:flex;flex-direction:column;height:calc(100vh - var(--header-bar-height));overflow:hidden;position:relative}._main_dv466_1 ._video_dv466_14{width:100%;max-height:calc(100vh - var(--header-bar-height) - var(--action-bar-height));flex:1;background-color:var(--video-backound-color);position:relative}._main_dv466_1 ._video_dv466_14 video{width:100%;height:100%}._main_dv466_1 ._headerSection_dv466_25{position:absolute;top:0;right:0;left:0;z-index:999}._main_dv466_1 ._headerSection_dv466_25 ._headerContent_dv466_32{transform:translateY(0);transition:all ease .3s}._main_dv466_1 ._headerSection_dv466_25 ._header-top_dv466_36{transform:translateY(var(--header-height-down));transition:all ease .3s}._main_dv466_1 ._headerSection_dv466_25:hover ._header-top_dv466_36{transform:translateY(0);transition:all ease .3s}@keyframes _header-up_dv466_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(var(--header-height-down));opacity:1}}@keyframes _header-down_dv466_1{0%{transform:translateY(var(--header-height-down));opacity:0}to{transform:translateY(0);opacity:1}}._container_1cod9_1{width:385px!important;height:calc(100vh - var(--header-bar-height));background-color:var(--live-main-color)}._dataCount_1cod9_6{text-align:center;margin:16px 16px 0;border-radius:2px;background-color:var(--message-color);display:flex;justify-content:space-around;align-items:center;height:120px;color:var(--live-color)}._dataCount_1cod9_6 ._num_1cod9_17{font-size:24px;font-weight:700;padding-bottom:16px}._dataCount_1cod9_6 ._text_1cod9_22{display:flex;font-size:14px}._dataCount_1cod9_6 ._dataIcon_1cod9_26{padding-right:5px;width:20px;height:20px}._tabContainer_1cod9_31 ._tabIcon_1cod9_31{margin-right:6px;width:20px;height:20px}._tabContainer_1cod9_31 ._point_1cod9_36{width:8px;height:8px;border-radius:50%;background-color:var(--live-time-status-background-color);position:absolute;right:-10px;top:5px}._tabContainer_1cod9_31 .el-tabs__header{margin-bottom:0}._tabContainer_1cod9_31 .el-tabs__nav-wrap:after{background-color:var(--message-color)}._tabContainer_1cod9_31 .el-tabs__nav{padding:12px 0;width:100%;text-align:center}._tabContainer_1cod9_31 .el-tabs__item{color:var(--live-color);font-size:16px;padding:0 31px}._tabContainer_1cod9_31 .el-tabs__item.is-active{color:#00fff0}._tabContainer_1cod9_31 .el-tabs__active-bar{background-color:#00fff0}._tabContent_1cod9_67{--message-bar-height: 88px;position:relative;height:calc(100vh - var(--header-bar-height) - var(--message-bar-height) - 216px);padding-bottom:var(--message-bar-height)}._tabContent_1cod9_67 ._tabList_1cod9_73{height:calc(100vh - var(--header-bar-height) - var(--message-bar-height) - 276px);overflow:auto}._message_4zab7_1 ._buttonGroup_4zab7_1{display:flex;align-items:center;background:rgba(99,108,132,.1);padding:15px 16px}._message_4zab7_1 .el-button--info{--el-button-text-color: var(--live-color);--el-button-hover-text-color: var(--live-light-color);--el-button-disabled-text-color: var(--el-text-color-placeholder);background-color:var(--message-color);border-color:var(--message-color)}._sendMessage_p2cnx_1{position:fixed;bottom:0;height:88px;width:353px;display:flex;align-items:center;padding:0 16px}._sendMessage_p2cnx_1 ._form_p2cnx_10{display:flex;align-items:center;width:100%;background-color:var(--message-color);border-radius:60px}._sendMessage_p2cnx_1 .el-input{border-radius:60px;overflow:hidden;font-size:16px}._sendMessage_p2cnx_1 .el-input__inner{height:46px;line-height:46px;padding-left:20px;background-color:transparent;border:0;color:var(--live-color)}._sendMessage_p2cnx_1 .el-button{border:0;background-color:#00a79d;height:46px;line-height:46px;border-radius:46px;color:var(--live-color);font-weight:600;padding:0 23px;font-size:16px}._sendMessage_p2cnx_1 .el-button.is-disabled{background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}._itemContent_1nb8n_1{padding:16px 16px 5px;display:flex;color:var(--live-color)}._itemContent_1nb8n_1>img{width:28px;height:28px;margin-right:8px}._itemInfo_1nb8n_11{width:100%}._itemName_1nb8n_14{display:flex;justify-content:space-between;align-items:center;padding-top:3px}._itemName_1nb8n_14 ._userName_1nb8n_20{font-size:15px;line-height:22px;align-items:center;font-weight:500}._itemName_1nb8n_14 ._name-style_1nb8n_26{line-height:24px;color:var(--live-text-color)}._itemName_1nb8n_14 ._rightTime_1nb8n_30{font-size:12px}._itemName_1nb8n_14 .el-tag--default{border-radius:20px;margin-right:8px;height:20px}._itemText_1nb8n_38{font-size:15px;line-height:20px}._itemText_1nb8n_38._active_1nb8n_42{color:var(--live-text-color)}._joinText_1nb8n_45{display:flex;justify-content:space-between;align-items:center}._joinText_1nb8n_45 ._join_1nb8n_45{display:flex;align-items:center}._btn_1nb8n_54{font-size:13px;line-height:20px;background-color:var(--live-light-color);border-color:var(--live-light-color);text-align:center;padding:3px 15px 1px;border-radius:2px;cursor:pointer;color:var(--live-color);text-decoration:none}._btn_1nb8n_54._downBtn_1nb8n_66{background-color:transparent;border-color:var(--live-light-color);color:var(--live-light-color)}._loadingStyle_1nb8n_71{position:absolute;left:0;right:0;top:0;bottom:0}._slide-top-enter-active_1nb8n_78{opacity:0;animation-name:_error-num_1nb8n_1;animation-duration:.5s;animation-fill-mode:forwards;animation-delay:.1s}@keyframes _error-num_1nb8n_1{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}._empty-container_1svqd_1{height:100%;width:100%;text-align:center;color:#a4a6a9;font-size:14px;padding:20px 0}._empty-container_1svqd_1 ._icon_1svqd_9{width:126px;height:89px;margin-bottom:8px}._container_13n1h_1{display:flex}._home_13n1h_4{--header-bar-height: 76px}\n',document.head.appendChild(c),System.register(["./index-legacy.90376ba6.js","./vendor-legacy.834fd8a8.js"],(function(r){"use strict";var a,o,s,c,u,d,f,p,m,h,b,g,v,w,x,y,k,_,S,C,A,R,T,I,E,L,B,M,P,N,z,Y,U,j,O,D,H,F,V,X,q,K,W,Q,J,G,Z,$,ee,te,ne,re,ae,ie,oe,se,le,ce,ue,de,fe,pe;return{setters:[function(e){a=e.l,o=e.r,s=e.c,c=e.s,u=e.a,d=e.b,f=e.d,p=e.e,m=e.f,h=e.t,b=e.g,g=e.h,v=e.o,w=e.i,x=e.S,y=e.j,k=e.k,_=e.L,S=e.V,C=e.A,A=e.m,R=e.n,T=e.p,I=e.q,E=e.u,L=e.v,B=e.w,M=e.T,P=e.x,N=e.y,z=e.z,Y=e.B},function(e){U=e.d,j=e.k,O=e.a,D=e.t,H=e.v,F=e.x,V=e.y,X=e.j,q=e.A,K=e.B,e.C,W=e.D,Q=e.F,J=e.G,G=e.H,Z=e.I,$=e.J,ee=e.K,te=e.L,ne=e.i,re=e.r,ae=e.M,ie=e.h,oe=e.N,se=e.l,le=e.O,ce=e.P,ue=e.Q,de=e.R,fe=e.S,pe=e.T}],execute:function(){var me="_liveHeader_turek_1",he="_liveLogo_turek_12",be="_liveHeaderLeft_turek_17",ge="_liveHeaderLeftIcon_turek_23",ve="_liveHeaderLeftText_turek_27",we="_avatarWrapper_turek_30",xe="_userAvatar_turek_37",ye=U({methods:{loginOut:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a();case 3:return t.next=5,o.post("/api-auth/exit",{data:{}});case 5:s("camera"),s("microphone"),c.user=null,u.syncLikeTimer&&clearTimeout(u.syncLikeTimer),j.success("退出成功"),d(),e.$router.push({path:"/login",query:i({},e.$route.query)}),t.next=16;break;case 14:t.prev=14,t.t0=t.catch(0);case 16:case"end":return t.stop()}}),t,null,[[0,14]])})))()}},render:function(){var e,t,n,r=this;return O("div",{class:me},[O("div",{class:be},[O("div",{class:ge},[O("img",{class:he,src:null===(e=c.user)||void 0===e?void 0:e.tenantLogo,alt:""},null),null===(t=c.user)||void 0===t?void 0:t.tenantName]),O("div",{class:ve},[D("《"),null===(n=c.user)||void 0===n?void 0:n.roomTitle,D("》")])]),O(H,{trigger:"hover"},{default:function(){var e,t,n;return[O("div",{class:we},[null!==(e=c.user)&&void 0!==e&&e.speakerPic?O("img",{class:xe,src:null===(t=c.user)||void 0===t?void 0:t.speakerPic},null):O("img",{class:xe,src:"data:image/png;base64,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"},null),O("span",null,[null===(n=c.user)||void 0===n?void 0:n.speakerName])])]},dropdown:function(){return O(F,null,{default:function(){return[O(V,{command:"1",onClick:r.loginOut},{default:function(){return[O("span",null,[D("安全退出")])]}})]}})}})])}}),ke="_header_nc46v_1",_e="_title_nc46v_10",Se=U({name:"LiveBroadcastHeader",methods:{startLive:function(){return l(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,X.confirm("开启后学生将看到视频画面","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:return e.next=5,f();case 5:j.success("开启成功"),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},closeLive:function(){return l(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,X.confirm("关闭后将切断视频,学生不可观看","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:return e.next=5,p();case 5:j.success("关闭成功"),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})))()},closeRoom:function(){var e=this;return l(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,X.confirm("结束后将无法进入直播间","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"});case 3:return r=null===(n=c.user)||void 0===n?void 0:n.id,t.next=6,o.get("/api-web/imLiveBroadcastRoom/roomDestroy/"+r,{});case 6:s("camera"),s("microphone"),c.user=null,d(),j.success("结束"),e.$router.push({path:"/login",query:i({},e.$route.query)}),t.next=16;break;case 14:t.prev=14,t.t0=t.catch(0);case 16:case"end":return t.stop()}}),t,null,[[0,14]])})))()}},render:function(){var e;return O("div",{class:ke},[O("h3",{class:_e},[D("直播内容:"),null===(e=c.user)||void 0===e?void 0:e.liveRemark]),O("div",null,["liveing"===u.videoStatus?O(q,{type:"danger",color:"#01A79E",onClick:this.closeLive},{default:function(){return[D("暂停直播")]}}):O(q,{type:"primary",color:"#01A79E",onClick:this.startLive},{default:function(){return[D("开启直播")]}}),O(q,{type:"primary",color:"#EA4132",onClick:this.closeRoom},{default:function(){return[D("结束直播")]}})])])}}),Ce="_action-bar_1akc3_1",Ae="_bar-btn_1akc3_12",Re="_bar-btn-text_1akc3_19",Te="_btnInner_1akc3_85",Ie={shareWrap:"_shareWrap_d61fv_1",shareBtn:"_shareBtn_d61fv_27"};var Ee=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))},Le="application/font-woff",Be="image/jpeg",Me={woff:Le,woff2:Le,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Be,jpeg:Be,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function Pe(e){var t=function(e){var t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return Me[t]||""}function Ne(e){return-1!==e.search(/^(data:)/)}function ze(e,t){return"data:".concat(t,";base64,").concat(e)}var Ye,Ue=(Ye=0,function(){return Ye+=1,"u".concat("0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)).concat(Ye)});function je(e){for(var t=[],n=0,r=e.length;n<r;n+=1)t.push(e[n]);return t}function Oe(e,t){var n=window.getComputedStyle(e).getPropertyValue(t);return parseFloat(n.replace("px",""))}function De(e){var t=Oe(e,"border-left-width"),n=Oe(e,"border-right-width");return e.clientWidth+t+n}function He(e){var t=Oe(e,"border-top-width"),n=Oe(e,"border-bottom-width");return e.clientHeight+t+n}function Fe(){var e,t;try{t=process}catch(r){}var n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}function Ve(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.crossOrigin="anonymous",r.decoding="sync",r.src=e}))}function Xe(e){return Ee(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then((function(){return(new XMLSerializer).serializeToString(e)})).then(encodeURIComponent).then((function(e){return"data:image/svg+xml;charset=utf-8,".concat(e)})));case 1:case"end":return t.stop()}}),t)})))}function qe(e,t,n){return Ee(this,void 0,void 0,regeneratorRuntime.mark((function r(){var a,i,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a="http://www.w3.org/2000/svg",i=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject"),i.setAttribute("width","".concat(t)),i.setAttribute("height","".concat(n)),i.setAttribute("viewBox","0 0 ".concat(t," ").concat(n)),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),i.appendChild(o),o.appendChild(e),r.abrupt("return",Xe(i));case 14:case"end":return r.stop()}}),r)})))}var Ke={};function We(e,t){var n=function(e){var t=e.replace(/\?.*/,"");return/ttf|otf|eot|woff2?/i.test(t)&&(t=t.replace(/.*\//,"")),t}(e);if(null!=Ke[n])return Ke[n];t.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());var r=window.fetch(e).then((function(e){return e.blob().then((function(t){return{blob:t,contentType:e.headers.get("Content-Type")||""}}))})).then((function(e){var t=e.blob,n=e.contentType;return new Promise((function(e,r){var a=new FileReader;a.onloadend=function(){return e({contentType:n,blob:a.result})},a.onerror=r,a.readAsDataURL(t)}))})).then((function(e){var t,n=e.blob;return{contentType:e.contentType,blob:(t=n,t.split(/,/)[1])}})).catch((function(n){var r="";if(t.imagePlaceholder){var a=t.imagePlaceholder.split(/,/);a&&a[1]&&(r=a[1])}var i="Failed to fetch resource: ".concat(e);return n&&(i="string"==typeof n?n:n.message),i&&console.error(i),{blob:r,contentType:""}}));return Ke[n]=r,r}function Qe(e,t,n){var r=".".concat(e,":").concat(t),a=n.cssText?function(e){var t=e.getPropertyValue("content");return"".concat(e.cssText," content: '").concat(t.replace(/'|"/g,""),"';")}(n):function(e){return je(e).map((function(t){var n=e.getPropertyValue(t),r=e.getPropertyPriority(t);return"".concat(t,": ").concat(n).concat(r?" !important":"",";")})).join(" ")}(n);return document.createTextNode("".concat(r,"{").concat(a,"}"))}function Je(e,t,n){var r=window.getComputedStyle(e,n),a=r.getPropertyValue("content");if(""!==a&&"none"!==a){var i=Ue();try{t.className="".concat(t.className," ").concat(i)}catch(s){return}var o=document.createElement("style");o.appendChild(Qe(i,n,r)),t.appendChild(o)}}function Ge(e,t){Je(e,t,":before"),Je(e,t,":after")}var Ze=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))};function $e(e){return Ze(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("data:,"!==(n=e.toDataURL())){t.next=3;break}return t.abrupt("return",Promise.resolve(e.cloneNode(!1)));case 3:return t.abrupt("return",Ve(n));case 4:case"end":return t.stop()}}),t)})))}function et(e,t){return Ze(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.resolve(e.poster).then((function(e){return We(e,t)})).then((function(t){return ze(t.blob,Pe(e.poster)||t.contentType)})).then((function(e){return Ve(e)})));case 1:case"end":return n.stop()}}),n)})))}function tt(e,t){return Ze(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e instanceof HTMLCanvasElement)){n.next=2;break}return n.abrupt("return",$e(e));case 2:if(!(e instanceof HTMLVideoElement&&e.poster)){n.next=4;break}return n.abrupt("return",et(e,t));case 4:return n.abrupt("return",Promise.resolve(e.cloneNode(!1)));case 5:case"end":return n.stop()}}),n)})))}function nt(e,t,n){var r;return Ze(this,void 0,void 0,regeneratorRuntime.mark((function a(){var i;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(0===(i=null!=(o=e).tagName&&"SLOT"===o.tagName.toUpperCase()&&e.assignedNodes?je(e.assignedNodes()):je((null!==(r=e.shadowRoot)&&void 0!==r?r:e).childNodes)).length||e instanceof HTMLVideoElement)){a.next=3;break}return a.abrupt("return",Promise.resolve(t));case 3:return a.abrupt("return",i.reduce((function(e,r){return e.then((function(){return ot(r,n)})).then((function(e){e&&t.appendChild(e)}))}),Promise.resolve()).then((function(){return t})));case 4:case"end":return a.stop()}var o}),a)})))}function rt(e,t){var n=window.getComputedStyle(e),r=t.style;r&&(n.cssText?r.cssText=n.cssText:je(n).forEach((function(e){r.setProperty(e,n.getPropertyValue(e),n.getPropertyPriority(e))})))}function at(e,t){e instanceof HTMLTextAreaElement&&(t.innerHTML=e.value),e instanceof HTMLInputElement&&t.setAttribute("value",e.value)}function it(e,t){return Ze(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t instanceof Element){n.next=2;break}return n.abrupt("return",Promise.resolve(t));case 2:return n.abrupt("return",Promise.resolve().then((function(){return rt(e,t)})).then((function(){return Ge(e,t)})).then((function(){return at(e,t)})).then((function(){return t})));case 3:case"end":return n.stop()}}),n)})))}function ot(e,t,n){return Ze(this,void 0,void 0,regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n||!t.filter||t.filter(e)){r.next=2;break}return r.abrupt("return",Promise.resolve(null));case 2:return r.abrupt("return",Promise.resolve(e).then((function(e){return tt(e,t)})).then((function(n){return nt(e,n,t)})).then((function(t){return it(e,t)})));case 3:case"end":return r.stop()}}),r)})))}var st=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))},lt=/url\((['"]?)([^'"]+?)\1\)/g,ct=/url\([^)]+\)\s*format\((["'])([^"']+)\1\)/g,ut=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function dt(e){var t=[];return e.replace(lt,(function(e,n,r){return t.push(r),e})),t.filter((function(e){return!Ne(e)}))}function ft(e,t,n,r,a){var i=n?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;var n=document.implementation.createHTMLDocument(),r=n.createElement("base"),a=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(a),t&&(r.href=t),a.href=e,a.href}(t,n):t;return Promise.resolve(i).then((function(e){return a?a(e):We(e,r)})).then((function(e){return"string"==typeof e?ze(e,Pe(t)):ze(e.blob,Pe(t)||e.contentType)})).then((function(n){return e.replace((r=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1"),new RegExp("(url\\(['\"]?)(".concat(r,")(['\"]?\\))"),"g")),"$1".concat(n,"$3"));var r})).then((function(e){return e}),(function(){return i}))}function pt(e,n){var r=n.preferredFontFormat;return r?e.replace(ut,(function(e){for(;;){var n=t(ct.exec(e)||[],3),a=n[0],i=n[2];if(!i)return"";if(i===r)return"src: ".concat(a,";")}})):e}function mt(e){return-1!==e.search(lt)}function ht(e,t,n){return st(this,void 0,void 0,regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(mt(e)){r.next=2;break}return r.abrupt("return",Promise.resolve(e));case 2:return a=pt(e,n),r.abrupt("return",Promise.resolve(a).then(dt).then((function(e){return e.reduce((function(e,r){return e.then((function(e){return ft(e,r,t,n)}))}),Promise.resolve(a))})));case 4:case"end":return r.stop()}}),r)})))}var bt=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))};function gt(e,t){var n;return bt(this,void 0,void 0,regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=null===(n=e.style)||void 0===n?void 0:n.getPropertyValue("background")){r.next=3;break}return r.abrupt("return",Promise.resolve(e));case 3:return r.abrupt("return",Promise.resolve(a).then((function(e){return ht(e,null,t)})).then((function(t){return e.style.setProperty("background",t,e.style.getPropertyPriority("background")),e})));case 4:case"end":return r.stop()}}),r)})))}function vt(e,t){return bt(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e instanceof HTMLImageElement&&!Ne(e.src)||e instanceof SVGImageElement&&!Ne(e.href.baseVal)){n.next=2;break}return n.abrupt("return",Promise.resolve(e));case 2:return r=e instanceof HTMLImageElement?e.src:e.href.baseVal,n.abrupt("return",Promise.resolve(r).then((function(e){return We(e,t)})).then((function(e){return ze(e.blob,Pe(r)||e.contentType)})).then((function(t){return new Promise((function(n,r){e.onload=n,e.onerror=r,e instanceof HTMLImageElement?(e.srcset="",e.src=t):e.href.baseVal=t}))})).then((function(){return e}),(function(){return e})));case 4:case"end":return n.stop()}}),n)})))}function wt(e,t){return bt(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=je(e.childNodes),a=r.map((function(e){return xt(e,t)})),n.abrupt("return",Promise.all(a).then((function(){return e})));case 3:case"end":return n.stop()}}),n)})))}function xt(e,t){return bt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e instanceof Element){n.next=2;break}return n.abrupt("return",Promise.resolve(e));case 2:return n.abrupt("return",Promise.resolve(e).then((function(e){return gt(e,t)})).then((function(e){return vt(e,t)})).then((function(e){return wt(e,t)})));case 3:case"end":return n.stop()}}),n)})))}function yt(e,t){var n=e.style;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width="".concat(t.width,"px")),t.height&&(n.height="".concat(t.height,"px"));var r=t.style;return null!=r&&Object.keys(r).forEach((function(e){n[e]=r[e]})),e}var kt=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))},_t={};function St(e){var t=_t[e];if(null!=t)return t;var n=window.fetch(e).then((function(t){return{url:e,cssText:t.text()}}));return _t[e]=n,n}function Ct(e){return kt(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.cssText.then((function(t){var n=t,r=/url\(["']?([^"')]+)["']?\)/g,a=(n.match(/url\([^)]+\)/g)||[]).map((function(t){var a=t.replace(r,"$1");return a.startsWith("https://")||(a=new URL(a,e.url).href),window.fetch(a).then((function(e){return e.blob()})).then((function(e){return new Promise((function(r,a){var i=new FileReader;i.onloadend=function(){n=n.replace(t,"url(".concat(i.result,")")),r([t,i.result])},i.onerror=a,i.readAsDataURL(e)}))}))}));return Promise.all(a).then((function(){return n}))})));case 1:case"end":return t.stop()}}),t)})))}function At(e){if(null==e)return[];for(var t=[],n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,""),r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");;){var a=r.exec(n);if(null===a)break;t.push(a[0])}n=n.replace(r,"");for(var i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");;){var s=i.exec(n);if(null===s){if(null===(s=o.exec(n)))break;i.lastIndex=o.lastIndex}else o.lastIndex=i.lastIndex;t.push(s[0])}return t}function Rt(e){return kt(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],r=[],e.forEach((function(t){if("cssRules"in t)try{je(t.cssRules).forEach((function(e,n){if(e.type===CSSRule.IMPORT_RULE){var a=n+1,i=St(e.href).then((function(e){return e?Ct(e):""})).then((function(e){return At(e).forEach((function(e){try{t.insertRule(e,e.startsWith("@import")?a+=1:t.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:e,error:n})}}))})).catch((function(e){console.error("Error loading remote css",e.toString())}));r.push(i)}}))}catch(a){var n=e.find((function(e){return null==e.href}))||document.styleSheets[0];null!=t.href&&r.push(St(t.href).then((function(e){return e?Ct(e):""})).then((function(e){return At(e).forEach((function(e){n.insertRule(e,t.cssRules.length)}))})).catch((function(e){console.error("Error loading remote stylesheet",e.toString())}))),console.error("Error inlining remote css file",a.toString())}})),t.abrupt("return",Promise.all(r).then((function(){return e.forEach((function(e){if("cssRules"in e)try{je(e.cssRules).forEach((function(e){n.push(e)}))}catch(t){console.error("Error while reading CSS rules from ".concat(e.href),t.toString())}})),n})));case 4:case"end":return t.stop()}}),t)})))}function Tt(e){return e.filter((function(e){return e.type===CSSRule.FONT_FACE_RULE})).filter((function(e){return mt(e.style.getPropertyValue("src"))}))}function It(e){return kt(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t,n){null==e.ownerDocument&&n(new Error("Provided element is not within a Document")),t(je(e.ownerDocument.styleSheets))})).then((function(e){return Rt(e)})).then(Tt));case 1:case"end":return t.stop()}}),t)})))}function Et(e,t){return kt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",It(e).then((function(e){return Promise.all(e.map((function(e){var n=e.parentStyleSheet?e.parentStyleSheet.href:null;return ht(e.cssText,n,t)})))})).then((function(e){return e.join("\n")})));case 1:case"end":return n.stop()}}),n)})))}function Lt(e,t){return kt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(null!=t.fontEmbedCSS?Promise.resolve(t.fontEmbedCSS):Et(e,t)).then((function(t){var n=document.createElement("style"),r=document.createTextNode(t);return n.appendChild(r),e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n),e})));case 1:case"end":return n.stop()}}),n)})))}var Bt=globalThis&&globalThis.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))};function Mt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.width||De(e),r=t.height||He(e);return{width:n,height:r}}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Bt(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,a,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=Mt(e,t),a=r.width,i=r.height,n.abrupt("return",Promise.resolve(e).then((function(e){return ot(e,t,!0)})).then((function(e){return Lt(e,t)})).then((function(e){return xt(e,t)})).then((function(e){return yt(e,t)})).then((function(e){return qe(e,a,i)})));case 2:case"end":return n.stop()}}),n)})))}var Nt=16384;function zt(e){(e.width>Nt||e.height>Nt)&&(e.width>Nt&&e.height>Nt?e.width>e.height?(e.height*=Nt/e.width,e.width=Nt):(e.width*=Nt/e.height,e.height=Nt):e.width>Nt?(e.height*=Nt/e.width,e.width=Nt):(e.width*=Nt/e.height,e.height=Nt))}function Yt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Bt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Pt(e,t).then(Ve).then((function(n){var r=document.createElement("canvas"),a=r.getContext("2d"),i=t.pixelRatio||Fe(),o=Mt(e,t),s=o.width,l=o.height,c=t.canvasWidth||s,u=t.canvasHeight||l;return r.width=c*i,r.height=u*i,t.skipAutoScale||zt(r),r.style.width="".concat(c),r.style.height="".concat(u),t.backgroundColor&&(a.fillStyle=t.backgroundColor,a.fillRect(0,0,r.width,r.height)),a.drawImage(n,0,0,r.width,r.height),r})));case 1:case"end":return n.stop()}}),n)})))}var Ut,jt={exports:{}};
- /*!
- * clipboard.js v2.0.10
- * https://clipboardjs.com/
- *
- * Licensed MIT © Zeno Rocha
- */Ut=function(){return function(){var e={686:function(e,t,n){n.d(t,{default:function(){return _}});var r=n(279),a=n.n(r),i=n(370),o=n.n(i),s=n(817),l=n.n(s);function c(e){try{return document.execCommand(e)}catch(t){return!1}}var u=function(e){var t=l()(e);return c("cut"),t};function d(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";if("string"==typeof e){var r=d(e);t.container.appendChild(r),n=l()(r),c("copy"),r.remove()}else n=l()(e),c("copy");return n};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,a=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==a){if(!a||"object"!==p(a)||1!==a.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&a.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(a.hasAttribute("readonly")||a.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?f(i,{container:r}):a?"cut"===n?u(a):f(a,{container:r}):void 0};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=x(e);if(t){var a=x(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function y(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(i,e);var t,n,r,a=v(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=a.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=o()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return y("action",e)}},{key:"defaultTarget",value:function(e){var t=y("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return y("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&b(t.prototype,n),r&&b(t,r),i}(a()),_=k},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function a(e,t,n,r,a){var o=i.apply(this,arguments);return e.addEventListener(n,o,a),{destroy:function(){e.removeEventListener(n,o,a)}}}function i(e,t,n,a){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&a.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?a.apply(null,arguments):"function"==typeof n?a.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return a(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),a=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return a(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),a=document.createRange();a.selectNodeContents(e),r.removeAllRanges(),r.addRange(a),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function a(){r.off(e,a),t.apply(n,arguments)}return a._=t,this.on(e,a,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,a=n.length;r<a;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],a=[];if(r&&t)for(var i=0,o=r.length;i<o;i++)r[i].fn!==t&&r[i].fn._!==t&&a.push(r[i]);return a.length?n[e]=a:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},jt.exports=Ut();var Ot=K(jt.exports),Dt={shareWrap:"_shareWrap_ap100_1",chioseBox:"_chioseBox_ap100_5",cell:"_cell_ap100_17",dotle:"_dotle_ap100_27",teamInfo:"_teamInfo_ap100_38",title:"_title_ap100_42",subInfo:"_subInfo_ap100_47",tableWrap:"_tableWrap_ap100_51"};var Ht,Ft=U({name:"LiveBroadcastGroupChat",data:function(){return{searchForm:{search:""},checkList:[],tableList:[]}},mounted:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.getList();case 1:case"end":return t.stop()}}),t)})))()},beforeUnmount:function(){},methods:{onReSet:function(){this.searchForm.search="",this.checkList=[],this.search()},search:function(){this.getList()},getList:function(){var e=this;return l(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o("/api-web/imGroup/queryGroupList",{params:i({},e.searchForm)});case 3:n=t.sent,e.tableList=n.data,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},resectCheck:function(e){var t=e;-1==this.checkList.indexOf(t)?this.checkList.push(t):this.checkList.splice(this.checkList.indexOf(t),1)}},render:function(){var e,t,n=this;return O("div",null,[O(W,{model:this.searchForm,ref:"form",inline:!0,class:Dt.form},{default:function(){return[O(Q,null,{default:function(){return[O(J,{clearable:!0,placeholder:"群聊名称/课程名称",modelValue:n.searchForm.search,onInput:function(e){return n.searchForm.search=e}},null)]}}),O(Q,null,{default:function(){return[O(q,{type:"primary",onClick:n.search},{default:function(){return[D("搜索")]}}),O(q,{type:"danger",onClick:n.onReSet},{default:function(){return[D("重置")]}})]}})]}}),this.tableList.length>0?O("div",{class:Dt.tableWrap},[O(G,{modelValue:this.checkList},(t=e=this.tableList.map((function(e){return O("div",{class:Dt.cell,onClick:function(){return n.resectCheck(e.id)}},[O(Z,{class:Dt.chioseBox,label:e.id,onChange:function(){return n.resectCheck(e.id)}},{default:function(){return[O("br",null,null)]}}),O("div",{class:Dt.dotle},["MUSIC"==e.type?"乐团":"VIP"]),O("div",{class:Dt.teamInfo},[O("p",{class:Dt.title},[e.name]),O("p",{class:Dt.subInfo},[e.memo,D("(共"),e.memberNum,D("人)")])])])})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!$(t)?e:{default:function(){return[e]}}))]):O(ee,{description:"暂无群聊"},null)])}}),Vt="_third_p1nol_1",Xt="_preCore_p1nol_19",qt="_title_p1nol_19",Kt="_second_p1nol_22",Wt="_first_p1nol_43",Qt="_icon_p1nol_61",Jt="_teacher_p1nol_68",Gt="_start_p1nol_84",Zt="_time_p1nol_103",$t="_content_p1nol_112",en="_pre_p1nol_19",tn="_end_p1nol_132",nn="_bottom_p1nol_139",rn="_logo_p1nol_145",an="_code_p1nol_149",on={},sn={},ln={},cn=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ln.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},ln.getSymbolTotalCodewords=function(e){return cn[e]},ln.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},ln.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');Ht=e},ln.isKanjiModeEnabled=function(){return void 0!==Ht},ln.toSJIS=function(e){return Ht(e)};var un={};function dn(){this.buffer=[],this.length=0}!function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(r){return n}}}(un),dn.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var fn=dn;function pn(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}pn.prototype.set=function(e,t,n,r){var a=e*this.size+t;this.data[a]=n,r&&(this.reservedBit[a]=!0)},pn.prototype.get=function(e,t){return this.data[e*this.size+t]},pn.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},pn.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var mn=pn,hn={};!function(e){var t=ln.getSymbolSize;e.getRowColCoords=function(e){if(1===e)return[];for(var n=Math.floor(e/7)+2,r=t(e),a=145===r?26:2*Math.ceil((r-13)/(2*n-2)),i=[r-7],o=1;o<n-1;o++)i[o]=i[o-1]-a;return i.push(6),i.reverse()},e.getPositions=function(t){for(var n=[],r=e.getRowColCoords(t),a=r.length,i=0;i<a;i++)for(var o=0;o<a;o++)0===i&&0===o||0===i&&o===a-1||i===a-1&&0===o||n.push([r[i],r[o]]);return n}}(hn);var bn={},gn=ln.getSymbolSize;bn.getPositions=function(e){var t=gn(e);return[[0,0],[t-7,0],[0,t-7]]};var vn={};!function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var t=3,n=3,r=40,a=10;function i(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}e.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){for(var n=e.size,r=0,a=0,i=0,o=null,s=null,l=0;l<n;l++){a=i=0,o=s=null;for(var c=0;c<n;c++){var u=e.get(l,c);u===o?a++:(a>=5&&(r+=t+(a-5)),o=u,a=1),(u=e.get(c,l))===s?i++:(i>=5&&(r+=t+(i-5)),s=u,i=1)}a>=5&&(r+=t+(a-5)),i>=5&&(r+=t+(i-5))}return r},e.getPenaltyN2=function(e){for(var t=e.size,r=0,a=0;a<t-1;a++)for(var i=0;i<t-1;i++){var o=e.get(a,i)+e.get(a,i+1)+e.get(a+1,i)+e.get(a+1,i+1);4!==o&&0!==o||r++}return r*n},e.getPenaltyN3=function(e){for(var t=e.size,n=0,a=0,i=0,o=0;o<t;o++){a=i=0;for(var s=0;s<t;s++)a=a<<1&2047|e.get(o,s),s>=10&&(1488===a||93===a)&&n++,i=i<<1&2047|e.get(s,o),s>=10&&(1488===i||93===i)&&n++}return n*r},e.getPenaltyN4=function(e){for(var t=0,n=e.data.length,r=0;r<n;r++)t+=e.data[r];return Math.abs(Math.ceil(100*t/n/5)-10)*a},e.applyMask=function(e,t){for(var n=t.size,r=0;r<n;r++)for(var a=0;a<n;a++)t.isReserved(a,r)||t.xor(a,r,i(e,a,r))},e.getBestMask=function(t,n){for(var r=Object.keys(e.Patterns).length,a=0,i=1/0,o=0;o<r;o++){n(o),e.applyMask(o,t);var s=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(o,t),s<i&&(i=s,a=o)}return a}}(vn);var wn={},xn=un,yn=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],kn=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];wn.getBlocksCount=function(e,t){switch(t){case xn.L:return yn[4*(e-1)+0];case xn.M:return yn[4*(e-1)+1];case xn.Q:return yn[4*(e-1)+2];case xn.H:return yn[4*(e-1)+3];default:return}},wn.getTotalCodewordsCount=function(e,t){switch(t){case xn.L:return kn[4*(e-1)+0];case xn.M:return kn[4*(e-1)+1];case xn.Q:return kn[4*(e-1)+2];case xn.H:return kn[4*(e-1)+3];default:return}};var _n={},Sn={},Cn=new Uint8Array(512),An=new Uint8Array(256);!function(){for(var e=1,t=0;t<255;t++)Cn[t]=e,An[e]=t,256&(e<<=1)&&(e^=285);for(var n=255;n<512;n++)Cn[n]=Cn[n-255]}(),Sn.log=function(e){if(e<1)throw new Error("log("+e+")");return An[e]},Sn.exp=function(e){return Cn[e]},Sn.mul=function(e,t){return 0===e||0===t?0:Cn[An[e]+An[t]]},function(e){var t=Sn;e.mul=function(e,n){for(var r=new Uint8Array(e.length+n.length-1),a=0;a<e.length;a++)for(var i=0;i<n.length;i++)r[a+i]^=t.mul(e[a],n[i]);return r},e.mod=function(e,n){for(var r=new Uint8Array(e);r.length-n.length>=0;){for(var a=r[0],i=0;i<n.length;i++)r[i]^=t.mul(n[i],a);for(var o=0;o<r.length&&0===r[o];)o++;r=r.slice(o)}return r},e.generateECPolynomial=function(n){for(var r=new Uint8Array([1]),a=0;a<n;a++)r=e.mul(r,new Uint8Array([1,t.exp(a)]));return r}}(_n);var Rn=_n;function Tn(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Tn.prototype.initialize=function(e){this.degree=e,this.genPoly=Rn.generateECPolynomial(this.degree)},Tn.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");var t=new Uint8Array(e.length+this.degree);t.set(e);var n=Rn.mod(t,this.genPoly),r=this.degree-n.length;if(r>0){var a=new Uint8Array(this.degree);return a.set(n,r),a}return n};var In=Tn,En={},Ln={},Bn={isValid:function(e){return!isNaN(e)&&e>=1&&e<=40}},Mn={},Pn="[0-9]+",Nn="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",zn="(?:(?![A-Z0-9 $%*+\\-./:]|"+(Nn=Nn.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";Mn.KANJI=new RegExp(Nn,"g"),Mn.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Mn.BYTE=new RegExp(zn,"g"),Mn.NUMERIC=new RegExp(Pn,"g"),Mn.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var Yn=new RegExp("^"+Nn+"$"),Un=new RegExp("^[0-9]+$"),jn=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Mn.testKanji=function(e){return Yn.test(e)},Mn.testNumeric=function(e){return Un.test(e)},Mn.testAlphanumeric=function(e){return jn.test(e)},function(e){var t=Bn,n=Mn;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!t.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(t){return n.testNumeric(t)?e.NUMERIC:n.testAlphanumeric(t)?e.ALPHANUMERIC:n.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},e.isValid=function(e){return e&&e.bit&&e.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(r){return n}}}(Ln),function(e){var t=ln,n=wn,r=un,a=Ln,i=Bn,o=t.getBCHDigit(7973);function s(e,t){return a.getCharCountIndicator(e,t)+4}function l(e,t){var n=0;return e.forEach((function(e){var r=s(e.mode,t);n+=r+e.getBitsLength()})),n}e.from=function(e,t){return i.isValid(e)?parseInt(e,10):t},e.getCapacity=function(e,r,o){if(!i.isValid(e))throw new Error("Invalid QR Code version");void 0===o&&(o=a.BYTE);var l=8*(t.getSymbolTotalCodewords(e)-n.getTotalCodewordsCount(e,r));if(o===a.MIXED)return l;var c=l-s(o,e);switch(o){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(t,n){var i,o=r.from(n,r.M);if(Array.isArray(t)){if(t.length>1)return function(t,n){for(var r=1;r<=40;r++)if(l(t,r)<=e.getCapacity(r,n,a.MIXED))return r}(t,o);if(0===t.length)return 1;i=t[0]}else i=t;return function(t,n,r){for(var a=1;a<=40;a++)if(n<=e.getCapacity(a,r,t))return a}(i.mode,i.getLength(),o)},e.getEncodedBits=function(e){if(!i.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var n=e<<12;t.getBCHDigit(n)-o>=0;)n^=7973<<t.getBCHDigit(n)-o;return e<<12|n}}(En);var On={},Dn=ln,Hn=Dn.getBCHDigit(1335);On.getEncodedBits=function(e,t){for(var n=e.bit<<3|t,r=n<<10;Dn.getBCHDigit(r)-Hn>=0;)r^=1335<<Dn.getBCHDigit(r)-Hn;return 21522^(n<<10|r)};var Fn={},Vn=Ln;function Xn(e){this.mode=Vn.NUMERIC,this.data=e.toString()}Xn.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},Xn.prototype.getLength=function(){return this.data.length},Xn.prototype.getBitsLength=function(){return Xn.getBitsLength(this.data.length)},Xn.prototype.write=function(e){var t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);var a=this.data.length-t;a>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,3*a+1))};var qn=Xn,Kn=Ln,Wn=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Qn(e){this.mode=Kn.ALPHANUMERIC,this.data=e}Qn.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},Qn.prototype.getLength=function(){return this.data.length},Qn.prototype.getBitsLength=function(){return Qn.getBitsLength(this.data.length)},Qn.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var n=45*Wn.indexOf(this.data[t]);n+=Wn.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(Wn.indexOf(this.data[t]),6)};var Jn=Qn,Gn=function(e){for(var t=[],n=e.length,r=0;r<n;r++){var a=e.charCodeAt(r);if(a>=55296&&a<=56319&&n>r+1){var i=e.charCodeAt(r+1);i>=56320&&i<=57343&&(a=1024*(a-55296)+i-56320+65536,r+=1)}a<128?t.push(a):a<2048?(t.push(a>>6|192),t.push(63&a|128)):a<55296||a>=57344&&a<65536?(t.push(a>>12|224),t.push(a>>6&63|128),t.push(63&a|128)):a>=65536&&a<=1114111?(t.push(a>>18|240),t.push(a>>12&63|128),t.push(a>>6&63|128),t.push(63&a|128)):t.push(239,191,189)}return new Uint8Array(t).buffer},Zn=Ln;function $n(e){this.mode=Zn.BYTE,this.data=new Uint8Array(Gn(e))}$n.getBitsLength=function(e){return 8*e},$n.prototype.getLength=function(){return this.data.length},$n.prototype.getBitsLength=function(){return $n.getBitsLength(this.data.length)},$n.prototype.write=function(e){for(var t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var er=$n,tr=Ln,nr=ln;function rr(e){this.mode=tr.KANJI,this.data=e}rr.getBitsLength=function(e){return 13*e},rr.prototype.getLength=function(){return this.data.length},rr.prototype.getBitsLength=function(){return rr.getBitsLength(this.data.length)},rr.prototype.write=function(e){var t;for(t=0;t<this.data.length;t++){var n=nr.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}};var ar=rr,ir={exports:{}};!function(e){var t={single_source_shortest_paths:function(e,n,r){var a={},i={};i[n]=0;var o,s,l,c,u,d,f,p=t.PriorityQueue.make();for(p.push(n,0);!p.empty();)for(l in s=(o=p.pop()).value,c=o.cost,u=e[s]||{})u.hasOwnProperty(l)&&(d=c+u[l],f=i[l],(void 0===i[l]||f>d)&&(i[l]=d,p.push(l,d),a[l]=s));if(void 0!==r&&void 0===i[r]){var m=["Could not find a path from ",n," to ",r,"."].join("");throw new Error(m)}return a},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),r=e[r];return n.reverse(),n},find_path:function(e,n,r){var a=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(a,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,a={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(a[n]=r[n]);return a.queue=[],a.sorter=e.sorter||r.default_sorter,a},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t}(ir),function(e){var t=Ln,n=qn,r=Jn,a=er,i=ar,o=Mn,s=ln,l=ir.exports;function c(e){return unescape(encodeURIComponent(e)).length}function u(e,t,n){for(var r,a=[];null!==(r=e.exec(n));)a.push({data:r[0],index:r.index,mode:t,length:r[0].length});return a}function d(e){var n,r,a=u(o.NUMERIC,t.NUMERIC,e),i=u(o.ALPHANUMERIC,t.ALPHANUMERIC,e);return s.isKanjiModeEnabled()?(n=u(o.BYTE,t.BYTE,e),r=u(o.KANJI,t.KANJI,e)):(n=u(o.BYTE_KANJI,t.BYTE,e),r=[]),a.concat(i,n,r).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function f(e,o){switch(o){case t.NUMERIC:return n.getBitsLength(e);case t.ALPHANUMERIC:return r.getBitsLength(e);case t.KANJI:return i.getBitsLength(e);case t.BYTE:return a.getBitsLength(e)}}function p(e,o){var l,c=t.getBestModeForData(e);if((l=t.from(o,c))!==t.BYTE&&l.bit<c.bit)throw new Error('"'+e+'" cannot be encoded with mode '+t.toString(l)+".\n Suggested mode is: "+t.toString(c));switch(l!==t.KANJI||s.isKanjiModeEnabled()||(l=t.BYTE),l){case t.NUMERIC:return new n(e);case t.ALPHANUMERIC:return new r(e);case t.KANJI:return new i(e);case t.BYTE:return new a(e)}}e.fromArray=function(e){return e.reduce((function(e,t){return"string"==typeof t?e.push(p(t,null)):t.data&&e.push(p(t.data,t.mode)),e}),[])},e.fromString=function(n,r){for(var a=function(e){for(var n=[],r=0;r<e.length;r++){var a=e[r];switch(a.mode){case t.NUMERIC:n.push([a,{data:a.data,mode:t.ALPHANUMERIC,length:a.length},{data:a.data,mode:t.BYTE,length:a.length}]);break;case t.ALPHANUMERIC:n.push([a,{data:a.data,mode:t.BYTE,length:a.length}]);break;case t.KANJI:n.push([a,{data:a.data,mode:t.BYTE,length:c(a.data)}]);break;case t.BYTE:n.push([{data:a.data,mode:t.BYTE,length:c(a.data)}])}}return n}(d(n,s.isKanjiModeEnabled())),i=function(e,n){for(var r={},a={start:{}},i=["start"],o=0;o<e.length;o++){for(var s=e[o],l=[],c=0;c<s.length;c++){var u=s[c],d=""+o+c;l.push(d),r[d]={node:u,lastCount:0},a[d]={};for(var p=0;p<i.length;p++){var m=i[p];r[m]&&r[m].node.mode===u.mode?(a[m][d]=f(r[m].lastCount+u.length,u.mode)-f(r[m].lastCount,u.mode),r[m].lastCount+=u.length):(r[m]&&(r[m].lastCount=u.length),a[m][d]=f(u.length,u.mode)+4+t.getCharCountIndicator(u.mode,n))}}i=l}for(var h=0;h<i.length;h++)a[i[h]].end=0;return{map:a,table:r}}(a,r),o=l.find_path(i.map,"start","end"),u=[],p=1;p<o.length-1;p++)u.push(i.table[o[p]].node);return e.fromArray(function(e){return e.reduce((function(e,t){var n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(u))},e.rawSplit=function(t){return e.fromArray(d(t,s.isKanjiModeEnabled()))}}(Fn);var or=ln,sr=un,lr=fn,cr=mn,ur=hn,dr=bn,fr=vn,pr=wn,mr=In,hr=En,br=On,gr=Ln,vr=Fn;function wr(e,t,n){var r,a,i=e.size,o=br.getEncodedBits(t,n);for(r=0;r<15;r++)a=1==(o>>r&1),r<6?e.set(r,8,a,!0):r<8?e.set(r+1,8,a,!0):e.set(i-15+r,8,a,!0),r<8?e.set(8,i-r-1,a,!0):r<9?e.set(8,15-r-1+1,a,!0):e.set(8,15-r-1,a,!0);e.set(i-8,8,1,!0)}function xr(e,t,n){var r=new lr;n.forEach((function(t){r.put(t.mode.bit,4),r.put(t.getLength(),gr.getCharCountIndicator(t.mode,e)),t.write(r)}));var a=8*(or.getSymbolTotalCodewords(e)-pr.getTotalCodewordsCount(e,t));for(r.getLengthInBits()+4<=a&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);for(var i=(a-r.getLengthInBits())/8,o=0;o<i;o++)r.put(o%2?17:236,8);return function(e,t,n){for(var r=or.getSymbolTotalCodewords(t),a=pr.getTotalCodewordsCount(t,n),i=r-a,o=pr.getBlocksCount(t,n),s=o-r%o,l=Math.floor(r/o),c=Math.floor(i/o),u=c+1,d=l-c,f=new mr(d),p=0,m=new Array(o),h=new Array(o),b=0,g=new Uint8Array(e.buffer),v=0;v<o;v++){var w=v<s?c:u;m[v]=g.slice(p,p+w),h[v]=f.encode(m[v]),p+=w,b=Math.max(b,w)}var x,y,k=new Uint8Array(r),_=0;for(x=0;x<b;x++)for(y=0;y<o;y++)x<m[y].length&&(k[_++]=m[y][x]);for(x=0;x<d;x++)for(y=0;y<o;y++)k[_++]=h[y][x];return k}(r,e,t)}function yr(e,t,n,r){var a;if(Array.isArray(e))a=vr.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var i=t;if(!i){var o=vr.rawSplit(e);i=hr.getBestVersionForData(o,n)}a=vr.fromString(e,i||40)}var s=hr.getBestVersionForData(a,n);if(!s)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<s)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+s+".\n")}else t=s;var l=xr(t,n,a),c=or.getSymbolSize(t),u=new cr(c);return function(e,t){for(var n=e.size,r=dr.getPositions(t),a=0;a<r.length;a++)for(var i=r[a][0],o=r[a][1],s=-1;s<=7;s++)if(!(i+s<=-1||n<=i+s))for(var l=-1;l<=7;l++)o+l<=-1||n<=o+l||(s>=0&&s<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===s||6===s)||s>=2&&s<=4&&l>=2&&l<=4?e.set(i+s,o+l,!0,!0):e.set(i+s,o+l,!1,!0))}(u,t),function(e){for(var t=e.size,n=8;n<t-8;n++){var r=n%2==0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}(u),function(e,t){for(var n=ur.getPositions(t),r=0;r<n.length;r++)for(var a=n[r][0],i=n[r][1],o=-2;o<=2;o++)for(var s=-2;s<=2;s++)-2===o||2===o||-2===s||2===s||0===o&&0===s?e.set(a+o,i+s,!0,!0):e.set(a+o,i+s,!1,!0)}(u,t),wr(u,n,0),t>=7&&function(e,t){for(var n,r,a,i=e.size,o=hr.getEncodedBits(t),s=0;s<18;s++)n=Math.floor(s/3),r=s%3+i-8-3,a=1==(o>>s&1),e.set(n,r,a,!0),e.set(r,n,a,!0)}(u,t),function(e,t){for(var n=e.size,r=-1,a=n-1,i=7,o=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var l=0;l<2;l++)if(!e.isReserved(a,s-l)){var c=!1;o<t.length&&(c=1==(t[o]>>>i&1)),e.set(a,s-l,c),-1==--i&&(o++,i=7)}if((a+=r)<0||n<=a){a-=r,r=-r;break}}}(u,l),isNaN(r)&&(r=fr.getBestMask(u,wr.bind(null,u,n))),fr.applyMask(r,u),wr(u,n,r),{modules:u,version:t,errorCorrectionLevel:n,maskPattern:r,segments:a}}sn.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var n,r,a=sr.M;return void 0!==t&&(a=sr.from(t.errorCorrectionLevel,sr.M),n=hr.from(t.version),r=fr.from(t.maskPattern),t.toSJISFunc&&or.setToSJISFunction(t.toSJISFunc)),yr(e,n,a,r)};var kr={},_r={};!function(e){function t(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}e.getOptions=function(e){e||(e={}),e.color||(e.color={});var n=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,a=e.scale||4;return{width:r,scale:r?4:a,margin:n,color:{dark:t(e.color.dark||"#000000ff"),light:t(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},e.getImageWidth=function(t,n){var r=e.getScale(t,n);return Math.floor((t+2*n.margin)*r)},e.qrToImageData=function(t,n,r){for(var a=n.modules.size,i=n.modules.data,o=e.getScale(a,r),s=Math.floor((a+2*r.margin)*o),l=r.margin*o,c=[r.color.light,r.color.dark],u=0;u<s;u++)for(var d=0;d<s;d++){var f=4*(u*s+d),p=r.color.light;if(u>=l&&d>=l&&u<s-l&&d<s-l)p=c[i[Math.floor((u-l)/o)*a+Math.floor((d-l)/o)]?1:0];t[f++]=p.r,t[f++]=p.g,t[f++]=p.b,t[f]=p.a}}}(_r),function(e){var t=_r;e.render=function(e,n,r){var a=r,i=n;void 0!==a||n&&n.getContext||(a=n,n=void 0),n||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),a=t.getOptions(a);var o=t.getImageWidth(e.modules.size,a),s=i.getContext("2d"),l=s.createImageData(o,o);return t.qrToImageData(l.data,e,a),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(s,i,o),s.putImageData(l,0,0),i},e.renderToDataURL=function(t,n,r){var a=r;void 0!==a||n&&n.getContext||(a=n,n=void 0),a||(a={});var i=e.render(t,n,a),o=a.type||"image/png",s=a.rendererOpts||{};return i.toDataURL(o,s.quality)}}(kr);var Sr={},Cr=_r;function Ar(e,t){var n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function Rr(e,t,n){var r=e+t;return void 0!==n&&(r+=" "+n),r}Sr.render=function(e,t,n){var r=Cr.getOptions(t),a=e.modules.size,i=e.modules.data,o=a+2*r.margin,s=r.color.light.a?"<path "+Ar(r.color.light,"fill")+' d="M0 0h'+o+"v"+o+'H0z"/>':"",l="<path "+Ar(r.color.dark,"stroke")+' d="'+function(e,t,n){for(var r="",a=0,i=!1,o=0,s=0;s<e.length;s++){var l=Math.floor(s%t),c=Math.floor(s/t);l||i||(i=!0),e[s]?(o++,s>0&&l>0&&e[s-1]||(r+=i?Rr("M",l+n,.5+c+n):Rr("m",a,0),a=0,i=!1),l+1<t&&e[s+1]||(r+=Rr("h",o),o=0)):a++}return r}(i,a,r.margin)+'"/>',c='viewBox="0 0 '+o+" "+o+'"',u='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+c+' shape-rendering="crispEdges">'+s+l+"</svg>\n";return"function"==typeof n&&n(null,u),u};var Tr=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},Ir=sn,Er=kr,Lr=Sr;function Br(e,t,n,r,a){var i=[].slice.call(arguments,1),o=i.length,s="function"==typeof i[o-1];if(!s&&!Tr())throw new Error("Callback required as last argument");if(!s){if(o<1)throw new Error("Too few arguments provided");return 1===o?(n=t,t=r=void 0):2!==o||t.getContext||(r=n,n=t,t=void 0),new Promise((function(a,i){try{var o=Ir.create(n,r);a(e(o,t,r))}catch(s){i(s)}}))}if(o<2)throw new Error("Too few arguments provided");2===o?(a=n,n=t,t=r=void 0):3===o&&(t.getContext&&void 0===a?(a=r,r=void 0):(a=r,r=n,n=t,t=void 0));try{var l=Ir.create(n,r);a(null,e(l,t,r))}catch(c){a(c)}}on.create=Ir.create,on.toCanvas=Br.bind(null,Er.render),on.toDataURL=Br.bind(null,Er.renderToDataURL),on.toString=Br.bind(null,(function(e,t,n){return Lr.render(e,n)}));var Mr=on,Pr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAmCAYAAACyAQkgAAAAAXNSR0IArs4c6QAAA7pJREFUWEftmF1oHFUUx8+5k2yhIVILUosSv0AtrYKiSO2DaB9E1EIfUpBiQaxLqybM3hkCfqBBq+JmzrkLiwuNWCOUolBEFFREqgiiVkQUg5FiaWkrwopIoiZNsvfILK2kde98RZ/ceVr2nvOf3/zvOXfuXAQACMOwr9Vq3RT/LnDNGmMOJ+UNDw8PeJ53RQFtUEodI6LjGCdXKpXrEPHbIkIAcJSZr0rK1Vo/AQB7iuiLyNPGmGe6oEvd6zqas5a6NRob1m2mTmXTbaZuM+V0oNtMLsP+F80EAE8x87P/xqZkkpk3/Ie7pxFjzFgbdHBw0BsYGLjQdTMReQgAnneMf87MG5NAy+Xyyv7+/pUJ+u8BgGs/vIuZ97ZB064wDLdaa990xH3AzHemaSSNB0Hwtojc2ylGRLYbYw5kBd1mrX2jkxAiHiSiweWAaq0/BIDNDtAtxph3MoEGQbBTRF52wDAzB8sBDYLgGxG53mHEbUT0SSbQlOXlQWbetxxQrfXPALCmk0ZPT88l1Wr1p6ygBwDgPsfU3JL2cZf0ECMjI5cuLi6ecMT8wswXxWNZQb8HgGs7iFml1AVRFP1R1NEgCLaLyH7HtB8ionbtpoL6vn+lUupHh9BnRHRrUcg4T2sd1/5Oh0aNmSuZQLXWIQCMOYQeZ+YXioLG5wnW2pMAsMphxFYieisVdHR0tGd6evoIAFzuqM8NxpjJoqBa690A0HDk/7awsHBxvV4/nQoahuED1lpXR08x87qikENDQytKpVK8LF3j0HiFmf8uCWeN+r6/Vin1HQCsdgi1X21FQbXWdQB41JWvlNocRdGhs+MdQSuVympEfB8AbnYINUXkMmPMbBHQIAjuF5HXXM2MiB8T0e1Ltf8B6vv+RqVU3InrXRBnP2HzQpbL5d6+vr4xRBx2QYpIy/O8G6MoOucsrA16pvt2AMA9InIXIjpLQkR+AIAb8riptb5aRB5GxG0AsDbpARGxQUSPnB+Tdz+6gIibiOjLPG5m3eEj4hczMzN3jI+P/7lc0CeZ+bk8kGcW9dRjR0Q8Mj8/v6lerzc7rqnxnxnORy0iPkZE1byQGUGnrLV312q1oy79LFM/i4g7iOhgEcgMoPvn5uZ2NxqN3xNrN8HR04j4aqvVerFWqx0rCpkAOqmU2hNF0etZtM93NH5dfQ0AH4nIS8aYU1lE0mKWNNOvIvKp53l7oyh6Nz6sS8s9Z8H3fX9Vb2/v+maz+dXExMRc1uSscb7vryuVSlCtVqfywC3V/ws13CRFlZXvUwAAAABJRU5ErkJggg==",Nr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAoCAYAAACIC2hQAAAAAXNSR0IArs4c6QAAA/dJREFUWEftmF9oHUUUxr9zbwgqmJAo/kET6luMKCoo1KAIIv6hoYpESkEIiD7UJu7MXGLUQhatKNe7Z3OTglp9UEECKlJC7YMKFdqCgloQBAsSUR9UEB9iija5mSNzzY2x7uxuNlgQ7jzunPPNb7+ZM7OzhP9JoyKcQRBcXi6Xh0RkO4BPmPmdIjpJOWEYlpaWlgattU77lkajMTUzM/P9pkCDIBgqlUoTAHYAKLmBiOiJKIqqWwUdGxvr6uzs3CsijwO4pKVHRFdHUfR1LtDx8fH+crn8BhHdfjbQVkFHRkbKfX19TwFQAHoS9POBaq13ENHrInJRkmtbAZ2YmLiw0Wi8DeBu34zkclQptQfAASLyOl8UVCl1BYAjRHRd2rLJBDXG3Cci7wIoZwhteo266e7v7z+2VoypyzsVVCl1MxF9DOD8rCIRkbE4jg9kxW3s11o/DWB/jpwz1trB6enphX9N6drbfiEiaVPyB4BYRN6K4/irHAOuh2itb3BbGoDOlLyTRPQMEX1Yq9VON3eXs4O11o+5dZki8g2AB5n55GYAW7HGmHkRGfblishUd3f3/jAM7caYf4BOTk72LC8vO5Bej9BPq6ur19fr9Z8LQg6IiJuB5h6csBU9GUXRC4l9Gx8qpfYS0awHworIPXEcf1AE0uUYY14RkUc9+UeZ+Q4AkgmqtT7hji2P0Bwz7y4KGYbhBYuLi794CtQS0TXuBPLpr099EATbiGghZc/czsyuCAq1SqWy01p7yJM8z8w704TXQY0xRkRqnuDPmPmmQoRrSVrr1wA87NEYZubDeUHnRGSXJ3gfMz+3BVDSWv8I4NIEjdNdXV0Xh2HotjxvW3dUa+2qcTApUkRui+P4WFHQSqVylbV2waP9URzHd2ZpN0FHR0fP6+3t/Q1AR0LC7ysrKz2zs7NnssR8/UqpYSKa9/RPM7P7ckptTdAgCG4slUqfJ0US0akoigayhNL6jTGTIvK8J2YPM7+Upd8E1VrfC+B9T/BxZr41SyitXyn1JhE95DFidxRFc1n6TVCl1C4i8gUfYub7s4QyHD3iDgtPTGbFu7yWo48AOOgROszM3rM5zwtorY8DGPI4+kAURe9l6bQcNUTk20O/I6KXfUKNRuNovV7/NG0grfWXAK71GUFE7kRMbNbag3Ec/9pydApAmPVWHkcyP5y11t8C2FZQ/+87kzHmWRHZV0TI3UprtdqLGcX0AxFdWUS/o6NjoFqtnmo62gZds1Ap1XY093Jqr9E1q9rFlLRm2sWUu5Lcvbe94f9lV7uY/tNi0loHANw/pyKtysyvZnzmuYvhZUXErbV3Jf7NKyJ2LnJy/cM/FyBZY/wJeqwNR6eju2QAAAAASUVORK5CYII=",zr="./assets/logo.6e1120ae.png",Yr="data:image/png;base64,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",Ur=U({name:"LiveBroadcastSharePreview",props:["form","url"],data:function(){return{detail:{roomTitle:"",liveStartTime:"",liveRemark:""}}},mounted:function(){var e=document.getElementById("canvas"),t=this.url;Mr.toCanvas(e,t,{width:79,margin:1},(function(e){e&&console.error(e),console.log("QRCode success!")}))},methods:{copyText:function(){},shareImage:function(){}},render:function(){return O("div",{id:"preview"},["1"===this.form.preTemplate?O("div",{class:Wt},[O("h2",null,[this.form.roomTitle]),O("p",{class:Jt},[D(" 主讲人:"),this.form.speakerName]),O("img",{src:"./assets/icon1.ef6bbd86.png",class:Qt,alt:""},null),O("div",{class:Xt},[O("img",{src:Yr,class:Gt,alt:""},null),O("p",{class:qt},[D("开播时间")]),O("p",{class:Zt},[this.form.liveStartTime]),O("p",{class:qt},[D("直播内容")]),O("div",{class:$t},[O("img",{class:en,src:Nr,alt:""},null),O("img",{class:tn,src:Pr,alt:""},null),this.form.liveRemark])]),O("div",{class:nn},[O("img",{class:rn,src:zr,alt:""},null),O("div",{class:an},[O("div",null,[O("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null,"2"===this.form.preTemplate?O("div",{class:Kt},[O("h2",null,[this.form.roomTitle]),O("p",{class:Jt},[D("主讲人:"),this.form.speakerName]),O("img",{src:"./assets/icon3.0d23bbac.png",class:Qt,alt:""},null),O("div",{class:Xt},[O("img",{src:Yr,class:Gt,alt:""},null),O("p",{class:qt},[D("开播时间")]),O("p",{class:Zt},[this.form.liveStartTime]),O("p",{class:qt},[D("直播内容")]),O("div",{class:$t},[O("img",{class:en,src:Nr,alt:""},null),O("img",{class:tn,src:Pr,alt:""},null),this.form.liveRemark])]),O("div",{class:nn},[O("img",{class:rn,src:zr,alt:""},null),O("div",{class:an},[O("div",null,[O("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null,"3"===this.form.preTemplate?O("div",{class:Vt},[O("h2",null,[this.form.roomTitle]),O("p",{class:Jt},[D("主讲人:"),this.form.speakerName]),O("img",{src:"./assets/icon2.e7f0fa2e.png",class:Qt,alt:""},null),O("div",{class:Xt},[O("img",{src:Yr,class:Gt,alt:""},null),O("p",{class:qt},[D("开播时间")]),O("p",{class:Zt},[this.form.liveStartTime]),O("p",{class:qt},[D("直播内容")]),O("div",{class:$t},[O("img",{class:en,src:Nr,alt:""},null),O("img",{class:tn,src:Pr,alt:""},null),this.form.liveRemark])]),O("div",{class:nn},[O("img",{class:rn,src:zr,alt:""},null),O("div",{class:an},[O("div",null,[O("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null])}}),jr=ne(null);ne(null);var Or=U({name:"LiveBroadcastShare",props:{onClose:{type:Function,default:function(){}}},data:function(){return{form:{shareType:"1"},detail:{roomTitle:"",liveStartTime:"",liveRemark:"",roomUid:"",speakerName:""},url:""}},mounted:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.detail=i({},c.user),e.url=(n=void 0,n=window.location.href,(/online/.test(n)?"https://mstuonline.dayaedu.com":/dev/.test(n)?"http://mstudev.dayaedu.com":/test/.test(n)?"http://mstutest.dayaedu.com":"http://mstudev.dayaedu.com")+"/#/liveClassTransfer?roomUid=".concat(e.detail.roomUid));case 2:case"end":return t.stop()}var n}),t)})))()},methods:{copyText:function(){var e=this,t="乐团老师邀请您参与直播课!\n".concat(this.detail.roomTitle||"","\n主讲人:").concat(this.detail.speakerName,"\n直播时间:").concat(this.detail.liveStartTime||"","\n直播内容:").concat(this.detail.liveRemark||"","\n直播地址:").concat(this.url,"\n");if(t){var n=document.createElement("button"),r=new Ot(n,{text:function(){return t}});r.on("success",(function(){j.success("复制成功"),e.onClose(),r.destroy()})),r.on("error",(function(){console.log("该浏览器不支持自动复制"),r.destroy()})),n.click()}},shareImage:function(){var e=this,t=document.getElementById("preview");t&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Bt(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Yt(e,t).then((function(e){return e.toDataURL()})));case 1:case"end":return n.stop()}}),n)})))}(t).then((function(t){(new Image).src=t;var n=document.createElement("a"),r=e.detail.roomTitle||"分享图片文件.png";n.href=t,n.setAttribute("download",r),document.body.appendChild(n),n.click(),e.onClose()})).catch((function(e){console.error("oops, something went wrong!",e)}))},shareChat:function(){var e=this;return l(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=(null===(n=jr.value)||void 0===n?void 0:n.checkList)||[]).length>0){t.next=4;break}return j.error("请至少选择一个群聊"),t.abrupt("return");case 4:return t.prev=4,a={groupIds:r.join(","),roomUid:e.detail.roomUid},t.next=8,o.get("/api-web/imLiveBroadcastRoom/shareGroup",{params:i({},a)});case 8:t.sent,j.success("分享成功"),e.onClose(),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(4),console.log(t.t0);case 16:case"end":return t.stop()}}),t,null,[[4,13]])})))()},changeRafdio:function(e){this.form.shareType=e}},render:function(){var e=this;return O("div",null,[O(W,{model:this.form,ref:"form",class:Ie.form},{default:function(){return[O(Q,{label:"分享方式"},{default:function(){return[O(te,{modelValue:e.form.shareType,onChange:function(){e.changeRafdio("1")},label:"1"},{default:function(){return[D("链接分享")]}}),O(te,{modelValue:e.form.shareType,onChange:function(){e.changeRafdio("2")},label:"2"},{default:function(){return[D("二维码分享")]}}),O(te,{modelValue:e.form.shareType,onChange:function(){e.changeRafdio("3")},label:"3"},{default:function(){return[D("群聊分享")]}})]}})]}}),O("div",null,["1"===this.form.shareType?O("div",{class:"linkWrap"},[O("div",{class:Ie.shareWrap},[O("h2",null,[D("乐团老师邀请您参与直播课!")]),O("h4",null,[this.detail.roomTitle]),O("p",null,[D("主讲人:"),this.detail.speakerName]),O("p",null,[D("开播时间:"),this.detail.liveStartTime]),O("p",null,[D("直播内容:"),this.detail.liveRemark]),O("p",null,[D("直播地址:"),this.url])]),O("div",{class:[Ie.shareBtn,"shareText"],onClick:this.copyText,ref:"shareText","data-clipboard-action":"copy"},[D("复制分享内容")])]):null]),"2"===this.form.shareType?O("div",{class:Ie.codeWrap},[O("div",{class:Ie.shareWrap},[O(Ur,{form:this.detail,url:this.url},null)]),O("div",{class:Ie.shareBtn,onClick:this.shareImage},[D("下载图片")])]):null,"3"==this.form.shareType?O("div",{class:Ie.shareWrap},[O("div",{class:Ie.groupWrap},[O(Ft,{ref:jr},null)]),O("div",{class:Ie.shareBtn,onClick:this.shareChat},[D("发送分享信息")])]):null])}});function Dr(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!$(e)}var Hr=ie({volume:0,barStatus:{camera:!1,volume:!1,microphone:!1,screen:!1,share:!1},shareVisiable:!1}),Fr=U({name:"LiveBroadcast-ActionBar",computed:{isCameraDisabled:function(){return Hr.barStatus.camera&&"denied"!==u.deviceStatus.camera&&u.cameras.length},isMicrophoneDisabled:function(){return Hr.barStatus.microphone&&"denied"!==u.deviceStatus.microphone&&u.microphones.length},isVolumeDisabled:function(){return 0===Hr.volume}},mounted:function(){console.log(u.cameras,u.cameras.length)},methods:{startShare:function(){console.log("调用"),Hr.shareVisiable=!0},volumeChange:function(e){Hr.volume=e,m(e)}},render:function(){return O("div",{class:Ce,id:"action-bar"},[O("div",{style:{display:"flex"}},[O("div",{class:Ae},[O("div",{class:Te},[O(re("SvgIcon"),{onClick:function(){h("camera"),u.screenShareStatus||(Hr.barStatus.camera=!Hr.barStatus.camera)},name:this.isCameraDisabled?"bar-camera-disabled":"bar-camera",style:{width:"22px",cursor:"pointer"}},null),0===u.cameras.length?null:O(H,{placement:"top",disabled:0===u.cameras.length,onCommand:b},{default:function(){return[O("div",{class:Ae,style:{height:"32px"}},[O(re("SvgIcon"),{name:"bar-arrow-down",style:{width:"18px"}},null)])]},dropdown:function(){var e;return O(F,null,Dr(e=u.cameras.map((function(e){return O(V,{disabled:e===u.selectedCamera,command:e},{default:function(){return[e.label]}})})))?e:{default:function(){return[e]}})}})]),O("span",{class:Re},[D("摄像头")])]),O("div",{class:Ae,onClick:g},[O("div",{class:Te},[O(re("SvgIcon"),{name:"liveing"===u.videoStatus?"bar-screen-share":"bar-screen-share-disabled2",style:{width:"22px",cursor:"pointer"}},null)]),O("span",{class:Re},[u.screenShareStatus?"取消共享":"屏幕共享"])]),O("div",{class:Ae},[O("div",{class:Te},[O(re("SvgIcon"),{onClick:function(){var e="liveing"===u.videoStatus;Hr.barStatus.microphone=!Hr.barStatus.microphone,Hr.barStatus.microphone?s("microphone",e):v("microphone",e)},name:this.isMicrophoneDisabled?"bar-mike-disabled":"bar-mike",style:{width:"22px",cursor:"pointer"}},null),0===u.microphones.length?null:O(H,{placement:"top-start",disabled:0===u.microphones.length,"popper-options":{boundariesElement:"#action-bar",gpuAcceleration:!1},onCommand:w},{default:function(){return[O("div",{class:Ae,style:{height:"32px"}},[O(re("SvgIcon"),{name:"bar-arrow-down",style:{width:"18px"}},null)])]},dropdown:function(){var e;return O(F,null,Dr(e=u.microphones.map((function(e){return O(V,{disabled:e===u.selectedMicrophone,command:e},{default:function(){return[e.label]}})})))?e:{default:function(){return[e]}})}})]),O("span",{class:Re},[D("麦克风")])])]),O("div",{style:{display:"flex"},onClick:this.startShare},[O("div",{class:Ae},[O("div",{class:Te},[O(re("SvgIcon"),{name:"bar-share",style:{width:"22px",cursor:"pointer"}},null)]),O("span",{class:Re},[D("分享")])])]),O(ae,{width:"510px","destroy-on-close":!0,"append-to-body":!0,modelValue:Hr.shareVisiable,title:"分享","before-close":function(){Hr.shareVisiable=!1}},{default:function(){return[O(Or,{onClose:function(){return Hr.shareVisiable=!1}},null)]}})])}}),Vr={container:"_container_19awp_1",title:"_title_19awp_21",tips:"_tips_19awp_25"},Xr=U({name:"VideoStatus",render:function(){return O("div",{class:Vr.container},["denied"===u.deviceStatus.camera?O("div",{class:Vr.denied},[O(re("SvgIcon"),{name:"camera-status",class:Vr.icon},null),O("p",{class:Vr.title},[D("摄像头被禁用")]),O("p",{class:Vr.tips},[D("请授权允许访问摄像头")])]):null,"init"===u.deviceStatus.camera?O("div",{class:Vr.init},[O(re("SvgIcon"),{name:"camera-status",class:Vr.icon},null),O("p",{class:Vr.title},[D("请完成摄像头授权")]),O("p",{class:Vr.tips},[D("请授权允许访问摄像头")])]):null,"closed"===u.deviceStatus.camera?O("div",{class:Vr.closed},[O(re("SvgIcon"),{name:"camera-status",class:Vr.icon},null),O("p",{class:Vr.title},[D("摄像头已关闭")]),O("p",{class:Vr.tips},[D("您已关闭摄像头")])]):null,"none"===u.deviceStatus.camera?O("div",{class:Vr.none},[O(re("SvgIcon"),{name:"camera-status",class:Vr.icon},null),O("p",{class:Vr.title},[D("暂无摄像头")]),O("p",{class:Vr.tips},[D("该设备无摄像头")])]):null])}}),qr={exports:{}};!function(t,n){var r,a,i,o,s,l,c,u,d,f,p,m,h,b,g,v,w,x,y;t.exports=(c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,p={years:u=31536e6,months:d=2592e6,days:l=864e5,hours:s=36e5,minutes:o=6e4,seconds:i=1e3,milliseconds:1,weeks:6048e5},m=function(e){return e instanceof y},h=function(e,t,n){return new y(e,n,t.$l)},b=function(e){return a.p(e)+"s"},g=function(e){return e<0},v=function(e){return g(e)?Math.ceil(e):Math.floor(e)},w=function(e){return Math.abs(e)},x=function(e,t){return e?g(e)?{negative:!0,format:""+w(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},y=function(){function t(t,n,r){var a=this;if(this.$d={},this.$l=r,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),n)return h(t*p[b(n)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==e(t))return Object.keys(t).forEach((function(e){a.$d[b(e)]=t[e]})),this.calMilliseconds(),this;if("string"==typeof t){var i=t.match(f);if(i){var o=i.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var n=t.prototype;return n.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*p[n]}),0)},n.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=v(e/u),e%=u,this.$d.months=v(e/d),e%=d,this.$d.days=v(e/l),e%=l,this.$d.hours=v(e/s),e%=s,this.$d.minutes=v(e/o),e%=o,this.$d.seconds=v(e/i),e%=i,this.$d.milliseconds=e},n.toISOString=function(){var e=x(this.$d.years,"Y"),t=x(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=x(n,"D"),a=x(this.$d.hours,"H"),i=x(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3);var s=x(o,"S"),l=e.negative||t.negative||r.negative||a.negative||i.negative||s.negative,c=a.format||i.format||s.format?"T":"",u=(l?"-":"")+"P"+e.format+t.format+r.format+c+a.format+i.format+s.format;return"P"===u||"-P"===u?"P0D":u},n.toJSON=function(){return this.toISOString()},n.format=function(e){var t=e||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return t.replace(c,(function(e,t){return t||String(n[e])}))},n.as=function(e){return this.$ms/p[b(e)]},n.get=function(e){var t=this.$ms,n=b(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?v(t/p[n]):this.$d[n],0===t?0:t},n.add=function(e,t,n){var r;return r=t?e*p[b(t)]:m(e)?e.$ms:h(e,this).$ms,h(this.$ms+r*(n?-1:1),this)},n.subtract=function(e,t){return this.add(e,t,!0)},n.locale=function(e){var t=this.clone();return t.$l=e,t},n.clone=function(){return h(this.$ms,this)},n.humanize=function(e){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},n.milliseconds=function(){return this.get("milliseconds")},n.asMilliseconds=function(){return this.as("milliseconds")},n.seconds=function(){return this.get("seconds")},n.asSeconds=function(){return this.as("seconds")},n.minutes=function(){return this.get("minutes")},n.asMinutes=function(){return this.as("minutes")},n.hours=function(){return this.get("hours")},n.asHours=function(){return this.as("hours")},n.days=function(){return this.get("days")},n.asDays=function(){return this.as("days")},n.weeks=function(){return this.get("weeks")},n.asWeeks=function(){return this.as("weeks")},n.months=function(){return this.get("months")},n.asMonths=function(){return this.as("months")},n.years=function(){return this.get("years")},n.asYears=function(){return this.as("years")},t}(),function(e,t,n){r=n,a=n().$utils(),n.duration=function(e,t){var r=n.locale();return h(e,{$l:r},t)},n.isDuration=m;var i=t.prototype.add,o=t.prototype.subtract;t.prototype.add=function(e,t){return m(e)&&(e=e.asMilliseconds()),i.bind(this)(e,t)},t.prototype.subtract=function(e,t){return m(e)&&(e=e.asMilliseconds()),o.bind(this)(e,t)}})}(qr);var Kr=qr.exports,Wr="_time_1c1wd_1",Qr="_status_1c1wd_14",Jr="_text_1c1wd_27";se.extend(Kr);var Gr,Zr,$r=U({setup:function(){var e=ie({duration:""}),t=sessionStorage.getItem(x),n=Number(t),r=null;return oe((function(){r=setInterval((function(){var t=se().valueOf();n&&t-n&&(e.duration=se.duration(t-n).format("HH:mm:ss"))}))})),le((function(){r&&clearInterval(r)})),function(){return"liveing"===u.videoStatus&&n?O("div",{class:Wr},[O("div",{class:Qr},[O("div",{class:"line-scale-pulse-out"},[O("div",null,null),O("div",null,null),O("div",null,null)]),O("span",null,[D("直播中")])]),O("span",{class:Jr},[e.duration])]):null}}}),ea="_main_dv466_1",ta="_video_dv466_14",na="_headerSection_dv466_25",ra="_headerContent_dv466_32",aa="_header-top_dv466_36",ia=ne(null),oa=U({name:"LiveBroadcast",data:function(){return{headerStatus:!1}},computed:{isLive:function(){var e=this;return console.log(u.videoStatus),"liveing"===u.videoStatus?setTimeout((function(){e.headerStatus=!0}),3e3):this.headerStatus=!1,"liveing"===u.videoStatus}},mounted:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.initializeRoom(),y(),k.on(_["RC:Chatroom:Like"],e.onLikeMessage),window.onbeforeunload=e.beforeunload;case 4:case"end":return t.stop()}}),t)})))()},beforeUnmount:function(){k.off(_["RC:Chatroom:Like"],this.onLikeMessage),window.onbeforeunload=null},methods:{beforeunload:function(){if("liveing"===u.videoStatus)return"当前正在直播中是否确认关闭页面?"},onLikeMessage:function(e){u.likeCount+=e.counts},getDeviceByDeviceType:function(e){var t=localStorage.getItem(S),n=localStorage.getItem(C);return"camera"===e?t&&u.cameras.find((function(e){return e.deviceId===t}))||u.cameras[0]:n&&u.microphones.find((function(e){return e.deviceId===n}))||u.microphones[0]},initializeRoom:function(){var e=this;return l(regeneratorRuntime.mark((function t(){var n,r,a,i,o,s,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c.user){t.next=2;break}throw Error("请先登录");case 2:return t.prev=2,u.likeCount=(null===(n=c.user)||void 0===n?void 0:n.likeNum)||0,u.lookCount=(null===(r=c.user)||void 0===r?void 0:r.lookNum)||0,o="liveing"===sessionStorage.getItem(A),t.next=8,R(null===(a=c.user)||void 0===a?void 0:a.imToken);case 8:return u.videoRef=ia.value,t.next=11,T();case 11:return t.next=13,I();case 13:return b(e.getDeviceByDeviceType("camera")),w(e.getDeviceByDeviceType("microphone")),t.next=17,E("camera");case 17:return Zr=t.sent,u.videoRef&&Zr.play(u.videoRef),t.next=21,E("microphone");case 21:return Gr=t.sent,u.videoStatus="stream",t.next=25,L(null===(i=c.user)||void 0===i?void 0:i.roomUid,B.VIDEO,{onMessageReceive:function(e,t){console.log(e,t)},onKickOff:function(e){console.log(e)},onTrackPublish:function(e){return l(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null==s||null===(n=s.room)||void 0===n?void 0:n.subscribe(e);case 2:r=t.sent,console.log(r),null!=r&&r.code&&r.code!==M.SUCCESS&&console.log("资源订阅失败 ->",r.code);case 5:case"end":return t.stop()}}),t)})))()},onTrackUnpublish:function(e){console.log(e),k.emit(_["RM:RTC:TrackUnpublish"],e)},onSwitchRole:function(e,t){k.emit(_["RM:RTC:SwitchRole"],{userId:e,role:t})},onTrackReady:function(e){e.isAudioTrack()&&e.play()},onUserJoin:function(e){console.log("onUserJoin",e)},onUserLeave:function(e){k.emit(_["RM:RTC:UserLeave"],e),console.log("onUserLeave",e)}});case 25:if((s=t.sent).room&&s.code===M.SUCCESS&&(u.joinedRoom=s.room),!o){t.next=33;break}return t.next=30,f(!1);case 30:u.videoStatus="liveing",t.next=37;break;case 33:return t.next=35,P([Zr],"camera",!1);case 35:return t.next=37,P([Gr],"microphone",!1);case 37:(d=localStorage.getItem(N))&&(Hr.volume=parseInt(d),m(parseInt(d))),t.next=45;break;case 41:t.prev=41,t.t0=t.catch(2),u.videoStatus="error",console.log(t.t0);case 45:case"end":return t.stop()}}),t,null,[[2,41]])})))()},closeLive:function(){u.videoStatus="stream"}},render:function(){return O("div",{class:ea},[(this.isLive,null),O("div",{class:[na]},[O(Se,{class:[ra,this.headerStatus?aa:null]},null)]),O("div",{class:ta},[O("video",{ref:ia},null),u.screenShareStatus?null:O(Xr,null,null),"liveing"===u.videoStatus?O($r,null,null):null]),O(Fr,null,null)])}}),sa="_container_1cod9_1",la="_dataCount_1cod9_6",ca="_num_1cod9_17",ua="_text_1cod9_22",da="_dataIcon_1cod9_26",fa="_tabContainer_1cod9_31",pa="_tabIcon_1cod9_31",ma="_point_1cod9_36",ha="_tabContent_1cod9_67",ba="_tabList_1cod9_73",ga="_message_4zab7_1",va="_buttonGroup_4zab7_1",wa=U({name:"message",data:function(){return{options:"ALL"}},mounted:function(){var e,t,n=null!==(e=c.user)&&void 0!==e&&e.roomConfig?JSON.parse(null===(t=c.user)||void 0===t?void 0:t.roomConfig):{};u.allowChatCtrl=0===n.whether_chat,u.allowSeatsCtrl=0===n.whether_mic},methods:{SeatsCtrl:function(){return l(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=c.user,n=null!=t&&t.roomConfig?JSON.parse(null==t?void 0:t.roomConfig):{},e.next=5,o.post("/api-web/imLiveBroadcastRoom/update",{requestType:"json",data:{id:t.id,liveRemark:t.liveRemark,liveStartTime:t.liveStartTime,preTemplate:t.preTemplate,roomConfig:{whether_chat:n.whether_chat,whether_like:n.whether_like,whether_mic:u.allowSeatsCtrl?1:0,whether_video:n.whether_video},roomTitle:t.roomTitle,speakerId:t.speakerId,tenantId:t.tenantId}});case 5:return c.user.roomConfig=JSON.stringify({whether_chat:n.whether_chat,whether_like:n.whether_like,whether_mic:u.allowSeatsCtrl?1:0,whether_video:n.whether_video}),e.next=8,z(i({seatBan:u.allowSeatsCtrl},Y()),"SeatsCtrl");case 8:u.allowSeatsCtrl=!u.allowSeatsCtrl,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})))()},ChatBan:function(){return l(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=c.user,n=null!=t&&t.roomConfig?JSON.parse(null==t?void 0:t.roomConfig):{},e.next=5,o.post("/api-web/imLiveBroadcastRoom/update",{requestType:"json",data:{id:t.id,liveRemark:t.liveRemark,liveStartTime:t.liveStartTime,preTemplate:t.preTemplate,roomConfig:{whether_chat:u.allowChatCtrl?1:0,whether_like:n.whether_like,whether_video:n.whether_video,whether_mic:n.whether_mic},roomTitle:t.roomTitle,speakerId:t.speakerId,tenantId:t.tenantId}});case 5:return c.user.roomConfig=JSON.stringify({whether_chat:u.allowChatCtrl?1:0,whether_like:n.whether_like,whether_video:n.whether_video,whether_mic:n.whether_mic}),e.next=8,z(i({chatBan:u.allowChatCtrl},Y()),"ChatBan");case 8:u.allowChatCtrl=!u.allowChatCtrl,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})))()}},render:function(){return O("div",{class:ga},[O("div",{class:va},[O(q,{type:u.allowChatCtrl?"info":"primary",onClick:this.ChatBan},{default:function(){return[u.allowChatCtrl?"关闭聊天":"开启聊天"]}}),O(q,{type:u.allowSeatsCtrl?"info":"primary",onClick:this.SeatsCtrl},{default:function(){return[u.allowSeatsCtrl?"关闭连麦":"开启连麦"]}})])])}}),xa="_sendMessage_p2cnx_1",ya="_form_p2cnx_10",ka=ie({messageList:[],joinList:{},joinTips:!1,lookList:{}}),_a=ka,Sa=function(e){ka.messageList.push(e)},Ca=function(e,t){ka.joinTips=!0,ka.joinList[e]=t},Aa=function(e){delete ka.joinList[e]},Ra=function(e,t){ka.lookList[e]=t},Ta=U({data:function(){return{message:""}},methods:{onKeyDown:function(e){13===e.keyCode&&""!==this.message.trim()&&this.sendMessage()},sendMessage:function(){var e=this;return l(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,z(e.message);case 3:n=Y(),Sa({id:String(n.id),name:n.name,content:e.message,isSelf:!0,sendTime:se(new Date).format("HH:mm:ss")}),e.message="",e.scrollToBottom(),t.next=11;break;case 9:t.prev=9,t.t0=t.catch(0);case 11:case"end":return t.stop()}}),t,null,[[0,9]])})))()},scrollToBottom:function(){this.$nextTick((function(){var e,t;null===(e=document.querySelector("#tabList"))||void 0===e||e.scrollTo(0,(null===(t=document.querySelector("#messageList"))||void 0===t?void 0:t.scrollHeight)||0)}))}},render:function(){var e=this;return O("div",{class:xa},[O("div",{class:ya},[O(J,{modelValue:this.message,onKeydown:this.onKeyDown,onInput:function(t){return e.message=t},placeholder:"请输入消息"},null),O(q,{disabled:!this.message,onClick:this.sendMessage,round:!0,type:"primary"},{default:function(){return[D("发送")]}})])])}}),Ia="_itemContent_1nb8n_1",Ea="_itemInfo_1nb8n_11",La="_itemName_1nb8n_14",Ba="_userName_1nb8n_20",Ma="_name-style_1nb8n_26",Pa="_rightTime_1nb8n_30",Na="_itemText_1nb8n_38",za="_active_1nb8n_42",Ya="_joinText_1nb8n_45",Ua="_join_1nb8n_45",ja="_btn_1nb8n_54",Oa="_downBtn_1nb8n_66",Da="_loadingStyle_1nb8n_71",Ha="_slide-top-enter-active_1nb8n_78",Fa={"empty-container":"_empty-container_1svqd_1",icon:"_icon_1svqd_9"},Va=U({props:{text:{type:String,default:"暂无数据"},icon:{type:String,default:"noData-no-message"}},render:function(){return O("div",{class:Fa["empty-container"]},[O(re("SvgIcon"),{name:this.icon,class:[Fa.icon]},null),O("p",{class:Fa["empty-text"]},[this.text])])}}),Xa=U({data:function(){return{joinList:{},loadingJoin:!1,upStatus:!1,downStatus:!1}},computed:{count:function(){var e=0;for(var t in _a.joinList){if(Object.prototype.hasOwnProperty.call(_a.joinList,t))if(4===_a.joinList[t].userRoomType&&(e+=1),e>3)break}return e}},mounted:function(){k.on(_["RC:Chatroom:SeatApply"],this.onSeatApply),k.on(_["RC:Chatroom:SeatResponse"],this.onSeatApply),k.on(_["RM:RTC:UserLeave"],this.onSeatApply),k.on(_["RC:Chatroom:downSeat"],this.onDownSeat),k.on(_["RM:RTC:SwitchRole"],this.onSwitchRole),k.on(_["RC:Chatroom:Leave"],this.onLeave),k.on(_["RC:LookerLoginOut"],this.onLeave)},unmounted:function(){k.off(_["RC:Chatroom:SeatApply"],this.onSeatApply),k.off(_["RC:Chatroom:SeatResponse"],this.onSeatApply),k.off(_["RM:RTC:UserLeave"],this.onSeatApply),k.off(_["RM:RTC:SwitchRole"],this.onSwitchRole),k.off(_["RC:Chatroom:Leave"],this.onLeave),k.off(_["RC:LookerLoginOut"],this.onLeave)},methods:{onLeave:function(e){return l(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.userId||e.fromUserId,_a.joinList[n]&&Aa(n),_a.lookList[n]&&(r=n,delete ka.lookList[r],u.lookCount=u.lookCount-1>=0?u.lookCount-1:0),t.next=5,z({count:u.lookCount},"MemberCount");case 5:case"end":return t.stop()}var r}),t)})))()},onSeatApply:function(e){if(Array.isArray(e)){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;console.log("onSeatApply",a),Aa(a)}}catch(d){r.e(d)}finally{r.f()}}else{var i="RC:Chatroom:SeatResponse"===e.$EventMessage.messageType,o=i?4:3,s=se(e.$EventMessage.sentTime||new Date).format("HH:mm:ss"),l={name:e.audienceName,id:String(e.audienceId),system:1,isSelf:!1,content:"",sendTime:s};if(3===e.type){console.log(e,"申请连麦");var c={name:e.audienceName,id:e.audienceId,userRoomType:o,type:e.type};Ca(e.audienceId,c),Ra(e.audienceId,c),l.content=i?"同意了连麦申请":"发起了连麦申请",Sa(l),k.emit("MESSAGE:Change")}if(4===e.type){if(console.log(e,"取消连麦"),_a.joinList[e.audienceId]&&Aa(e.audienceId),_a.lookList[e.audienceId]){var u=_a.lookList[e.audienceId];u.userRoomType=1,Ra(e.audienceId,u)}l.content=i?"拒绝了连麦申请":"取消了连麦申请",Sa(l),k.emit("MESSAGE:Change")}}},agree:function(e){var t,n,r=this;if(this.count>3||this.upStatus)console.log(!0,2323);else{this.upStatus=!0;var a=i(i({},e),{},{audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(t=c.user)||void 0===t?void 0:t.id),teacherName:null===(n=c.user)||void 0===n?void 0:n.speakerName,userRoomType:4,type:1});Ca(e.id,a),Ra(e.id,a),z(a,"SeatResponse"),setTimeout((function(){r.upStatus=!1}),300)}},refuse:function(e){var t,n,r=this;if(!this.downStatus){this.downStatus=!0;var a=i(i({},e),{},{audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(t=c.user)||void 0===t?void 0:t.id),teacherName:null===(n=c.user)||void 0===n?void 0:n.speakerName,userRoomType:4,type:5});Ca(e.id,a),z(a,"SeatApply"),setTimeout((function(){r.downStatus=!1}),300)}},onDownSeat:function(e){if(console.log(e,"onDownSeat"),_a.joinList[e.audienceId]){var t,n=_a.joinList[e.audienceId],r=se(new Date).format("HH:mm:ss");console.log(e.$EventMessage.senderUserId,null===(t=c.user)||void 0===t?void 0:t.speakerId,"onDownSeat");var a=5==n.type?"被报下麦":"取消了连麦申请",i={name:e.audienceName,id:e.audienceId,system:1,isSelf:!1,content:a,sendTime:r};Sa(i),k.emit("MESSAGE:Change"),Aa(e.audienceId)}},onSwitchRole:function(e){if(console.log(e,"onSwitchRole"),_a.lookList[e.userId]&&2===e.role){var t=_a.lookList[e.userId];t.userRoomType=1,Ra(e.userId,t)}}},render:function(){var e=this,t=Object.values(_a.joinList);return O("div",{style:{minHeight:"100%",position:"relative"}},[t.length>0?t.map((function(t){return O("div",{class:Ia},[O("div",{class:Ea},[O("div",{class:La},[O("p",{class:Ba},[O("span",{class:Ma},[t.name]),4!==t.userRoomType?O("span",{style:{paddingLeft:"10px"}},[D("申请连麦")]):O("span",{style:{paddingLeft:"10px",color:"var(--live-text-color)"}},[D("正在连麦")])]),4!==t.userRoomType?O("div",{class:Ya},[O("div",{class:Ua},null),O(q,{size:"small",type:"primary",disabled:e.count>3,class:ja,onClick:function(){return e.agree(t)}},{default:function(){return[D("上麦")]}})]):O("div",{class:Ya},[O("div",{class:Ua},null),O(q,{size:"small",plain:!0,class:[ja,Oa],onClick:function(){return e.refuse(t)}},{default:function(){return[D("下麦")]}})])])])])})):this.loadingJoin?O("div",{class:Da},[O("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[O("div",{class:"el-loading-spinner"},[O("svg",{class:"circular",viewBox:"25 25 50 50"},[O("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):O(Va,{style:{paddingTop:"120px"},text:"暂无学员发起连麦!",icon:"noData-no-join"},null)])}}),qa=U({data:function(){return{loadingLook:!1,upStatus:!1,downStatus:!1}},computed:{count:function(){var e=0;for(var t in _a.lookList)if(Object.prototype.hasOwnProperty.call(_a.lookList,t)){var n=_a.lookList[t];if(2!==n.userRoomType&&4!==n.userRoomType||(e+=1),e>3)break}return e}},mounted:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e._init();case 2:e.loadingLook=!0,k.on(_["RC:Chatroom:Welcome"],e.onWelcome),setTimeout((function(){e.loadingLook=!1}));case 5:case"end":return t.stop()}}),t)})))()},methods:{_init:function(){return l(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=sessionStorage.getItem("roomUid"),e.next=4,o.get("/api-web/imLiveBroadcastRoom/queryRoomUserInfo",{params:{roomUid:t}});case 4:n=e.sent,n.data.forEach((function(e){_a.lookList[e.userId]||(_a.lookList[e.userId]={id:e.userId,name:e.userName,type:3,userRoomType:1,time:se().format("YYYY-MM-DD HH:mm:ss")})})),e.next=11;break;case 9:e.prev=9,e.t0=e.catch(0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})))()},onWelcome:function(e){var t=this;return l(regeneratorRuntime.mark((function n(){var r,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e||!e.user){n.next=8;break}return r=se(e.$EventMessage.sentTime||new Date).format("HH:mm:ss"),a={name:e.user.name,id:e.user.id,sendTime:r,userRoomType:1,type:3},!!_a.lookList[a.id]||(Ra(a.id,a),console.log("添加观看人员",a),u.lookCount+=1),n.next=7,z({count:u.lookCount},"MemberCount");case 7:t.loadingLook=!1;case 8:case"end":return n.stop()}}),n)})))()},onUpLook:function(e){var t=this;return l(regeneratorRuntime.mark((function n(){var r,a,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,console.log(t.count,_a.lookList,"this.count, runtimeModel.lookList"),!(t.count>3)){n.next=4;break}return n.abrupt("return");case 4:return i={audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(r=c.user)||void 0===r?void 0:r.id),teacherName:null===(a=c.user)||void 0===a?void 0:a.speakerName,userRoomType:2,type:1},e.userRoomType=2,n.next=8,z(i,"SeatApply");case 8:n.next=12;break;case 10:n.prev=10,n.t0=n.catch(0);case 12:case"end":return n.stop()}}),n,null,[[0,10]])})))()},onDownLook:function(e){return l(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{a=i(i({},e),{},{audienceName:e.name,audienceId:String(e.id),teacherId:String(null===(n=c.user)||void 0===n?void 0:n.id),teacherName:null===(r=c.user)||void 0===r?void 0:r.speakerName,type:5}),Ca(e.id,a),z(a,"SeatApply")}catch(o){}case 1:case"end":return t.stop()}}),t)})))()}},render:function(){var e=this,t=Object.values(_a.lookList);return O("div",null,[t.length>0?t.map((function(t){return O("div",{class:Ia},[O("div",{class:Ea},[O("div",{class:La},[O("p",{class:Ba},[O("span",{class:Ma},[t.name])]),4!==t.userRoomType?O(q,{size:"small",type:"primary",disabled:e.count>3||2===t.userRoomType||"liveing"!==u.videoStatus,class:ja,onClick:function(){return e.onUpLook(t)}},{default:function(){return[D("上麦")]}}):O(q,{size:"small",plain:!0,class:[ja,Oa],onClick:function(){return e.onDownLook(t)}},{default:function(){return[D("下麦")]}})])])])})):this.loadingLook?O("div",{class:Da},[O("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[O("div",{class:"el-loading-spinner"},[O("svg",{class:"circular",viewBox:"25 25 50 50"},[O("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):O(Va,{style:{paddingTop:"120px"},text:"暂无学员观看!",icon:"noData-no-user"},null)])}}),Ka=U({data:function(){return{messageList:[],loadingMessage:!1}},mounted:function(){var e=this;this.loadingMessage=!0,k.on(_["RC:TxtMsg"],this.onMessage),k.on(_["RC:ForcedOffline"],this.onForcedOffline),k.on("MESSAGE:Change",this.scrollToBottom),setTimeout((function(){e.loadingMessage=!1}),2e3),this.scrollToBottom()},beforeUnmount:function(){k.off(_["RC:TxtMsg"],this.onMessage)},methods:{onForcedOffline:function(){var e=this;return l(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a();case 3:return t.next=5,o.post("/api-auth/exit",{data:{}});case 5:s("camera"),s("microphone"),u.syncLikeTimer&&clearTimeout(u.syncLikeTimer),c.user=null,d(),e.$router.push({path:"/login",query:i({},e.$route.query)}),t.next=15;break;case 13:t.prev=13,t.t0=t.catch(0);case 15:case"end":return t.stop()}}),t,null,[[0,13]])})))()},onLike:function(e){if(e&&e.user){var t,n=se(e.$EventMessage.sentTime||new Date).format("HH:mm:ss");console.log(e,"like");var r={name:null===(t=e.user)||void 0===t?void 0:t.name,id:e.user.id,isSelf:!1,content:"给您点了"+e.counts+"个赞",sendTime:n};Sa(r),this.loadingMessage=!1}this.scrollToBottom()},onMessage:function(e){if(e&&e.user){var t,n=se(e.$EventMessage.sentTime||new Date).format("HH:mm:ss"),r={name:null===(t=e.user)||void 0===t?void 0:t.name,id:e.user.id,isSelf:!1,content:e.content,sendTime:n};e.user.id===c.user.speakerId&&(r.isSelf=!0),Sa(r),this.loadingMessage=!1}this.scrollToBottom()},scrollToBottom:function(){this.$nextTick((function(){var e,t;null===(e=document.querySelector("#tabList"))||void 0===e||e.scrollTo(0,(null===(t=document.querySelector("#messageList"))||void 0===t?void 0:t.scrollHeight)||0)}))}},render:function(){return O("div",{style:{minHeight:"100%",position:"relative"},id:"messageList"},[_a.messageList.length>0?_a.messageList.map((function(e){return O("div",{class:[Ia,Ha]},[O("div",{class:Ea},[O("div",{class:La},[O("div",{class:Ba},[e.isSelf?O(ce,{effect:"dark",color:"#01A79E"},{default:function(){return[D("主讲人")]}}):null,O("span",{class:Ma},[e.name,e.system?null:":"]),O("span",{class:[Na,e.isSelf?za:null]},[e.content])]),O("p",{class:Pa},[e.sendTime])])])])})):this.loadingMessage?O("div",{class:Da},[O("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[O("div",{class:"el-loading-spinner"},[O("svg",{class:"circular",viewBox:"25 25 50 50"},[O("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):O(Va,{style:{paddingTop:"120px"},text:"暂无学员互动!",icon:"noData-no-message"},null)])}}),Wa=U({name:"LiveMessage",data:function(){return{modelIndex:"message"}},computed:{joinStatus:function(){var e=_a.joinTips,t=Object.values(_a.joinList);return(_a.joinTips&&"join"===this.modelIndex||t.length<=0)&&(e=!1,_a.joinTips=!1),e}},methods:{tabChange:function(e){this.modelIndex=e.props.name,"message"===this.modelIndex&&this.$refs.messageModel.scrollToBottom()}},render:function(){var e=this;return O("div",{class:sa},[O("div",{class:la},[O("div",null,[O("p",{class:ca},[u.lookCount]),O("p",{class:ua},[O(re("SvgIcon"),{name:"message-look",color:"#fff",class:da},null),D("当前观看")])]),O("div",null,[O("p",{class:ca},[u.likeCount]),O("p",{class:ua},[O(re("SvgIcon"),{name:"message-giveUp",color:"#fff",class:da},null),D("累计点赞")])])]),O(ue,{modelValue:this.modelIndex,"onTab-click":this.tabChange,class:fa},{default:function(){return[O(de,{name:"message"},{label:function(){return O("span",{style:{display:"flex",alignItems:"center"}},[O(re("SvgIcon"),{name:"message-message",color:"message"===e.modelIndex?"#00FFF0":"#fff",class:pa},null),D("聊天")])}}),O(de,{name:"join"},{label:function(){return O("span",{style:{display:"flex",alignItems:"center",position:"relative"}},[O(re("SvgIcon"),{name:"message-evenEtc",color:"join"===e.modelIndex?"#00FFF0":"#fff",class:pa},null),D("连麦 "),e.joinStatus?O("i",{class:ma},null):null])}}),O(de,{name:"look"},{label:function(){return O("span",{style:{display:"flex",alignItems:"center"}},[O(re("SvgIcon"),{name:"message-look",color:"look"===e.modelIndex?"#00FFF0":"#fff",class:pa},null),D("观看")])}})]}}),O("div",{class:ha},[O(wa,null,null),O("div",{class:ba,id:"tabList"},[fe(O(Ka,{ref:"messageModel"},null),[[pe,"message"===this.modelIndex]]),fe(O(Xa,null,null),[[pe,"join"===this.modelIndex]]),fe(O(qa,null,null),[[pe,"look"===this.modelIndex]])]),O(Ta,null,null)])])}}),Qa="_container_13n1h_1",Ja="_home_13n1h_4";r("default",U({render:function(){return O("div",{class:Ja},[O(ye,null,null),O("div",{class:Qa},[O(oa,null,null),O(Wa,null,null)])])}}))}}}))}();
|