����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 3.21.126.72
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/7752.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7752,1910,6925,7263,5656,6582,6477,6350,426,6623],{15422:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:["on"]};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("transition",{attrs:{"leave-active-class":"transition ease-in duration-1000","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.on,expression:"on"}],staticClass:"text-gray-600"},[t._t("default")],2)])],1)}),[],!1,null,null,null).exports},97618:(t,e,s)=>{s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 50 50"}},[s("g",{attrs:{id:"Icon",transform:"translate(13 344)"}},[s("g",{attrs:{id:"circle",transform:"translate(-29 -361.14)"}},[s("circle",{attrs:{id:"bg_circle",cx:"25",cy:"25",r:"25",transform:"translate(16 17.14)",fill:"#25c16f"}}),t._v(" "),s("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"}}),t._v(" "),s("circle",{attrs:{id:"green_ring",cx:"15",cy:"15",r:"15",transform:"translate(26 27.14)",fill:"#25c16f"}})]),t._v(" "),s("g",{attrs:{id:"cursor",transform:"matrix(1, -0.017, 0.017, 1, 10.797, -319.593)"}},[s("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"}}),t._v(" "),s("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:(t,e,s)=>{s.d(e,{Z:()=>a});const r={data:function(){return{show:!0}},computed:{style:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.bannerStyle)||"success"},message:function(){var t;return(null===(t=this.$page.props.jetstream.flash)||void 0===t?void 0:t.banner)||""}}};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.show&&t.message?s("div",{class:{"bg-indigo-500":"success"==t.style,"bg-red-700":"danger"==t.style}},[s("div",{staticClass:"max-w-screen-xl mx-auto py-2 px-3 sm:px-6 lg:px-8"},[s("div",{staticClass:"flex items-center justify-between flex-wrap"},[s("div",{staticClass:"w-0 flex-1 flex items-center min-w-0"},[s("span",{staticClass:"flex p-2 rounded-md",class:{"bg-indigo-600":"success"==t.style,"bg-red-600":"danger"==t.style}},["success"==t.style?s("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"}},[s("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"}})]):t._e(),t._v(" "),"danger"==t.style?s("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"}},[s("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"}})]):t._e()]),t._v(" "),s("p",{staticClass:"ml-3 font-medium text-white truncate"},[t._v("\n                        "+t._s(t.message)+"\n                    ")])]),t._v(" "),s("div",{staticClass:"flex-shrink-0 sm:ml-3"},[s("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"==t.style,"hover:bg-red-600 focus:bg-red-600":"danger"==t.style},attrs:{type:"button","aria-label":"Dismiss"},on:{click:function(e){e.preventDefault(),t.show=!1}}},[s("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"}},[s("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])])])])]):t._e()])}),[],!1,null,null,null).exports},93046:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:{type:{type:String,default:"submit"}}};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"inline-flex items-center px-4 py-2 bg-gray-800 border border-transparent rounded-sm font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports},16446:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:{align:{default:"right"},width:{default:"48"},contentClasses:{default:function(){return["py-1","bg-white"]}}},data:function(){return{open:!1}},created:function(){var t=this,e=function(e){t.open&&27===e.keyCode&&(t.open=!1)};this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)})),document.addEventListener("keydown",e)},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 a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"relative"},[s("div",{on:{click:function(e){t.open=!t.open}}},[t._t("trigger")],2),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"fixed inset-0 z-40",on:{click:function(e){t.open=!1}}}),t._v(" "),s("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"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"absolute z-50 mt-2 shadow rounded",class:[t.widthClass,t.alignmentClasses],staticStyle:{display:"none"},on:{click:function(e){t.open=!1}}},[s("div",{staticClass:"rounded-sm ring-1 ring-black ring-opacity-5",class:t.contentClasses},[t._t("content")],2)])])],1)}),[],!1,null,null,null).exports},93210:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:["href","as"]};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"===t.as?s("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"}},[t._t("default")],2):s("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:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},48243:(t,e,s)=>{s.d(e,{Z:()=>a});const r={components:{ArcSectionTitle:s(34073).Z},computed:{hasActions:function(){return!!this.$slots.actions}}};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"md:grid md:grid-cols-3 md:gap-6"},[s("arc-section-title",{scopedSlots:t._u([{key:"title",fn:function(){return[t._t("title")]},proxy:!0},{key:"description",fn:function(){return[t._t("description")]},proxy:!0}],null,!0)}),t._v(" "),s("div",{staticClass:"mt-5 md:mt-0 md:col-span-2"},[s("form",{on:{submit:function(e){return e.preventDefault(),t.$emit("submitted")}}},[s("div",{staticClass:"shadow sm:rounded-sm"},[s("div",{staticClass:"px-4 py-5 bg-white sm:p-6"},[s("div",{staticClass:"grid grid-cols-6 gap-6"},[t._t("form")],2)]),t._v(" "),t.hasActions?s("div",{staticClass:"flex items-center justify-end px-4 py-3 bg-gray-50 text-right sm:px-6"},[t._t("actions")],2):t._e()])])])],1)}),[],!1,null,null,null).exports},6985:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{ref:"input",staticClass:"text-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-sm shadow-sm",domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,null,null).exports},26216:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:["message"]};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}]},[s("p",{staticClass:"text-red-600 text-sm"},[t._v("\n        "+t._s(t.message)+"\n    ")])])}),[],!1,null,null,null).exports},39283:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:["value"]};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("label",{staticClass:"block font-medium text-gray-700 text-sm mb-1"},[t.value?s("span",[t._v(t._s(t.value))]):s("span",[t._t("default")],2)])}),[],!1,null,null,null).exports},57850:(t,e,s)=>{s.d(e,{Z:()=>a});const r={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 a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)}),[],!1,null,null,null).exports},37760:(t,e,s)=>{s.d(e,{Z:()=>a});const r={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 a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",["button"==t.as?s("button",{staticClass:"w-full text-left",class:t.classes},[t._t("default")],2):s("inertia-link",{class:t.classes,attrs:{href:t.href}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},9556:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:{type:{type:String,default:"button"}}};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"inline-flex items-center px-4 py-2 bg-white border border-gray-300 rounded-sm font-semibold text-xs text-gray-700 uppercase tracking-widest shadow-sm hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-gray-800 active:bg-gray-50 transition ease-in-out duration-150",attrs:{type:t.type}},[t._t("default")],2)}),[],!1,null,null,null).exports},96786:(t,e,s)=>{s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden sm:block"},[e("div",{staticClass:"py-8"},[e("div",{staticClass:"border-t border-gray-200"})])])}],!1,null,null,null).exports},34073:(t,e,s)=>{s.d(e,{Z:()=>r});const r=(0,s(51900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"md:col-span-1"},[s("div",{staticClass:"px-4 sm:px-0"},[s("h3",{staticClass:"text-base font-medium text-gray-900"},[t._t("title")],2),t._v(" "),s("p",{staticClass:"mt-1 text-sm text-gray-600"},[t._t("description")],2)])])}),[],!1,null,null,null).exports},45515:(t,e,s)=>{s.d(e,{Z:()=>a});const r={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const a=(0,s(51900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("textarea",{ref:"input",staticClass:"text-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-sm shadow-sm",attrs:{rows:"4"},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,null,null).exports},66727:(t,e,s)=>{s.d(e,{Z:()=>x});var r=s(97618),a=s(60651),i=s(16446),n=s(93210),o=s(57850),l=s(37760),c=s(71003),u=s(50298),p=s(15366);const m={name:"SidebarDropdown",props:{title:String,items:Array},data:function(){return{open:!1}},methods:{isActive:function(t){return window.location.href===t},isOpen:function(){return this.urls.includes(window.location.href)}},computed:{urls:function(){var t=[];return this.items.forEach((function(e){return t.push(e.url)})),t}},created:function(){this.open=this.isOpen()}};var _=s(51900);const d=(0,_.Z)(m,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("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":t.open},attrs:{role:"button"},on:{click:function(e){t.open=!t.open}}},[s("div",{staticClass:"flex items-center"},[t._t("icon"),t._v(" "),s("span",[t._v(t._s(t.__(t.title)))])],2),t._v(" "),s("svg",{staticClass:"flex-shrink-0 w-4 h-4 ml-2 transition transform",class:{"rotate-90":t.open},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("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"}})])]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"mb-4"},t._l(t.items,(function(e){return s("div",{key:e.url,staticClass:"block"},[e.active?s("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":t.isActive(e.url)},attrs:{href:e.url}},[t._v("\n                "+t._s(t.__(e.label))+"\n            ")]):t._e()],1)})),0)])}),[],!1,null,null,null).exports;const f={name:"SidebarLink",props:{title:String,url:String},computed:{active:function(){return window.location.href===this.url}}};const v=(0,_.Z)(f,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("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":t.active},attrs:{href:t.url}},[t._t("icon"),t._v(" "),s("span",[t._v(t._s(t.__(t.title)))])],2)}),[],!1,null,null,null).exports;var g=s(44943),b=s(78465);const h={components:{ArcApplicationMark:r.Z,ArcBanner:a.Z,ArcDropdown:i.Z,ArcDropdownLink:n.Z,ArcNavLink:o.Z,ArcResponsiveNavLink:l.Z,ConfirmDialog:c.default,Message:p.default,Toast:u.default,SidebarDropdown:d,SidebarLink:v,PerfectScrollbar:g.PerfectScrollbar,InputSwitch:b.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(t){this.$inertia.put(route("current-team.update"),{team_id:t.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,_.Z)(h,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[s("arc-banner")],1),t._v(" "),s("div",{staticClass:"min-h-screen"},[s("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":!t.sideBar,"translate-x-0":t.sideBar},on:{click:function(e){t.sideBar=!1}}},[s("inertia-link",{staticClass:"flex items-center px-4 py-5",attrs:{href:t.route("home")}},[s("img",{staticClass:"h-8 w-auto",attrs:{src:t.$page.props.assetUrl+t.$page.props.general.logo_path,alt:t.$page.props.general.app_name}})]),t._v(" "),s("perfect-scrollbar",{ref:"scroll",staticClass:"h-full overflow-hidden",attrs:{options:t.scrollbarOptions}},[s("nav",{staticClass:"text-sm font-medium pb-16 text-gray-400",attrs:{"aria-label":"Main Navigation"}},[t._l(t.items,(function(e){return[e.active&&"dropdown"===e.item_type?s("sidebar-dropdown",{attrs:{title:e.label,items:e.items},scopedSlots:t._u([{key:"icon",fn:function(){return[s("span",{domProps:{innerHTML:t._s(e.icon)}})]},proxy:!0}],null,!0)}):t._e(),t._v(" "),!0===e.active&&"link"===e.item_type?s("sidebar-link",{attrs:{title:e.label,url:e.url},scopedSlots:t._u([{key:"icon",fn:function(){return[s("span",{domProps:{innerHTML:t._s(e.icon)}})]},proxy:!0}],null,!0)}):t._e(),t._v(" "),"divider"===e.item_type?s("div",{staticClass:"my-4 mx-4 uppercase font-semibold text-green-500 text-xs"},[t._v("\n                            "+t._s(e.label)+"\n                        ")]):t._e()]}))],2)])],1),t._v(" "),s("div",{staticClass:"ltr:ml-0 rtl:mr-0 transition md:ltr:ml-60 md:rtl:mr-60"},[s("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"},[s("button",{staticClass:"block btn btn-light-secondary md:hidden",on:{click:function(e){t.sideBar=!0}}},[s("span",{staticClass:"sr-only"},[t._v(t._s(t.__("Menu")))]),t._v(" "),s("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("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"}})])]),t._v(" "),s("div",{staticClass:"hidden -ml-3 form-icon md:block w-96"},[s("inertia-link",{staticClass:"text-sm font-semibold px-4 py-5 capitalize",attrs:{href:t.route("home")}},[t._v("\n                        "+t._s(t.__(t.$page.props.user.role_id))+" "+t._s(t.__("Dashboard"))+"\n                    ")])],1),t._v(" "),s("div",{staticClass:"flex items-center"},[s("a",{staticClass:"flex text-gray-500",attrs:{href:"#"}},[s("svg",{staticClass:"flex-shrink-0 w-5 h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[s("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"}})])]),t._v(" "),s("div",{staticClass:"ltr:ml-4 rtl:mr-4 relative"},[s("arc-dropdown",{attrs:{align:"right",width:"48"},scopedSlots:t._u([{key:"trigger",fn:function(){return[t.$page.props.jetstream.managesProfilePhotos?s("button",{staticClass:"flex border-2 border-transparent rounded-full focus:outline-none focus:border-gray-300 transition duration-150 ease-in-out"},[s("img",{staticClass:"h-8 w-8 rounded-full object-cover",attrs:{src:t.$page.props.user.profile_photo_url,alt:t.$page.props.user.name}})]):s("span",{staticClass:"inline-flex rounded-md"},[s("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"}},[t._v("\n                                            "+t._s(t.$page.props.user.name)+"\n\n                                            "),s("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"}},[s("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[s("div",{staticClass:"block px-4 py-2 text-xs text-gray-400"},[t._v("\n                                    "+t._s(t.__("Manage Account"))+"\n                                ")]),t._v(" "),s("arc-dropdown-link",{attrs:{href:t.route("profile.show")}},[t._v("\n                                    "+t._s(t.__("Profile"))+"\n                                ")]),t._v(" "),t.$page.props.jetstream.hasApiFeatures?s("arc-dropdown-link",{attrs:{href:t.route("api-tokens.index")}},[t._v("\n                                    "+t._s(t.__("Api Tokens"))+"\n                                ")]):t._e(),t._v(" "),s("div",{staticClass:"border-t border-gray-100"}),t._v(" "),s("form",{attrs:{method:"post",action:t.route("logout")}},[s("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.$page.props.csrf_token}}),t._v(" "),s("arc-dropdown-link",{attrs:{as:"button"}},[t._v("\n                                        "+t._s(t.__("Logout"))+"\n                                    ")])],1)]},proxy:!0}])})],1)])]),t._v(" "),s("section",[s("div",{staticClass:"container mx-auto pt-4 px-4 sm:px-6 lg:px-8"},[s("div",{staticClass:"flex flex-col md:flex-row items-start md:items-center justify-between"},[s("div",[t._t("header")],2),t._v(" "),s("div",{staticClass:"mb-6 sm:mb-0 sm:mt-0"},[t._t("actions")],2)])])]),t._v(" "),s("main",[s("div",{staticClass:"container mx-auto px-4 sm:px-6 lg:px-8"},[t.$page.props.successMessage?s("Message",{attrs:{severity:"success",closable:!1}},[t._v(t._s(t.$page.props.successMessage))]):t._e(),t._v(" "),t.$page.props.errorMessage?s("Message",{attrs:{severity:"error",closable:!1}},[t._v(t._s(t.$page.props.errorMessage))]):t._e()],1),t._v(" "),t._t("default")],2),t._v(" "),s("portal-target",{attrs:{name:"modal",multiple:""}}),t._v(" "),s("ConfirmDialog"),t._v(" "),s("Toast",{attrs:{position:t.$page.props.rtl?"bottom-left":"bottom-right"}}),t._v(" "),s("Toast",{attrs:{position:t.$page.props.rtl?"top-left":"top-right",group:"lm"}})],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.sideBar,expression:"sideBar"}],staticClass:"fixed inset-0 z-10 w-screen h-screen bg-black bg-opacity-25 md:hidden",on:{click:function(e){t.sideBar=!1}}})])])}),[],!1,null,null,null).exports},31910:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283);const p={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z},props:{settings:Object},data:function(){return{form:this.$inertia.form({title:this.settings.title,subtitle:this.settings.subtitle,limit:this.settings.limit})}},methods:{updateSettings:function(){this.form.post(route("update_category_settings"),{errorBag:"updateCategorySettings",preserveScroll:!0})}}};const m=(0,s(51900).Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Category Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"title",value:t.__("Title")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"title",type:"text",autocomplete:"title"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.title}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"subtitle",value:t.__("Subtitle")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"subtitle"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.subtitle}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"limit",value:t.__("Item Limit")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"limit",type:"number"},model:{value:t.form.limit,callback:function(e){t.$set(t.form,"limit",e)},expression:"form.limit"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.limit}})],1)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283);const p={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z},props:{settings:Object},data:function(){return{form:this.$inertia.form({title:this.settings.title,subtitle:this.settings.subtitle,button_text:this.settings.button_text,button_link:this.settings.button_link})}},methods:{updateSettings:function(){this.form.post(route("update_cta_settings"),{errorBag:"updateCtaSettings",preserveScroll:!0})}}};const m=(0,s(51900).Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("CTA Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"title",value:t.__("Title")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"title",type:"text",autocomplete:"title"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.title}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"subtitle",value:t.__("Subtitle")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"subtitle"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.subtitle}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"button_text",value:t.__("Button Text")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"button_text",type:"text",autocomplete:"button_text"},model:{value:t.form.button_text,callback:function(e){t.$set(t.form,"button_text",e)},expression:"form.button_text"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.button_text}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"button_link",value:t.__("Button Link")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"button_link",type:"text",autocomplete:"hero_cta_text"},model:{value:t.form.button_link,callback:function(e){t.$set(t.form,"button_link",e)},expression:"form.button_link"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.button_link}})],1)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},27263:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283);const p={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z},props:{settings:Object},data:function(){return{features:[1,2,3,4],form:this.$inertia.form({title:this.settings.title,subtitle:this.settings.subtitle,feature1_caption:this.settings.feature1[0],feature1_description:this.settings.feature1[1],feature1_icon_url:this.settings.feature1[2],feature2_caption:this.settings.feature2[0],feature2_description:this.settings.feature2[1],feature2_icon_url:this.settings.feature2[2],feature3_caption:this.settings.feature3[0],feature3_description:this.settings.feature3[1],feature3_icon_url:this.settings.feature3[2],feature4_caption:this.settings.feature4[0],feature4_description:this.settings.feature4[1],feature4_icon_url:this.settings.feature4[2]})}},methods:{updateSettings:function(){this.form.post(route("update_feature_settings"),{errorBag:"updateFeatureSettings",preserveScroll:!0})}}};const m=(0,s(51900).Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Feature Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"title",value:t.__("Title")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"title",type:"text",autocomplete:"title"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.title}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"subtitle",value:t.__("Subtitle")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"subtitle"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.subtitle}})],1),t._v(" "),t._l(t.features,(function(e){return s("div",{staticClass:"p-4 bg-gray-50 rounded-md col-span-6 sm:sol-span-4"},[s("div",{staticClass:"col-span-12 py-3 font-bold border-b border-gray-200"},[s("span",[t._v(t._s(t.__("Feature"))+" "+t._s(e))])]),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"feature"+e+"_caption",value:t.__("Caption")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"feature"+e+"_caption",type:"text"},model:{value:t.form["feature"+e+"_caption"],callback:function(s){t.$set(t.form,"feature"+e+"_caption",s)},expression:"form['feature'+feature+'_caption']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["feature"+e+"_caption"]}})],1),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"feature"+e+"_description",value:t.__("Description")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"feature"+e+"_description"},model:{value:t.form["feature"+e+"_description"],callback:function(s){t.$set(t.form,"feature"+e+"_description",s)},expression:"form['feature'+feature+'_description']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["feature"+e+"_description"]}})],1),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"feature"+e+"_icon_url",value:t.__("Icon URL")+" (100x100)"}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"feature"+e+"_icon_url",type:"text"},model:{value:t.form["feature"+e+"_icon_url"],callback:function(s){t.$set(t.form,"feature"+e+"_icon_url",s)},expression:"form['feature'+feature+'_icon_url']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["feature"+e+"_icon_url"]}})],1)])}))]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},15656:(t,e,s)=>{s.r(e),s.d(e,{default:()=>_});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283),p=s(78465);const m={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z,InputSwitch:p.default},props:{settings:Object},data:function(){return{social_sites:["facebook","twitter","youtube","instagram","linkedin","github"],form:this.$inertia.form({copyright_text:this.settings.copyright_text,enable_links:this.settings.enable_links,footer_links:this.settings.footer_links,enable_social_links:this.settings.enable_social_links,enable_facebook:this.settings.social_links.facebook[1],facebook_link:this.settings.social_links.facebook[2],enable_twitter:this.settings.social_links.twitter[1],twitter_link:this.settings.social_links.twitter[2],enable_youtube:this.settings.social_links.youtube[1],youtube_link:this.settings.social_links.youtube[2],enable_instagram:this.settings.social_links.instagram[1],instagram_link:this.settings.social_links.instagram[2],enable_linkedin:this.settings.social_links.linkedin[1],linkedin_link:this.settings.social_links.linkedin[2],enable_github:this.settings.social_links.github[1],github_link:this.settings.social_links.github[2]})}},methods:{updateSettings:function(){this.form.post(route("update_footer_settings"),{errorBag:"updateFooterSettings",preserveScroll:!0})}}};const _=(0,s(51900).Z)(m,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Footer Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"copyright_text",value:t.__("Copyright Text")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"copyright_text",type:"text"},model:{value:t.form.copyright_text,callback:function(e){t.$set(t.form,"copyright_text",e)},expression:"form.copyright_text"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.copyright_text}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_links"}},[t._v(t._s(t.__("Enable Footer Links"))+" ("+t._s(t.form.enable_links?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_links"},model:{value:t.form.enable_links,callback:function(e){t.$set(t.form,"enable_links",e)},expression:"form.enable_links"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_links}})],1),t._v(" "),t._l(t.form.footer_links,(function(e,r){return s("div",{staticClass:"p-4 bg-gray-50 rounded-md col-span-6 sm:col-span-4"},[s("div",{staticClass:"col-span-12 flex justify-between items-center py-3 font-bold border-b border-gray-200"},[s("span",[t._v(t._s(t.__("Link"))+" "+t._s(r+1))]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_link_"+r},model:{value:t.form.footer_links[r][2],callback:function(e){t.$set(t.form.footer_links[r],2,e)},expression:"form.footer_links[index][2]"}})],1)]),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"text_"+r,value:t.__("Link Text")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"text_"+r,type:"text"},model:{value:t.form.footer_links[r][0],callback:function(e){t.$set(t.form.footer_links[r],0,e)},expression:"form.footer_links[index][0]"}})],1),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"link_"+r,value:t.__("Link")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"link_"+r,type:"text"},model:{value:t.form.footer_links[r][1],callback:function(e){t.$set(t.form.footer_links[r],1,e)},expression:"form.footer_links[index][1]"}})],1)])})),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_social_links"}},[t._v(t._s(t.__("Enable Social Links"))+" ("+t._s(t.form.enable_social_links?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_social_links"},model:{value:t.form.enable_social_links,callback:function(e){t.$set(t.form,"enable_social_links",e)},expression:"form.enable_social_links"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_social_links}})],1),t._v(" "),s("div",{staticClass:"p-4 bg-gray-50 rounded-md col-span-6 sm:col-span-4"},t._l(t.social_sites,(function(e){return s("div",{staticClass:"mb-2"},[s("arc-label",{staticClass:"capitalize",attrs:{for:e+"_link",value:t.__(e)}}),t._v(" "),s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_"+e},model:{value:t.form["enable_"+e],callback:function(s){t.$set(t.form,"enable_"+e,s)},expression:"form['enable_'+site]"}})],1),t._v(" "),s("div",{staticClass:"w-9/12"},[s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:e+"_link",type:"text"},model:{value:t.form[e+"_link"],callback:function(s){t.$set(t.form,e+"_link",s)},expression:"form[site+'_link']"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors[e+"_link"]}})],1)})),0)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},46582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>_});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283),p=s(9556);const m={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z,ArcSecondaryButton:p.Z},props:{settings:Object},data:function(){return{form:this.$inertia.form({title:this.settings.title,subtitle:this.settings.subtitle,cta_text:this.settings.cta_text,cta_link:this.settings.cta_link,image_path:this.settings.image_path}),imagePreview:null}},methods:{updateSettings:function(){this.$refs.image&&(this.form.image_path=this.$refs.image.files[0]),this.form.post(route("update_hero_settings"),{errorBag:"updateHeroSettings",preserveScroll:!0})},selectNewImage:function(){this.$refs.image.click()},updateImagePreview:function(){var t=this,e=new FileReader;e.onload=function(e){t.imagePreview=e.target.result},e.readAsDataURL(this.$refs.image.files[0])}}};const _=(0,s(51900).Z)(m,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Hero Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"title",value:t.__("Title")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"title",type:"text",autocomplete:"title"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.title}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"subtitle",value:t.__("Subtitle")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"subtitle"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.subtitle}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"cta_text",value:t.__("CTA Text")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"cta_text",type:"text",autocomplete:"cta_text"},model:{value:t.form.cta_text,callback:function(e){t.$set(t.form,"cta_text",e)},expression:"form.cta_text"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.cta_text}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"cta_link",value:t.__("CTA Link")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"cta_link",type:"text",autocomplete:"cta_link"},model:{value:t.form.cta_link,callback:function(e){t.$set(t.form,"cta_link",e)},expression:"form.cta_link"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.cta_link}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("input",{ref:"image",staticClass:"hidden",attrs:{type:"file"},on:{change:t.updateImagePreview}}),t._v(" "),s("arc-label",{attrs:{for:"image",value:t.__("Image")}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.imagePreview,expression:"!imagePreview"}],staticClass:"mt-2"},[s("img",{staticClass:"h-64 object-cover",attrs:{src:t.$page.props.assetUrl+t.settings.image_path,alt:"Hero Image"}})]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.imagePreview,expression:"imagePreview"}],staticClass:"mt-2"},[s("span",{staticClass:"block h-64",style:"background-size: contain; background-repeat: no-repeat; background-position: center center; background-image: url('"+t.imagePreview+"');"})]),t._v(" "),s("arc-secondary-button",{staticClass:"mt-2 ltr:mr-2 rtl:ml-2",attrs:{type:"button"},nativeOn:{click:function(e){return e.preventDefault(),t.selectNewImage(e)}}},[t._v("\n                "+t._s(t.__("Select A New Image"))+"\n            ")]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.hero_image_path}})],1)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},17752:(t,e,s)=>{s.r(e),s.d(e,{default:()=>f});var r=s(66727),a=s(96786),i=s(76477),n=s(6623),o=s(27263),l=s(66925),c=s(46582),u=s(426),p=s(76350),m=s(31910),_=s(15656);const d={components:{AdminLayout:r.Z,ArcSectionBorder:a.Z,HomePageSettingsForm:i.default,TopBarSettingsForm:n.default,FeatureSettingsForm:o.default,CtaSettingsForm:l.default,HeroSettingsForm:c.default,TestimonialSettingsForm:u.default,StatSettingsForm:p.default,CategorySettingsForm:m.default,FooterSettingsForm:_.default},props:{homePageSettings:Object,heroSettings:Object,topBarSettings:Object,featureSettings:Object,ctaSettings:Object,testimonialSettings:Object,statSettings:Object,categorySettings:Object,footerSettings:Object},metaInfo:function(){return{title:this.title}},computed:{title:function(){return this.__("Home Page Settings")+" - "+this.$page.props.general.app_name}}};const f=(0,s(51900).Z)(d,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("admin-layout",{scopedSlots:t._u([{key:"header",fn:function(){return[s("h4",{staticClass:"page-heading"},[t._v("\n            "+t._s(t.__("Home Page Settings"))+"\n        ")])]},proxy:!0}])},[t._v(" "),s("div",[s("div",{staticClass:"max-w-7xl mx-auto py-10 sm:px-6 lg:px-8"},[s("home-page-settings-form",{attrs:{settings:t.homePageSettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("top-bar-settings-form",{attrs:{settings:t.topBarSettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("hero-settings-form",{attrs:{settings:t.heroSettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("feature-settings-form",{attrs:{settings:t.featureSettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("category-settings-form",{attrs:{settings:t.categorySettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("stat-settings-form",{attrs:{settings:t.statSettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("testimonial-settings-form",{attrs:{settings:t.testimonialSettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("cta-settings-form",{attrs:{settings:t.ctaSettings}}),t._v(" "),s("arc-section-border"),t._v(" "),s("footer-settings-form",{attrs:{settings:t.footerSettings}})],1)])])}),[],!1,null,null,null).exports},76477:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=(s(45515),s(26216)),c=s(39283),u=s(78465);const p={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcInputError:l.Z,ArcLabel:c.Z,InputSwitch:u.default},props:{settings:Object},data:function(){return{form:this.$inertia.form({enable_top_bar:this.settings.enable_top_bar,enable_search:this.settings.enable_search,enable_hero:this.settings.enable_hero,enable_features:this.settings.enable_features,enable_categories:this.settings.enable_categories,enable_testimonials:this.settings.enable_testimonials,enable_stats:this.settings.enable_stats,enable_cta:this.settings.enable_cta,enable_footer:this.settings.enable_footer}),imagePreview:null}},methods:{updateSettings:function(){this.form.post(route("update_home_page_settings"),{errorBag:"updateHomePageSettings",preserveScroll:!0})}}};const m=(0,s(51900).Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Home Page Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_top_bar"}},[t._v(t._s(t.__("Enable TopBar"))+" ("+t._s(t.form.enable_top_bar?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_top_bar"},model:{value:t.form.enable_top_bar,callback:function(e){t.$set(t.form,"enable_top_bar",e)},expression:"form.enable_top_bar"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_top_bar}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_hero"}},[t._v(t._s(t.__("Enable Hero"))+" ("+t._s(t.form.enable_hero?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_hero"},model:{value:t.form.enable_hero,callback:function(e){t.$set(t.form,"enable_hero",e)},expression:"form.enable_hero"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_hero}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_features"}},[t._v(t._s(t.__("Enable Features"))+" ("+t._s(t.form.enable_features?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_features"},model:{value:t.form.enable_features,callback:function(e){t.$set(t.form,"enable_features",e)},expression:"form.enable_features"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_features}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_categories"}},[t._v(t._s(t.__("Enable Categories"))+" ("+t._s(t.form.enable_categories?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_categories"},model:{value:t.form.enable_categories,callback:function(e){t.$set(t.form,"enable_categories",e)},expression:"form.enable_categories"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_features}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_stats"}},[t._v(t._s(t.__("Enable Stats"))+" ("+t._s(t.form.enable_stats?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_stats"},model:{value:t.form.enable_stats,callback:function(e){t.$set(t.form,"enable_stats",e)},expression:"form.enable_stats"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_stats}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_testimonials"}},[t._v(t._s(t.__("Enable Testimonials"))+" ("+t._s(t.form.enable_testimonials?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_testimonials"},model:{value:t.form.enable_testimonials,callback:function(e){t.$set(t.form,"enable_testimonials",e)},expression:"form.enable_testimonials"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_testimonials}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_cta"}},[t._v(t._s(t.__("Enable CTA"))+" ("+t._s(t.form.enable_cta?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_cta"},model:{value:t.form.enable_cta,callback:function(e){t.$set(t.form,"enable_cta",e)},expression:"form.enable_cta"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_cta}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("div",{staticClass:"flex justify-between items-center"},[s("div",{staticClass:"w-9/12"},[s("label",{staticClass:"text-sm text-gray-800 pb-1",attrs:{for:"enable_footer"}},[t._v(t._s(t.__("Enable Footer"))+" ("+t._s(t.form.enable_footer?t.__("Enabled"):t.__("Disabled"))+")")])]),t._v(" "),s("div",{staticClass:"cursor-pointer rounded-full relative shadow-sm"},[s("InputSwitch",{attrs:{id:"enable_footer"},model:{value:t.form.enable_footer,callback:function(e){t.$set(t.form,"enable_footer",e)},expression:"form.enable_footer"}})],1)]),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.enable_footer}})],1)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},76350:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283);const p={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z},props:{settings:Object},data:function(){return{stats:[1,2,3],form:this.$inertia.form({title:this.settings.title,subtitle:this.settings.subtitle,stat1_count:this.settings.stat1[0],stat1_name:this.settings.stat1[1],stat2_count:this.settings.stat2[0],stat2_name:this.settings.stat2[1],stat3_count:this.settings.stat3[0],stat3_name:this.settings.stat3[1]})}},methods:{updateSettings:function(){this.form.post(route("update_stat_settings"),{errorBag:"updateStatSettings",preserveScroll:!0})}}};const m=(0,s(51900).Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Statistics Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"title",value:t.__("Title")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"title",type:"text",autocomplete:"title"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.title}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"subtitle",value:t.__("Subtitle")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"subtitle"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.subtitle}})],1),t._v(" "),t._l(t.stats,(function(e){return s("div",{staticClass:"p-4 bg-gray-50 rounded-md col-span-6 sm:sol-span-4"},[s("div",{staticClass:"col-span-12 py-3 font-bold border-b border-gray-200"},[s("span",[t._v(t._s(t.__("Statistic"))+" "+t._s(e))])]),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"stat"+e+"_name",value:t.__("Name")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"stat"+e+"_name",type:"text"},model:{value:t.form["stat"+e+"_name"],callback:function(s){t.$set(t.form,"stat"+e+"_name",s)},expression:"form['stat'+stat+'_name']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["stat"+e+"_name"]}})],1),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"stat"+e+"_count",value:t.__("Count")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"stat"+e+"_count",type:"text"},model:{value:t.form["stat"+e+"_count"],callback:function(s){t.$set(t.form,"stat"+e+"_count",s)},expression:"form['stat'+stat+'_count']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["stat"+e+"_count"]}})],1)])}))]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},426:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283);const p={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z},props:{settings:Object},data:function(){return{testimonials:[1,2],form:this.$inertia.form({title:this.settings.title,subtitle:this.settings.subtitle,testimonial1_name:this.settings.testimonial1[0],testimonial1_designation:this.settings.testimonial1[1],testimonial1_message:this.settings.testimonial1[2],testimonial1_image:this.settings.testimonial1[3],testimonial2_name:this.settings.testimonial2[0],testimonial2_designation:this.settings.testimonial2[1],testimonial2_message:this.settings.testimonial2[2],testimonial2_image:this.settings.testimonial2[3]})}},methods:{updateSettings:function(){this.form.post(route("update_testimonial_settings"),{errorBag:"updateTestimonialSettings",preserveScroll:!0})}}};const m=(0,s(51900).Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Testimonial Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"title",value:t.__("Title")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"title",type:"text",autocomplete:"title"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.title}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"subtitle",value:t.__("Subtitle")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"subtitle"},model:{value:t.form.subtitle,callback:function(e){t.$set(t.form,"subtitle",e)},expression:"form.subtitle"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.subtitle}})],1),t._v(" "),t._l(t.testimonials,(function(e){return s("div",{staticClass:"p-4 bg-gray-50 rounded-md col-span-6 sm:sol-span-4"},[s("div",{staticClass:"col-span-12 py-3 font-bold border-b border-gray-200"},[s("span",[t._v(t._s(t.__("Testimonial"))+" "+t._s(e))])]),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"testimonial"+e+"_name",value:t.__("Name")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"testimonial"+e+"_name",type:"text"},model:{value:t.form["testimonial"+e+"_name"],callback:function(s){t.$set(t.form,"testimonial"+e+"_name",s)},expression:"form['testimonial'+testimonial+'_name']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["testimonial"+e+"_name"]}})],1),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"testimonial"+e+"_designation",value:t.__("Designation")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"testimonial"+e+"_designation",type:"text"},model:{value:t.form["testimonial"+e+"_designation"],callback:function(s){t.$set(t.form,"testimonial"+e+"_designation",s)},expression:"form['testimonial'+testimonial+'_designation']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["testimonial"+e+"_designation"]}})],1),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"testimonial"+e+"_message",value:t.__("Message")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"testimonial"+e+"_message"},model:{value:t.form["testimonial"+e+"_message"],callback:function(s){t.$set(t.form,"testimonial"+e+"_message",s)},expression:"form['testimonial'+testimonial+'_message']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["testimonial"+e+"_message"]}})],1),t._v(" "),s("div",{staticClass:"col-span-12 py-3"},[s("arc-label",{attrs:{for:"testimonial"+e+"_image",value:t.__("Image")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"testimonial"+e+"_image",type:"text"},model:{value:t.form["testimonial"+e+"_image"],callback:function(s){t.$set(t.form,"testimonial"+e+"_image",s)},expression:"form['testimonial'+testimonial+'_image']"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors["testimonial"+e+"_image"]}})],1)])}))]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports},6623:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var r=s(66727),a=s(15422),i=s(93046),n=s(48243),o=s(6985),l=s(45515),c=s(26216),u=s(39283);const p={components:{AdminLayout:r.Z,ArcActionMessage:a.Z,ArcButton:i.Z,ArcFormSection:n.Z,ArcInput:o.Z,ArcTextArea:l.Z,ArcInputError:c.Z,ArcLabel:u.Z},props:{settings:Object},data:function(){return{form:this.$inertia.form({message:this.settings.message,button_text:this.settings.button_text,button_link:this.settings.button_link})}},methods:{updateSettings:function(){this.form.post(route("update_top_bar_settings"),{errorBag:"updateTopBarSettings",preserveScroll:!0})}}};const m=(0,s(51900).Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("arc-form-section",{on:{submitted:t.updateSettings},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.__("Top Bar Settings"))+"\n    ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"message",value:t.__("Message")}}),t._v(" "),s("arc-text-area",{staticClass:"mt-1 block w-full",attrs:{id:"message"},model:{value:t.form.message,callback:function(e){t.$set(t.form,"message",e)},expression:"form.message"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.message}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"button_text",value:t.__("Button Text")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"button_text",type:"text",autocomplete:"button_text"},model:{value:t.form.button_text,callback:function(e){t.$set(t.form,"button_text",e)},expression:"form.button_text"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.button_text}})],1),t._v(" "),s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"button_link",value:t.__("Button Link")}}),t._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"button_link",type:"text",autocomplete:"hero_cta_text"},model:{value:t.form.button_link,callback:function(e){t.$set(t.form,"button_link",e)},expression:"form.button_link"}}),t._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:t.form.errors.button_link}})],1)]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:t.form.recentlySuccessful}},[t._v("\n            "+t._s(t.__("Saved"))+".\n        ")]),t._v(" "),s("arc-button",{class:{"opacity-25":t.form.processing},attrs:{disabled:t.form.processing}},[t._v("\n            "+t._s(t.__("Save"))+"\n        ")])]},proxy:!0}])})}),[],!1,null,null,null).exports}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit