index.73f8c7e5.js 104 KB

123456789101112131415161718192021222324252627282930313233343536
  1. var zn=Object.defineProperty,Kn=Object.defineProperties;var Yn=Object.getOwnPropertyDescriptors;var Pt=Object.getOwnPropertySymbols;var qn=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable;var Nt=(e,t,n)=>t in e?zn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||(t={}))qn.call(t,n)&&Nt(e,n,t[n]);if(Pt)for(var n of Pt(t))Gn.call(t,n)&&Nt(e,n,t[n]);return e},Me=(e,t)=>Kn(e,Yn(t));import{l as ln,r as ue,c as de,s as P,a as f,b as Et,e as O,d as cn,f as Qn,g as Ut,h as Jn,i as un,t as $n,o as Ot,S as Ae,j as dn,k as fn,m as Xn,n as ne,p as Zn,L as j,V as eo,A as to,q as no,u as oo,v as ro,w as io,x as so,y as Ht,z as ao,B as lo,T as Vt,C as jt,D as co,E as ie,F as mt}from"./index.66804c4e.js";import{d as q,k as me,a as s,t as C,v as gt,x as pt,y as yt,l as Je,A as Z,B as uo,i as hn,C as mn,D as vt,F as gn,G as fo,H as ho,I as pn,J as mo,K as $e,j as Tt,L as go,h as Bt,r as te,M as po,N as yo,O as vo,P as wo,Q as Xe,R as Ze,S as et}from"./vendor.fef4890b.js";const bo="_liveHeader_turek_1",Co="_liveLogo_turek_12",So="_liveHeaderLeft_turek_17",Ao="_liveHeaderLeftIcon_turek_23",Eo="_liveHeaderLeftText_turek_27",To="_avatarWrapper_turek_30",Bo="_userAvatar_turek_37";var ae={liveHeader:bo,liveLogo:Co,liveHeaderLeft:So,liveHeaderLeftIcon:Ao,liveHeaderLeftText:Eo,avatarWrapper:To,userAvatar:Bo},Io="./assets/wifi.fbaa2f05.svg",Lo="./assets/wifi1.a1823335.svg",Ro="./assets/wifi2.80304924.svg",_o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAJy0lEQVRYR62Ze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cF9czJqvXx79/22itwCQna2LjQmT/bMnUMUDOqHejSo6qqgRslEkhND+hhBCd1ZVlCOxkeF7Tl++fpjs7Dv+G+K/XpA1Lg9OfHQAAAAASUVORK5CYII=",ko=q({data(){return{iceCandidatePair:null}},methods:{async loginOut(){try{await ln(),await ue.post("/api-auth/exit",{data:{}}),de("camera"),de("microphone"),P.user=null,f.syncLikeTimer&&clearTimeout(f.syncLikeTimer),me.success("\u9000\u51FA\u6210\u529F"),Et(),this.$router.push({path:"/login",query:$({},this.$route.query)})}catch{}},onStateReport(e){this.iceCandidatePair=e.iceCandidatePair},getWifiICon(e){return e>=2e3?Io:e>=1e3?Lo:Ro}},mounted(){O.on("onStateReport",this.onStateReport)},beforeUnmount(){O.off("onStateReport",this.onStateReport)},render(){var t,n,o;const e=this.iceCandidatePair;return s("div",{class:ae.liveHeader},[s("div",{class:ae.liveHeaderLeft},[s("div",{class:ae.liveHeaderLeftIcon},[s("img",{class:ae.liveLogo,src:(t=P.user)==null?void 0:t.tenantLogo,alt:""},null),(n=P.user)==null?void 0:n.tenantName]),s("div",{class:ae.liveHeaderLeftText},[C("\u300A"),(o=P.user)==null?void 0:o.roomTitle,C("\u300B")])]),s(gt,{trigger:"hover",placement:"bottom-end"},{default:()=>{var i,r,a;return[s("div",{class:ae.avatarWrapper},[f.videoStatus==="liveing"&&e?s("div",{style:{background:"#5E626D",borderRadius:"6px",width:"113px",height:"32px",lineHeight:"32px",marginRight:"10px",textAlign:"center",display:"flex",justifyContent:"center"}},[s("span",{style:{fontSize:"14px",color:"#fff",flex:1}},[e.bitrateSend,C("kbps")]),s("img",{style:{marginLeft:"5px",marginRight:"10px",width:"20px"},src:this.getWifiICon(e.bitrateSend)},null)]):null,((i=P.user)==null?void 0:i.speakerPic)?s("img",{class:ae.userAvatar,src:(r=P.user)==null?void 0:r.speakerPic},null):s("img",{class:ae.userAvatar,src:_o},null),s("span",null,[(a=P.user)==null?void 0:a.speakerName])])]},dropdown:()=>s(pt,null,{default:()=>[s(yt,{command:"1",onClick:this.loginOut},{default:()=>[s("span",null,[C("\u5B89\u5168\u9000\u51FA")])]})]})})])}});const Mo="_header_nc46v_1",xo="_title_nc46v_10";var Wt={header:Mo,title:xo},Fo=q({name:"LiveBroadcastHeader",methods:{async startLive(){try{await Je.confirm("\u5F00\u542F\u540E\u5B66\u751F\u5C06\u770B\u5230\u89C6\u9891\u753B\u9762","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}),await cn(),me.success("\u5F00\u542F\u6210\u529F")}catch(e){console.log(e)}},async closeLive(){try{await Je.confirm("\u5173\u95ED\u540E\u5C06\u5207\u65AD\u89C6\u9891\uFF0C\u5B66\u751F\u4E0D\u53EF\u89C2\u770B","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}),await Qn(),me.success("\u5173\u95ED\u6210\u529F")}catch{}},async closeRoom(){var e;try{await Je.confirm("\u7ED3\u675F\u540E\u5C06\u65E0\u6CD5\u8FDB\u5165\u76F4\u64AD\u95F4","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"});const t=(e=P.user)==null?void 0:e.id;await ue.get("/api-web/imLiveBroadcastRoom/roomDestroy/"+t,{}),de("camera"),de("microphone"),P.user=null,Et(),me.success("\u7ED3\u675F"),this.$router.push({path:"/login",query:$({},this.$route.query)})}catch{}}},render(){var e;return s("div",{class:Wt.header},[s("h3",{class:Wt.title},[C("\u76F4\u64AD\u5185\u5BB9\uFF1A"),(e=P.user)==null?void 0:e.liveRemark]),s("div",null,[f.videoStatus==="liveing"?s(Z,{type:"danger",color:"#01A79E",onClick:this.closeLive},{default:()=>[C("\u6682\u505C\u76F4\u64AD")]}):s(Z,{type:"primary",color:"#01A79E",onClick:this.startLive},{default:()=>[C("\u5F00\u542F\u76F4\u64AD")]}),s(Z,{type:"primary",color:"#EA4132",onClick:this.closeRoom},{default:()=>[C("\u7ED3\u675F\u76F4\u64AD")]})])])}}),Do=`<?xml version="1.0" encoding="UTF-8"?>
  2. <svg width="22px" height="22px" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  3. <title>\u9EA6\u514B\u98CE\uFF08\u542F\u52A8\u4E2D\uFF09</title>
  4. <g id="\u540E\u53F0\u76F4\u64AD\u754C\u9762" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  5. <g id="\u56FE\u6807\u9875\u9762\u72B6\u6001" transform="translate(-67.000000, -244.000000)">
  6. <g id="\u7F16\u7EC4-25\u5907\u4EFD-3" transform="translate(56.000000, 239.000000)">
  7. <g id="\u9EA6\u514B\u98CE\uFF08\u542F\u52A8\u4E2D\uFF09" transform="translate(11.000000, 5.000000)">
  8. <rect id="\u77E9\u5F62" x="0" y="0" width="22" height="22"></rect>
  9. <path d="M19,10.85 C19,15.102 15.786,18.626 11.632,19.177 L11.632,19.88 C11.632,20.496 11.122,21 10.5,21 C9.877,21 9.367,20.496 9.367,19.88 L9.367,19.177 C5.213,18.626 2,15.105 2,10.85 C2,10.334 2.423,9.915 2.945,9.915 C3.467,9.915 3.891,10.334 3.891,10.85 C3.891,14.455 6.856,17.386 10.502,17.386 C14.148,17.386 17.113,14.455 17.113,10.85 C17.113,10.334 17.537,9.915 18.059,9.915 C18.581,9.915 19.002,10.334 19,10.85 Z" id="\u8DEF\u5F84" fill="#FFFFFF"></path>
  10. <path d="M7,7.83993935 L14,7.83993935 L14,10.5000027 C14,12.4329993 12.4329966,14.0000027 10.5,14.0000027 C8.56700338,14.0000027 7,12.4329993 7,10.5000027 L7,7.83993935 L7,7.83993935 Z" id="microphone-content-svg" fill="#2DC7AA"></path>
  11. <path d="M10.554,1 C13.2296842,1.00194737 15.4123767,3.12944737 15.5281717,5.79751675 L15.533,6.015 L15.533,10.339 C15.529,13.108 13.302,15.352 10.554,15.354 C7.87928947,15.3510789 5.6985187,13.2235533 5.58374736,10.5564064 L5.579,10.339 L5.579,6.015 C5.581,3.247 7.807,1.004 10.554,1 Z M10.554,2.999 L10.3822831,3.00534888 C8.87978198,3.09547648 7.67258605,4.31266034 7.58418786,5.83771274 L7.57899948,6.015 L7.57899948,10.3375549 C7.58020489,12.0058476 8.91580953,13.3522097 10.5525444,13.3540005 C12.135134,13.3528487 13.4347128,12.1006072 13.5276824,10.5163484 L13.5330012,10.339 L13.5330012,6.01716685 C13.5312573,4.40761068 12.2878451,3.09780557 10.7272071,3.00522987 L10.554,2.999 Z" id="\u8DEF\u5F84" fill="#FFFFFF" fill-rule="nonzero"></path>
  12. </g>
  13. </g>
  14. </g>
  15. </g>
  16. </svg>
  17. `;const Po="_volumeSlider_1akc3_71",No="_volumeIcon_1akc3_80",Uo="_btnInner_1akc3_85";var X={"action-bar":"_action-bar_1akc3_1","bar-btn":"_bar-btn_1akc3_12","bar-btn-text":"_bar-btn-text_1akc3_19",volumeSlider:Po,volumeIcon:No,btnInner:Uo};const Oo="_shareWrap_d61fv_1",Ho="_shareBtn_d61fv_27";var re={shareWrap:Oo,shareBtn:Ho};function Vo(){let e=window.location.href,t="";return/online/.test(e)?t="https://mstuonline.dayaedu.com":/dev/.test(e)?t="http://mstudev.dayaedu.com":/test/.test(e)?t="http://mstutest.dayaedu.com":t="http://mstudev.dayaedu.com",t}var yn=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function l(u){try{d(o.next(u))}catch(m){a(m)}}function c(u){try{d(o.throw(u))}catch(m){a(m)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((o=o.apply(e,t||[])).next())})};const zt="application/font-woff",Kt="image/jpeg",jo={woff:zt,woff2:zt,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Kt,jpeg:Kt,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function Wo(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function Ne(e){const t=Wo(e).toLowerCase();return jo[t]||""}function zo(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;const n=document.implementation.createHTMLDocument(),o=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(o),n.body.appendChild(i),t&&(o.href=t),i.href=e,i.href}function wt(e){return e.search(/^(data:)/)!==-1}function Ue(e,t){return`data:${t};base64,${e}`}function Ko(e){return e.split(/,/)[1]}const Yo=function(){let t=0;const n=()=>`0000${(Math.random()*Math.pow(36,4)<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${n()}${t}`)}();function fe(e){const t=[];for(let n=0,o=e.length;n<o;n+=1)t.push(e[n]);return t}function Oe(e,t){const n=window.getComputedStyle(e).getPropertyValue(t);return parseFloat(n.replace("px",""))}function qo(e){const t=Oe(e,"border-left-width"),n=Oe(e,"border-right-width");return e.clientWidth+t+n}function Go(e){const t=Oe(e,"border-top-width"),n=Oe(e,"border-bottom-width");return e.clientHeight+t+n}function Qo(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}function It(e){return new Promise((t,n)=>{const o=new Image;o.onload=()=>t(o),o.onerror=n,o.crossOrigin="anonymous",o.decoding="sync",o.src=e})}function Jo(e){return yn(this,void 0,void 0,function*(){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)})}function $o(e,t,n){return yn(this,void 0,void 0,function*(){const o="http://www.w3.org/2000/svg",i=document.createElementNS(o,"svg"),r=document.createElementNS(o,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${n}`),i.setAttribute("viewBox",`0 0 ${t} ${n}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),i.appendChild(r),r.appendChild(e),Jo(i)})}const tt={};function Xo(e){let t=e.replace(/\?.*/,"");return/ttf|otf|eot|woff2?/i.test(t)&&(t=t.replace(/.*\//,"")),t}function Lt(e,t){const n=Xo(e);if(tt[n]!=null)return tt[n];t.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());const o=r=>{let a="";if(t.imagePlaceholder){const c=t.imagePlaceholder.split(/,/);c&&c[1]&&(a=c[1])}let l=`Failed to fetch resource: ${e}`;return r&&(l=typeof r=="string"?r:r.message),l&&console.error(l),{blob:a,contentType:""}},i=window.fetch(e).then(r=>r.blob().then(a=>({blob:a,contentType:r.headers.get("Content-Type")||""}))).then(({blob:r,contentType:a})=>new Promise((l,c)=>{const d=new FileReader;d.onloadend=()=>l({contentType:a,blob:d.result}),d.onerror=c,d.readAsDataURL(r)})).then(({blob:r,contentType:a})=>({contentType:a,blob:Ko(r)})).catch(o);return tt[n]=i,i}function Zo(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function er(e){return fe(e).map(t=>{const n=e.getPropertyValue(t),o=e.getPropertyPriority(t);return`${t}: ${n}${o?" !important":""};`}).join(" ")}function tr(e,t,n){const o=`.${e}:${t}`,i=n.cssText?Zo(n):er(n);return document.createTextNode(`${o}{${i}}`)}function Yt(e,t,n){const o=window.getComputedStyle(e,n),i=o.getPropertyValue("content");if(i===""||i==="none")return;const r=Yo();try{t.className=`${t.className} ${r}`}catch{return}const a=document.createElement("style");a.appendChild(tr(r,n,o)),t.appendChild(a)}function nr(e,t){Yt(e,t,":before"),Yt(e,t,":after")}var Ce=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function l(u){try{d(o.next(u))}catch(m){a(m)}}function c(u){try{d(o.throw(u))}catch(m){a(m)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((o=o.apply(e,t||[])).next())})};function or(e){return Ce(this,void 0,void 0,function*(){const t=e.toDataURL();return t==="data:,"?Promise.resolve(e.cloneNode(!1)):It(t)})}function rr(e,t){return Ce(this,void 0,void 0,function*(){return Promise.resolve(e.poster).then(n=>Lt(n,t)).then(n=>Ue(n.blob,Ne(e.poster)||n.contentType)).then(n=>It(n))})}function ir(e,t){return Ce(this,void 0,void 0,function*(){return e instanceof HTMLCanvasElement?or(e):e instanceof HTMLVideoElement&&e.poster?rr(e,t):Promise.resolve(e.cloneNode(!1))})}const sr=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";function ar(e,t,n){var o;return Ce(this,void 0,void 0,function*(){const i=sr(e)&&e.assignedNodes?fe(e.assignedNodes()):fe(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes);return i.length===0||e instanceof HTMLVideoElement?Promise.resolve(t):i.reduce((r,a)=>r.then(()=>vn(a,n)).then(l=>{l&&t.appendChild(l)}),Promise.resolve()).then(()=>t)})}function lr(e,t){const n=window.getComputedStyle(e),o=t.style;!o||(n.cssText?o.cssText=n.cssText:fe(n).forEach(i=>{o.setProperty(i,n.getPropertyValue(i),n.getPropertyPriority(i))}))}function cr(e,t){e instanceof HTMLTextAreaElement&&(t.innerHTML=e.value),e instanceof HTMLInputElement&&t.setAttribute("value",e.value)}function ur(e,t){return Ce(this,void 0,void 0,function*(){return t instanceof Element?Promise.resolve().then(()=>lr(e,t)).then(()=>nr(e,t)).then(()=>cr(e,t)).then(()=>t):Promise.resolve(t)})}function vn(e,t,n){return Ce(this,void 0,void 0,function*(){return!n&&t.filter&&!t.filter(e)?Promise.resolve(null):Promise.resolve(e).then(o=>ir(o,t)).then(o=>ar(e,o,t)).then(o=>ur(e,o))})}var dr=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function l(u){try{d(o.next(u))}catch(m){a(m)}}function c(u){try{d(o.throw(u))}catch(m){a(m)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((o=o.apply(e,t||[])).next())})};const wn=/url\((['"]?)([^'"]+?)\1\)/g,fr=/url\([^)]+\)\s*format\((["'])([^"']+)\1\)/g,hr=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function mr(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function gr(e){const t=[];return e.replace(wn,(n,o,i)=>(t.push(i),n)),t.filter(n=>!wt(n))}function pr(e,t,n,o,i){const r=n?zo(t,n):t;return Promise.resolve(r).then(a=>i?i(a):Lt(a,o)).then(a=>typeof a=="string"?Ue(a,Ne(t)):Ue(a.blob,Ne(t)||a.contentType)).then(a=>e.replace(mr(t),`$1${a}$3`)).then(a=>a,()=>r)}function yr(e,{preferredFontFormat:t}){return t?e.replace(hr,n=>{for(;;){const[o,,i]=fr.exec(n)||[];if(!i)return"";if(i===t)return`src: ${o};`}}):e}function bn(e){return e.search(wn)!==-1}function Cn(e,t,n){return dr(this,void 0,void 0,function*(){if(!bn(e))return Promise.resolve(e);const o=yr(e,n);return Promise.resolve(o).then(gr).then(i=>i.reduce((r,a)=>r.then(l=>pr(l,a,t,n)),Promise.resolve(o)))})}var je=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function l(u){try{d(o.next(u))}catch(m){a(m)}}function c(u){try{d(o.throw(u))}catch(m){a(m)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((o=o.apply(e,t||[])).next())})};function vr(e,t){var n;return je(this,void 0,void 0,function*(){const o=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue("background");return o?Promise.resolve(o).then(i=>Cn(i,null,t)).then(i=>(e.style.setProperty("background",i,e.style.getPropertyPriority("background")),e)):Promise.resolve(e)})}function wr(e,t){return je(this,void 0,void 0,function*(){if(!(e instanceof HTMLImageElement&&!wt(e.src))&&!(e instanceof SVGImageElement&&!wt(e.href.baseVal)))return Promise.resolve(e);const n=e instanceof HTMLImageElement?e.src:e.href.baseVal;return Promise.resolve(n).then(o=>Lt(o,t)).then(o=>Ue(o.blob,Ne(n)||o.contentType)).then(o=>new Promise((i,r)=>{e.onload=i,e.onerror=r,e instanceof HTMLImageElement?(e.srcset="",e.src=o):e.href.baseVal=o})).then(()=>e,()=>e)})}function br(e,t){return je(this,void 0,void 0,function*(){const o=fe(e.childNodes).map(i=>Sn(i,t));return Promise.all(o).then(()=>e)})}function Sn(e,t){return je(this,void 0,void 0,function*(){return e instanceof Element?Promise.resolve(e).then(n=>vr(n,t)).then(n=>wr(n,t)).then(n=>br(n,t)):Promise.resolve(e)})}function Cr(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const o=t.style;return o!=null&&Object.keys(o).forEach(i=>{n[i]=o[i]}),e}var Le=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function l(u){try{d(o.next(u))}catch(m){a(m)}}function c(u){try{d(o.throw(u))}catch(m){a(m)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((o=o.apply(e,t||[])).next())})};const qt={};function Gt(e){const t=qt[e];if(t!=null)return t;const n=window.fetch(e).then(o=>({url:e,cssText:o.text()}));return qt[e]=n,n}function Qt(e){return Le(this,void 0,void 0,function*(){return e.cssText.then(t=>{let n=t;const o=/url\(["']?([^"')]+)["']?\)/g,r=(n.match(/url\([^)]+\)/g)||[]).map(a=>{let l=a.replace(o,"$1");return l.startsWith("https://")||(l=new URL(l,e.url).href),window.fetch(l).then(c=>c.blob()).then(c=>new Promise((d,u)=>{const m=new FileReader;m.onloadend=()=>{n=n.replace(a,`url(${m.result})`),d([a,m.result])},m.onerror=u,m.readAsDataURL(c)}))});return Promise.all(r).then(()=>n)})})}function Jt(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let o=e.replace(n,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=i.exec(o);if(c===null)break;t.push(c[0])}o=o.replace(i,"");const r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",l=new RegExp(a,"gi");for(;;){let c=r.exec(o);if(c===null){if(c=l.exec(o),c===null)break;r.lastIndex=l.lastIndex}else l.lastIndex=r.lastIndex;t.push(c[0])}return t}function Sr(e){return Le(this,void 0,void 0,function*(){const t=[],n=[];return e.forEach(o=>{if("cssRules"in o)try{fe(o.cssRules).forEach((i,r)=>{if(i.type===CSSRule.IMPORT_RULE){let a=r+1;const l=i.href,c=Gt(l).then(d=>d?Qt(d):"").then(d=>Jt(d).forEach(u=>{try{o.insertRule(u,u.startsWith("@import")?a+=1:o.cssRules.length)}catch(m){console.error("Error inserting rule from remote css",{rule:u,error:m})}})).catch(d=>{console.error("Error loading remote css",d.toString())});n.push(c)}})}catch(i){const r=e.find(a=>a.href==null)||document.styleSheets[0];o.href!=null&&n.push(Gt(o.href).then(a=>a?Qt(a):"").then(a=>Jt(a).forEach(l=>{r.insertRule(l,o.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a.toString())})),console.error("Error inlining remote css file",i.toString())}}),Promise.all(n).then(()=>(e.forEach(o=>{if("cssRules"in o)try{fe(o.cssRules).forEach(i=>{t.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${o.href}`,i.toString())}}),t))})}function Ar(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>bn(t.style.getPropertyValue("src")))}function Er(e){return Le(this,void 0,void 0,function*(){return new Promise((t,n)=>{e.ownerDocument==null&&n(new Error("Provided element is not within a Document")),t(fe(e.ownerDocument.styleSheets))}).then(t=>Sr(t)).then(Ar)})}function Tr(e,t){return Le(this,void 0,void 0,function*(){return Er(e).then(n=>Promise.all(n.map(o=>{const i=o.parentStyleSheet?o.parentStyleSheet.href:null;return Cn(o.cssText,i,t)}))).then(n=>n.join(`
  18. `))})}function Br(e,t){return Le(this,void 0,void 0,function*(){return(t.fontEmbedCSS!=null?Promise.resolve(t.fontEmbedCSS):Tr(e,t)).then(n=>{const o=document.createElement("style"),i=document.createTextNode(n);return o.appendChild(i),e.firstChild?e.insertBefore(o,e.firstChild):e.appendChild(o),e})})}var Rt=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function l(u){try{d(o.next(u))}catch(m){a(m)}}function c(u){try{d(o.throw(u))}catch(m){a(m)}}function d(u){u.done?r(u.value):i(u.value).then(l,c)}d((o=o.apply(e,t||[])).next())})};function An(e,t={}){const n=t.width||qo(e),o=t.height||Go(e);return{width:n,height:o}}function Ir(e,t={}){return Rt(this,void 0,void 0,function*(){const{width:n,height:o}=An(e,t);return Promise.resolve(e).then(i=>vn(i,t,!0)).then(i=>Br(i,t)).then(i=>Sn(i,t)).then(i=>Cr(i,t)).then(i=>$o(i,n,o))})}const Q=16384;function Lr(e){(e.width>Q||e.height>Q)&&(e.width>Q&&e.height>Q?e.width>e.height?(e.height*=Q/e.width,e.width=Q):(e.width*=Q/e.height,e.height=Q):e.width>Q?(e.height*=Q/e.width,e.width=Q):(e.width*=Q/e.height,e.height=Q))}function Rr(e,t={}){return Rt(this,void 0,void 0,function*(){return Ir(e,t).then(It).then(n=>{const o=document.createElement("canvas"),i=o.getContext("2d"),r=t.pixelRatio||Qo(),{width:a,height:l}=An(e,t),c=t.canvasWidth||a,d=t.canvasHeight||l;return o.width=c*r,o.height=d*r,t.skipAutoScale||Lr(o),o.style.width=`${c}`,o.style.height=`${d}`,t.backgroundColor&&(i.fillStyle=t.backgroundColor,i.fillRect(0,0,o.width,o.height)),i.drawImage(n,0,0,o.width,o.height),o})})}function _r(e,t={}){return Rt(this,void 0,void 0,function*(){return Rr(e,t).then(n=>n.toDataURL())})}var En={exports:{}};/*!
  19. * clipboard.js v2.0.10
  20. * https://clipboardjs.com/
  21. *
  22. * Licensed MIT © Zeno Rocha
  23. */(function(e,t){(function(o,i){e.exports=i()})(hn,function(){return function(){var n={686:function(r,a,l){l.d(a,{default:function(){return Wn}});var c=l(279),d=l.n(c),u=l(370),m=l.n(u),p=l(817),y=l.n(p);function g(M){try{return document.execCommand(M)}catch{return!1}}var w=function(B){var E=y()(B);return g("cut"),E},I=w;function b(M){var B=document.documentElement.getAttribute("dir")==="rtl",E=document.createElement("textarea");E.style.fontSize="12pt",E.style.border="0",E.style.padding="0",E.style.margin="0",E.style.position="absolute",E.style[B?"right":"left"]="-9999px";var x=window.pageYOffset||document.documentElement.scrollTop;return E.style.top="".concat(x,"px"),E.setAttribute("readonly",""),E.value=M,E}var _=function(B){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},x="";if(typeof B=="string"){var L=b(B);E.container.appendChild(L),x=y()(L),g("copy"),L.remove()}else x=y()(B),g("copy");return x},S=_;function A(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(E){return typeof E}:A=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},A(M)}var T=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=B.action,x=E===void 0?"copy":E,L=B.container,D=B.target,ee=B.text;if(x!=="copy"&&x!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(D!==void 0)if(D&&A(D)==="object"&&D.nodeType===1){if(x==="copy"&&D.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(x==="cut"&&(D.hasAttribute("readonly")||D.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ee)return S(ee,{container:L});if(D)return x==="cut"?I(D):S(D,{container:L})},v=T;function h(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?h=function(E){return typeof E}:h=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},h(M)}function k(M,B){if(!(M instanceof B))throw new TypeError("Cannot call a class as a function")}function U(M,B){for(var E=0;E<B.length;E++){var x=B[E];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(M,x.key,x)}}function F(M,B,E){return B&&U(M.prototype,B),E&&U(M,E),M}function V(M,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(B&&B.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),B&&W(M,B)}function W(M,B){return W=Object.setPrototypeOf||function(x,L){return x.__proto__=L,x},W(M,B)}function z(M){var B=Ge();return function(){var x=se(M),L;if(B){var D=se(this).constructor;L=Reflect.construct(x,arguments,D)}else L=x.apply(this,arguments);return Se(this,L)}}function Se(M,B){return B&&(h(B)==="object"||typeof B=="function")?B:qe(M)}function qe(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function Ge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function se(M){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},se(M)}function Qe(M,B){var E="data-clipboard-".concat(M);if(!!B.hasAttribute(E))return B.getAttribute(E)}var jn=function(M){V(E,M);var B=z(E);function E(x,L){var D;return k(this,E),D=B.call(this),D.resolveOptions(L),D.listenClick(x),D}return F(E,[{key:"resolveOptions",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof L.action=="function"?L.action:this.defaultAction,this.target=typeof L.target=="function"?L.target:this.defaultTarget,this.text=typeof L.text=="function"?L.text:this.defaultText,this.container=h(L.container)==="object"?L.container:document.body}},{key:"listenClick",value:function(L){var D=this;this.listener=m()(L,"click",function(ee){return D.onClick(ee)})}},{key:"onClick",value:function(L){var D=L.delegateTarget||L.currentTarget,ee=this.action(D)||"copy",ke=v({action:ee,container:this.container,target:this.target(D),text:this.text(D)});this.emit(ke?"success":"error",{action:ee,text:ke,trigger:D,clearSelection:function(){D&&D.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(L){return Qe("action",L)}},{key:"defaultTarget",value:function(L){var D=Qe("target",L);if(D)return document.querySelector(D)}},{key:"defaultText",value:function(L){return Qe("text",L)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(L){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(L,D)}},{key:"cut",value:function(L){return I(L)}},{key:"isSupported",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],D=typeof L=="string"?[L]:L,ee=!!document.queryCommandSupported;return D.forEach(function(ke){ee=ee&&!!document.queryCommandSupported(ke)}),ee}}]),E}(d()),Wn=jn},828:function(r){var a=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var l=Element.prototype;l.matches=l.matchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.webkitMatchesSelector}function c(d,u){for(;d&&d.nodeType!==a;){if(typeof d.matches=="function"&&d.matches(u))return d;d=d.parentNode}}r.exports=c},438:function(r,a,l){var c=l(828);function d(p,y,g,w,I){var b=m.apply(this,arguments);return p.addEventListener(g,b,I),{destroy:function(){p.removeEventListener(g,b,I)}}}function u(p,y,g,w,I){return typeof p.addEventListener=="function"?d.apply(null,arguments):typeof g=="function"?d.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(b){return d(b,y,g,w,I)}))}function m(p,y,g,w){return function(I){I.delegateTarget=c(I.target,y),I.delegateTarget&&w.call(p,I)}}r.exports=u},879:function(r,a){a.node=function(l){return l!==void 0&&l instanceof HTMLElement&&l.nodeType===1},a.nodeList=function(l){var c=Object.prototype.toString.call(l);return l!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in l&&(l.length===0||a.node(l[0]))},a.string=function(l){return typeof l=="string"||l instanceof String},a.fn=function(l){var c=Object.prototype.toString.call(l);return c==="[object Function]"}},370:function(r,a,l){var c=l(879),d=l(438);function u(g,w,I){if(!g&&!w&&!I)throw new Error("Missing required arguments");if(!c.string(w))throw new TypeError("Second argument must be a String");if(!c.fn(I))throw new TypeError("Third argument must be a Function");if(c.node(g))return m(g,w,I);if(c.nodeList(g))return p(g,w,I);if(c.string(g))return y(g,w,I);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function m(g,w,I){return g.addEventListener(w,I),{destroy:function(){g.removeEventListener(w,I)}}}function p(g,w,I){return Array.prototype.forEach.call(g,function(b){b.addEventListener(w,I)}),{destroy:function(){Array.prototype.forEach.call(g,function(b){b.removeEventListener(w,I)})}}}function y(g,w,I){return d(document.body,g,w,I)}r.exports=u},817:function(r){function a(l){var c;if(l.nodeName==="SELECT")l.focus(),c=l.value;else if(l.nodeName==="INPUT"||l.nodeName==="TEXTAREA"){var d=l.hasAttribute("readonly");d||l.setAttribute("readonly",""),l.select(),l.setSelectionRange(0,l.value.length),d||l.removeAttribute("readonly"),c=l.value}else{l.hasAttribute("contenteditable")&&l.focus();var u=window.getSelection(),m=document.createRange();m.selectNodeContents(l),u.removeAllRanges(),u.addRange(m),c=u.toString()}return c}r.exports=a},279:function(r){function a(){}a.prototype={on:function(l,c,d){var u=this.e||(this.e={});return(u[l]||(u[l]=[])).push({fn:c,ctx:d}),this},once:function(l,c,d){var u=this;function m(){u.off(l,m),c.apply(d,arguments)}return m._=c,this.on(l,m,d)},emit:function(l){var c=[].slice.call(arguments,1),d=((this.e||(this.e={}))[l]||[]).slice(),u=0,m=d.length;for(u;u<m;u++)d[u].fn.apply(d[u].ctx,c);return this},off:function(l,c){var d=this.e||(this.e={}),u=d[l],m=[];if(u&&c)for(var p=0,y=u.length;p<y;p++)u[p].fn!==c&&u[p].fn._!==c&&m.push(u[p]);return m.length?d[l]=m:delete d[l],this}},r.exports=a,r.exports.TinyEmitter=a}},o={};function i(r){if(o[r])return o[r].exports;var a=o[r]={exports:{}};return n[r](a,a.exports,i),a.exports}return function(){i.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return i.d(a,{a}),a}}(),function(){i.d=function(r,a){for(var l in a)i.o(a,l)&&!i.o(r,l)&&Object.defineProperty(r,l,{enumerable:!0,get:a[l]})}}(),function(){i.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)}}(),i(686)}().default})})(En);var kr=uo(En.exports);const Mr="_shareWrap_ap100_1",xr="_chioseBox_ap100_5",Fr="_cell_ap100_17",Dr="_dotle_ap100_27",Pr="_teamInfo_ap100_38",Nr="_title_ap100_42",Ur="_subInfo_ap100_47",Or="_tableWrap_ap100_51";var le={shareWrap:Mr,chioseBox:xr,cell:Fr,dotle:Dr,teamInfo:Pr,title:Nr,subInfo:Ur,tableWrap:Or};function Hr(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pn(e)}var Vr=q({name:"LiveBroadcastGroupChat",data(){return{searchForm:{search:""},checkList:[],tableList:[]}},async mounted(){this.getList()},beforeUnmount(){},methods:{onReSet(){this.searchForm.search="",this.checkList=[],this.search()},search(){this.getList()},async getList(){try{const e=await ue("/api-web/imGroup/queryGroupList",{params:$({},this.searchForm)});this.tableList=e.data}catch(e){console.log(e)}},resectCheck(e){const t=e;this.checkList.indexOf(t)==-1?this.checkList.push(t):this.checkList.splice(this.checkList.indexOf(t),1)}},render(){let e;return s("div",null,[s(mn,{model:this.searchForm,ref:"form",inline:!0,class:le.form},{default:()=>[s(vt,null,{default:()=>[s(gn,{clearable:!0,placeholder:"\u7FA4\u804A\u540D\u79F0/\u8BFE\u7A0B\u540D\u79F0",modelValue:this.searchForm.search,onInput:t=>this.searchForm.search=t},null)]}),s(vt,null,{default:()=>[s(Z,{type:"primary",onClick:this.search},{default:()=>[C("\u641C\u7D22")]}),s(Z,{type:"danger",onClick:this.onReSet},{default:()=>[C("\u91CD\u7F6E")]})]})]}),this.tableList.length>0?s("div",{class:le.tableWrap},[s(fo,{modelValue:this.checkList},Hr(e=this.tableList.map(t=>s("div",{class:le.cell,onClick:()=>this.resectCheck(t.id)},[s(ho,{class:le.chioseBox,label:t.id,onChange:()=>this.resectCheck(t.id)},{default:()=>[s("br",null,null)]}),s("div",{class:le.dotle},[t.type=="MUSIC"?"\u4E50\u56E2":"VIP"]),s("div",{class:le.teamInfo},[s("p",{class:le.title},[t.name]),s("p",{class:le.subInfo},[t.memo,C("\uFF08\u5171"),t.memberNum,C("\u4EBA\uFF09")])])])))?e:{default:()=>[e]})]):s(mo,{description:"\u6682\u65E0\u7FA4\u804A"},null)])}});const jr="_third_p1nol_1",Wr="_preCore_p1nol_19",zr="_title_p1nol_19",Kr="_second_p1nol_22",Yr="_first_p1nol_43",qr="_icon_p1nol_61",Gr="_teacher_p1nol_68",Qr="_start_p1nol_84",Jr="_time_p1nol_103",$r="_content_p1nol_112",Xr="_pre_p1nol_19",Zr="_end_p1nol_132",ei="_bottom_p1nol_139",ti="_logo_p1nol_145",ni="_code_p1nol_149";var R={third:jr,preCore:Wr,title:zr,second:Kr,first:Yr,icon:qr,teacher:Gr,start:Qr,time:Jr,content:$r,pre:Xr,end:Zr,bottom:ei,logo:ti,code:ni},Re={},oi=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Tn={},J={};let _t;const ri=[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];J.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};J.getSymbolTotalCodewords=function(t){return ri[t]};J.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};J.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');_t=t};J.isKanjiModeEnabled=function(){return typeof _t!="undefined"};J.toSJIS=function(t){return _t(t)};var We={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.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: "+n)}}e.isValid=function(o){return o&&typeof o.bit!="undefined"&&o.bit>=0&&o.bit<4},e.from=function(o,i){if(e.isValid(o))return o;try{return t(o)}catch{return i}}})(We);function Bn(){this.buffer=[],this.length=0}Bn.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const 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 ii=Bn;function _e(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)}_e.prototype.set=function(e,t,n,o){const i=e*this.size+t;this.data[i]=n,o&&(this.reservedBit[i]=!0)};_e.prototype.get=function(e,t){return this.data[e*this.size+t]};_e.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};_e.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var si=_e,In={};(function(e){const t=J.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const i=Math.floor(o/7)+2,r=t(o),a=r===145?26:Math.ceil((r-13)/(2*i-2))*2,l=[r-7];for(let c=1;c<i-1;c++)l[c]=l[c-1]-a;return l.push(6),l.reverse()},e.getPositions=function(o){const i=[],r=e.getRowColCoords(o),a=r.length;for(let l=0;l<a;l++)for(let c=0;c<a;c++)l===0&&c===0||l===0&&c===a-1||l===a-1&&c===0||i.push([r[l],r[c]]);return i}})(In);var Ln={};const ai=J.getSymbolSize,$t=7;Ln.getPositions=function(t){const n=ai(t);return[[0,0],[n-$t,0],[0,n-$t]]};var Rn={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const r=i.size;let a=0,l=0,c=0,d=null,u=null;for(let m=0;m<r;m++){l=c=0,d=u=null;for(let p=0;p<r;p++){let y=i.get(m,p);y===d?l++:(l>=5&&(a+=t.N1+(l-5)),d=y,l=1),y=i.get(p,m),y===u?c++:(c>=5&&(a+=t.N1+(c-5)),u=y,c=1)}l>=5&&(a+=t.N1+(l-5)),c>=5&&(a+=t.N1+(c-5))}return a},e.getPenaltyN2=function(i){const r=i.size;let a=0;for(let l=0;l<r-1;l++)for(let c=0;c<r-1;c++){const d=i.get(l,c)+i.get(l,c+1)+i.get(l+1,c)+i.get(l+1,c+1);(d===4||d===0)&&a++}return a*t.N2},e.getPenaltyN3=function(i){const r=i.size;let a=0,l=0,c=0;for(let d=0;d<r;d++){l=c=0;for(let u=0;u<r;u++)l=l<<1&2047|i.get(d,u),u>=10&&(l===1488||l===93)&&a++,c=c<<1&2047|i.get(u,d),u>=10&&(c===1488||c===93)&&a++}return a*t.N3},e.getPenaltyN4=function(i){let r=0;const a=i.data.length;for(let c=0;c<a;c++)r+=i.data[c];return Math.abs(Math.ceil(r*100/a/5)-10)*t.N4};function n(o,i,r){switch(o){case e.Patterns.PATTERN000:return(i+r)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return r%3===0;case e.Patterns.PATTERN011:return(i+r)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(r/3))%2===0;case e.Patterns.PATTERN101:return i*r%2+i*r%3===0;case e.Patterns.PATTERN110:return(i*r%2+i*r%3)%2===0;case e.Patterns.PATTERN111:return(i*r%3+(i+r)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(i,r){const a=r.size;for(let l=0;l<a;l++)for(let c=0;c<a;c++)r.isReserved(c,l)||r.xor(c,l,n(i,c,l))},e.getBestMask=function(i,r){const a=Object.keys(e.Patterns).length;let l=0,c=1/0;for(let d=0;d<a;d++){r(d),e.applyMask(d,i);const u=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(d,i),u<c&&(c=u,l=d)}return l}})(Rn);var ze={};const ce=We,xe=[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],Fe=[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];ze.getBlocksCount=function(t,n){switch(n){case ce.L:return xe[(t-1)*4+0];case ce.M:return xe[(t-1)*4+1];case ce.Q:return xe[(t-1)*4+2];case ce.H:return xe[(t-1)*4+3];default:return}};ze.getTotalCodewordsCount=function(t,n){switch(n){case ce.L:return Fe[(t-1)*4+0];case ce.M:return Fe[(t-1)*4+1];case ce.Q:return Fe[(t-1)*4+2];case ce.H:return Fe[(t-1)*4+3];default:return}};var _n={},Ke={};const Be=new Uint8Array(512),He=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)Be[n]=t,He[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)Be[n]=Be[n-255]})();Ke.log=function(t){if(t<1)throw new Error("log("+t+")");return He[t]};Ke.exp=function(t){return Be[t]};Ke.mul=function(t,n){return t===0||n===0?0:Be[He[t]+He[n]]};(function(e){const t=Ke;e.mul=function(o,i){const r=new Uint8Array(o.length+i.length-1);for(let a=0;a<o.length;a++)for(let l=0;l<i.length;l++)r[a+l]^=t.mul(o[a],i[l]);return r},e.mod=function(o,i){let r=new Uint8Array(o);for(;r.length-i.length>=0;){const a=r[0];for(let c=0;c<i.length;c++)r[c]^=t.mul(i[c],a);let l=0;for(;l<r.length&&r[l]===0;)l++;r=r.slice(l)}return r},e.generateECPolynomial=function(o){let i=new Uint8Array([1]);for(let r=0;r<o;r++)i=e.mul(i,new Uint8Array([1,t.exp(r)]));return i}})(_n);const kn=_n;function kt(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}kt.prototype.initialize=function(t){this.degree=t,this.genPoly=kn.generateECPolynomial(this.degree)};kt.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const o=kn.mod(n,this.genPoly),i=this.degree-o.length;if(i>0){const r=new Uint8Array(this.degree);return r.set(o,i),r}return o};var li=kt,Mn={},he={},Mt={};Mt.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var oe={};const xn="[0-9]+",ci="[A-Z $%*+\\-./:]+";let Ie="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Ie=Ie.replace(/u/g,"\\u");const ui="(?:(?![A-Z0-9 $%*+\\-./:]|"+Ie+`)(?:.|[\r
  24. ]))+`;oe.KANJI=new RegExp(Ie,"g");oe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");oe.BYTE=new RegExp(ui,"g");oe.NUMERIC=new RegExp(xn,"g");oe.ALPHANUMERIC=new RegExp(ci,"g");const di=new RegExp("^"+Ie+"$"),fi=new RegExp("^"+xn+"$"),hi=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");oe.testKanji=function(t){return di.test(t)};oe.testNumeric=function(t){return fi.test(t)};oe.testAlphanumeric=function(t){return hi.test(t)};(function(e){const t=Mt,n=oe;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(r,a){if(!r.ccBits)throw new Error("Invalid mode: "+r);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?r.ccBits[0]:a<27?r.ccBits[1]:r.ccBits[2]},e.getBestModeForData=function(r){return n.testNumeric(r)?e.NUMERIC:n.testAlphanumeric(r)?e.ALPHANUMERIC:n.testKanji(r)?e.KANJI:e.BYTE},e.toString=function(r){if(r&&r.id)return r.id;throw new Error("Invalid mode")},e.isValid=function(r){return r&&r.bit&&r.ccBits};function o(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.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: "+i)}}e.from=function(r,a){if(e.isValid(r))return r;try{return o(r)}catch{return a}}})(he);(function(e){const t=J,n=ze,o=We,i=he,r=Mt,a=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,l=t.getBCHDigit(a);function c(p,y,g){for(let w=1;w<=40;w++)if(y<=e.getCapacity(w,g,p))return w}function d(p,y){return i.getCharCountIndicator(p,y)+4}function u(p,y){let g=0;return p.forEach(function(w){g+=d(w.mode,y)+w.getBitsLength()}),g}function m(p,y){for(let g=1;g<=40;g++)if(u(p,g)<=e.getCapacity(g,y,i.MIXED))return g}e.from=function(y,g){return r.isValid(y)?parseInt(y,10):g},e.getCapacity=function(y,g,w){if(!r.isValid(y))throw new Error("Invalid QR Code version");typeof w=="undefined"&&(w=i.BYTE);const I=t.getSymbolTotalCodewords(y),b=n.getTotalCodewordsCount(y,g),_=(I-b)*8;if(w===i.MIXED)return _;const S=_-d(w,y);switch(w){case i.NUMERIC:return Math.floor(S/10*3);case i.ALPHANUMERIC:return Math.floor(S/11*2);case i.KANJI:return Math.floor(S/13);case i.BYTE:default:return Math.floor(S/8)}},e.getBestVersionForData=function(y,g){let w;const I=o.from(g,o.M);if(Array.isArray(y)){if(y.length>1)return m(y,I);if(y.length===0)return 1;w=y[0]}else w=y;return c(w.mode,w.getLength(),I)},e.getEncodedBits=function(y){if(!r.isValid(y)||y<7)throw new Error("Invalid QR Code version");let g=y<<12;for(;t.getBCHDigit(g)-l>=0;)g^=a<<t.getBCHDigit(g)-l;return y<<12|g}})(Mn);var Fn={};const bt=J,Dn=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,mi=1<<14|1<<12|1<<10|1<<4|1<<1,Xt=bt.getBCHDigit(Dn);Fn.getEncodedBits=function(t,n){const o=t.bit<<3|n;let i=o<<10;for(;bt.getBCHDigit(i)-Xt>=0;)i^=Dn<<bt.getBCHDigit(i)-Xt;return(o<<10|i)^mi};var Pn={};const gi=he;function ye(e){this.mode=gi.NUMERIC,this.data=e.toString()}ye.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};ye.prototype.getLength=function(){return this.data.length};ye.prototype.getBitsLength=function(){return ye.getBitsLength(this.data.length)};ye.prototype.write=function(t){let n,o,i;for(n=0;n+3<=this.data.length;n+=3)o=this.data.substr(n,3),i=parseInt(o,10),t.put(i,10);const r=this.data.length-n;r>0&&(o=this.data.substr(n),i=parseInt(o,10),t.put(i,r*3+1))};var pi=ye;const yi=he,nt=["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 ve(e){this.mode=yi.ALPHANUMERIC,this.data=e}ve.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};ve.prototype.getLength=function(){return this.data.length};ve.prototype.getBitsLength=function(){return ve.getBitsLength(this.data.length)};ve.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let o=nt.indexOf(this.data[n])*45;o+=nt.indexOf(this.data[n+1]),t.put(o,11)}this.data.length%2&&t.put(nt.indexOf(this.data[n]),6)};var vi=ve,wi=function(t){for(var n=[],o=t.length,i=0;i<o;i++){var r=t.charCodeAt(i);if(r>=55296&&r<=56319&&o>i+1){var a=t.charCodeAt(i+1);a>=56320&&a<=57343&&(r=(r-55296)*1024+a-56320+65536,i+=1)}if(r<128){n.push(r);continue}if(r<2048){n.push(r>>6|192),n.push(r&63|128);continue}if(r<55296||r>=57344&&r<65536){n.push(r>>12|224),n.push(r>>6&63|128),n.push(r&63|128);continue}if(r>=65536&&r<=1114111){n.push(r>>18|240),n.push(r>>12&63|128),n.push(r>>6&63|128),n.push(r&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const bi=wi,Ci=he;function we(e){this.mode=Ci.BYTE,this.data=new Uint8Array(bi(e))}we.getBitsLength=function(t){return t*8};we.prototype.getLength=function(){return this.data.length};we.prototype.getBitsLength=function(){return we.getBitsLength(this.data.length)};we.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var Si=we;const Ai=he,Ei=J;function be(e){this.mode=Ai.KANJI,this.data=e}be.getBitsLength=function(t){return t*13};be.prototype.getLength=function(){return this.data.length};be.prototype.getBitsLength=function(){return be.getBitsLength(this.data.length)};be.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=Ei.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
  25. Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var Ti=be,Nn={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,o,i){var r={},a={};a[o]=0;var l=t.PriorityQueue.make();l.push(o,0);for(var c,d,u,m,p,y,g,w,I;!l.empty();){c=l.pop(),d=c.value,m=c.cost,p=n[d]||{};for(u in p)p.hasOwnProperty(u)&&(y=p[u],g=m+y,w=a[u],I=typeof a[u]=="undefined",(I||w>g)&&(a[u]=g,l.push(u,g),r[u]=d))}if(typeof i!="undefined"&&typeof a[i]=="undefined"){var b=["Could not find a path from ",o," to ",i,"."].join("");throw new Error(b)}return r},extract_shortest_path_from_predecessor_list:function(n,o){for(var i=[],r=o;r;)i.push(r),r=n[r];return i.reverse(),i},find_path:function(n,o,i){var r=t.single_source_shortest_paths(n,o,i);return t.extract_shortest_path_from_predecessor_list(r,i)},PriorityQueue:{make:function(n){var o=t.PriorityQueue,i={},r;n=n||{};for(r in o)o.hasOwnProperty(r)&&(i[r]=o[r]);return i.queue=[],i.sorter=n.sorter||o.default_sorter,i},default_sorter:function(n,o){return n.cost-o.cost},push:function(n,o){var i={value:n,cost:o};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Nn);(function(e){const t=he,n=pi,o=vi,i=Si,r=Ti,a=oe,l=J,c=Nn.exports;function d(b){return unescape(encodeURIComponent(b)).length}function u(b,_,S){const A=[];let T;for(;(T=b.exec(S))!==null;)A.push({data:T[0],index:T.index,mode:_,length:T[0].length});return A}function m(b){const _=u(a.NUMERIC,t.NUMERIC,b),S=u(a.ALPHANUMERIC,t.ALPHANUMERIC,b);let A,T;return l.isKanjiModeEnabled()?(A=u(a.BYTE,t.BYTE,b),T=u(a.KANJI,t.KANJI,b)):(A=u(a.BYTE_KANJI,t.BYTE,b),T=[]),_.concat(S,A,T).sort(function(h,k){return h.index-k.index}).map(function(h){return{data:h.data,mode:h.mode,length:h.length}})}function p(b,_){switch(_){case t.NUMERIC:return n.getBitsLength(b);case t.ALPHANUMERIC:return o.getBitsLength(b);case t.KANJI:return r.getBitsLength(b);case t.BYTE:return i.getBitsLength(b)}}function y(b){return b.reduce(function(_,S){const A=_.length-1>=0?_[_.length-1]:null;return A&&A.mode===S.mode?(_[_.length-1].data+=S.data,_):(_.push(S),_)},[])}function g(b){const _=[];for(let S=0;S<b.length;S++){const A=b[S];switch(A.mode){case t.NUMERIC:_.push([A,{data:A.data,mode:t.ALPHANUMERIC,length:A.length},{data:A.data,mode:t.BYTE,length:A.length}]);break;case t.ALPHANUMERIC:_.push([A,{data:A.data,mode:t.BYTE,length:A.length}]);break;case t.KANJI:_.push([A,{data:A.data,mode:t.BYTE,length:d(A.data)}]);break;case t.BYTE:_.push([{data:A.data,mode:t.BYTE,length:d(A.data)}])}}return _}function w(b,_){const S={},A={start:{}};let T=["start"];for(let v=0;v<b.length;v++){const h=b[v],k=[];for(let U=0;U<h.length;U++){const F=h[U],V=""+v+U;k.push(V),S[V]={node:F,lastCount:0},A[V]={};for(let W=0;W<T.length;W++){const z=T[W];S[z]&&S[z].node.mode===F.mode?(A[z][V]=p(S[z].lastCount+F.length,F.mode)-p(S[z].lastCount,F.mode),S[z].lastCount+=F.length):(S[z]&&(S[z].lastCount=F.length),A[z][V]=p(F.length,F.mode)+4+t.getCharCountIndicator(F.mode,_))}}T=k}for(let v=0;v<T.length;v++)A[T[v]].end=0;return{map:A,table:S}}function I(b,_){let S;const A=t.getBestModeForData(b);if(S=t.from(_,A),S!==t.BYTE&&S.bit<A.bit)throw new Error('"'+b+'" cannot be encoded with mode '+t.toString(S)+`.
  26. Suggested mode is: `+t.toString(A));switch(S===t.KANJI&&!l.isKanjiModeEnabled()&&(S=t.BYTE),S){case t.NUMERIC:return new n(b);case t.ALPHANUMERIC:return new o(b);case t.KANJI:return new r(b);case t.BYTE:return new i(b)}}e.fromArray=function(_){return _.reduce(function(S,A){return typeof A=="string"?S.push(I(A,null)):A.data&&S.push(I(A.data,A.mode)),S},[])},e.fromString=function(_,S){const A=m(_,l.isKanjiModeEnabled()),T=g(A),v=w(T,S),h=c.find_path(v.map,"start","end"),k=[];for(let U=1;U<h.length-1;U++)k.push(v.table[h[U]].node);return e.fromArray(y(k))},e.rawSplit=function(_){return e.fromArray(m(_,l.isKanjiModeEnabled()))}})(Pn);const Ye=J,ot=We,Bi=ii,Ii=si,Li=In,Ri=Ln,Ct=Rn,St=ze,_i=li,Ve=Mn,ki=Fn,Mi=he,rt=Pn;function xi(e,t){const n=e.size,o=Ri.getPositions(t);for(let i=0;i<o.length;i++){const r=o[i][0],a=o[i][1];for(let l=-1;l<=7;l++)if(!(r+l<=-1||n<=r+l))for(let c=-1;c<=7;c++)a+c<=-1||n<=a+c||(l>=0&&l<=6&&(c===0||c===6)||c>=0&&c<=6&&(l===0||l===6)||l>=2&&l<=4&&c>=2&&c<=4?e.set(r+l,a+c,!0,!0):e.set(r+l,a+c,!1,!0))}}function Fi(e){const t=e.size;for(let n=8;n<t-8;n++){const o=n%2===0;e.set(n,6,o,!0),e.set(6,n,o,!0)}}function Di(e,t){const n=Li.getPositions(t);for(let o=0;o<n.length;o++){const i=n[o][0],r=n[o][1];for(let a=-2;a<=2;a++)for(let l=-2;l<=2;l++)a===-2||a===2||l===-2||l===2||a===0&&l===0?e.set(i+a,r+l,!0,!0):e.set(i+a,r+l,!1,!0)}}function Pi(e,t){const n=e.size,o=Ve.getEncodedBits(t);let i,r,a;for(let l=0;l<18;l++)i=Math.floor(l/3),r=l%3+n-8-3,a=(o>>l&1)===1,e.set(i,r,a,!0),e.set(r,i,a,!0)}function it(e,t,n){const o=e.size,i=ki.getEncodedBits(t,n);let r,a;for(r=0;r<15;r++)a=(i>>r&1)===1,r<6?e.set(r,8,a,!0):r<8?e.set(r+1,8,a,!0):e.set(o-15+r,8,a,!0),r<8?e.set(8,o-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(o-8,8,1,!0)}function Ni(e,t){const n=e.size;let o=-1,i=n-1,r=7,a=0;for(let l=n-1;l>0;l-=2)for(l===6&&l--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,l-c)){let d=!1;a<t.length&&(d=(t[a]>>>r&1)===1),e.set(i,l-c,d),r--,r===-1&&(a++,r=7)}if(i+=o,i<0||n<=i){i-=o,o=-o;break}}}function Ui(e,t,n){const o=new Bi;n.forEach(function(c){o.put(c.mode.bit,4),o.put(c.getLength(),Mi.getCharCountIndicator(c.mode,e)),c.write(o)});const i=Ye.getSymbolTotalCodewords(e),r=St.getTotalCodewordsCount(e,t),a=(i-r)*8;for(o.getLengthInBits()+4<=a&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const l=(a-o.getLengthInBits())/8;for(let c=0;c<l;c++)o.put(c%2?17:236,8);return Oi(o,e,t)}function Oi(e,t,n){const o=Ye.getSymbolTotalCodewords(t),i=St.getTotalCodewordsCount(t,n),r=o-i,a=St.getBlocksCount(t,n),l=o%a,c=a-l,d=Math.floor(o/a),u=Math.floor(r/a),m=u+1,p=d-u,y=new _i(p);let g=0;const w=new Array(a),I=new Array(a);let b=0;const _=new Uint8Array(e.buffer);for(let h=0;h<a;h++){const k=h<c?u:m;w[h]=_.slice(g,g+k),I[h]=y.encode(w[h]),g+=k,b=Math.max(b,k)}const S=new Uint8Array(o);let A=0,T,v;for(T=0;T<b;T++)for(v=0;v<a;v++)T<w[v].length&&(S[A++]=w[v][T]);for(T=0;T<p;T++)for(v=0;v<a;v++)S[A++]=I[v][T];return S}function Hi(e,t,n,o){let i;if(Array.isArray(e))i=rt.fromArray(e);else if(typeof e=="string"){let d=t;if(!d){const u=rt.rawSplit(e);d=Ve.getBestVersionForData(u,n)}i=rt.fromString(e,d||40)}else throw new Error("Invalid data");const r=Ve.getBestVersionForData(i,n);if(!r)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=r;else if(t<r)throw new Error(`
  27. The chosen QR Code version cannot contain this amount of data.
  28. Minimum version required to store current data is: `+r+`.
  29. `);const a=Ui(t,n,i),l=Ye.getSymbolSize(t),c=new Ii(l);return xi(c,t),Fi(c),Di(c,t),it(c,n,0),t>=7&&Pi(c,t),Ni(c,a),isNaN(o)&&(o=Ct.getBestMask(c,it.bind(null,c,n))),Ct.applyMask(o,c),it(c,n,o),{modules:c,version:t,errorCorrectionLevel:n,maskPattern:o,segments:i}}Tn.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let o=ot.M,i,r;return typeof n!="undefined"&&(o=ot.from(n.errorCorrectionLevel,ot.M),i=Ve.from(n.version),r=Ct.from(n.maskPattern),n.toSJISFunc&&Ye.setToSJISFunction(n.toSJISFunc)),Hi(t,i,o,r)};var Un={},xt={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let o=n.slice().replace("#","").split("");if(o.length<3||o.length===5||o.length>8)throw new Error("Invalid hex color: "+n);(o.length===3||o.length===4)&&(o=Array.prototype.concat.apply([],o.map(function(r){return[r,r]}))),o.length===6&&o.push("F","F");const i=parseInt(o.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+o.slice(0,6).join("")}}e.getOptions=function(o){o||(o={}),o.color||(o.color={});const i=typeof o.margin=="undefined"||o.margin===null||o.margin<0?4:o.margin,r=o.width&&o.width>=21?o.width:void 0,a=o.scale||4;return{width:r,scale:r?4:a,margin:i,color:{dark:t(o.color.dark||"#000000ff"),light:t(o.color.light||"#ffffffff")},type:o.type,rendererOpts:o.rendererOpts||{}}},e.getScale=function(o,i){return i.width&&i.width>=o+i.margin*2?i.width/(o+i.margin*2):i.scale},e.getImageWidth=function(o,i){const r=e.getScale(o,i);return Math.floor((o+i.margin*2)*r)},e.qrToImageData=function(o,i,r){const a=i.modules.size,l=i.modules.data,c=e.getScale(a,r),d=Math.floor((a+r.margin*2)*c),u=r.margin*c,m=[r.color.light,r.color.dark];for(let p=0;p<d;p++)for(let y=0;y<d;y++){let g=(p*d+y)*4,w=r.color.light;if(p>=u&&y>=u&&p<d-u&&y<d-u){const I=Math.floor((p-u)/c),b=Math.floor((y-u)/c);w=m[l[I*a+b]?1:0]}o[g++]=w.r,o[g++]=w.g,o[g++]=w.b,o[g]=w.a}}})(xt);(function(e){const t=xt;function n(i,r,a){i.clearRect(0,0,r.width,r.height),r.style||(r.style={}),r.height=a,r.width=a,r.style.height=a+"px",r.style.width=a+"px"}function o(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(r,a,l){let c=l,d=a;typeof c=="undefined"&&(!a||!a.getContext)&&(c=a,a=void 0),a||(d=o()),c=t.getOptions(c);const u=t.getImageWidth(r.modules.size,c),m=d.getContext("2d"),p=m.createImageData(u,u);return t.qrToImageData(p.data,r,c),n(m,d,u),m.putImageData(p,0,0),d},e.renderToDataURL=function(r,a,l){let c=l;typeof c=="undefined"&&(!a||!a.getContext)&&(c=a,a=void 0),c||(c={});const d=e.render(r,a,c),u=c.type||"image/png",m=c.rendererOpts||{};return d.toDataURL(u,m.quality)}})(Un);var On={};const Vi=xt;function Zt(e,t){const n=e.a/255,o=t+'="'+e.hex+'"';return n<1?o+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':o}function st(e,t,n){let o=e+t;return typeof n!="undefined"&&(o+=" "+n),o}function ji(e,t,n){let o="",i=0,r=!1,a=0;for(let l=0;l<e.length;l++){const c=Math.floor(l%t),d=Math.floor(l/t);!c&&!r&&(r=!0),e[l]?(a++,l>0&&c>0&&e[l-1]||(o+=r?st("M",c+n,.5+d+n):st("m",i,0),i=0,r=!1),c+1<t&&e[l+1]||(o+=st("h",a),a=0)):i++}return o}On.render=function(t,n,o){const i=Vi.getOptions(n),r=t.modules.size,a=t.modules.data,l=r+i.margin*2,c=i.color.light.a?"<path "+Zt(i.color.light,"fill")+' d="M0 0h'+l+"v"+l+'H0z"/>':"",d="<path "+Zt(i.color.dark,"stroke")+' d="'+ji(a,r,i.margin)+'"/>',u='viewBox="0 0 '+l+" "+l+'"',m=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",p='<svg xmlns="http://www.w3.org/2000/svg" '+m+u+' shape-rendering="crispEdges">'+c+d+`</svg>
  30. `;return typeof o=="function"&&o(null,p),p};const Wi=oi,At=Tn,Hn=Un,zi=On;function Ft(e,t,n,o,i){const r=[].slice.call(arguments,1),a=r.length,l=typeof r[a-1]=="function";if(!l&&!Wi())throw new Error("Callback required as last argument");if(l){if(a<2)throw new Error("Too few arguments provided");a===2?(i=n,n=t,t=o=void 0):a===3&&(t.getContext&&typeof i=="undefined"?(i=o,o=void 0):(i=o,o=n,n=t,t=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(n=t,t=o=void 0):a===2&&!t.getContext&&(o=n,n=t,t=void 0),new Promise(function(c,d){try{const u=At.create(n,o);c(e(u,t,o))}catch(u){d(u)}})}try{const c=At.create(n,o);i(null,e(c,t,o))}catch(c){i(c)}}Re.create=At.create;Re.toCanvas=Ft.bind(null,Hn.render);Re.toDataURL=Ft.bind(null,Hn.renderToDataURL);Re.toString=Ft.bind(null,function(e,t,n){return zi.render(e,n)});var Ki=Re,Yi="./assets/icon1.ef6bbd86.png",qi="./assets/icon2.e7f0fa2e.png",Gi="./assets/icon3.0d23bbac.png",at="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAmCAYAAACyAQkgAAAAAXNSR0IArs4c6QAAA7pJREFUWEftmF1oHFUUx8+5k2yhIVILUosSv0AtrYKiSO2DaB9E1EIfUpBiQaxLqybM3hkCfqBBq+JmzrkLiwuNWCOUolBEFFREqgiiVkQUg5FiaWkrwopIoiZNsvfILK2kde98RZ/ceVr2nvOf3/zvOXfuXAQACMOwr9Vq3RT/LnDNGmMOJ+UNDw8PeJ53RQFtUEodI6LjGCdXKpXrEPHbIkIAcJSZr0rK1Vo/AQB7iuiLyNPGmGe6oEvd6zqas5a6NRob1m2mTmXTbaZuM+V0oNtMLsP+F80EAE8x87P/xqZkkpk3/Ie7pxFjzFgbdHBw0BsYGLjQdTMReQgAnneMf87MG5NAy+Xyyv7+/pUJ+u8BgGs/vIuZ97ZB064wDLdaa990xH3AzHemaSSNB0Hwtojc2ylGRLYbYw5kBd1mrX2jkxAiHiSiweWAaq0/BIDNDtAtxph3MoEGQbBTRF52wDAzB8sBDYLgGxG53mHEbUT0SSbQlOXlQWbetxxQrfXPALCmk0ZPT88l1Wr1p6ygBwDgPsfU3JL2cZf0ECMjI5cuLi6ecMT8wswXxWNZQb8HgGs7iFml1AVRFP1R1NEgCLaLyH7HtB8ionbtpoL6vn+lUupHh9BnRHRrUcg4T2sd1/5Oh0aNmSuZQLXWIQCMOYQeZ+YXioLG5wnW2pMAsMphxFYieisVdHR0tGd6evoIAFzu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hzQtt6ZKs2siHZ49ZhqbS3gOTrUPUeC+SOh0gMChtgYAYgMwKEMJRmeyF4FuRzEKvWbQY0/oPYuDfCNAXUK+B5IOZIeL9yGlROh1hVEMzKoEd6FcS1H8L89v0swOch8jIUyYBdrxRr80fX/RnGwaCXrHyFnUnnALwYgvlFKkL5FhT+DDk8is7/PuNH9TY/hXXqe8Qfdas6aG/1ZRBru4hjnQay346boSKFfVUPR+m3Y78+IwLZbyibk+NR2b0EIuY6bj+K5e8EEUed/uBIBevtwy09S9tA+sFYs0nkPkBmetZdhQ+jsnshJ91m1r+N9FEwEOsm4MWFlRh/RAuI61zsN2u6MrcNWsqYvjrSFA7ovCMgH4yWxEJA1v7fQko76poTHwSXUtN/asc8KjaugFijpS0xH2I8VPBOOMTVjOlroiK03X66BmJBaU0shCJ32b58ET8K23xfu4L5becJkDyU+GrQ2kVtpKMVh/RM54fDtWZkpKSD+rt3QMzXL21dZhW2M4dJXqAqs1nbXJRqbUGJ6iaOZ0CsUbKtqQ5Z4+/9y44PzozYwJhuPvmPHkMo4CmQ/I98fKjKOwZU5RTWNm8dpTG0At4D2bTkEIxVOwAcNyCs4FHW6/vXh48yCWqE9I0Sc3fOVQNiKjyfdSlzZsroMYwCno8QC8iL8QkYb66/xaF9sbcjpk+J8jsqu2ehL0D6RsndEPRV2ZEV1Foa7SYVZTv/gHQsm41sbqMlrpKbwbqVZsnW0WMEBfwDki+Ob+4zTsSqjyaTxiiNkRXwDYh12Uo3bgCohK3izsiyFM/CXyBtjVeBrGSdfnvxulhakf0Fkmk6A0a2gtqKZ0pLluJl6y8QczbLrgnk6cm9xetiaUX2FUhpSRGObP8HG0q4pBQy2GYAAAAASUVORK5CYII=",Qi=q({name:"LiveBroadcastSharePreview",props:["form","url"],data(){return{detail:{roomTitle:"",liveStartTime:"",liveRemark:""}}},mounted(){let e=document.getElementById("canvas"),t=this.url;Ki.toCanvas(e,t,{width:79,margin:1},function(n){n&&console.error(n),console.log("QRCode success!")})},methods:{copyText(){},shareImage(){}},render(){return s("div",{id:"preview"},[this.form.preTemplate==="1"?s("div",{class:R.first},[s("h2",null,[this.form.roomTitle]),s("p",{class:R.teacher},[C(" \u4E3B\u8BB2\u4EBA\uFF1A"),this.form.speakerName]),s("img",{src:Yi,class:R.icon,alt:""},null),s("div",{class:R.preCore},[s("img",{src:ut,class:R.start,alt:""},null),s("p",{class:R.title},[C("\u5F00\u64AD\u65F6\u95F4")]),s("p",{class:R.time},[this.form.liveStartTime]),s("p",{class:R.title},[C("\u76F4\u64AD\u5185\u5BB9")]),s("div",{class:R.content},[s("img",{class:R.pre,src:lt,alt:""},null),s("img",{class:R.end,src:at,alt:""},null),this.form.liveRemark])]),s("div",{class:R.bottom},[s("img",{class:R.logo,src:ct,alt:""},null),s("div",{class:R.code},[s("div",null,[s("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null,this.form.preTemplate==="2"?s("div",{class:R.second},[s("h2",null,[this.form.roomTitle]),s("p",{class:R.teacher},[C("\u4E3B\u8BB2\u4EBA\uFF1A"),this.form.speakerName]),s("img",{src:Gi,class:R.icon,alt:""},null),s("div",{class:R.preCore},[s("img",{src:ut,class:R.start,alt:""},null),s("p",{class:R.title},[C("\u5F00\u64AD\u65F6\u95F4")]),s("p",{class:R.time},[this.form.liveStartTime]),s("p",{class:R.title},[C("\u76F4\u64AD\u5185\u5BB9")]),s("div",{class:R.content},[s("img",{class:R.pre,src:lt,alt:""},null),s("img",{class:R.end,src:at,alt:""},null),this.form.liveRemark])]),s("div",{class:R.bottom},[s("img",{class:R.logo,src:ct,alt:""},null),s("div",{class:R.code},[s("div",null,[s("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null,this.form.preTemplate==="3"?s("div",{class:R.third},[s("h2",null,[this.form.roomTitle]),s("p",{class:R.teacher},[C("\u4E3B\u8BB2\u4EBA\uFF1A"),this.form.speakerName]),s("img",{src:qi,class:R.icon,alt:""},null),s("div",{class:R.preCore},[s("img",{src:ut,class:R.start,alt:""},null),s("p",{class:R.title},[C("\u5F00\u64AD\u65F6\u95F4")]),s("p",{class:R.time},[this.form.liveStartTime]),s("p",{class:R.title},[C("\u76F4\u64AD\u5185\u5BB9")]),s("div",{class:R.content},[s("img",{class:R.pre,src:lt,alt:""},null),s("img",{class:R.end,src:at,alt:""},null),this.form.liveRemark])]),s("div",{class:R.bottom},[s("img",{class:R.logo,src:ct,alt:""},null),s("div",{class:R.code},[s("div",null,[s("canvas",{id:"canvas",height:"80",width:"80",style:"width: 80px; margin:0"},null)])])])]):null])}});const en=Tt(null);Tt(null);var Ji=q({name:"LiveBroadcastShare",props:{onClose:{type:Function,default:()=>{}}},data(){return{form:{shareType:"1"},detail:{roomTitle:"",liveStartTime:"",liveRemark:"",roomUid:"",speakerName:""},url:""}},async mounted(){this.detail=$({},P.user),this.url=Vo()+`/#/liveClassTransfer?roomUid=${this.detail.roomUid}`},methods:{copyText(){let e=`\u4E50\u56E2\u8001\u5E08\u9080\u8BF7\u60A8\u53C2\u4E0E\u76F4\u64AD\u8BFE\uFF01
  31. ${this.detail.roomTitle||""}
  32. \u4E3B\u8BB2\u4EBA\uFF1A${this.detail.speakerName}
  33. \u76F4\u64AD\u65F6\u95F4\uFF1A${this.detail.liveStartTime||""}
  34. \u76F4\u64AD\u5185\u5BB9\uFF1A${this.detail.liveRemark||""}
  35. \u76F4\u64AD\u5730\u5740\uFF1A${this.url}
  36. `;if(e){const n=document.createElement("button");var t=new kr(n,{text:function(){return e}});t.on("success",()=>{me.success("\u590D\u5236\u6210\u529F"),this.onClose(),t.destroy()}),t.on("error",()=>{console.log("\u8BE5\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u81EA\u52A8\u590D\u5236"),t.destroy()}),n.click()}},shareImage(){var e=document.getElementById("preview");e&&_r(e).then(t=>{var n=new Image;n.src=t;let o=document.createElement("a"),i=this.detail.roomTitle||"\u5206\u4EAB\u56FE\u7247\u6587\u4EF6.png";o.href=t,o.setAttribute("download",i),document.body.appendChild(o),o.click(),this.onClose()}).catch(function(t){console.error("oops, something went wrong!",t)})},async shareChat(){var t;let e=((t=en.value)==null?void 0:t.checkList)||[];if(!(e.length>0)){me.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u7FA4\u804A");return}try{let n={groupIds:e.join(","),roomUid:this.detail.roomUid};const o=await ue.get("/api-web/imLiveBroadcastRoom/shareGroup",{params:$({},n)});me.success("\u5206\u4EAB\u6210\u529F"),this.onClose()}catch(n){console.log(n)}},changeRafdio(e){this.form.shareType=e}},render(){return s("div",null,[s(mn,{model:this.form,ref:"form",class:re.form},{default:()=>[s(vt,{label:"\u5206\u4EAB\u65B9\u5F0F"},{default:()=>[s($e,{modelValue:this.form.shareType,onChange:()=>{this.changeRafdio("1")},label:"1"},{default:()=>[C("\u94FE\u63A5\u5206\u4EAB")]}),s($e,{modelValue:this.form.shareType,onChange:()=>{this.changeRafdio("2")},label:"2"},{default:()=>[C("\u4E8C\u7EF4\u7801\u5206\u4EAB")]}),s($e,{modelValue:this.form.shareType,onChange:()=>{this.changeRafdio("3")},label:"3"},{default:()=>[C("\u7FA4\u804A\u5206\u4EAB")]})]})]}),s("div",null,[this.form.shareType==="1"?s("div",{class:"linkWrap"},[s("div",{class:re.shareWrap},[s("h2",null,[C("\u4E50\u56E2\u8001\u5E08\u9080\u8BF7\u60A8\u53C2\u4E0E\u76F4\u64AD\u8BFE\uFF01")]),s("h4",null,[this.detail.roomTitle]),s("p",null,[C("\u4E3B\u8BB2\u4EBA\uFF1A"),this.detail.speakerName]),s("p",null,[C("\u5F00\u64AD\u65F6\u95F4\uFF1A"),this.detail.liveStartTime]),s("p",null,[C("\u76F4\u64AD\u5185\u5BB9\uFF1A"),this.detail.liveRemark]),s("p",null,[C("\u76F4\u64AD\u5730\u5740\uFF1A"),this.url])]),s("div",{class:[re.shareBtn,"shareText"],onClick:this.copyText,ref:"shareText","data-clipboard-action":"copy"},[C("\u590D\u5236\u5206\u4EAB\u5185\u5BB9")])]):null]),this.form.shareType==="2"?s("div",{class:re.codeWrap},[s("div",{class:re.shareWrap},[s(Qi,{form:this.detail,url:this.url},null)]),s("div",{class:re.shareBtn,onClick:this.shareImage},[C("\u4E0B\u8F7D\u56FE\u7247")])]):null,this.form.shareType=="3"?s("div",{class:re.shareWrap},[s("div",{class:re.groupWrap},[s(Vr,{ref:en},null)]),s("div",{class:re.shareBtn,onClick:this.shareChat},[C("\u53D1\u9001\u5206\u4EAB\u4FE1\u606F")])]):null])}});const $i=async e=>{if(!navigator)throw new Error("\u6D4F\u89C8\u5668\u7248\u672C\u8FC7\u4F4E\uFF0C\u65E0\u6CD5\u5F00\u59CB\u76F4\u64AD");return navigator.mediaDevices.getUserMedia(e)};function tn(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!pn(e)}const K=Bt({volume:0,barStatus:{camera:!1,volume:!1,microphone:!1,microphone2:!1,screen:!1,share:!1},shareVisiable:!1,binded:!1});var Xi=q({name:"LiveBroadcast-ActionBar",computed:{isCameraDisabled(){return K.barStatus.camera&&f.deviceStatus.camera!=="denied"&&f.cameras.length},isMicrophoneDisabled(){return K.barStatus.microphone&&f.deviceStatus.microphone!=="denied"&&f.microphones.length},isMicrophone2Disabled(){return console.log(f.selectedMicrophone2),K.barStatus.microphone2&&f.deviceStatus.microphone!=="denied"&&f.microphones.length||!f.selectedMicrophone2},isVolumeDisabled(){return K.volume===0}},mounted(){Ut.on("microphoneChange",this.listenMicophoneAudioTrack)},beforeUnmount(){Ut.off("microphoneChange",this.listenMicophoneAudioTrack)},methods:{setIconPath(e,t){var o;const n=(o=this.$refs[e])==null?void 0:o.querySelector("#microphone-content-svg");if(n){const i=14-11*(t/100);n.setAttribute("d",`M7,${i} L14,${i} L14,10.5 C14,12.4329966 12.4329966,14 10.5,14 C8.56700338,14 7,12.4329966 7,10.5 L7,${i} L7,${i} Z`)}},async listenMicophoneAudioTrack(){var t;let e;if(f.selectedMicrophone&&!this.isMicrophoneDisabled){const n=await $i({audio:{deviceId:(t=f.selectedMicrophone)==null?void 0:t.deviceId},video:!1});e=Jn(n,(o,i)=>{this.setIconPath("microphoneicon",o)})}else e&&(e==null?void 0:e.onaudioprocess)},startShare(){console.log("\u8C03\u7528"),K.shareVisiable=!0},volumeChange(e){K.volume=e,un(e)},async toggleCamera(){$n("camera"),!f.screenShareStatus&&(K.barStatus.camera=!K.barStatus.camera)},async toggleMicrophone(){const e=f.videoStatus==="liveing";K.barStatus.microphone=!K.barStatus.microphone,K.barStatus.microphone?de("microphone",e):Ot("microphone",e),this.listenMicophoneAudioTrack()},async toggleMicrophone2(){const e=f.videoStatus==="liveing";console.log("toggleMicrophone2",K.barStatus.microphone2),K.barStatus.microphone2=!K.barStatus.microphone2,K.barStatus.microphone2?de("microphone",e):Ot("microphone",e),this.listenMicophoneAudioTrack()}},render(){return s("div",{class:X["action-bar"],id:"action-bar"},[s("div",{style:{display:"flex"}},[s("div",{class:X["bar-btn"]},[s("div",{class:X.btnInner},[s(Ae,{onClick:this.toggleCamera,name:this.isCameraDisabled?"bar-camera-disabled":"bar-camera",style:{width:"22px",cursor:"pointer"}},null),f.cameras.length===0?null:s(gt,{placement:"top",disabled:f.cameras.length===0,onCommand:dn},{default:()=>[s("div",{class:X["bar-btn"],style:{height:"32px"}},[s(Ae,{name:"bar-arrow-down",style:{width:"18px"}},null)])],dropdown:()=>{let e;return s(pt,null,tn(e=f.cameras.map(t=>s(yt,{disabled:t===f.selectedCamera,command:t},{default:()=>[t.label]})))?e:{default:()=>[e]})}})]),s("span",{class:X["bar-btn-text"]},[C("\u6444\u50CF\u5934")])]),s("div",{class:X["bar-btn"]},[s("div",{class:X.btnInner},[this.isMicrophoneDisabled?s(Ae,{name:"bar-mike-disabled",onClick:this.toggleMicrophone,style:{width:"22px",height:"22px",cursor:"pointer"}},null):s("span",{ref:"microphoneicon",innerHTML:Do,onClick:this.toggleMicrophone,style:{width:"22px",height:"22px",cursor:"pointer"}},null),f.microphones.length===0?null:s(gt,{placement:"top-start",disabled:f.microphones.length===0,"popper-options":{boundariesElement:"#action-bar",gpuAcceleration:!1},"visible-change":e=>{console.log(e)},onCommand:fn},{default:()=>[s("div",{class:X["bar-btn"],style:{height:"32px"}},[s(Ae,{name:"bar-arrow-down",style:{width:"18px"}},null)])],dropdown:()=>{let e;return s(pt,null,tn(e=f.microphones.map((t,n)=>s(yt,{disabled:t===f.selectedMicrophone||t===f.selectedMicrophone2,command:t},{default:()=>[" "+t.label]})))?e:{default:()=>[e]})}})]),s("span",{class:X["bar-btn-text"]},[C("\u9EA6\u514B\u98CE")])])]),s("div",{style:{display:"flex"},onClick:this.startShare},[s("div",{class:X["bar-btn"]},[s("div",{class:X.btnInner},[s(Ae,{name:"bar-share",style:{width:"22px",cursor:"pointer"}},null)]),s("span",{class:X["bar-btn-text"]},[C("\u5206\u4EAB")])])]),s(go,{width:"510px","destroy-on-close":!0,"append-to-body":!0,modelValue:K.shareVisiable,title:"\u5206\u4EAB","before-close":()=>{K.shareVisiable=!1}},{default:()=>[s(Ji,{onClose:()=>K.shareVisiable=!1},null)]})])}});const Zi="_container_19awp_1",es="_title_19awp_21",ts="_tips_19awp_25";var Y={container:Zi,title:es,tips:ts},ns=q({name:"VideoStatus",render(){return s("div",{class:Y.container},[f.deviceStatus.camera==="denied"?s("div",{class:Y.denied},[s(te("SvgIcon"),{name:"camera-status",class:Y.icon},null),s("p",{class:Y.title},[C("\u6444\u50CF\u5934\u88AB\u7981\u7528")]),s("p",{class:Y.tips},[C("\u8BF7\u6388\u6743\u5141\u8BB8\u8BBF\u95EE\u6444\u50CF\u5934")])]):null,f.deviceStatus.camera==="init"?s("div",{class:Y.init},[s(te("SvgIcon"),{name:"camera-status",class:Y.icon},null),s("p",{class:Y.title},[C("\u8BF7\u5B8C\u6210\u6444\u50CF\u5934\u6388\u6743")]),s("p",{class:Y.tips},[C("\u8BF7\u6388\u6743\u5141\u8BB8\u8BBF\u95EE\u6444\u50CF\u5934")])]):null,f.deviceStatus.camera==="closed"?s("div",{class:Y.closed},[s(te("SvgIcon"),{name:"camera-status",class:Y.icon},null),s("p",{class:Y.title},[C("\u6444\u50CF\u5934\u5DF2\u5173\u95ED")]),s("p",{class:Y.tips},[C("\u60A8\u5DF2\u5173\u95ED\u6444\u50CF\u5934")])]):null,f.deviceStatus.camera==="none"?s("div",{class:Y.none},[s(te("SvgIcon"),{name:"camera-status",class:Y.icon},null),s("p",{class:Y.title},[C("\u6682\u65E0\u6444\u50CF\u5934")]),s("p",{class:Y.tips},[C("\u8BE5\u8BBE\u5907\u65E0\u6444\u50CF\u5934")])]):null])}}),Vn={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(hn,function(){var n,o,i=1e3,r=6e4,a=36e5,l=864e5,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,d=31536e6,u=2592e6,m=/^(-|\+)?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:d,months:u,days:l,hours:a,minutes:r,seconds:i,milliseconds:1,weeks:6048e5},y=function(T){return T instanceof A},g=function(T,v,h){return new A(T,h,v.$l)},w=function(T){return o.p(T)+"s"},I=function(T){return T<0},b=function(T){return I(T)?Math.ceil(T):Math.floor(T)},_=function(T){return Math.abs(T)},S=function(T,v){return T?I(T)?{negative:!0,format:""+_(T)+v}:{negative:!1,format:""+T+v}:{negative:!1,format:""}},A=function(){function T(h,k,U){var F=this;if(this.$d={},this.$l=U,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),k)return g(h*p[w(k)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach(function(z){F.$d[w(z)]=h[z]}),this.calMilliseconds(),this;if(typeof h=="string"){var V=h.match(m);if(V){var W=V.slice(2).map(function(z){return z!=null?Number(z):0});return this.$d.years=W[0],this.$d.months=W[1],this.$d.weeks=W[2],this.$d.days=W[3],this.$d.hours=W[4],this.$d.minutes=W[5],this.$d.seconds=W[6],this.calMilliseconds(),this}}return this}var v=T.prototype;return v.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce(function(k,U){return k+(h.$d[U]||0)*p[U]},0)},v.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=b(h/d),h%=d,this.$d.months=b(h/u),h%=u,this.$d.days=b(h/l),h%=l,this.$d.hours=b(h/a),h%=a,this.$d.minutes=b(h/r),h%=r,this.$d.seconds=b(h/i),h%=i,this.$d.milliseconds=h},v.toISOString=function(){var h=S(this.$d.years,"Y"),k=S(this.$d.months,"M"),U=+this.$d.days||0;this.$d.weeks&&(U+=7*this.$d.weeks);var F=S(U,"D"),V=S(this.$d.hours,"H"),W=S(this.$d.minutes,"M"),z=this.$d.seconds||0;this.$d.milliseconds&&(z+=this.$d.milliseconds/1e3);var Se=S(z,"S"),qe=h.negative||k.negative||F.negative||V.negative||W.negative||Se.negative,Ge=V.format||W.format||Se.format?"T":"",se=(qe?"-":"")+"P"+h.format+k.format+F.format+Ge+V.format+W.format+Se.format;return se==="P"||se==="-P"?"P0D":se},v.toJSON=function(){return this.toISOString()},v.format=function(h){var k=h||"YYYY-MM-DDTHH:mm:ss",U={Y:this.$d.years,YY:o.s(this.$d.years,2,"0"),YYYY:o.s(this.$d.years,4,"0"),M:this.$d.months,MM:o.s(this.$d.months,2,"0"),D:this.$d.days,DD:o.s(this.$d.days,2,"0"),H:this.$d.hours,HH:o.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:o.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:o.s(this.$d.seconds,2,"0"),SSS:o.s(this.$d.milliseconds,3,"0")};return k.replace(c,function(F,V){return V||String(U[F])})},v.as=function(h){return this.$ms/p[w(h)]},v.get=function(h){var k=this.$ms,U=w(h);return U==="milliseconds"?k%=1e3:k=U==="weeks"?b(k/p[U]):this.$d[U],k===0?0:k},v.add=function(h,k,U){var F;return F=k?h*p[w(k)]:y(h)?h.$ms:g(h,this).$ms,g(this.$ms+F*(U?-1:1),this)},v.subtract=function(h,k){return this.add(h,k,!0)},v.locale=function(h){var k=this.clone();return k.$l=h,k},v.clone=function(){return g(this.$ms,this)},v.humanize=function(h){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},v.milliseconds=function(){return this.get("milliseconds")},v.asMilliseconds=function(){return this.as("milliseconds")},v.seconds=function(){return this.get("seconds")},v.asSeconds=function(){return this.as("seconds")},v.minutes=function(){return this.get("minutes")},v.asMinutes=function(){return this.as("minutes")},v.hours=function(){return this.get("hours")},v.asHours=function(){return this.as("hours")},v.days=function(){return this.get("days")},v.asDays=function(){return this.as("days")},v.weeks=function(){return this.get("weeks")},v.asWeeks=function(){return this.as("weeks")},v.months=function(){return this.get("months")},v.asMonths=function(){return this.as("months")},v.years=function(){return this.get("years")},v.asYears=function(){return this.as("years")},T}();return function(T,v,h){n=h,o=h().$utils(),h.duration=function(F,V){var W=h.locale();return g(F,{$l:W},V)},h.isDuration=y;var k=v.prototype.add,U=v.prototype.subtract;v.prototype.add=function(F,V){return y(F)&&(F=F.asMilliseconds()),k.bind(this)(F,V)},v.prototype.subtract=function(F,V){return y(F)&&(F=F.asMilliseconds()),U.bind(this)(F,V)}}})})(Vn);var os=Vn.exports;const rs="_time_1c1wd_1",is="_status_1c1wd_14",ss="_text_1c1wd_27";var dt={time:rs,status:is,text:ss};ne.extend(os);var as=q({setup(){const e=Bt({duration:""}),t=sessionStorage.getItem(Xn),n=Number(t);let o=null;return po(()=>{o=setInterval(()=>{const i=ne().valueOf();n&&i-n&&(e.duration=ne.duration(i-n).format("HH:mm:ss"))})}),yo(()=>{o&&clearInterval(o)}),()=>f.videoStatus==="liveing"&&n?s("div",{class:dt.time},[s("div",{class:dt.status},[s("div",{class:"line-scale-pulse-out"},[s("div",null,null),s("div",null,null),s("div",null,null)]),s("span",null,[C("\u76F4\u64AD\u4E2D")])]),s("span",{class:dt.text},[e.duration])]):null}});const ls="_main_dv466_1",cs="_video_dv466_14",us="_headerSection_dv466_25",ds="_headerContent_dv466_32";var Ee={main:ls,video:cs,headerSection:us,headerContent:ds,"header-top":"_header-top_dv466_36","header-up":"_header-up_dv466_1","header-down":"_header-down_dv466_1"};const nn=Tt(null);let on,ft;var fs=q({name:"LiveBroadcast",data(){return{headerStatus:!1}},computed:{isLive(){return console.log(f.videoStatus),f.videoStatus==="liveing"?setTimeout(()=>{this.headerStatus=!0},3e3):this.headerStatus=!1,f.videoStatus==="liveing"}},async mounted(){this.initializeRoom(),Zn(),O.on(j["RC:Chatroom:Like"],this.onLikeMessage),window.onbeforeunload=this.beforeunload,window.addEventListener("focus",this.visibilitychange),window.addEventListener("blur",this.visibilitychange)},beforeUnmount(){O.off(j["RC:Chatroom:Like"],this.onLikeMessage),window.onbeforeunload=null,window.removeEventListener("focus",this.visibilitychange),window.removeEventListener("blur",this.visibilitychange)},methods:{visibilitychange(e){var t;console.log(e),e.type==="focus"&&(document.exitPictureInPicture(),document.body.click()),e.type==="blur"&&((t=f.videoRef)==null||t.requestPictureInPicture())},beforeunload(){if(f.videoStatus==="liveing")return"\u5F53\u524D\u6B63\u5728\u76F4\u64AD\u4E2D\u662F\u5426\u786E\u8BA4\u5173\u95ED\u9875\u9762\uFF1F"},onLikeMessage(e){f.likeCount+=e.counts},getDeviceByDeviceType(e){const t=localStorage.getItem(eo),n=localStorage.getItem(to),o=localStorage.getItem(no);return e==="camera"?t?f.cameras.find(i=>i.deviceId===t)||f.cameras[0]:f.cameras[0]:n?f.microphones.find(i=>i.deviceId===n)||f.microphones[0]:o?f.microphones.find(i=>i.deviceId===o)||f.microphones[0]:f.microphones[0]},async initializeRoom(){var e,t,n,o;if(!P.user)throw Error("\u8BF7\u5148\u767B\u5F55");try{f.likeCount=((e=P.user)==null?void 0:e.likeNum)||0,f.lookCount=((t=P.user)==null?void 0:t.lookNum)||0;const i=sessionStorage.getItem(oo)==="liveing";await ro((n=P.user)==null?void 0:n.imToken),f.videoRef=nn.value,await io(),await so(),dn(this.getDeviceByDeviceType("camera")),fn(this.getDeviceByDeviceType("microphone")),ft=await Ht("camera"),f.videoRef&&ft.play(f.videoRef),on=await Ht("microphone"),f.videoStatus="stream";const r=await ao((o=P.user)==null?void 0:o.roomUid,lo.VIDEO,{onMessageReceive(l,c){console.log(l,c)},onKickOff(l){console.log(l)},async onTrackPublish(l){var d;const c=await((d=r==null?void 0:r.room)==null?void 0:d.subscribe(l));console.log(c),(c==null?void 0:c.code)&&c.code!==Vt.SUCCESS&&console.log("\u8D44\u6E90\u8BA2\u9605\u5931\u8D25 ->",c.code)},onTrackUnpublish(l){console.log(l),O.emit(j["RM:RTC:TrackUnpublish"],l)},onSwitchRole(l,c){O.emit(j["RM:RTC:SwitchRole"],{userId:l,role:c})},onTrackReady(l){l.isAudioTrack()&&l.play()},onUserJoin(l){console.log("onUserJoin",l)},onUserLeave(l){O.emit(j["RM:RTC:UserLeave"],l),console.log("onUserLeave",l)}});r.room&&r.code===Vt.SUCCESS&&(f.joinedRoom=r.room,r.room.registerReportListener({onStateReport(l){O.emit("onStateReport",l),console.log("onStateReport",l)}})),i?(await cn(!1),f.videoStatus="liveing"):(await jt([ft],"camera",!1),await jt([on],"microphone",!1));const a=localStorage.getItem(co);a&&(K.volume=parseInt(a),un(parseInt(a)))}catch(i){f.videoStatus="error",console.log(i)}},closeLive(){f.videoStatus="stream"}},render(){return s("div",{class:Ee.main},[(this.isLive,null),s("div",{class:[Ee.headerSection]},[s(Fo,{class:[Ee.headerContent,this.headerStatus?Ee["header-top"]:null]},null)]),s("div",{class:Ee.video},[s("video",{ref:nn},null),f.screenShareStatus?null:s(ns,null,null),f.videoStatus==="liveing"?s(as,null,null):null]),s(Xi,null,null)])}});const hs="_container_1cod9_1",ms="_dataCount_1cod9_6",gs="_num_1cod9_17",ps="_text_1cod9_22",ys="_dataIcon_1cod9_26",vs="_tabContainer_1cod9_31",ws="_tabIcon_1cod9_31",bs="_point_1cod9_36",Cs="_tabContent_1cod9_67",Ss="_tabList_1cod9_73";var G={container:hs,dataCount:ms,num:gs,text:ps,dataIcon:ys,tabContainer:vs,tabIcon:ws,point:bs,tabContent:Cs,tabList:Ss};const As="_message_4zab7_1",Es="_buttonGroup_4zab7_1";var rn={message:As,buttonGroup:Es},Ts=q({name:"message",data(){return{options:"ALL"}},mounted(){var t,n;const e=((t=P.user)==null?void 0:t.roomConfig)?JSON.parse((n=P.user)==null?void 0:n.roomConfig):{};f.allowChatCtrl=e.whether_chat===0,f.allowSeatsCtrl=e.whether_mic===0},methods:{async SeatsCtrl(){try{const e=P.user,t=(e==null?void 0:e.roomConfig)?JSON.parse(e==null?void 0:e.roomConfig):{};await ue.post("/api-web/imLiveBroadcastRoom/update",{requestType:"json",data:{id:e.id,liveRemark:e.liveRemark,liveStartTime:e.liveStartTime,preTemplate:e.preTemplate,roomConfig:{whether_chat:t.whether_chat,whether_like:t.whether_like,whether_mic:f.allowSeatsCtrl?1:0,whether_video:t.whether_video},roomTitle:e.roomTitle,speakerId:e.speakerId,tenantId:e.tenantId}}),P.user.roomConfig=JSON.stringify({whether_chat:t.whether_chat,whether_like:t.whether_like,whether_mic:f.allowSeatsCtrl?1:0,whether_video:t.whether_video}),await ie($({seatBan:f.allowSeatsCtrl},mt()),"SeatsCtrl"),f.allowSeatsCtrl=!f.allowSeatsCtrl}catch{}},async ChatBan(){try{const e=P.user,t=(e==null?void 0:e.roomConfig)?JSON.parse(e==null?void 0:e.roomConfig):{};await ue.post("/api-web/imLiveBroadcastRoom/update",{requestType:"json",data:{id:e.id,liveRemark:e.liveRemark,liveStartTime:e.liveStartTime,preTemplate:e.preTemplate,roomConfig:{whether_chat:f.allowChatCtrl?1:0,whether_like:t.whether_like,whether_video:t.whether_video,whether_mic:t.whether_mic},roomTitle:e.roomTitle,speakerId:e.speakerId,tenantId:e.tenantId}}),P.user.roomConfig=JSON.stringify({whether_chat:f.allowChatCtrl?1:0,whether_like:t.whether_like,whether_video:t.whether_video,whether_mic:t.whether_mic}),await ie($({chatBan:f.allowChatCtrl},mt()),"ChatBan"),f.allowChatCtrl=!f.allowChatCtrl}catch{}}},render(){return s("div",{class:rn.message},[s("div",{class:rn.buttonGroup},[s(Z,{type:f.allowChatCtrl?"info":"primary",onClick:this.ChatBan},{default:()=>[f.allowChatCtrl?"\u5173\u95ED\u804A\u5929":"\u5F00\u542F\u804A\u5929"]}),s(Z,{type:f.allowSeatsCtrl?"info":"primary",onClick:this.SeatsCtrl},{default:()=>[f.allowSeatsCtrl?"\u5173\u95ED\u8FDE\u9EA6":"\u5F00\u542F\u8FDE\u9EA6"]})])])}});const Bs="_sendMessage_p2cnx_1",Is="_form_p2cnx_10";var sn={sendMessage:Bs,form:Is};const ge=Bt({messageList:[],joinList:{},joinTips:!1,lookList:{}});var H=ge;const pe=e=>{ge.messageList.push(e)},Pe=(e,t)=>{ge.joinTips=!0,ge.joinList[e]=t},De=e=>{delete ge.joinList[e]},Te=(e,t)=>{ge.lookList[e]=t},Ls=e=>{delete ge.lookList[e]};var Rs=q({data(){return{message:""}},methods:{onKeyDown(e){e.keyCode===13&&this.message.trim()!==""&&this.sendMessage()},async sendMessage(){try{await ie(this.message);const e=mt();pe({id:String(e.id),name:e.name,content:this.message,isSelf:!0,sendTime:ne(new Date).format("HH:mm:ss")}),this.message="",this.scrollToBottom()}catch{}},scrollToBottom(){this.$nextTick(()=>{var e,t;(t=document.querySelector("#tabList"))==null||t.scrollTo(0,((e=document.querySelector("#messageList"))==null?void 0:e.scrollHeight)||0)})}},render(){return s("div",{class:sn.sendMessage},[s("div",{class:sn.form},[s(gn,{modelValue:this.message,onKeydown:this.onKeyDown,onInput:e=>this.message=e,placeholder:"\u8BF7\u8F93\u5165\u6D88\u606F"},null),s(Z,{disabled:!this.message,onClick:this.sendMessage,round:!0,type:"primary"},{default:()=>[C("\u53D1\u9001")]})])])}});const _s="_itemContent_1nb8n_1",ks="_itemInfo_1nb8n_11",Ms="_itemName_1nb8n_14",xs="_userName_1nb8n_20",Fs="_rightTime_1nb8n_30",Ds="_itemText_1nb8n_38",Ps="_active_1nb8n_42",Ns="_joinText_1nb8n_45",Us="_join_1nb8n_45",Os="_btn_1nb8n_54",Hs="_downBtn_1nb8n_66",Vs="_loadingStyle_1nb8n_71";var N={itemContent:_s,itemInfo:ks,itemName:Ms,userName:xs,"name-style":"_name-style_1nb8n_26",rightTime:Fs,itemText:Ds,active:Ps,joinText:Ns,join:Us,btn:Os,downBtn:Hs,loadingStyle:Vs,"slide-top-enter-active":"_slide-top-enter-active_1nb8n_78","error-num":"_error-num_1nb8n_1"};const js="_icon_1svqd_9";var ht={"empty-container":"_empty-container_1svqd_1",icon:js},Dt=q({props:{text:{type:String,default:"\u6682\u65E0\u6570\u636E"},icon:{type:String,default:"noData-no-message"}},render(){return s("div",{class:ht["empty-container"]},[s(te("SvgIcon"),{name:this.icon,class:[ht.icon]},null),s("p",{class:ht["empty-text"]},[this.text])])}}),Ws=q({data(){return{joinList:{},loadingJoin:!1,upStatus:!1,downStatus:!1}},computed:{count(){let e=0;for(const t in H.joinList)if(Object.prototype.hasOwnProperty.call(H.joinList,t)&&(H.joinList[t].userRoomType===4&&(e+=1),e>3))break;return e}},mounted(){O.on(j["RC:Chatroom:SeatApply"],this.onSeatApply),O.on(j["RC:Chatroom:SeatResponse"],this.onSeatApply),O.on(j["RM:RTC:UserLeave"],this.onSeatApply),O.on(j["RC:Chatroom:downSeat"],this.onDownSeat),O.on(j["RM:RTC:SwitchRole"],this.onSwitchRole),O.on(j["RC:Chatroom:Leave"],this.onLeave),O.on(j["RC:LookerLoginOut"],this.onLeave)},unmounted(){O.off(j["RC:Chatroom:SeatApply"],this.onSeatApply),O.off(j["RC:Chatroom:SeatResponse"],this.onSeatApply),O.off(j["RM:RTC:UserLeave"],this.onSeatApply),O.off(j["RM:RTC:SwitchRole"],this.onSwitchRole),O.off(j["RC:Chatroom:Leave"],this.onLeave),O.off(j["RC:LookerLoginOut"],this.onLeave)},methods:{async onLeave(e){const t=e.userId||e.fromUserId;H.joinList[t]&&De(t),H.lookList[t]&&(Ls(t),f.lookCount=f.lookCount-1>=0?f.lookCount-1:0),await ie({count:f.lookCount},"MemberCount")},onSeatApply(e){if(Array.isArray(e)){for(const r of e)console.log("onSeatApply",r),De(r);return}const t=e.$EventMessage.messageType==="RC:Chatroom:SeatResponse",n=t?4:3,o=ne(e.$EventMessage.sentTime||new Date).format("HH:mm:ss");let i={name:e.audienceName,id:String(e.audienceId),system:1,isSelf:!1,content:"",sendTime:o};if(e.type===3){console.log(e,"\u7533\u8BF7\u8FDE\u9EA6");const r={name:e.audienceName,id:e.audienceId,userRoomType:n,type:e.type};Pe(e.audienceId,r),Te(e.audienceId,r),i.content=t?"\u540C\u610F\u4E86\u8FDE\u9EA6\u7533\u8BF7":"\u53D1\u8D77\u4E86\u8FDE\u9EA6\u7533\u8BF7",pe(i),O.emit("MESSAGE:Change")}if(e.type===4){if(console.log(e,"\u53D6\u6D88\u8FDE\u9EA6"),H.joinList[e.audienceId]&&De(e.audienceId),H.lookList[e.audienceId]){let r=H.lookList[e.audienceId];r.userRoomType=1,Te(e.audienceId,r)}i.content=t?"\u62D2\u7EDD\u4E86\u8FDE\u9EA6\u7533\u8BF7":"\u53D6\u6D88\u4E86\u8FDE\u9EA6\u7533\u8BF7",pe(i),O.emit("MESSAGE:Change")}},agree(e){var n,o;if(this.count>3||this.upStatus){console.log(!0,2323);return}this.upStatus=!0;const t=Me($({},e),{audienceName:e.name,audienceId:String(e.id),teacherId:String((n=P.user)==null?void 0:n.id),teacherName:(o=P.user)==null?void 0:o.speakerName,userRoomType:4,type:1});Pe(e.id,t),Te(e.id,t),ie(t,"SeatResponse"),setTimeout(()=>{this.upStatus=!1},300)},refuse(e){var n,o;if(this.downStatus)return;this.downStatus=!0;const t=Me($({},e),{audienceName:e.name,audienceId:String(e.id),teacherId:String((n=P.user)==null?void 0:n.id),teacherName:(o=P.user)==null?void 0:o.speakerName,userRoomType:4,type:5});Pe(e.id,t),ie(t,"SeatApply"),setTimeout(()=>{this.downStatus=!1},300)},onDownSeat(e){var t;if(console.log(e,"onDownSeat"),H.joinList[e.audienceId]){const n=H.joinList[e.audienceId],o=ne(new Date).format("HH:mm:ss");console.log(e.$EventMessage.senderUserId,(t=P.user)==null?void 0:t.speakerId,"onDownSeat");let i=n.type==5?"\u88AB\u62A5\u4E0B\u9EA6":"\u53D6\u6D88\u4E86\u8FDE\u9EA6\u7533\u8BF7",r={name:e.audienceName,id:e.audienceId,system:1,isSelf:!1,content:i,sendTime:o};pe(r),O.emit("MESSAGE:Change"),De(e.audienceId)}},onSwitchRole(e){if(console.log(e,"onSwitchRole"),H.lookList[e.userId]&&e.role===2){let t=H.lookList[e.userId];t.userRoomType=1,Te(e.userId,t)}}},render(){const e=Object.values(H.joinList);return s("div",{style:{minHeight:"100%",position:"relative"}},[e.length>0?e.map(t=>s("div",{class:N.itemContent},[s("div",{class:N.itemInfo},[s("div",{class:N.itemName},[s("p",{class:N.userName},[s("span",{class:N["name-style"]},[t.name]),t.userRoomType!==4?s("span",{style:{paddingLeft:"10px"}},[C("\u7533\u8BF7\u8FDE\u9EA6")]):s("span",{style:{paddingLeft:"10px",color:"var(--live-text-color)"}},[C("\u6B63\u5728\u8FDE\u9EA6")])]),t.userRoomType!==4?s("div",{class:N.joinText},[s("div",{class:N.join},null),s(Z,{size:"small",type:"primary",disabled:this.count>3,class:N.btn,onClick:()=>this.agree(t)},{default:()=>[C("\u4E0A\u9EA6")]})]):s("div",{class:N.joinText},[s("div",{class:N.join},null),s(Z,{size:"small",plain:!0,class:[N.btn,N.downBtn],onClick:()=>this.refuse(t)},{default:()=>[C("\u4E0B\u9EA6")]})])])])])):this.loadingJoin?s("div",{class:N.loadingStyle},[s("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[s("div",{class:"el-loading-spinner"},[s("svg",{class:"circular",viewBox:"25 25 50 50"},[s("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):s(Dt,{style:{paddingTop:"120px"},text:"\u6682\u65E0\u5B66\u5458\u53D1\u8D77\u8FDE\u9EA6\uFF01",icon:"noData-no-join"},null)])}}),zs=q({data(){return{loadingLook:!1,upStatus:!1,downStatus:!1}},computed:{count(){let e=0;for(const t in H.lookList)if(Object.prototype.hasOwnProperty.call(H.lookList,t)){const n=H.lookList[t];if((n.userRoomType===2||n.userRoomType===4)&&(e+=1),e>3)break}return e}},async mounted(){await this._init(),this.loadingLook=!0,O.on(j["RC:Chatroom:Welcome"],this.onWelcome),setTimeout(()=>{this.loadingLook=!1})},methods:{async _init(){try{const e=sessionStorage.getItem("roomUid");(await ue.get("/api-web/imLiveBroadcastRoom/queryRoomUserInfo",{params:{roomUid:e}})).data.forEach(o=>{H.lookList[o.userId]||(H.lookList[o.userId]={id:o.userId,name:o.userName,type:3,userRoomType:1,time:ne().format("YYYY-MM-DD HH:mm:ss")})})}catch{}},async onWelcome(e){if(e&&e.user){const t=ne(e.$EventMessage.sentTime||new Date).format("HH:mm:ss");let n={name:e.user.name,id:e.user.id,sendTime:t,userRoomType:1,type:3};!!H.lookList[n.id]||(Te(n.id,n),console.log("\u6DFB\u52A0\u89C2\u770B\u4EBA\u5458",n),f.lookCount+=1),await ie({count:f.lookCount},"MemberCount"),this.loadingLook=!1}},async onUpLook(e){var t,n;try{if(console.log(this.count,H.lookList,"this.count, runtimeModel.lookList"),this.count>3)return;const o={audienceName:e.name,audienceId:String(e.id),teacherId:String((t=P.user)==null?void 0:t.id),teacherName:(n=P.user)==null?void 0:n.speakerName,userRoomType:2,type:1};e.userRoomType=2,await ie(o,"SeatApply")}catch{}},async onDownLook(e){var t,n;try{const o=Me($({},e),{audienceName:e.name,audienceId:String(e.id),teacherId:String((t=P.user)==null?void 0:t.id),teacherName:(n=P.user)==null?void 0:n.speakerName,type:5});Pe(e.id,o),ie(o,"SeatApply")}catch{}}},render(){const e=Object.values(H.lookList);return s("div",null,[e.length>0?e.map(t=>s("div",{class:N.itemContent},[s("div",{class:N.itemInfo},[s("div",{class:N.itemName},[s("p",{class:N.userName},[s("span",{class:N["name-style"]},[t.name])]),t.userRoomType!==4?s(Z,{size:"small",type:"primary",disabled:this.count>3||t.userRoomType===2||f.videoStatus!=="liveing",class:N.btn,onClick:()=>this.onUpLook(t)},{default:()=>[C("\u4E0A\u9EA6")]}):s(Z,{size:"small",plain:!0,class:[N.btn,N.downBtn],onClick:()=>this.onDownLook(t)},{default:()=>[C("\u4E0B\u9EA6")]})])])])):this.loadingLook?s("div",{class:N.loadingStyle},[s("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[s("div",{class:"el-loading-spinner"},[s("svg",{class:"circular",viewBox:"25 25 50 50"},[s("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):s(Dt,{style:{paddingTop:"120px"},text:"\u6682\u65E0\u5B66\u5458\u89C2\u770B\uFF01",icon:"noData-no-user"},null)])}}),Ks=q({data(){return{messageList:[],loadingMessage:!1}},mounted(){this.loadingMessage=!0,O.on(j["RC:TxtMsg"],this.onMessage),O.on(j["RC:ForcedOffline"],this.onForcedOffline),O.on("MESSAGE:Change",this.scrollToBottom),setTimeout(()=>{this.loadingMessage=!1},2e3),this.scrollToBottom()},beforeUnmount(){O.off(j["RC:TxtMsg"],this.onMessage)},methods:{async onForcedOffline(){try{await ln(),await ue.post("/api-auth/exit",{data:{}}),de("camera"),de("microphone"),f.syncLikeTimer&&clearTimeout(f.syncLikeTimer),P.user=null,Et(),this.$router.push({path:"/login",query:$({},this.$route.query)})}catch{}},onLike(e){var t;if(e&&e.user){const n=ne(e.$EventMessage.sentTime||new Date).format("HH:mm:ss");console.log(e,"like");let o={name:(t=e.user)==null?void 0:t.name,id:e.user.id,isSelf:!1,content:"\u7ED9\u60A8\u70B9\u4E86"+e.counts+"\u4E2A\u8D5E",sendTime:n};pe(o),this.loadingMessage=!1}this.scrollToBottom()},onMessage(e){var t;if(e&&e.user){const n=ne(e.$EventMessage.sentTime||new Date).format("HH:mm:ss");let o={name:(t=e.user)==null?void 0:t.name,id:e.user.id,isSelf:!1,content:e.content,sendTime:n};e.user.id===P.user.speakerId&&(o.isSelf=!0),pe(o),this.loadingMessage=!1}this.scrollToBottom()},scrollToBottom(){this.$nextTick(()=>{var e,t;(t=document.querySelector("#tabList"))==null||t.scrollTo(0,((e=document.querySelector("#messageList"))==null?void 0:e.scrollHeight)||0)})}},render(){return s("div",{style:{minHeight:"100%",position:"relative"},id:"messageList"},[H.messageList.length>0?H.messageList.map(e=>s("div",{class:[N.itemContent,N["slide-top-enter-active"]]},[s("div",{class:N.itemInfo},[s("div",{class:N.itemName},[s("div",{class:N.userName},[e.isSelf?s(vo,{effect:"dark",color:"#01A79E"},{default:()=>[C("\u4E3B\u8BB2\u4EBA")]}):null,s("span",{class:N["name-style"]},[e.name,e.system?null:"\uFF1A"]),s("span",{class:[N.itemText,e.isSelf?N.active:null]},[e.content])]),s("p",{class:N.rightTime},[e.sendTime])])])])):this.loadingMessage?s("div",{class:N.loadingStyle},[s("div",{class:"el-loading-mask",style:"background-color: rgba(0, 0, 0, 0.8);"},[s("div",{class:"el-loading-spinner"},[s("svg",{class:"circular",viewBox:"25 25 50 50"},[s("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none"},null)])])])]):s(Dt,{style:{paddingTop:"120px"},text:"\u6682\u65E0\u5B66\u5458\u4E92\u52A8\uFF01",icon:"noData-no-message"},null)])}}),Ys=q({name:"LiveMessage",data(){return{modelIndex:"message"}},computed:{joinStatus(){let e=H.joinTips;const t=Object.values(H.joinList);return(H.joinTips&&this.modelIndex==="join"||t.length<=0)&&(e=!1,H.joinTips=!1),e}},methods:{tabChange(e){this.modelIndex=e.props.name,this.modelIndex==="message"&&this.$refs.messageModel.scrollToBottom()}},render(){return s("div",{class:G.container},[s("div",{class:G.dataCount},[s("div",null,[s("p",{class:G.num},[f.lookCount]),s("p",{class:G.text},[s(te("SvgIcon"),{name:"message-look",color:"#fff",class:G.dataIcon},null),C("\u5F53\u524D\u89C2\u770B")])]),s("div",null,[s("p",{class:G.num},[f.likeCount]),s("p",{class:G.text},[s(te("SvgIcon"),{name:"message-giveUp",color:"#fff",class:G.dataIcon},null),C("\u7D2F\u8BA1\u70B9\u8D5E")])])]),s(wo,{modelValue:this.modelIndex,"onTab-click":this.tabChange,class:G.tabContainer},{default:()=>[s(Xe,{name:"message"},{label:()=>s("span",{style:{display:"flex",alignItems:"center"}},[s(te("SvgIcon"),{name:"message-message",color:this.modelIndex==="message"?"#00FFF0":"#fff",class:G.tabIcon},null),C("\u804A\u5929")])}),s(Xe,{name:"join"},{label:()=>s("span",{style:{display:"flex",alignItems:"center",position:"relative"}},[s(te("SvgIcon"),{name:"message-evenEtc",color:this.modelIndex==="join"?"#00FFF0":"#fff",class:G.tabIcon},null),C("\u8FDE\u9EA6 "),this.joinStatus?s("i",{class:G.point},null):null])}),s(Xe,{name:"look"},{label:()=>s("span",{style:{display:"flex",alignItems:"center"}},[s(te("SvgIcon"),{name:"message-look",color:this.modelIndex==="look"?"#00FFF0":"#fff",class:G.tabIcon},null),C("\u89C2\u770B")])})]}),s("div",{class:G.tabContent},[s(Ts,null,null),s("div",{class:G.tabList,id:"tabList"},[Ze(s(Ks,{ref:"messageModel"},null),[[et,this.modelIndex==="message"]]),Ze(s(Ws,null,null),[[et,this.modelIndex==="join"]]),Ze(s(zs,null,null),[[et,this.modelIndex==="look"]])]),s(Rs,null,null)])])}});const qs="_container_13n1h_1",Gs="_home_13n1h_4";var an={container:qs,home:Gs},Zs=q({render(){return s("div",{class:an.home},[s(ko,null,null),s("div",{class:an.container},[s(fs,null,null),s(Ys,null,null)])])}});export{Zs as default};