����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 13.58.121.29 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.bofirm.com/public/js/ |
Upload File : |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1271],{15422:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:["on"]};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;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:e.on,expression:"on"}],staticClass:"text-gray-600"},[e._t("default")],2)])],1)}),[],!1,null,null,null).exports},5523:(e,t,s)=>{s.d(t,{Z:()=>o});const n={components:{ArcSectionTitle:s(34073).Z}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"md:grid md:grid-cols-3 md:gap-6"},[s("arc-section-title",{scopedSlots:e._u([{key:"title",fn:function(){return[e._t("title")]},proxy:!0},{key:"description",fn:function(){return[e._t("description")]},proxy:!0}],null,!0)}),e._v(" "),s("div",{staticClass:"mt-5 md:mt-0 md:col-span-2"},[s("div",{staticClass:"px-4 py-5 sm:p-6 bg-white shadow sm:rounded-sm"},[e._t("content")],2)])],1)}),[],!1,null,null,null).exports},93046:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:{type:{type:String,default:"submit"}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("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:e.type}},[e._t("default")],2)}),[],!1,null,null,null).exports},43608:(e,t,s)=>{s.d(t,{Z:()=>o});const n={model:{prop:"checked",event:"change"},props:{checked:{type:[Array,Boolean],default:!1},value:{default:null}},computed:{proxyChecked:{get:function(){return this.checked},set:function(e){this.$emit("change",e)}}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{directives:[{name:"model",rawName:"v-model",value:e.proxyChecked,expression:"proxyChecked"}],staticClass:"rounded border-gray-300 text-green-600 shadow-sm focus:border-green-300 focus:ring focus:ring-green-200 focus:ring-opacity-50",attrs:{type:"checkbox"},domProps:{value:e.value,checked:Array.isArray(e.proxyChecked)?e._i(e.proxyChecked,e.value)>-1:e.proxyChecked},on:{change:function(t){var s=e.proxyChecked,n=t.target,o=!!n.checked;if(Array.isArray(s)){var i=e.value,a=e._i(s,i);n.checked?a<0&&(e.proxyChecked=s.concat([i])):a>-1&&(e.proxyChecked=s.slice(0,a).concat(s.slice(a+1)))}else e.proxyChecked=o}}})}),[],!1,null,null,null).exports},33215:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:{type:{type:String,default:"button"}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("button",{staticClass:"inline-flex items-center justify-center px-4 py-2 bg-red-600 border border-transparent rounded-smd font-semibold text-xs text-white uppercase tracking-widest hover:bg-red-500 focus:outline-none focus:border-red-700 focus:shadow-outline-red active:bg-red-600 transition ease-in-out duration-150",attrs:{type:e.type}},[e._t("default")],2)}),[],!1,null,null,null).exports},88749:(e,t,s)=>{s.d(t,{Z:()=>o});const n={components:{Modal:s(10116).Z},props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.$emit("close")}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("modal",{attrs:{show:e.show,"max-width":e.maxWidth,closeable:e.closeable},on:{close:e.close}},[s("div",{staticClass:"px-6 py-4"},[s("div",{staticClass:"text-lg"},[e._t("title")],2),e._v(" "),s("div",{staticClass:"mt-4"},[e._t("content")],2)]),e._v(" "),s("div",{staticClass:"px-6 py-4 bg-gray-100 text-right"},[e._t("footer")],2)])}),[],!1,null,null,null).exports},48243:(e,t,s)=>{s.d(t,{Z:()=>o});const n={components:{ArcSectionTitle:s(34073).Z},computed:{hasActions:function(){return!!this.$slots.actions}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"md:grid md:grid-cols-3 md:gap-6"},[s("arc-section-title",{scopedSlots:e._u([{key:"title",fn:function(){return[e._t("title")]},proxy:!0},{key:"description",fn:function(){return[e._t("description")]},proxy:!0}],null,!0)}),e._v(" "),s("div",{staticClass:"mt-5 md:mt-0 md:col-span-2"},[s("form",{on:{submit:function(t){return t.preventDefault(),e.$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"},[e._t("form")],2)]),e._v(" "),e.hasActions?s("div",{staticClass:"flex items-center justify-end px-4 py-3 bg-gray-50 text-right sm:px-6"},[e._t("actions")],2):e._e()])])])],1)}),[],!1,null,null,null).exports},6985:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:["value"],methods:{focus:function(){this.$refs.input.focus()}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("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:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}})}),[],!1,null,null,null).exports},26216:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:["message"]};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"}]},[s("p",{staticClass:"text-red-600 text-sm"},[e._v("\n "+e._s(e.message)+"\n ")])])}),[],!1,null,null,null).exports},39283:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:["value"]};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("label",{staticClass:"block font-medium text-gray-700 text-sm mb-1"},[e.value?s("span",[e._v(e._s(e.value))]):s("span",[e._t("default")],2)])}),[],!1,null,null,null).exports},10116:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.closeable&&this.$emit("close")}},watch:{show:{immediate:!0,handler:function(e){document.body.style.overflow=e?"hidden":null}}},created:function(){var e=this,t=function(t){"Escape"===t.key&&e.show&&e.close()};document.addEventListener("keydown",t),this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",t)}))},computed:{maxWidthClass:function(){return{sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"}[this.maxWidth]}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("portal",{attrs:{to:"modal"}},[s("transition",{attrs:{"leave-active-class":"duration-200"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0"},[s("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"fixed inset-0 transform transition-all",on:{click:e.close}},[s("div",{staticClass:"absolute inset-0 bg-gray-500 opacity-75"})])]),e._v(" "),s("transition",{attrs:{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"mt-16 mb-6 bg-white rounded-sm overflow-hidden shadow-xl transform transition-all sm:w-full sm:mx-auto",class:e.maxWidthClass},[e._t("default")],2)])],1)])],1)}),[],!1,null,null,null).exports},9556:(e,t,s)=>{s.d(t,{Z:()=>o});const n={props:{type:{type:String,default:"button"}}};const o=(0,s(51900).Z)(n,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("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:e.type}},[e._t("default")],2)}),[],!1,null,null,null).exports},96786:(e,t,s)=>{s.d(t,{Z:()=>n});const n=(0,s(51900).Z)({},(function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"hidden sm:block"},[t("div",{staticClass:"py-8"},[t("div",{staticClass:"border-t border-gray-200"})])])}],!1,null,null,null).exports},34073:(e,t,s)=>{s.d(t,{Z:()=>n});const n=(0,s(51900).Z)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;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"},[e._t("title")],2),e._v(" "),s("p",{staticClass:"mt-1 text-sm text-gray-600"},[e._t("description")],2)])])}),[],!1,null,null,null).exports},51271:(e,t,s)=>{s.r(t),s.d(t,{default:()=>g});var n=s(15422),o=s(5523),i=s(93046);const a={components:{Modal:s(10116).Z},props:{show:{default:!1},maxWidth:{default:"2xl"},closeable:{default:!0}},methods:{close:function(){this.$emit("close")}}};var r=s(51900);const l=(0,r.Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("modal",{attrs:{show:e.show,"max-width":e.maxWidth,closeable:e.closeable},on:{close:e.close}},[s("div",{staticClass:"bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"},[s("div",{staticClass:"sm:flex sm:items-start"},[s("div",{staticClass:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},[s("svg",{staticClass:"h-6 w-6 text-red-600",attrs:{stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"}},[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"}})])]),e._v(" "),s("div",{staticClass:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},[s("h3",{staticClass:"text-lg"},[e._t("title")],2),e._v(" "),s("div",{staticClass:"mt-2"},[e._t("content")],2)])])]),e._v(" "),s("div",{staticClass:"px-6 py-4 bg-gray-100 text-right"},[e._t("footer")],2)])}),[],!1,null,null,null).exports;var c=s(33215),u=s(88749),d=s(48243),p=s(6985),m=s(43608),f=s(26216),v=s(39283),y=s(9556),h=s(96786);const x={components:{ArcActionMessage:n.Z,ArcActionSection:o.Z,ArcButton:i.Z,ArcConfirmationModal:l,ArcDangerButton:c.Z,ArcDialogModal:u.Z,ArcFormSection:d.Z,ArcInput:p.Z,ArcCheckbox:m.Z,ArcInputError:f.Z,ArcLabel:v.Z,ArcSecondaryButton:y.Z,ArcSectionBorder:h.Z},props:["tokens","availablePermissions","defaultPermissions"],data:function(){return{createApiTokenForm:this.$inertia.form({name:"",permissions:this.defaultPermissions}),updateApiTokenForm:this.$inertia.form({permissions:[]}),deleteApiTokenForm:this.$inertia.form(),displayingToken:!1,managingPermissionsFor:null,apiTokenBeingDeleted:null}},methods:{createApiToken:function(){var e=this;this.createApiTokenForm.post(route("api-tokens.store"),{preserveScroll:!0,onSuccess:function(){e.displayingToken=!0,e.createApiTokenForm.reset()}})},manageApiTokenPermissions:function(e){this.updateApiTokenForm.permissions=e.abilities,this.managingPermissionsFor=e},updateApiToken:function(){var e=this;this.updateApiTokenForm.put(route("api-tokens.update",this.managingPermissionsFor),{preserveScroll:!0,preserveState:!0,onSuccess:function(){return e.managingPermissionsFor=null}})},confirmApiTokenDeletion:function(e){this.apiTokenBeingDeleted=e},deleteApiToken:function(){var e=this;this.deleteApiTokenForm.delete(route("api-tokens.destroy",this.apiTokenBeingDeleted),{preserveScroll:!0,preserveState:!0,onSuccess:function(){return e.apiTokenBeingDeleted=null}})}}};const g=(0,r.Z)(x,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("arc-form-section",{on:{submitted:e.createApiToken},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n Create API Token\n ")]},proxy:!0},{key:"description",fn:function(){return[e._v("\n API tokens allow third-party services to authenticate with our application on your behalf.\n ")]},proxy:!0},{key:"form",fn:function(){return[s("div",{staticClass:"col-span-6 sm:col-span-4"},[s("arc-label",{attrs:{for:"name",value:"Name"}}),e._v(" "),s("arc-input",{staticClass:"mt-1 block w-full",attrs:{id:"name",type:"text",autofocus:""},model:{value:e.createApiTokenForm.name,callback:function(t){e.$set(e.createApiTokenForm,"name",t)},expression:"createApiTokenForm.name"}}),e._v(" "),s("arc-input-error",{staticClass:"mt-2",attrs:{message:e.createApiTokenForm.errors.name}})],1),e._v(" "),e.availablePermissions.length>0?s("div",{staticClass:"col-span-6"},[s("arc-label",{attrs:{for:"permissions",value:"Permissions"}}),e._v(" "),s("div",{staticClass:"mt-2 grid grid-cols-1 md:grid-cols-2 gap-4"},e._l(e.availablePermissions,(function(t){return s("div",{key:t},[s("label",{staticClass:"flex items-center"},[s("arc-checkbox",{attrs:{value:t},model:{value:e.createApiTokenForm.permissions,callback:function(t){e.$set(e.createApiTokenForm,"permissions",t)},expression:"createApiTokenForm.permissions"}}),e._v(" "),s("span",{staticClass:"ml-2 text-gray-600"},[e._v(e._s(t))])],1)])})),0)],1):e._e()]},proxy:!0},{key:"actions",fn:function(){return[s("arc-action-message",{staticClass:"mr-3",attrs:{on:e.createApiTokenForm.recentlySuccessful}},[e._v("\n Created.\n ")]),e._v(" "),s("arc-button",{class:{"opacity-25":e.createApiTokenForm.processing},attrs:{disabled:e.createApiTokenForm.processing}},[e._v("\n Create\n ")])]},proxy:!0}])}),e._v(" "),e.tokens.length>0?s("div",[s("arc-section-border"),e._v(" "),s("div",{staticClass:"mt-10 sm:mt-0"},[s("arc-action-section",{scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n Manage API Tokens\n ")]},proxy:!0},{key:"description",fn:function(){return[e._v("\n You may delete any of your existing tokens if they are no longer needed.\n ")]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"space-y-6"},e._l(e.tokens,(function(t){return s("div",{key:t.id,staticClass:"flex items-center justify-between"},[s("div",[e._v("\n "+e._s(t.name)+"\n ")]),e._v(" "),s("div",{staticClass:"flex items-center"},[t.last_used_ago?s("div",{staticClass:" text-gray-400"},[e._v("\n Last used "+e._s(t.last_used_ago)+"\n ")]):e._e(),e._v(" "),e.availablePermissions.length>0?s("button",{staticClass:"cursor-pointer ml-6 text-gray-400 underline",on:{click:function(s){return e.manageApiTokenPermissions(t)}}},[e._v("\n Permissions\n ")]):e._e(),e._v(" "),s("button",{staticClass:"cursor-pointer ml-6 text-red-500",on:{click:function(s){return e.confirmApiTokenDeletion(t)}}},[e._v("\n Delete\n ")])])])})),0)]},proxy:!0}],null,!1,3266702262)})],1)],1):e._e(),e._v(" "),s("arc-dialog-modal",{attrs:{show:e.displayingToken},on:{close:function(t){e.displayingToken=!1}},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n API Token\n ")]},proxy:!0},{key:"content",fn:function(){return[s("div",[e._v("\n Please copy your new API token. For your security, it won't be shown again.\n ")]),e._v(" "),e.$page.props.jetstream.flash.token?s("div",{staticClass:"mt-4 bg-gray-100 px-4 py-2 rounded font-mono text-gray-500"},[e._v("\n "+e._s(e.$page.props.jetstream.flash.token)+"\n ")]):e._e()]},proxy:!0},{key:"footer",fn:function(){return[s("arc-secondary-button",{nativeOn:{click:function(t){e.displayingToken=!1}}},[e._v("\n Close\n ")])]},proxy:!0}])}),e._v(" "),s("arc-dialog-modal",{attrs:{show:e.managingPermissionsFor},on:{close:function(t){e.managingPermissionsFor=null}},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n API Token Permissions\n ")]},proxy:!0},{key:"content",fn:function(){return[s("div",{staticClass:"grid grid-cols-1 md:grid-cols-2 gap-4"},e._l(e.availablePermissions,(function(t){return s("div",{key:t},[s("label",{staticClass:"flex items-center"},[s("arc-checkbox",{attrs:{value:t},model:{value:e.updateApiTokenForm.permissions,callback:function(t){e.$set(e.updateApiTokenForm,"permissions",t)},expression:"updateApiTokenForm.permissions"}}),e._v(" "),s("span",{staticClass:"ml-2 text-gray-600"},[e._v(e._s(t))])],1)])})),0)]},proxy:!0},{key:"footer",fn:function(){return[s("arc-secondary-button",{nativeOn:{click:function(t){e.managingPermissionsFor=null}}},[e._v("\n Nevermind\n ")]),e._v(" "),s("arc-button",{staticClass:"ml-2",class:{"opacity-25":e.updateApiTokenForm.processing},attrs:{disabled:e.updateApiTokenForm.processing},nativeOn:{click:function(t){return e.updateApiToken(t)}}},[e._v("\n Save\n ")])]},proxy:!0}])}),e._v(" "),s("arc-confirmation-modal",{attrs:{show:e.apiTokenBeingDeleted},on:{close:function(t){e.apiTokenBeingDeleted=null}},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n Delete API Token\n ")]},proxy:!0},{key:"content",fn:function(){return[e._v("\n Are you sure you would like to delete this API token?\n ")]},proxy:!0},{key:"footer",fn:function(){return[s("arc-secondary-button",{nativeOn:{click:function(t){e.apiTokenBeingDeleted=null}}},[e._v("\n Nevermind\n ")]),e._v(" "),s("arc-danger-button",{staticClass:"ml-2",class:{"opacity-25":e.deleteApiTokenForm.processing},attrs:{disabled:e.deleteApiTokenForm.processing},nativeOn:{click:function(t){return e.deleteApiToken(t)}}},[e._v("\n Delete\n ")])]},proxy:!0}])})],1)}),[],!1,null,null,null).exports}}]);