1 line
62 KiB
JavaScript
Vendored
1 line
62 KiB
JavaScript
Vendored
(self.webpackChunk=self.webpackChunk||[]).push([[7541,5503],{7757:(t,e,s)=>{t.exports=s(5666)},1471:(t,e,s)=>{"use strict";s.d(e,{b:()=>n});var r=s(154);function n(t){var e=t.title,s=t.message,n=t.onConfirm;return r.Z.dispatch("confirmDelete/open",{title:e,message:s,onConfirm:function(){n(),r.Z.dispatch("confirmDelete/close")}})}},6392:(t,e,s)=>{"use strict";s.d(e,{l:()=>n});var r=s(154);function n(t){var e=t.title,s=t.message,n=t.variant,a=t.timeout;return r.Z.dispatch("notification/notify",{title:e,message:s,variant:n,timeout:a})}},5666:t=>{var e=function(t){"use strict";var e,s=Object.prototype,r=s.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function o(t,e,s){return Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{o({},"")}catch(t){o=function(t,e,s){return t[e]=s}}function c(t,e,s,r){var n=e&&e.prototype instanceof v?e:v,a=Object.create(n.prototype),i=new T(r||[]);return a._invoke=function(t,e,s){var r=d;return function(n,a){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===n)throw a;return L()}for(s.method=n,s.arg=a;;){var i=s.delegate;if(i){var l=$(i,s);if(l){if(l===m)continue;return l}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(r===d)throw r=h,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);r=f;var o=u(t,e,s);if("normal"===o.type){if(r=s.done?h:p,o.arg===m)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(r=h,s.method="throw",s.arg=o.arg)}}}(t,s,i),a}function u(t,e,s){try{return{type:"normal",arg:t.call(e,s)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",m={};function v(){}function _(){}function g(){}var x={};x[a]=function(){return this};var b=Object.getPrototypeOf,y=b&&b(b(S([])));y&&y!==s&&r.call(y,a)&&(x=y);var w=g.prototype=v.prototype=Object.create(x);function C(t){["next","throw","return"].forEach((function(e){o(t,e,(function(t){return this._invoke(e,t)}))}))}function Z(t,e){function s(n,a,i,l){var o=u(t[n],t,a);if("throw"!==o.type){var c=o.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){s("next",t,i,l)}),(function(t){s("throw",t,i,l)})):e.resolve(d).then((function(t){c.value=t,i(c)}),(function(t){return s("throw",t,i,l)}))}l(o.arg)}var n;this._invoke=function(t,r){function a(){return new e((function(e,n){s(t,r,e,n)}))}return n=n?n.then(a,a):a()}}function $(t,s){var r=t.iterator[s.method];if(r===e){if(s.delegate=null,"throw"===s.method){if(t.iterator.return&&(s.method="return",s.arg=e,$(t,s),"throw"===s.method))return m;s.method="throw",s.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=u(r,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,m;var a=n.arg;return a?a.done?(s[t.resultName]=a.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=e),s.delegate=null,m):a:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,m)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(t){if(t){var s=t[a];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function s(){for(;++n<t.length;)if(r.call(t,n))return s.value=t[n],s.done=!1,s;return s.value=e,s.done=!0,s};return i.next=i}}return{next:L}}function L(){return{value:e,done:!0}}return _.prototype=w.constructor=g,g.constructor=_,_.displayName=o(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,o(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},C(Z.prototype),Z.prototype[i]=function(){return this},t.AsyncIterator=Z,t.async=function(e,s,r,n,a){void 0===a&&(a=Promise);var i=new Z(c(e,s,r,n),a);return t.isGeneratorFunction(s)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},C(w),o(w,l,"Generator"),w[a]=function(){return this},w.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var s in t)e.push(s);return e.reverse(),function s(){for(;e.length;){var r=e.pop();if(r in t)return s.value=r,s.done=!1,s}return s.done=!0,s}},t.values=S,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var s in this)"t"===s.charAt(0)&&r.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function n(r,n){return l.type="throw",l.arg=t,s.next=r,n&&(s.method="next",s.arg=e),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var o=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(o&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(o){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var s=this.tryEntries.length-1;s>=0;--s){var n=this.tryEntries[s];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),E(s),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var r=s.completion;if("throw"===r.type){var n=r.arg;E(s)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,r){return this.delegate={iterator:S(t),resultName:s,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}},8283:(t,e,s)=>{"use strict";s.d(e,{Z:()=>m});const r={computed:{confirmDelete:function(){return this.$store.state.confirmDelete}},methods:{cancelConfirmDelete:function(){return this.$store.dispatch("confirmDelete/close")}}};var n=s(1900);const a=(0,n.Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.confirmDelete.isOpen?s("div",{staticClass:"fixed inset-0 z-50 flex items-end justify-center p-2 sm:items-center"},[s("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.cancelConfirmDelete,expression:"cancelConfirmDelete"}],staticClass:"w-full max-w-xs overflow-hidden rounded shadow-2xl bg-surface-1"},[s("header",{staticClass:"px-4 py-6 space-y-2 text-center"},[s("h2",{staticClass:"font-medium text-body"},[t._v(t._s(t.confirmDelete.title))]),t._v(" "),s("p",{staticClass:"text-small text-medium-emphasis"},[t._v(t._s(t.confirmDelete.message))])]),t._v(" "),s("footer",{staticClass:"grid grid-cols-2 border-t divide-x border-low-emphasis divide-low-emphasis"},[s("button",{staticClass:"inline-flex items-center justify-center h-12 px-4 font-medium transition ease-in-out text-small focus:outline-none text-high-emphasis duration-fast",on:{click:function(e){return t.cancelConfirmDelete()}}},[t._v("\n "+t._s(t.__("Cancel"))+"\n ")]),t._v(" "),s("button",{staticClass:"inline-flex items-center justify-center h-12 px-4 font-medium transition ease-in-out text-small text-danger focus:outline-none duration-fast",on:{click:function(e){return t.confirmDelete.onConfirm()}}},[t._v("\n "+t._s(t.__("Confirm"))+"\n ")])])])]):t._e()}),[],!1,null,null,null).exports;const i=(0,n.Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",{staticClass:"flex flex-row items-start w-full max-w-sm px-5 py-3 space-x-4 rounded shadow-2xl pointer-events-auto bg-overlay bf-blur"},[t._t("prefix"),t._v(" "),s("div",{staticClass:"mr-auto"},[s("p",{staticClass:"font-medium text-body"},[t._t("title")],2),t._v(" "),s("p",{staticClass:"text-small text-medium-emphasis"},[t._t("subtitle")],2)])],2)}),[],!1,null,null,null).exports;const l=(0,n.Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M7.938 2.016a.146.146 0 0 0-.054.057L1.027 13.74a.176.176 0 0 0-.002.183c.016.03.037.05.054.06.015.01.034.017.066.017h13.713a.12.12 0 0 0 .066-.017.163.163 0 0 0 .055-.06.176.176 0 0 0-.003-.183L8.12 2.073a.146.146 0 0 0-.054-.057A.13.13 0 0 0 8.002 2a.13.13 0 0 0-.064.016zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"}}),t._v(" "),s("path",{attrs:{d:"M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"}})])}),[],!1,null,null,null).exports;const o=(0,n.Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}}),t._v(" "),s("path",{attrs:{d:"M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"}})])}),[],!1,null,null,null).exports;const c=(0,n.Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"}})])}),[],!1,null,null,null).exports;const u=(0,n.Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{staticClass:"bi bi-info-circle",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"}}),t._v(" "),s("path",{attrs:{d:"M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588z"}}),t._v(" "),s("circle",{attrs:{cx:"8",cy:"4.5",r:"1"}})])}),[],!1,null,null,null).exports;const d={data:function(){return{searchOpen:!1,search:"",results:[],timeout:null}},computed:{isSearching:function(){return""!==this.search.trim()}},watch:{search:function(t){this.results=null,this.loading=!0,this.getResults(),this.arrowNavigation={identifier:null,index:-1}}},mounted:function(){var t=this;document.addEventListener("keydown",this.handleKeydown),window.eventBus.$on("openSearch",(function(){t.openSearch()}))},destroyed:function(){this.timeout&&clearTimeout(this.timeout)},methods:{getResults:function(){var t=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.search?(t.results=null,window.axios.get(t.route("search",{query:t.search}).url()).then((function(e){t.loading=!1,t.totalResults=e.data.total,e.data.total?t.results=e.data.results:t.results=null}))):t.loading=!1}),300)},handleKeydown:function(t){this.isNotInputElement(t)&&191===t.keyCode&&(t.preventDefault(),t.stopPropagation(),this.openSearch()),27===t.keyCode&&this.closeSearch(),this.isNotInputElement(t)&&(t.ctrlKey||t.metaKey||this.$page.props.auth.user.keyboard_shortcuts&&("c"===t.key&&this.$inertia.visit(this.route("sites.index",{create:!0})),"p"===t.key&&this.$inertia.visit(this.route("profile.index"))))},openSearch:function(){var t=this;this.searchOpen=!0,this.$nextTick((function(){t.$refs.search&&t.$refs.search.focus()}))},closeSearch:function(){this.search="",this.searchOpen=!1,this.$refs.search&&this.$refs.search.blur()},isNotInputElement:function(t){var e=t.target.tagName;return Boolean("INPUT"!==e&&"TEXTAREA"!==e&&"code-editor"!==t.target.id&&!t.target.classList.contains("form-textarea"))}}};const p=(0,n.Z)(d,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.searchOpen?s("div",{staticClass:"w-full h-screen fixed inset-0 bg-backdrop bf-blur z-40 flex items-center flex-col"},[s("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.closeSearch,expression:"closeSearch"}],staticClass:"w-full max-w-4xl p-8 space-y-4"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],ref:"search",staticClass:"w-full h-12 px-4 rounded bg-surface-1 shadow-md",attrs:{type:"text",placeholder:t.__("Type to search anything...")},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" "),s("Transition",{attrs:{"enter-active-class":"transition ease-in-out transform duration-fast","leave-active-class":"transition ease-in-out transform duration-fast","enter-class":"-translate-y-4 opacity-0 scale-95","enter-to-class":"translate-y-0 opacity-100 scale-100","leave-class":"translate-y-0 opacity-100 scale-100","leave-to-class":"translate-y-4 opacity-0 scale-95",mode:"out-in"}},[t.isSearching?s("div",{key:"results",staticClass:"rounded bg-surface-1 shadow-md overflow-hidden"},t._l(t.results,(function(e){return s("ul",{staticClass:"flex flex-col divide-y divide-low-emphasis"},[s("li",{staticClass:"px-4 py-2 bg-surface-2"},[s("h3",{staticClass:"text-small font-medium"},[t._v(t._s(e.label)+" ("+t._s(e.total)+")")])]),t._v(" "),t._l(e.results,(function(e){return s("li",[s("inertia-link",{staticClass:"px-4 py-3 block text-small",attrs:{href:e.route},on:{click:t.closeSearch}},[t._v("\n "+t._s(e.name)+"\n ")])],1)}))],2)})),0):s("div",{key:"hints",staticClass:"rounded bg-surface-1 shadow-md p-4"},[s("ul",{staticClass:"flex flex-col space-y-3"},[s("li",[s("h3",{staticClass:"text-small font-medium"},[t._v(t._s(t.__("All helpful key shortcuts")))])]),t._v(" "),s("li",{staticClass:"space-x-2 text-small"},[s("code",{staticClass:"rounded px-2 py-1 monospace border border-low-emphasis shadow-sm"},[t._v("/")]),t._v(" "),s("span",[t._v(t._s(t.__("Open search")))])]),t._v(" "),s("li",{staticClass:"space-x-2 text-small"},[s("code",{staticClass:"rounded px-2 py-1 monospace border border-low-emphasis shadow-sm"},[t._v("c")]),t._v(" "),s("span",[t._v(t._s(t.__("Create site")))])]),t._v(" "),s("li",{staticClass:"space-x-2 text-small"},[s("code",{staticClass:"rounded px-2 py-1 monospace border border-low-emphasis shadow-sm"},[t._v("p")]),t._v(" "),s("span",[t._v(t._s(t.__("Goto profile")))])])])])])],1)]):t._e()}),[],!1,null,null,null).exports;var f=s(6392);const h={components:{ConfirmDelete:a,Notification:i,IconDanger:l,IconWarning:o,IconSuccess:c,IconInfo:u,SearchPalette:p},data:function(){return{searchOpen:!1}},computed:{backdropIsOpen:function(){return this.$store.state.backdrop.isOpen},notifications:function(){return this.$store.state.notification.notifications}},watch:{"$page.props.flash.success":function(){this.$page.props.flash.success&&((0,f.l)({variant:"success",title:this.__("Success"),message:this.$page.props.flash.success}),this.$page.props.flash.success=null)},"$page.props.flash.info":function(){this.$page.props.flash.info&&((0,f.l)({variant:"info",title:this.__("Info"),message:this.$page.props.flash.info}),this.$page.props.flash.info=null)},"$page.props.flash.error":function(){this.$page.props.flash.error&&((0,f.l)({variant:"danger",title:this.__("Error"),message:this.$page.props.flash.error}),this.$page.props.flash.error=null)}},methods:{useNotification:f.l}};const m=(0,n.Z)(h,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"antialiased font-body text-high-emphasis bg-surface"},[t.$page.props.settings.demo?s("div",{staticClass:"relative bg-primary text-white"},[t._m(0)]):t._e(),t._v(" "),t.$page.props.system_alert?s("div",{staticClass:"relative text-white",class:{"bg-primary":"info"===t.$page.props.system_alert.type,"bg-warning":"warning"===t.$page.props.system_alert.type,"bg-danger":"danger"===t.$page.props.system_alert.type}},[s("div",{staticClass:"max-w-screen-xl mx-auto py-3 px-3 sm:px-6 lg:px-8"},[s("div",{staticClass:"pr-16 sm:text-center sm:px-16"},[s("p",{staticClass:"font-medium text-on-primary"},[t._v("\n "+t._s(t.$page.props.system_alert.message)+"\n ")])])])]):t._e(),t._v(" "),s("PortalTarget",{attrs:{name:"modals"}}),t._v(" "),s("div",{staticClass:"fixed inset-0 z-50 flex items-start justify-end p-5 pointer-events-none"},[s("TransitionGroup",{staticClass:"flex flex-col space-y-2",attrs:{"enter-active-class":"transition ease-out transform duration-fast","enter-class":"translate-x-6 opacity-0","enter-to-class":"translate-x-0 opacity-100","leave-active-class":"transition ease-in transform duration-fast","leave-class":"opacity-100","leave-to-class":"scale-50 -translate-y-6 opacity-0",tag:"div"}},t._l(t.notifications,(function(e,r){return s("Notification",{key:r,scopedSlots:t._u([{key:"prefix",fn:function(){return["danger"===e.variant||"error"===e.variant?s("IconDanger",{staticClass:"flex-shrink-0 w-6 h-6 text-danger"}):t._e(),t._v(" "),"success"===e.variant?s("IconSuccess",{staticClass:"flex-shrink-0 w-6 h-6 text-success"}):t._e(),t._v(" "),"info"===e.variant?s("IconInfo",{staticClass:"flex-shrink-0 w-6 h-6 text-primary"}):t._e(),t._v(" "),"warning"===e.variant?s("IconWarning",{staticClass:"flex-shrink-0 w-6 h-6 text-warning"}):t._e()]},proxy:!0},{key:"title",fn:function(){return[t._v(t._s(e.title))]},proxy:!0},{key:"subtitle",fn:function(){return[t._v(t._s(e.message))]},proxy:!0}],null,!0)})})),1)],1),t._v(" "),s("Transition",{attrs:{"enter-active-class":"transition ease-in-out duration-fast","leave-active-class":"transition ease-in-out duration-fast","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[t.backdropIsOpen?s("div",{staticClass:"fixed inset-0 z-40 bg-backdrop bf-blur"}):t._e()]),t._v(" "),s("SearchPalette"),t._v(" "),s("Transition",{attrs:{"enter-active-class":"transition ease-in-out transform duration-fast","leave-active-class":"transition ease-in-out transform duration-fast","enter-class":"translate-y-8 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-class":"opacity-100","leave-to-class":"opacity-0"}},[s("ConfirmDelete")],1),t._v(" "),t._t("default")],2)}),[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"max-w-screen-xl mx-auto py-3 px-3 sm:px-6 lg:px-8"},[s("div",{staticClass:"pr-16 sm:text-center sm:px-16"},[s("p",{staticClass:"font-medium text-on-primary"},[t._v("\n You are currently in a demo environment.\n ")])])])}],!1,null,null,null).exports},7541:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>H});var r=s(7757),n=s.n(r),a=s(5503),i=s(8170),l=s(9061),o=s(5119),c=s(1019),u=s(4582),d=s(5173),p=s(3844),f=s(6051),h=s(9938),m=s(8778),v=s(3771),_=s(8283),g=s(5087),x=s(5243),b=s(6389),y=s(3424),w=s(4223),C=s(1517),Z=s(7140),$=s(9944),k=s(7966),E=s(7529),T=s(1950),S=s(9159),L=s(2984),z=s(3385),I=s(3275),B=s(7161),A=s(8406),D=s(6392),M=s(1471);function j(t,e,s,r,n,a,i){try{var l=t[a](i),o=l.value}catch(t){return void s(t)}l.done?e(o):Promise.resolve(o).then(r,n)}const O={metaInfo:function(){return{title:"".concat(this.__("Billing"))}},layout:_.Z,components:{TopBar:a.default,Container:i.Z,Content:l.Z,Page:o.Z,PageHeader:c.Z,PageHeaderTitle:u.Z,PageBody:d.Z,Button:p.Z,List:f.Z,ListItem:h.Z,StatusBubble:m.Z,NotificationBadge:v.Z,IconBox:g.Z,IconGlobe:x.Z,IconStorage:b.Z,IconArrowDown:w.Z,IconArrowUp:y.Z,IconClose:C.Z,Modal:Z.Z,ModalContainer:$.Z,FormInput:k.Z,FormTextarea:E.Z,FormActions:T.Z,Table:S.Z,TableHead:L.Z,TableHeader:z.Z,TableRow:I.Z,TableBody:B.Z,TableData:A.Z},props:{packages:Array,subscription:[Object,null],public_key:String,data_client_secret:String,card:Object,filters:Object},data:function(){return{sending:!1,clientSecret:this.data_client_secret,stripe:null,cardElement:null,cardHolderName:this.$page.props.auth.user.name,currentCardLastFour:this.card.last_four,currentCardBrand:this.card.brand,coupon:"",invoices:[],breadcrumbs:[{title:this.$page.props.settings.name,to:"/"},{title:this.__("Billing"),to:this.route("profile.billing.index")}]}},mounted:function(){var t=Stripe(this.public_key);this.stripe=t;var e=t.elements().create("card");e.mount("#card-element"),this.cardElement=e,this.getInvoices()},watch:{sending:function(t){t?this.cardElement.update({disabled:!0}):this.cardElement.update({disabled:!1})}},methods:{useNotification:D.l,useConfirmDelete:M.b,updateBilling:function(){var t,e=this;return(t=n().mark((function t(){var s,r,a,i;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.sending=!0,t.next=3,e.stripe.confirmCardSetup(e.clientSecret,{payment_method:{card:e.cardElement,billing_details:{name:e.cardHolderName}}});case 3:s=t.sent,r=s.setupIntent,(a=s.error)?(e.sending=!1,e.useNotification({variant:"danger",title:e.__("Error"),message:a.message})):(i=r.payment_method,e.$inertia.post(e.route("profile.billing.update.card"),{payment_method:i,billing_details:e.billingDetails},{onStart:function(){return e.sending=!0},onFinish:function(){return e.sending=!1}}));case 7:case"end":return t.stop()}}),t)})),function(){var e=this,s=arguments;return new Promise((function(r,n){var a=t.apply(e,s);function i(t){j(a,r,n,i,l,"next",t)}function l(t){j(a,r,n,i,l,"throw",t)}i(void 0)}))})()},updatePlan:function(t){var e=this;this.$inertia.post(this.route("profile.billing.update.plan"),{plan:t,coupon:this.coupon},{onStart:function(){return e.sending=!0},onFinish:function(){return e.sending=!1}})},confirmCancel:function(){var t=this;(0,M.b)({title:this.__("Are you sure?"),message:this.__("Your subscription will be put to an end. An expire date will be send to you when your plan expires."),onConfirm:function(){return t.cancel()}})},cancel:function(){var t=this;this.$inertia.delete(this.route("profile.billing.cancel.plan"),{onStart:function(){return t.sending=!0},onFinish:function(){return t.sending=!1}})},getInvoices:function(){var t=this;window.axios.get(this.route("profile.billing.invoices")).then((function(e){return t.invoices=e.data}))},requestFilterUrl:function(t){this.$inertia.visit(route("profile.billing.index",t),{only:["filters","packages"]})}}};const H=(0,s(1900).Z)(O,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",[s("TopBar",{attrs:{breadcrumbs:t.breadcrumbs}}),t._v(" "),s("Content",[s("Container",[s("PageBody",[s("div",{staticClass:"grid grid-cols-1 md:grid-cols-5 gap-8"},[s("div",{staticClass:"md:col-span-2 space-y-4"},[s("h2",{staticClass:"text-lg text-medium-emphasis"},[t._v(t._s(t.__("Card information")))]),t._v(" "),s("form",{staticClass:"space-y-4",on:{submit:function(e){return e.preventDefault(),t.updateBilling(e)}}},[t.currentCardLastFour?s("p",[t._v("\n ···· ···· ···· "+t._s(t.currentCardLastFour)+" ("+t._s(t.currentCardBrand)+")\n ")]):t._e(),t._v(" "),s("form-input",{attrs:{errors:t.$page.props.errors.card_holder_name,disabled:t.sending,id:"card-holder-name",label:t.__("Card holder name")},model:{value:t.cardHolderName,callback:function(e){t.cardHolderName=e},expression:"cardHolderName"}}),t._v(" "),s("div",{staticClass:"w-full pb-4"},[s("label",{staticClass:"form-label",attrs:{for:"card-element"}},[t._v(t._s(t.__("Card details")))]),t._v(" "),s("div",{staticClass:"form-input",attrs:{id:"card-element"}})]),t._v(" "),s("Button",{staticClass:"btn-green",attrs:{"data-secret":t.clientSecret,id:"card-button",loading:t.sending,type:"submit"}},[t._v("\n "+t._s(t.__("Save"))+"\n ")]),t._v(" "),t.subscription?s("Button",{attrs:{loading:t.sending,variant:"danger",type:"button"},on:{click:t.confirmCancel}},[t._v("\n "+t._s(t.__("Cancel"))+"\n ")]):t._e()],1)]),t._v(" "),t.packages.length?t._e():s("div",{staticClass:"md:col-span-3 space-y-8"},[t._v("\n There are currently no packages to choose from.\n ")]),t._v(" "),t.packages.length?s("div",{staticClass:"md:col-span-3 space-y-8"},[s("h2",{staticClass:"text-lg text-medium-emphasis"},[t._v(t._s(t.__("Available packages")))]),t._v(" "),s("form-input",{staticClass:"pb-4",attrs:{errors:t.$page.props.errors.coupon,disabled:t.sending,placeholder:t.__("Enter a coupon code if you have one, before subscribing"),label:t.__("Coupon")},model:{value:t.coupon,callback:function(e){t.coupon=e},expression:"coupon"}}),t._v(" "),s("Table",{attrs:{caption:"Package list overview"}},[s("TableHead",[s("TableRow",[s("TableHeader",[s("a",{staticClass:"text-primary flex items-center space-x-2",attrs:{href:"javascript:void(0);","data-balloon-blunt":"","aria-label":t.__("Sort by name"),"data-balloon-pos":"up"},on:{click:function(e){return t.requestFilterUrl({sortBy:{name:"asc"===t.filters.sort.name?"desc":"asc"}})}}},[s("span",[t._v(t._s(t.__("Name")))]),t._v(" "),"asc"===t.filters.sort.name?s("IconArrowUp"):t._e(),t._v(" "),"desc"===t.filters.sort.name?s("IconArrowDown"):t._e()],1)]),t._v(" "),s("TableHeader",[s("a",{staticClass:"text-primary flex items-center space-x-2",attrs:{href:"javascript:void(0);","data-balloon-blunt":"","aria-label":t.__("Sort by maximum sites"),"data-balloon-pos":"up"},on:{click:function(e){return t.requestFilterUrl({sortBy:{sites:"asc"===t.filters.sort.sites?"desc":"asc"}})}}},[s("span",[t._v(t._s(t.__("Max sites")))]),t._v(" "),"asc"===t.filters.sort.sites?s("IconArrowUp"):t._e(),t._v(" "),"desc"===t.filters.sort.sites?s("IconArrowDown"):t._e()],1)]),t._v(" "),s("TableHeader",[s("a",{staticClass:"text-primary flex items-center space-x-2",attrs:{href:"javascript:void(0);","data-balloon-blunt":"","aria-label":t.__("Sort by maximum servers"),"data-balloon-pos":"up"},on:{click:function(e){return t.requestFilterUrl({sortBy:{servers:"asc"===t.filters.sort.servers?"desc":"asc"}})}}},[s("span",[t._v(t._s(t.__("Max servers")))]),t._v(" "),"asc"===t.filters.sort.servers?s("IconArrowUp"):t._e(),t._v(" "),"desc"===t.filters.sort.servers?s("IconArrowDown"):t._e()],1)]),t._v(" "),s("TableHeader",[s("a",{staticClass:"text-primary flex items-center space-x-2",attrs:{href:"javascript:void(0);","data-balloon-blunt":"","aria-label":t.__("Sort by price"),"data-balloon-pos":"up"},on:{click:function(e){return t.requestFilterUrl({sortBy:{price:"asc"===t.filters.sort.price?"desc":"asc"}})}}},[s("span",[t._v(t._s(t.__("Monthly price")))]),t._v(" "),"asc"===t.filters.sort.price?s("IconArrowUp"):t._e(),t._v(" "),"desc"===t.filters.sort.price?s("IconArrowDown"):t._e()],1)]),t._v(" "),s("TableHeader",[s("inertia-link",{attrs:{href:t.route("profile.billing.index"),"data-balloon-blunt":"","aria-label":t.__("Clear sorting"),"data-balloon-pos":"up"}},[s("IconClose")],1)],1)],1)],1),t._v(" "),s("TableBody",t._l(t.packages,(function(e){return s("TableRow",{key:e.id},[s("TableData",[t._v(t._s(e.name))]),t._v(" "),s("TableData",[t._v(t._s(0===e.maximum_sites?"Unlimited":e.maximum_sites))]),t._v(" "),s("TableData",[t._v(t._s(0===e.maximum_servers?"Unlimited":e.maximum_servers))]),t._v(" "),s("TableData",[t._v(t._s(e.price_monthly))]),t._v(" "),s("TableData",{staticClass:"text-right"},[s("Button",{attrs:{size:"sm",disabled:t.sending||t.subscription&&e.plan_id===t.subscription.stripe_plan},on:{click:function(s){return t.updatePlan(e.id)}}},[t._v("\n "+t._s(t.__("Subscribe"))+"\n ")])],1)],1)})),1)],1)],1):t._e(),t._v(" "),s("div",{staticClass:"md:col-span-5 space-y-8 border-t border-low-emphasis"},[t.invoices.length?s("h2",{staticClass:"mt-5 text-lg text-medium-emphasis"},[t._v(t._s(t.__("Invoices")))]):t._e(),t._v(" "),t.invoices.length?s("Table",{attrs:{caption:"Invoice list overview"}},[s("TableHead",[s("TableRow",[s("TableHeader",[t._v(t._s(t.__("Number")))]),t._v(" "),s("TableHeader",[t._v(t._s(t.__("Status")))]),t._v(" "),s("TableHeader",[t._v(t._s(t.__("Total")))]),t._v(" "),s("TableHeader",[t._v(t._s(t.__("Date")))]),t._v(" "),s("TableHeader")],1)],1),t._v(" "),s("TableBody",t._l(t.invoices,(function(e){return s("TableRow",{key:e.id},[s("TableData",[t._v(t._s(e.number))]),t._v(" "),s("TableData",[t._v(t._s(e.status))]),t._v(" "),s("TableData",[t._v(t._s(e.total))]),t._v(" "),s("TableData",[t._v(t._s(e.created))]),t._v(" "),s("TableData",[s("a",{staticClass:"text-primary",attrs:{href:t.route("profile.billing.invoices.pdf",e.id)}},[t._v("Download")])])],1)})),1)],1):t._e()],1)])])],1)],1)],1)}),[],!1,null,null,null).exports},5503:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var r=s(3022),n=s(9870),a=s(5250),i=s(6684);const l={components:{TopBar:r.Z,Breadcrumbs:n.Z,TabBar:a.Z,TopBarTabBarContainer:i.Z},props:{breadcrumbs:Array},data:function(){return{tabBars:[{title:this.__("Profile"),to:this.route("profile.index"),active:this.route().current("profile.index")},{title:this.__("Security"),to:this.route("profile.security.index"),active:this.route().current("profile.security.index")},{title:this.__("Settings"),to:this.route("profile.settings.index"),active:this.route().current("profile.settings.index")},{title:this.__("Integrations"),to:this.route("profile.integrations.index"),active:this.route().current("profile.integrations.index")},this.$page.props.settings.billing?{title:this.__("Billing"),to:this.route("profile.billing.index"),active:this.route().current("profile.billing.index")}:null]}}};const o=(0,s(1900).Z)(l,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("TopBar",{scopedSlots:t._u([{key:"breadcrumbs",fn:function(){return[s("Breadcrumbs",{attrs:{items:t.breadcrumbs}})]},proxy:!0},{key:"tab-bar",fn:function(){return[s("TopBarTabBarContainer",[s("TabBar",{attrs:{items:t.tabBars}})],1)]},proxy:!0}])})}),[],!1,null,null,null).exports},9870:(t,e,s)=>{"use strict";s.d(e,{Z:()=>i});const r={props:{to:{type:String,required:!0}}};var n=s(1900);const a={components:{BreadcrumbsItem:(0,n.Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{staticClass:"font-medium text-body text-breadcrumbs",attrs:{href:t.to}},[t._t("default")],2)}),[],!1,null,null,null).exports},props:{items:{type:Array,required:!0}}};const i=(0,n.Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ul",{staticClass:"flex items-center space-x-2"},t._l(t.items,(function(e,r){return s("li",{key:e.title},[s("BreadcrumbsItem",{attrs:{to:e.to}},[t._v(t._s(e.title))]),t._v(" "),r<t.items.length-1?s("span",{staticClass:"ml-2 text-low-emphasis"},[t._v("/")]):t._e()],1)})),0)}),[],!1,null,null,null).exports},3844:(t,e,s)=>{"use strict";s.d(e,{Z:()=>i});var r={primary:"bg-primary text-on-primary shadow",danger:"bg-danger text-on-danger shadow",secondary:"bg-surface-2 text-high-emphasis"},n={sm:"h-8 px-2",md:"h-10 px-5"};const a={props:{as:{default:function(){return"button"}},href:{default:function(){return null}},block:{type:Boolean,default:function(){return!1}},variant:{type:String,default:function(){return"primary"},validator:function(t){return Object.keys(r).includes(t)}},size:{type:String,default:"md"},loading:{default:!1},disabled:{default:!1}},data:function(){return{baseClasses:"items-center justify-center font-medium capitalize rounded select-none focus:outline-none",flexClasses:"flex w-full text-body",inlineFlexClasses:"inline-flex text-small",variantClasses:r,sizeClasses:n}}};const i=(0,s(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.as,{tag:"Component",class:[t.baseClasses,t.sizeClasses[t.size],t.variantClasses[t.variant],t.block?t.flexClasses:t.inlineFlexClasses,t.disabled||t.loading?"opacity-50":"",t.loading?"cursor-wait":""],attrs:{disabled:t.loading||t.disabled,href:t.href},on:{click:function(e){return t.$emit("click")}}},[t._t("default")],2)}),[],!1,null,null,null).exports},8170:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r={small:"max-w-sm",base:"max-w-5xl",large:"max-w-screen-xl",fluid:"max-w-none"};const n={props:{size:{type:String,default:function(){return"base"},validator:function(t){return Object.keys(r).includes(t)}}},data:function(){return{baseClasses:"w-full px-4 sm:px-8 mx-auto",sizeClasses:r}}};const a=(0,s(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:[t.baseClasses,t.sizeClasses[t.size]]},[t._t("default")],2)}),[],!1,null,null,null).exports},9061:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("main",{staticClass:"flex-1 bg-surface-1",attrs:{id:"main"}},[t._t("default")],2)}),[],!1,null,null,null).exports},6653:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={data:function(){return{isOpen:!1,position:"top"}},methods:{open:function(){this.isOpen=!0,this.calculatePosition()},close:function(){this.isOpen=!1,this.calculatePosition()},toggle:function(){this.isOpen=!this.isOpen,this.calculatePosition()},outsideClickListener:function(t){this.$refs.dropdown!==t.target.closest(this.$refs.dropdown.tagName)&&this.close()},calculatePosition:function(){this.$refs.dropdown.getBoundingClientRect().top>.75*window.innerHeight?this.position="bottom":this.position="top"}},mounted:function(){window.addEventListener("click",this.outsideClickListener)},beforeDestroy:function(){window.removeEventListener("click",this.outsideClickListener)}};const n=(0,s(1900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.close,expression:"close"}],ref:"dropdown",staticClass:"relative"},[t._t("default",null,null,{isOpen:t.isOpen,open:t.open,close:t.close,toggle:t.toggle,position:t.position})],2)}),[],!1,null,null,null).exports},6111:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r={top:"right-0 top-0 mt-8",bottom:"right-0 bottom-0 mb-8"};const n={props:{position:{type:String,default:function(){return"top"},validator:function(t){return Object.keys(r).includes(t)}}},computed:{positionClasses:function(){return r[this.position]}}};const a=(0,s(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:["absolute flex flex-col py-1 overflow-hidden rounded shadow-2xl z-20 bg-surface-1",t.positionClasses]},[t._t("default")],2)}),[],!1,null,null,null).exports},659:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{to:{type:String,required:!0},method:{required:!1,default:"get"}}};const n=(0,s(1900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("inertia-link",{staticClass:"flex items-center w-full h-10 px-6 whitespace-nowrap text-medium-emphasis text-small focus:bg-primary focus:text-on-primary hover:text-high-emphasis focus:outline-none",attrs:{href:t.to,method:t.method}},[t._t("default")],2)}),[],!1,null,null,null).exports},7493:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"text-danger"},[t._t("default")],2)}),[],!1,null,null,null).exports},1567:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("form",{staticClass:"space-y-4",on:{submit:function(e){return e.preventDefault(),t.$emit("submit")}}},[t._t("default")],2)}),[],!1,null,null,null).exports},1950:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{justify:{type:String,default:"justify-start"}}};const n=(0,s(1900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"flex items-center space-x-2",class:[t.justify]},[t._t("default")],2)}),[],!1,null,null,null).exports},3906:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"flex flex-col space-y-1"},[t._t("default")],2)}),[],!1,null,null,null).exports},4961:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"text-medium-emphasis text-small"},[t._t("default")],2)}),[],!1,null,null,null).exports},319:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"inline-flex items-center justify-center w-10 h-10 text-medium-emphasis rounded-circle focus:outline-none focus:text-high-emphasis",on:{click:function(e){return t.$emit("click")}}},[t._t("default")],2)}),[],!1,null,null,null).exports},8920:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{forId:{type:String,required:!1},errors:{type:Array}}};const n=(0,s(1900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("label",{class:["text-small"],attrs:{for:t.forId}},[t._t("default")],2)}),[],!1,null,null,null).exports},6051:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("ul",{staticClass:"flex flex-col divide-y divide-low-emphasis"},[t._t("default")],2)}),[],!1,null,null,null).exports},9938:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",[s("div",{staticClass:"-mx-4"},[s("div",{staticClass:"block p-4 transition rounded shadow-none duration-fast hover:bg-surface-2"},[s("div",{staticClass:"flex flex-row items-center space-x-4"},[t._t("prefix"),t._v(" "),s("div",{staticClass:"flex-1"},[s("h2",{staticClass:"font-medium text-body"},[t._t("title")],2),t._v(" "),s("p",{staticClass:"text-small text-medium-emphasis"},[t._t("subtitle")],2)]),t._v(" "),t._t("suffix")],2)])])])}),[],!1,null,null,null).exports},7140:(t,e,s)=>{"use strict";s.d(e,{Z:()=>l});var r=s(1517),n=s(1950),a=s(1567);const i={components:{IconClose:r.Z,FormActions:n.Z,Form:a.Z}};const l=(0,s(1900).Z)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("aside",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){return t.$emit("close")},expression:"() => $emit('close')"}],staticClass:"relative w-full h-full max-w-lg p-8 rounded shadow-2xl pointer-events-auto bg-overlay bf-blur"},[s("button",{staticClass:"absolute top-0 right-0 flex items-center justify-center w-12 h-12",on:{click:function(e){return t.$emit("close")}}},[s("IconClose",{staticClass:"w-8 h-8 text-low-emphasis"})],1),t._v(" "),s("Form",{on:{submit:function(e){return t.$emit("submit")}}},[s("div",[s("h2",{staticClass:"font-medium text-title"},[t._t("title")],2),t._v(" "),s("p",{staticClass:"text-medium-emphasis"},[t._t("subtitle")],2)]),t._v(" "),t._t("form"),t._v(" "),s("FormActions",[t._t("form-actions")],2)],2)],1)}),[],!1,null,null,null).exports},9944:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"fixed inset-0 z-50 flex flex-col items-end w-full h-screen p-6 pointer-events-none"},[s("Transition",{attrs:{"enter-active-class":"transition ease-out transform duration-slow","enter-class":"scale-95 translate-x-full","enter-to-class":"scale-100 translate-x-0","leave-active-class":"transition ease-out transform duration-slow","leave-class":"scale-95 translate-x-0","leave-to-class":"scale-95 translate-x-full"}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},3771:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{count:{type:Number,required:!0}},computed:{cappedCount:function(){return this.count<9?this.count:9}}};const n=(0,s(1900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"inline-flex items-center justify-center w-6 h-6 font-medium bg-danger text-on-danger text-small rounded-circle"},[t._v("\n "+t._s(t.cappedCount)+"\n")])}),[],!1,null,null,null).exports},5119:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"flex flex-col min-h-screen"},[t._t("default")],2)}),[],!1,null,null,null).exports},5173:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("section",{staticClass:"my-8 space-y-8"},[t._t("default")],2)}),[],!1,null,null,null).exports},1019:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("header",{staticClass:"flex justify-between mt-16 mb-8"},[s("div",[t._t("start")],2),t._v(" "),s("div",[t._t("end")],2)])}),[],!1,null,null,null).exports},4582:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("h1",{staticClass:"font-semibold text-heading"},[t._t("default")],2)}),[],!1,null,null,null).exports},8778:(t,e,s)=>{"use strict";s.d(e,{Z:()=>a});var r={primary:"bg-primary",success:"bg-success",warning:"bg-warning",danger:"bg-danger",gray:"bg-surface-2 border border-medium-emphasis"};const n={props:{variant:{type:String,default:function(){return"primary"},validator:function(t){return Object.keys(r).includes(t)}}},data:function(){return{variantClasses:r}},computed:{label:function(){return"success"===this.variant?this.__("Active"):"gray"===this.variant?this.__("Busy"):this.__("Unknown")}}};const a=(0,s(1900).Z)(n,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["flex items-center justify-center w-2 h-2 rounded-circle relative",t.variantClasses[t.variant]],attrs:{"aria-label":t.label,"data-balloon-blunt":"","data-balloon-pos":"down"}},["gray"===t.variant?s("span",{staticClass:"flex items-center justify-center inset-0 h-2 w-2"},[s("span",{staticClass:"animate-ping absolute inline-flex h-full w-full rounded-circle bg-success opacity-75"})]):t._e()])}),[],!1,null,null,null).exports},5250:(t,e,s)=>{"use strict";s.d(e,{Z:()=>i});const r={props:{to:{type:String,required:!0},active:{type:Boolean,default:!1}},data:function(){return{baseClasses:"inline-flex items-center justify-center h-10 px-6 font-medium rounded text-small text-tab-bar",activeClasses:"shadow text-tab-bar-active bg-tab-bar-item",transitionClasses:"transition duration-fast hover:text-high-emphasis focus:text-high-emphasis"}}};var n=s(1900);const a={components:{TabBarItem:(0,n.Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",[s("inertia-link",{class:[t.baseClasses,t.transitionClasses,t.active?t.activeClasses:null],attrs:{href:t.to}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},props:{items:{type:Array,required:!0}}};const i=(0,n.Z)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ul",{staticClass:"inline-flex flex-row p-1 overflow-hidden overflow-x-auto whitespace-nowrap rounded bg-tab-bar"},t._l(t.items,(function(e){return e?s("TabBarItem",{key:e.title,attrs:{to:e.to,active:e.active}},[t._v("\n "+t._s(e.title)+"\n ")]):t._e()})),1)}),[],!1,null,null,null).exports},9159:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{caption:{type:String,required:!0}}};const n=(0,s(1900).Z)(r,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("table",{staticClass:"w-full text-left table-auto text-small"},[s("caption",{staticClass:"sr-only"},[t._v(t._s(t.caption))]),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},7161:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("tbody",[t._t("default")],2)}),[],!1,null,null,null).exports},8406:(t,e,s)=>{"use strict";s.d(e,{Z:()=>n});const r={props:{border:{type:Boolean,default:!0}}};const n=(0,s(1900).Z)(r,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("td",{staticClass:"py-2",class:{"border-t border-low-emphasis":t.border}},[t._t("default")],2)}),[],!1,null,null,null).exports},2984:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("thead",[t._t("default")],2)}),[],!1,null,null,null).exports},3385:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("th",{staticClass:"pb-2"},[t._t("default")],2)}),[],!1,null,null,null).exports},3275:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("tr",[t._t("default")],2)}),[],!1,null,null,null).exports},3022:(t,e,s)=>{"use strict";s.d(e,{Z:()=>f});var r=s(8170),n=s(6653),a=s(6111),i=s(659),l=s(1900);const o=(0,l.Z)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-moon",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M14.53 10.53a7 7 0 0 1-9.058-9.058A7.003 7.003 0 0 0 8 15a7.002 7.002 0 0 0 6.53-4.47z"}})])}),[],!1,null,null,null).exports;const c=(0,l.Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{staticClass:"bi bi-sun",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{d:"M3.5 8a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0z"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M8.202.28a.25.25 0 0 0-.404 0l-.91 1.255a.25.25 0 0 1-.334.067L5.232.79a.25.25 0 0 0-.374.155l-.36 1.508a.25.25 0 0 1-.282.19l-1.532-.245a.25.25 0 0 0-.286.286l.244 1.532a.25.25 0 0 1-.189.282l-1.509.36a.25.25 0 0 0-.154.374l.812 1.322a.25.25 0 0 1-.067.333l-1.256.91a.25.25 0 0 0 0 .405l1.256.91a.25.25 0 0 1 .067.334L.79 10.768a.25.25 0 0 0 .154.374l1.51.36a.25.25 0 0 1 .188.282l-.244 1.532a.25.25 0 0 0 .286.286l1.532-.244a.25.25 0 0 1 .282.189l.36 1.508a.25.25 0 0 0 .374.155l1.322-.812a.25.25 0 0 1 .333.067l.91 1.256a.25.25 0 0 0 .405 0l.91-1.256a.25.25 0 0 1 .334-.067l1.322.812a.25.25 0 0 0 .374-.155l.36-1.508a.25.25 0 0 1 .282-.19l1.532.245a.25.25 0 0 0 .286-.286l-.244-1.532a.25.25 0 0 1 .189-.282l1.508-.36a.25.25 0 0 0 .155-.374l-.812-1.322a.25.25 0 0 1 .067-.333l1.256-.91a.25.25 0 0 0 0-.405l-1.256-.91a.25.25 0 0 1-.067-.334l.812-1.322a.25.25 0 0 0-.155-.374l-1.508-.36a.25.25 0 0 1-.19-.282l.245-1.532a.25.25 0 0 0-.286-.286l-1.532.244a.25.25 0 0 1-.282-.189l-.36-1.508a.25.25 0 0 0-.374-.155l-1.322.812a.25.25 0 0 1-.333-.067L8.203.28zM8 2.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z"}})])}),[],!1,null,null,null).exports;const u=(0,l.Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{staticClass:"bi bi-search",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"}})])}),[],!1,null,null,null).exports;var d=s(319);const p={components:{Container:r.Z,Dropdown:n.Z,DropdownList:a.Z,DropdownListItem:i.Z,IconMoon:o,IconSearch:u,IconSun:c,IconButton:d.Z},data:function(){return{themeMode:this.$page.props.auth.user.theme}},mounted:function(){this.setDarkMode()},methods:{toggleTheme:function(){var t=this;window.axios.post("/profile/toggle-theme").then((function(e){t.themeMode=e.data,t.setDarkMode()}))},setDarkMode:function(){"auto"===this.themeMode?this.checkDarkMode()?document.documentElement.classList.add("theme--dark"):document.documentElement.classList.remove("theme--dark"):"dark"===this.themeMode?document.documentElement.classList.add("theme--dark"):document.documentElement.classList.remove("theme--dark")},checkDarkMode:function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches},triggerSearch:function(){window.eventBus.$emit("openSearch")}}};const f=(0,l.Z)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("header",{staticClass:"sticky top-0 border-b border-low-emphasis bg-top-bar z-30"},[s("div",{staticClass:"w-full px-4 sm:px-8 mx-auto max-w-top-bar-container"},[s("div",{staticClass:"flex flex-col"},[s("nav",{staticClass:"flex flex-col items-center justify-between py-4 space-y-4 md:space-y-0 md:flex-row text-top-bar"},[s("div",{staticClass:"flex items-center space-x-5"},[t.$page.props.settings.logo?s("img",{staticClass:"h-top-bar-logo",attrs:{src:t.$page.props.settings.logo}}):t._e(),t._v(" "),t._t("breadcrumbs")],2),t._v(" "),s("ul",{staticClass:"flex items-center space-x-4"},[s("li",{attrs:{"aria-label":t.__("Search"),"data-balloon-blunt":"","data-balloon-pos":"down"}},[s("IconButton",{on:{click:t.triggerSearch}},[s("IconSearch",{staticClass:"text-top-bar"})],1)],1),t._v(" "),s("li",{attrs:{"aria-label":"light"===t.themeMode?t.__("Enable dark mode"):t.__("Enable light mode"),"data-balloon-blunt":"","data-balloon-pos":"down"}},[s("IconButton",{on:{click:t.toggleTheme}},["light"===t.themeMode?s("IconMoon",{staticClass:"text-top-bar"}):t._e(),t._v(" "),"dark"===t.themeMode?s("IconSun",{staticClass:"text-top-bar"}):t._e()],1)],1),t._v(" "),s("li",[s("Dropdown",{scopedSlots:t._u([{key:"default",fn:function(e){var r=e.toggle,n=e.isOpen;return[s("button",{staticClass:"flex h-auto m-0 appearance-none items-center",on:{click:r}},[s("span",[t._v(t._s(t.$page.props.auth.user.name))]),t._v(" "),s("img",{staticClass:"ml-2 inline w-8 h-8 rounded-avatar bg-surface-2",attrs:{src:t.$page.props.auth.user.avatar,alt:t.$page.props.auth.user.name}})]),t._v(" "),n?s("DropdownList",[t.$page.props.settings.support?s("DropdownListItem",{attrs:{to:"/support"}},[t._v(t._s(t.__("Support"))+"\n ")]):t._e(),t._v(" "),t.$page.props.settings.documentation?s("DropdownListItem",{attrs:{to:"/documentation"}},[t._v(t._s(t.__("Documentation")))]):t._e(),t._v(" "),s("DropdownListItem",{attrs:{to:t.route("profile.index")}},[t._v(t._s(t.__("Profile"))+"\n ")]),t._v(" "),t.$page.props.settings.billing?s("DropdownListItem",{attrs:{to:t.route("profile.billing.index")}},[t._v(t._s(t.__("Billing"))+"\n ")]):t._e(),t._v(" "),"admin"===t.$page.props.auth.user.role?s("DropdownListItem",{staticClass:"text-danger",attrs:{to:t.route("admin.dashboard")}},[t._v(t._s(t.__("Administration"))+"\n ")]):t._e(),t._v(" "),s("DropdownListItem",{attrs:{to:t.route("logout"),method:"post"}},[t._v(t._s(t.__("Sign out"))+"\n ")])],1):t._e()]}}])})],1)])]),t._v(" "),t._t("tab-bar")],2)])])}),[],!1,null,null,null).exports},6684:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("nav",{staticClass:"flex items-center justify-center pb-4"},[t._t("default")],2)}),[],!1,null,null,null).exports},7966:(t,e,s)=>{"use strict";s.d(e,{Z:()=>u});var r=s(3906),n=s(8920),a=s(7493),i=s(4961),l=s(5301),o=s(9592);const c={props:{id:{type:String,required:!1},label:{type:String,required:!0},type:{type:String,default:function(){return"text"}},required:{type:Boolean,default:function(){return!1}},errors:{type:Array},helperText:{type:String},placeholder:{type:String},value:{required:!1,default:""},allowCopy:{required:!1,default:!1,type:Boolean},allowRandomString:{required:!1,default:!1,type:Boolean},loading:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1}},components:{FormGroup:r.Z,Label:n.Z,ErrorText:a.Z,HelperText:i.Z,IconClipboard:l.Z,IconKey:o.Z},data:function(){return{defaultClasses:"w-full border-medium-emphasis text-body h-10 px-2 border rounded bg-surface-1 focus:outline-none focus:border-primary",copied:!1}},watch:{copied:function(){var t=this;this.copied&&setTimeout((function(){t.copied=!1}),1250)}},methods:{updateValue:function(t){this.$emit("input",t)},copy:function(){this.copied=!0,this.$copyText(this.value)},generateString:function(){this.$emit("input",this.randomString())}},computed:{copyText:function(){return this.copied?this.__("Copied to clipboard"):this.__("Copy")}}};const u=(0,s(1900).Z)(c,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("FormGroup",{staticClass:"relative max-w-lg"},[s("Label",{attrs:{errors:t.errors,forId:t.id}},[t._v(t._s(t.label))]),t._v(" "),t.allowCopy?s("button",{staticClass:"flex items-center right-0 absolute text-xs text-medium-emphasis",attrs:{type:"button"},on:{click:t.copy}},[s("IconClipboard",{staticClass:"mr-2"}),t._v("\n "+t._s(t.copyText)+"\n ")],1):t._e(),t._v(" "),t.allowRandomString?s("button",{staticClass:"flex items-center right-0 absolute text-xs text-medium-emphasis",attrs:{type:"button"},on:{click:t.generateString}},[s("IconKey",{staticClass:"mr-2"}),t._v("\n "+t._s(t.__("Generate"))+"\n ")],1):t._e(),t._v(" "),s("input",{class:[t.defaultClasses,t.disabled||t.loading?"opacity-50":"",t.loading?"cursor-wait":""],attrs:{id:t.id,type:t.type,required:t.required,disabled:t.loading||t.disabled,placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value)}}}),t._v(" "),t.errors?s("ErrorText",[t._v(t._s(t.errors[0]))]):t._e(),t._v(" "),t.helperText&&!t.errors?s("HelperText",[t._v(t._s(t.helperText))]):t._e()],1)}),[],!1,null,null,null).exports},7529:(t,e,s)=>{"use strict";s.d(e,{Z:()=>o});var r=s(3906),n=s(8920),a=s(7493),i=s(4961);const l={props:{id:{type:String,required:!1},label:{type:String,required:!0},required:{type:Boolean,default:function(){return!1}},errors:{type:Array},placeholder:{type:String},value:{required:!1,default:""},rows:{default:3,required:!1},helperText:{type:String}},components:{FormGroup:r.Z,Label:n.Z,ErrorText:a.Z,HelperText:i.Z},data:function(){return{defaultClasses:"w-full border-medium-emphasis text-body max-w-lg px-2 border rounded bg-surface-1 focus:outline-none focus:border-primary"}},methods:{updateValue:function(t){this.$emit("input",t)}}};const o=(0,s(1900).Z)(l,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("FormGroup",[s("Label",{attrs:{errors:t.errors,forId:t.id}},[t._v(t._s(t.label))]),t._v(" "),s("textarea",{class:[t.defaultClasses],attrs:{id:t.id,required:t.required,rows:t.rows,placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value)}}}),t._v(" "),t.errors?s("ErrorText",[t._v(t._s(t.errors[0]))]):t._e(),t._v(" "),t.helperText&&!t.errors?s("HelperText",[t._v(t._s(t.helperText))]):t._e()],1)}),[],!1,null,null,null).exports},4223:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-arrow-down",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1z"}})])}),[],!1,null,null,null).exports},3424:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{staticClass:"bi bi-arrow-up",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5z"}})])}),[],!1,null,null,null).exports},5087:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5l2.404.961L10.404 2l-2.218-.887zm3.564 1.426L5.596 5 8 5.961 14.154 3.5l-2.404-.961zm3.25 1.7l-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184z"}})])}),[],!1,null,null,null).exports},5301:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{staticClass:"bi bi-clipboard",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M9.5 1h-3a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"}})])}),[],!1,null,null,null).exports},1517:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z"}})])}),[],!1,null,null,null).exports},5243:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M1.018 7.5h2.49c.037-1.07.189-2.087.437-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5zM3.05 3.049c.362.184.763.349 1.198.49.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05zM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.5 1.077c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.473.257 2.282.287V1.077zm0 4.014c-.91-.03-1.783-.145-2.591-.332a12.344 12.344 0 0 0-.4 2.741H7.5V5.091zm1 2.409V5.091c.91-.03 1.783-.145 2.591-.332.223.827.364 1.754.4 2.741H8.5zm-1 1H4.51c.035.987.176 1.914.399 2.741A13.596 13.596 0 0 1 7.5 10.91V8.5zm1 2.409V8.5h2.99a12.343 12.343 0 0 1-.399 2.741A13.596 13.596 0 0 0 8.5 10.91zm-1 1c-.81.03-1.577.13-2.282.287.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91zm-2.173 2.563a6.695 6.695 0 0 1-.597-.933 8.857 8.857 0 0 1-.481-1.078 8.356 8.356 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.52zM2.38 12.175c.47-.258.995-.482 1.565-.667A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.964 6.964 0 0 0 1.362 3.675zm8.293 2.297a7.01 7.01 0 0 0 2.275-1.521 8.353 8.353 0 0 0-1.197-.49 8.859 8.859 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zm.11-2.276A12.63 12.63 0 0 0 8.5 11.91v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872zm1.272-.688c.57.185 1.095.409 1.565.667A6.964 6.964 0 0 0 14.982 8.5h-2.49a13.355 13.355 0 0 1-.437 3.008zm.437-4.008h2.49a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008zm-.74-3.96a8.854 8.854 0 0 0-.482-1.079 6.692 6.692 0 0 0-.597-.933c.857.355 1.63.875 2.275 1.521a8.368 8.368 0 0 1-1.197.49zm-.97.264c-.705.157-1.473.257-2.282.287V1.077c.67.204 1.335.82 1.887 1.855.143.268.276.56.395.872z"}})])}),[],!1,null,null,null).exports},9592:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{staticClass:"bi bi-key",attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M0 8a4 4 0 0 1 7.465-2H14a.5.5 0 0 1 .354.146l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0L13 9.207l-.646.647a.5.5 0 0 1-.708 0L11 9.207l-.646.647a.5.5 0 0 1-.708 0L9 9.207l-.646.647A.5.5 0 0 1 8 10h-.535A4 4 0 0 1 0 8zm4-3a3 3 0 1 0 2.712 4.285A.5.5 0 0 1 7.163 9h.63l.853-.854a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.793-.793-1-1h-6.63a.5.5 0 0 1-.451-.285A3 3 0 0 0 4 5z"}}),t._v(" "),s("path",{attrs:{d:"M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"}})])}),[],!1,null,null,null).exports},6389:(t,e,s)=>{"use strict";s.d(e,{Z:()=>r});const r=(0,s(1900).Z)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("svg",{attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd",d:"M14 9H2a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zM2 8a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2H2z"}}),t._v(" "),s("path",{attrs:{d:"M5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm-2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0z"}}),t._v(" "),s("path",{attrs:{"fill-rule":"evenodd",d:"M4.094 4a.5.5 0 0 0-.44.26l-2.47 4.532A1.5 1.5 0 0 0 1 9.51v.99H0v-.99c0-.418.105-.83.305-1.197l2.472-4.531A1.5 1.5 0 0 1 4.094 3h7.812a1.5 1.5 0 0 1 1.317.782l2.472 4.53c.2.368.305.78.305 1.198v.99h-1v-.99a1.5 1.5 0 0 0-.183-.718L12.345 4.26a.5.5 0 0 0-.439-.26H4.094z"}})])}),[],!1,null,null,null).exports},1900:(t,e,s)=>{"use strict";function r(t,e,s,r,n,a,i,l){var o,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=s,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),i?(o=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=o):n&&(o=l?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),o)if(c.functional){c._injectStyles=o;var u=c.render;c.render=function(t,e){return o.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,o):[o]}return{exports:t,options:c}}s.d(e,{Z:()=>r})}}]); |