PageSourceSearch

https://axethrowing.org/assets/chat-legacy-7ayVRLDS.js

js axethrowing.org collected 2026-10-01 15:02:37 UTC 6,270 bytes, 1 lines download raw bytes

1System.register(["./index-legacy-DtXVSfTX.js"],function(t,e){"use strict";var a,n,o,i,s,c,r,h,d,l,u,p,g,m,x,w,b,f,y,v;return{setters:[t=>{a=t._,n=t.R,o=t.U,i=t.W,s=t.e,c=t.v,r=t.t,h=t.n,d=t.q,l=t.r,u=t.B,p=t.z,g=t.D,m=t.F,x=t.x,w=t.$,b=t.aZ,f=t.f,y=t.g,v=t.y}],execute:function(){var e=document.createElement("style");e.textContent=".hostsLeague .chatCopy[data-v-c088a970]{display:none}.hostsLeague .chatIcon[data-v-c088a970]{bottom:140px}.chatCopy[data-v-c088a970]{position:fixed;right:11px;line-height:1.3em;bottom:80px;font-weight:700;text-align:center;color:#e4e4e7}.chatIcon[data-v-c088a970]{position:fixed;z-index:999;right:20px;bottom:20px;color:#000;background:#fff;border-radius:15%;border:1px solid #e4e4e7;padding:16px;width:60px;text-align:center;height:60px;box-shadow:0 2px 4px -1px rgba(0,0,0,.06);box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}.chatIcon i[data-v-c088a970]{color:#000}@keyframes bounce-4-c088a970{0%{transform:scale(1) translateY(0)}10%{transform:scale(1.1,.9) translateY(0)}30%{transform:scale(.9,1.1) translateY(-50px)}50%{transform:scale(1) translateY(0)}to{transform:scale(1) translateY(0)}}.chatIcon.active[data-v-c088a970]{background:#e4e4e7;animation-name:bounce-4-c088a970;animation-timing-function:ease;animation-duration:2s;animation-iteration-count:infinite}.chatWindow[data-v-c088a970]{position:fixed;right:20px;bottom:20px;background:#fff;width:300px;height:300px;border:solid 2px #E4E4E7;border-radius:14px;z-index:999}.chatWindow .close[data-v-c088a970]{position:absolute;top:-10px;right:-10px;width:30px;height:30px;background:#e4e4e7;border-radius:50%}.chatWindow .close i[data-v-c088a970]{color:#fff}.chatWindow .screen[data-v-c088a970]{height:255px;border-bottom:solid 1px #E4E4E7;padding:16px;overflow:auto}.chatWindow .screen li[data-v-c088a970]{margin-bottom:10px}.chatWindow .screen li span[data-v-c088a970]{border-radius:5px;display:inline-block;max-width:85%;margin:0 0 0 5px;padding:8px;background:#d6cbb7;border-left:solid 3px #a2906f;border-right:none;text-align:left;word-break:break-word}.chatWindow .screen li.me[data-v-c088a970]{text-align:right}.chatWindow .screen li.me span[data-v-c088a970]{background:rgba(0,0,0,.1);max-width:100%;border-left:none;border-right:solid 3px rgba(0,0,0,.2)}.chatWindow .screen img[data-v-c088a970]{width:30px;height:30px;border-radius:50%;vertical-align:top}.chatWindow ul[data-v-c088a970]{list-style:none;padding:0}.chatWindow input[data-v-c088a970]{border:none!important;box-shadow:none;display:inline-block;width:80%;vertical-align:middle}.chatWindow button[data-v-c088a970]{color:#000;width:20%;height:42px;vertical-align:middle;display:inline-block}\n/*$vite$:1*/",document.head.appendChild(e);const C={key:1},k={key:0,class:"chatWindow"},M={class:"screen"},W=["src"];t("c",a({props:["location","person","personKey","channel","instructions"],data:()=>({me:null,chatMsg:"",chatCountA:0,chatCountB:0,chat:[],chatOpen:!1}),watch:{channel(){this.initChat()},chat(t){this.chatOpen?this.chatCountA=this.chatCountB=t.length:this.chatCountB=t.length}},methods:{instructionsChat(){this.instructionsMessage("Hi "+this.person.first+"!");let t=this;window.setTimeout(function(){t.instructionsMessage("I will guide you through the process of playing a match against your opponent.")},2e3),window.setTimeout(function(){t.instructionsMessage("You can chat with your opponent in real-time here. We encourage you each to share your Instagram or Messenger profile, so you can call each other, meet and throw live, in real-time, against each other. Above your target, we'll have social icons you can click on to connect with your opponent.")},1e4),window.setTimeout(function(){t.instructionsMessage("You don't have to call each other, it's just recommended and you can rely on great sportsmanship to continue your match.")},2e4),window.setTimeout(function(){t.instructionsMessage("When you score, click on your target with your score. Your opponent will then enter their own score.")},3e4),window.setTimeout(function(){t.instructionsMessage("If your opponent disconnects or loses connectivity you can exit your match after 60 seconds of inactivity.")},4e4),window.setTimeout(function(){t.instructionsMessage("In a tie scenario 'sudden death throw' button will be activated and players can select who the winner is.")},6e4),window.setTimeout(function(){t.instructionsMessage("That`s basically it! Easy isn`t it? If you have any questions you can contact us at [email protected]")},8e4)},instructionsMessage(t){let e=Date.now();i(o(this.location),{first:"Axe",last:"Bot",pic:"https://firebasestorage.googleapis.com/v0/b/forged-7adb7.appspot.com/o/robot.png?alt=media&token=121df055-2b09-440a-9b35-a9c70226c966",id:"test",msg:t,t
1ime:1-e}).then(t=>{})},sendMessage(){let t=Date.now();if(""===this.chatMsg)return!1;i(o(this.location),{first:this.person.first,last:this.person.last,pic:this.person.pic,id:this.personKey,msg:this.chatMsg.slice(0,160),time:1-t}).then(t=>{}),this.chatMsg=""},initChat(){this.chatCountA=0,this.chatCountB=0,this.$databaseBind("chat",n(o(this.location)))}},mounted(){this.initChat(),this.instructions&&this.instructionsChat()}},[["render",function(t,e,a,n,o,i){const B=l("v-icon");return y(),s("div",{class:p(t.$route.name)},[c("div",{class:p(["chatIcon",{active:o.chatCountA!=o.chatCountB}]),onClick:e[0]||(e[0]=t=>{o.chatOpen=!0,o.chatCountA=o.chatCountB})},[o.chatCountA===o.chatCountB?(y(),h(B,{key:0,class:"icon",color:"black"},{default:d(()=>[...e[5]||(e[5]=[v("mdi-message-text",-1)])]),_:1})):(y(),s("span",C,u(o.chatCountB-o.chatCountA),1))],2),o.chatOpen?(y(),s("div",k,[c("div",M,[c("ul",null,[(y(!0),s(m,null,x(o.chat,t=>(y(),s("li",{class:p({me:t.id==a.personKey}),key:t.id},[t.id!=a.personKey?(y(),s("img",{key:0,src:t.pic},null,8,W)):r("",!0),c("span",null,[c("strong",null,u(t.first)+" "+u(t.last)+":",1),v(" "+u(t.msg),1)])],2))),128))])]),g(c("input",{"onUpdate:modelValue":e[1]||(e[1]=t=>o.chatMsg=t),onKeyup:e[2]||(e[2]=b(t=>i.sendMessage(),["enter"]))},null,544),[[w,o.chatMsg]]),c("button",{onClick:e[3]||(e[3]=t=>i.sendMessage())},"send"),c("button",{class:"close",onClick:e[4]||(e[4]=t=>o.chatOpen=!1)},[f(B,null,{default:d(()=>[...e[6]||(e[6]=[v("mdi-close",-1)])]),_:1})])])):r("",!0)],2)}],["__scopeId","data-v-c088a970"]]))}}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.