import{e as i,L as a}from"./livewire.esm-CvVQJolS.js";import{f as n,m as s}from"./fetch-D1QFtid7.js";function l(t={text:null,message:"Copied!"}){return{onClipboard:!1,text:t.text,message:t.message||"Copied!",init(){this.message=this.$el.dataset.message||this.message},clipboard:{"@click"(){this.onClipboardClick()}},copy(){let e=this.text;typeof e=="function"&&(e=e()),typeof e=="object"&&(e=JSON.stringify(e));let o=()=>{setTimeout(()=>{this.onClipboard=!1},500)};window.navigator.clipboard.writeText(e).then(o),window.toastr.info(this.message)},onClipboardClick(){this.onClipboard=!0,this.copy()}}}window.fetchEventSource=n;window.Alpine=i;i.plugin(s);console.log("chatbotApp yüklendi");document.addEventListener("alpine:init",()=>{i.data("clipboard",t=>l(t))});a.start();document.querySelectorAll("[magic-load]").forEach(function(t){t.removeAttribute("magic-load")});
