PageSourceSearch

https://stomp.gg/chunk-5ELE4YYN.js

js stomp.gg collected 2026-10-04 14:00:10 UTC 4,315 bytes, 1 lines download raw bytes

1import{g as M}from"./chunk-IE5A5HWO.js";import{Kb as u,N as f,Qa as v,S as a,Sa as b,Z as m,ba as g,ha as s,mc as C,qb as r,ra as h,rb as c,rc as w,sb as x,sc as p,vb as y,za as l,zb as d}from"./chunk-4QEFHJR2.js";var _=class n{elementRef=a(h);observer;ngAfterViewInit(){let e=this.elementRef.nativeElement;e.scrollTop=e.scrollHeight,this.observer=new MutationObserver(()=>{e.scrollTop=e.scrollHeight}),this.observer.observe(e,{childList:!0,subtree:!0,characterData:!0})}ngOnDestroy(){this.observer?.disconnect()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=b({type:n,selectors:[["","autoScroll",""]]})};var P=class n{placeholder=p.required();variant=p("default");send=w();text=s("");cooldown=s(!1);cooldownTimer=null;armed=C(()=>this.text().trim().length>0&&!this.cooldown());constructor(){a(g).onDestroy(()=>{this.cooldownTimer&&clearTimeout(this.cooldownTimer)})}onSubmit(e){e.preventDefault();let t=this.text().trim();!t||this.cooldown()||(this.send.emit(t),this.text.set(""),this.cooldown.set(!0),this.cooldownTimer=setTimeout(()=>{this.cooldownTimer=null,this.cooldown.set(!1)},M))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=v({type:n,selectors:[["app-chat-input-row"]],inputs:{placeholder:[1,"placeholder"],variant:[1,"variant"]},outputs:{send:"send"},decls:5,vars:6,consts:[[1,"group",3,"submit"],["type","text","name","chatInput",1,"chat-text",3,"input","placeholder","value"],["type","submit","aria-label","Send",1,"send"],["viewBox","0 0 24 24","aria-hidden","true"],["d","M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"]],template:function(t,o){t&1&&(r(0,"form",0),d("submit",function(i){return o.onSubmit(i)}),r(1,"input",1),d("input",function(i){return o.text.set(i.target.value)}),c(),r(2,"button",2),m(),r(3,"svg",3),x(4,"path",4),c()()()),t&2&&(u("group--glass",o.variant()==="glass"),l(),y("placeholder",o.placeholder())("value",o.text()),l(),u("armed",o.armed()))},styles:["[_nghost-%COMP%]{display:block;flex:1 1 auto;min-width:0}.group[_ngcontent-%COMP%]{display:flex;align-items:stretch;background:var(--surface-inset);border:var(--bw-1) solid var(--border);border-radius:var(--radius-md);overflow:hidden;transition:border-color var(--dur-base) ease}.group[_ngcontent-%COMP%]:focus-within{border-color:var(--accent-bright)}.chat-text[_ngcontent-%COMP%]{flex:1;min-width:0;padding:9px 4px 9px 10px;background:transparent;border:0;outline:0;color:var(--text-primary);font-family:var(--font-pixel);font-size:12px;-webkit-touch-callout:default;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.chat-text[_ngcontent-%COMP%]::placeholder{color:var(--text-muted);font-family:var(--font-pixel)}.send[_ngcontent-%COMP%]{width:36px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-left:var(--bw-1) solid var(--border);color:var(--text-muted);cursor:pointer;transition:color var(--dur-base) ease,background-color var(--dur-base) ease,transform var(--dur-fast) ease}.send.armed[_ngcontent-%COMP%]{color:var(--accent-bright)}.send[_ngcontent-%COMP%]:active{transform:scale(.97)}@media(hover:hover)and (pointer:fine){.send[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--text-bright)}}.send[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:16px;height:16px;fill:currentColor;display:block}.group--glass[_ngcontent-%COMP%]{background:#ffffff1a;border-color:#ffffff24}.group--glass[_ngcontent-%COMP%]   .chat-text[_ngcontent-%COMP%]{color:#fff;font-size:14px}.group--glass[_ngcontent-%COMP%]   .chat-text[_ngcontent-%COMP%]::placeholder{color:#fff6}.group--glass[_ngcontent-%COMP%]   .send[_ngcontent-%COMP%]{border-left-color:#ffffff24;color:#ffffff8c}.group--glass[_ngcontent-%COMP%]   .send.armed[_ngcontent-%COMP%]{color:#fff}","@media(pointer:coarse){.chat-text[_ngcontent-%COMP%], .group--glass[_ngcontent-%COMP%]   .chat-text[_ngcontent-%COMP%]{font-size:16px}}"]})};var D=class n{devAddresses=new Set(["0x88969939faf18a26469aba6636ee6d88f8fe826a","0x5400162b72237a51ec3411d278e6b6b3319bab01"]);isDev(e){return e?this.devAddresses.has(e.toLowerCase()):!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=f({token:n,factory:n.\u0275fac,providedIn:"root"})};export{_ as a,P as b,D as c};

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.