PageSourceSearch

https://app.clear.ml/chunk-OZK5ZCA5.js

js clear.ml collected 2026-10-02 05:33:48 UTC 7,504 bytes, 1 lines download raw bytes

1import{a as Q,b as le}from"./chunk-HBI7IJGN.js";import{a as K,b as ae}from"./chunk-U4CBQECB.js";import{a as F,b as oe}from"./chunk-3DFVXONH.js";import{A as re,s as G}from"./chunk-6CNYGIM4.js";import"./chunk-THMLHAD6.js";import"./chunk-7F53FRKN.js";import{a as B,b as ne}from"./chunk-U5HMTXMF.js";import"./chunk-5RPK2RIA.js";import"./chunk-PAWQFYYV.js";import"./chunk-OKMJK5O3.js";import"./chunk-PZVXREA4.js";import"./chunk-LFZS5KZ5.js";import"./chunk-UIBJVLO3.js";import"./chunk-VD4QE6ER.js";import"./chunk-7K34GDKE.js";import{M as z,Z as te}from"./chunk-O3AO23VE.js";import{b as I,c as $}from"./chunk-73CYGA5R.js";import"./chunk-KHDQMKAP.js";import{H as ee,a as D,c as A,n as H,o as V,p as J,t as L}from"./chunk-TS32VRUD.js";import{E as Z,q as k}from"./chunk-7L27BDPL.js";import"./chunk-BFTIQ2FP.js";import"./chunk-YXPM6B6U.js";import{e as q,f as ie}from"./chunk-IXAMAGTW.js";import"./chunk-5G6RYABW.js";import"./chunk-FUM4WPNX.js";import{n as U,w as X}from"./chunk-NOMO3ERR.js";import{b as R,c as j,d as Y}from"./chunk-X5ABTCX7.js";import"./chunk-2EX2QP7W.js";import"./chunk-R3HFPUDU.js";import"./chunk-FZGIOLLW.js";import"./chunk-MBNWJ725.js";import"./chunk-5PKUNPXF.js";import"./chunk-I7DFKFDU.js";import"./chunk-ES3I7JXJ.js";import"./chunk-5XA6NXWV.js";import"./chunk-MEDUJNMX.js";import"./chunk-HHBTWF3C.js";import{Ce as N,Ic as m,Kc as d,Oa as h,Pc as p,Qc as o,Rc as r,Sc as C,Vb as n,Xa as _,Ya as f,Zc as v,_d as S,ce as T,de as E,ed as x,gd as l,hb as P,jb as b,kc as y,qc as M,qd as O,sd as w,vd as s,wd as g}from"./chunk-J4S5G7ZA.js";import{e as W}from"./chunk-RJZPLZKV.js";function se(i,c){i&1&&(o(0,"div",9),C(1,"mat-icon",11),s(2,"ADMIN"),r())}function ce(i,c){if(i&1&&C(0,"sm-dynamic-label-list",10),i&2){let e=l(2),t=O(2);p("items",e.groups())("itemTemplate",t)}}function me(i,c){i&1&&s(0," WORKSPACE ")}function de(i,c){i&1&&s(0," COMPANY ")}function pe(i,c){if(i&1){let e=v();o(0,"div",12)(1,"div",13),m(2,me,1,0)(3,de,1,0),r(),o(4,"div",14)(5,"span",7),s(6),r(),o(7,"sm-id-badge",15),x("copied",function(){_(e);let a=l(3);return f(a.copyToClipboard())}),r()()()}if(i&2){let e=l(3);n(2),d(e.config.configuration().communityServer?2:3),n(4),g(e.currentUser().company.name),n(),p("short",!0)("id",e.currentUser().company.id)}}function _e(i,c){if(i&1&&(o(0,"div",12)(1,"div",13),s(2,"EMAIL ADDRESS"),r(),o(3,"div",14)(4,"span",7),s(5),r()()(),m(6,pe,8,4,"div",12)),i&2){let e,t=l(2);n(5),g(t.currentUser().email),n(),d((e=t.currentUser().company)!=null&&e.id?6:-1)}}function fe(i,c){if(i&1){let e=v();o(0,"div",1),C(1,"div",2),o(2,"div",3)(3,"div",4)(4,"sm-inline-edit",5),x("inlineActiveStateChanged",function(a){_(e);let u=l();return f(u.active.set(a))})("textChanged",function(a){_(e);let u=l();return f(u.nameChange(a,u.currentUser()))}),o(5,"div",6)(6,"div",7),s(7),r()()(),o(8,"sm-id-badge",8),x("copied",function(){_(e);let a=l();return f(a.copyToClipboard())}),r(),m(9,se,3,0,"div",9),r()(),m(10,ce,1,2,"sm-dynamic-label-list",10),m(11,_e,7,2),r()}if(i&2){let e,t=l();n(4),w("edit",t.active()),p("originalText",t.currentUser().name)("minLength",2)("required",!0)("editable",!0),n(3),g(t.currentUser().name),n(),p("short",!0)("id",t.currentUser().id),n(),d(!t.config.configuration().communityServer&&t.currentUser().role===t.roleEnum.Admin?9:-1),n(),d(!t.config.configuration().communityServer&&((e=t.groups())==null?null:e.length)>0?10:-1),n(),d(t.currentUser().email?11:-1)}}function ge(i,c){if(i&1&&(o(0,"span",16),s(1),r()),i&2){let e=c.$implicit;p("smTooltip",e),n(),g(e)}}var ke,ue=W(()=>{N();X();ee();re();H();Z();$();J();ae();oe();Y();le();te();ie();ne();N();Y();ke=(()=>{class i{constructor(){this.store=h(U),this.config=h(I),this.roleEnum=V,this.currentUser=this.store.selectSignal(L),this.groups=E(()=>this.currentUser().sec_groups?.map(({name:e})=>e)),this.active=P(!1),this.store.dispatch(D()),b(()=>{this.currentUser()&&T(()=>this.store.dispatch(G({})))})}nameChange(e,t){let a={name:e,user:t.id};this.store.dispatch(A({user:a})),this.store.dispatch(z({users:[]}))}copyToClipboard(){this.store.dispatch(k("success","Copied to clipboard"))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["sm-profile-name"]],decls:3,vars:1,consts:[["groupLabelTemplate",""],[1,"header","d-flex","align-items-center","justify-content-center","h-100","w-100","flex-column"],[1,"user-icon"],[1,"d-flex","align-items-center","flex-column"],[1,"d-flex","d-flex-center"],[1,"profile-name","me-2",3,"inlineActiveStateChanged","textChanged","originalText","minLength","required","editable"],[1,"d-flex-center"],[1,"me-2"],["caption","Copy user ID",3,"copied","short","id"],[1,"badge","ms-2"],[3,"items","itemTemplate"],["fontSet","al","fontIcon","al-ico-admin",1,"me-1","sm-md"],[1,"d-flex","flex-column","align-items-center"],[1,"profile-label"],[1,"d-flex","align-items-center"],["caption","Copy company ID",3,"copied","short","id"],["smShowTooltipIfEllipsis","",1,"sys-tag","tag-item",3,"smTooltip"]],template:function(t,a){t&1&&(m(0,fe,12,12,"div",1),M(1,ge,2,2,"ng-template",null,0,S)),t&2&&d(a.currentUser()?0:-1)},dependencies:[K,F,j,R,Q,q,B],styles:['[_nghost-%COMP%]   sm-dynamic-label-list[_ngcontent-%COMP%]{justify-content:center}[_nghost-%COMP%]   .sys-tag[_ngcontent-%COMP%]{--sys-tag-height: 18px;display:inline-block;position:relative;min-width:50px;max-width:180px;height:var(--sys-tag-height);font-size:11px;border-radius:4px;border:1px solid color-mix(in srgb,var(--color-primary-container),var(--color-on-surface) 20%);padding:0 8px 0 14px;margin-right:5px;background-color:var(--color-primary-container);color:var(--color-on-surface);text-transform:uppercase;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%]   .sys-tag[_ngcontent-%COMP%]:before{font-family:trains;content:"\\e91c";width:12px;font-size:24px;text-align:left;position:absolute;
1left:-12px;top:50%;transform:translateY(-50%)}[_nghost-%COMP%]   .tag-item[_ngcontent-%COMP%]{margin-right:5px;flex:0 2 content;transition:flex-shrink .3s}[_nghost-%COMP%]   .tag-item[_ngcontent-%COMP%]:hover{flex-shrink:0}[_nghost-%COMP%]   .tag-item[_ngcontent-%COMP%]{padding-left:16px}[_nghost-%COMP%]   .group-rest[_ngcontent-%COMP%]{background:transparent;border-color:transparent;min-width:0;text-overflow:unset;padding:0 6px;overflow:visible}[_nghost-%COMP%]   .group-rest[_ngcontent-%COMP%]:before{content:""}[_nghost-%COMP%]     tr.selected .group-rest{color:var(--color-surface)}[_nghost-%COMP%]     sm-inline-edit .editable-div .value{padding-right:0!important;transition:padding .3s}[_nghost-%COMP%]     sm-inline-edit .editable-div:not(.edit-mode):hover .value{padding-right:32px!important}.header[_ngcontent-%COMP%]{gap:24px;font-size:16px}.user-icon[_ngcontent-%COMP%]{width:88px;height:88px;overflow:hidden;background-image:url("./media/icon-profile-user-N3XQEGO4.svg")}.profile-label[_ngcontent-%COMP%]{font-size:12px;color:var(--color-outline);font-weight:500}.profile-name[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:32px}.badge[_ngcontent-%COMP%]{height:18px;display:flex;align-items:center;background-color:var(--color-outline-variant);padding:0 6px 0 16px;border-radius:4px;font-size:11px;font-weight:500;text-transform:none;position:relative;overflow:hidden;color:var(--color-on-surface);border:1px solid var(--color-outline-variant)}.badge[_ngcontent-%COMP%]   .al-icon[_ngcontent-%COMP%]{position:absolute;left:-8px;top:50%;transform:translateY(-50%)}'],changeDetection:0})}}return i})()});ue();export{ke as ProfileNameComponent};

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.