1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[420],{8183:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/moderator",function(){return t(6545)}])},7771:function(e,n,t){"use strict";var o=t(5893),r=(t(7294),t(3253)),i=t.n(r),s={content:{top:"50%",left:"50%",right:"auto",bottom:"auto",marginRight:"-50%",transform:"translate(-50%, -50%)"}};n.Z=function(e){var n=e.chat,t=e.closeChat,r=e.joinUrl;return(0,o.jsx)("div",{children:(0,o.jsx)(i(),{className:"fixed items-end justify-center text-center z-20 w-full py-5 px-5",isOpen:n,onRequestClose:t,style:s,contentLabel:"Example Modal",ariaHideApp:!1,children:(0,o.jsx)("iframe",{src:r,id:"chat_room",width:"100%",height:"640",allow:"camera;microphone;display-capture;xr-spatial-tracking; gyroscope; accelerometer",frameBorder:"0",scrolling:"no"})})})}},6545:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return d}});var o=t(5666),r=t.n(o),i=t(5893),s=t(7294),a=t(8429),c=t(4736),l=t(7771);function u(e,n,t,o,r,i,s){try{var a=e[i](s),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(o,r)}function d(e){var n,t=(0,s.useState)(""),o=t[0],d=t[1],p=(0,s.useState)(""),h=p[0],m=p[1],x=(0,s.useState)(""),f=x[0],g=x[1],j=(0,s.useState)(!1),b=j[0],v=j[1],w=(n=r().mark((function e(n){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),console.log("hotspot ",h),console.log("name = ",o),e.next=5,(0,c.Z)(h,o,"333444");case 5:t=e.sent,console.log(t),e.prev=7,a.Z.get("https://demo.makops.com/bigbluebutton/api/"+t.fullCreate).then((function(e){var n;e.error||(n="https://demo.makops.com/bigbluebutton/api/"+t.fullJoin,g(n),v(!0))})),e.next=15;break;case 11:return e.prev=11,e.t0=e.catch(7),console.log(e.t0),e.abrupt("return");case 15:case"end":return e.stop()}}),e,null,[[7,11]])})),function(){var e=this,t=arguments;return new Promise((function(o,r){var i=n.apply(e,t);function s(e){u(i,o,r,s,a,"next",e)}function a(e){u(i,o,r,s,a,"throw",e)}s(void 0)}))});return(0,i.jsx)("div",{className:"max-w-screen-xl mx-auto",children:(0,i.jsxs)("div",{className:"container w-96 px-5",children:[(0,i.jsx)("form",{onSubmit:w,className:"",children:(0,i.jsxs)("div",{className:"p-10 pb-60",children:[(0,i.jsx)("div",{className:"pt-8 space-y-6 sm:pt-10 sm:space-y-5",children:(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"text-lg leading-6 font-medium text-gray-900",children:"Moderator Sign In"}),(0,i.jsx)("p",{className:"mt-1 max-w-2xl text-sm text-gray-500",children:"Please enter your full name and select your subject to start the meeting as moderator."})]})}),(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{className:"invisible",htmlFor:"name-input",children:"Name"}),(0,i.jsx)("input",{type:"text",className:"block w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding bg-no-repeat border border-solid border-gray-300 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-green-600 focus:outline-none",id:"name-input",placeholder:"Full Name",value:o,onChange:function(e){d(e.target.value)},required:!0})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("label",{className:"invisible",htmlFor:"hotspot",children:"Subject"}),(0,i.jsxs)("select",{id:"hotspot",styles:{icon:{fill:"blue"}},className:"form-select block w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding bg-no-repeat border border-solid border-gray-300 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-green-600 focus:outline-none",required:!0,defaultValue:"",onChange:function(e){m(e.target.value)},children:[(0,i.jsx)("option",{value:"",disabled:!0,hidden:!0,children:"Select your subject"}),(0,i.jsx)("option",{children:"Art"}),(0,i.jsx)("option",{children:"Biology"}),(0,i.jsx)("option",{children:"Business"}),(0,i.jsx)("option",{children:"Chemistry"}),(0,i.jsx)("option",{children:"Drama"}),(0,i.jsx)("option",{children:"Classics"}),(0,i.jsx)("option",{children:"Co-curricular"}),(0,i.jsx)("option",{children:"Computing"}),(0,i.jsx)("option",{children:"EAL"}),(0,i.jsx)("option",{children:"English"}),(0,i.jsx)("option",{children:"French"}),(0,i.jsx)("option",{children:"German"}),(0,i.jsx)("option",{children:"General Enquiries"}),(0,i.jsx)("option",{children:"Geography"}),(0,i.jsx)("option",{children:"History"}),(0,i.jsx)("option",{children:"Mathematics"}),(0,i.jsx)("option",{children:"Music"}),(0,i.jsx)("option",{children:"Philosophy"}),(0,i.jsx)("option",{children:"Psychology"}),(0,i.jsx)("option",{children:"PE"}),(0,i.jsx)("option",{children:"Physics"}),(0,i.jsx)("option",{children:"RE"}),(0,i.jsx)("option",{children:"Spanish"})]})]}),(0,i.jsx)("div",{className:"mt-5",children:(0,i.jsx)("button",{type:"submit",className:"inline-flex justify-center w-full rounded-md border border-transparent shadow-sm px-4 py-2 bg-green-800 text-base font-medium text-white hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-900 sm:text-sm",children:"Join"})})]})}),(0,i.jsx)(l.Z,{chat:b,closeChat:function(){return v(!1)},joinUrl:f})]})})}},8429:function(e,n,t){"use strict";var o=t(9669),r=t.n(o)().create({baseURL:"/api",headers:{"Content-Type":"application/json"}});n.Z=r},4736:function(e,n,t){"use strict";var o=t(5666),r=t.n(o),i=t(8962);function s(e,n,t,o,r,i,s){try{var a=e[i](s),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(o,r)}var a,c=(a=r().mark((function e(n,t,o){var s,a,c,l,u,d;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=n,a="create",c="name="+encodeURIComponent(s)+"&meetingID="+encodeURIComponent(s)+"&attendeePW=111222&moderatorPW=333444&logoutURL=https://koru.vercel.app/?end=1",e.next=5,(0,i.q4)(a+c+"QeZwaEVeWIcNgmq21lopcfkmPlwwuw5IBAcmTdJ54");case 5:return l=e.sent,u=a+"?"+c+"&checksum="+l,a="join",c="fullName="+encodeURIComponent(t)+"&meetingID="+encodeURIComponent(s)+"&password="+o,e.next=11,(0,i.q4)(a+c+"QeZwaEVeWIcNgmq21lopcfkmPlwwuw5IBAcmTdJ54");case 11:return l=e.sent,d=a+"?"+c+"&checksum="+l,e.abrupt("return",{fullCreate:u,fullJoin:d});case 14:case"end":return e.stop()}}),e)})),function(){var e=this,n=arguments;return new Promise((function(t,o){var r=a.apply(e,n);function i(e){s(r,t,o,i,c,"next",e)}function c(e){s(r,t,o,i,c,"throw",e)}i(void 0)}))});n.Z=c}},function(e){e.O(0,[641,921,774,888,179],(function(){return n=8183,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.