import{f as a,e as i,m as n,L as s}from"./fetch-727eea72.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=a;window.Alpine=i;i.plugin(n);console.log("chatbotApp yüklendi");document.addEventListener("alpine:init",()=>{i.data("clipboard",t=>l(t))});s.start();document.querySelectorAll("[magic-load]").forEach(function(t){t.removeAttribute("magic-load")});
