@skill-map/cli 0.49.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -3
- package/dist/index.js +3 -3
- package/dist/kernel/index.js +3 -3
- package/dist/ui/{chunk-RDYHTZW7.js → chunk-4N5LGWJ4.js} +2 -2
- package/dist/ui/chunk-AEA5GIA7.js +1 -0
- package/dist/ui/{chunk-LBYK5DLL.js → chunk-BO5IS3EQ.js} +1 -1
- package/dist/ui/{chunk-YA64YJXF.js → chunk-BV323KTK.js} +1 -1
- package/dist/ui/{chunk-7EVKMO5A.js → chunk-DOWLJNMD.js} +1 -1
- package/dist/ui/chunk-FQQYWQV6.js +1 -0
- package/dist/ui/{chunk-QKL5B4RS.js → chunk-OYCCFH2S.js} +1 -1
- package/dist/ui/chunk-VJ57LHDR.js +4 -0
- package/dist/ui/{chunk-FDJ5FDGM.js → chunk-WMGW2UAL.js} +2 -2
- package/dist/ui/{chunk-YV7KWLC4.js → chunk-WQMZOINB.js} +1 -1
- package/dist/ui/chunk-WWHD2PMO.js +2349 -0
- package/dist/ui/index.html +1 -1
- package/dist/ui/{main-EVGVBPDA.js → main-YSSSF5GW.js} +3 -3
- package/package.json +2 -2
- package/dist/ui/chunk-MO37AU3M.js +0 -1
- package/dist/ui/chunk-NV5DRQPL.js +0 -4
- package/dist/ui/chunk-OUNBYGMY.js +0 -1
- package/dist/ui/chunk-YRBZKMG6.js +0 -2610
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as In,B as _n,C as X,Ca as Ie,Da as te,E as we,Fa as Dt,Ja as T,L as Cn,M as En,O as Sn,Q as Dn,S as Tn,T as ft,U as wn,V as Qt,Y as at,Z as Xt,_ as Et,a as _t,aa as An,b as Se,c as pn,d as Ct,da as Jt,e as hn,ea as W,f as fn,h as gn,ha as St,i as mn,j as bn,m as G,p as De,q as yn,r as xt,s as vn,u as Zt,y as Te}from"./chunk-4SG4352Z.js";import{a as Ce,g as dn,h as cn,i as un,j as it,k as ht,l as Ee}from"./chunk-FDJ5FDGM.js";import{$ as q,$a as rt,Ab as Gt,B as Ze,Bb as zt,Cb as on,Dc as Yt,E as Qe,Gb as rn,H as Ht,Hb as vt,Hc as _,Ic as st,J as he,Ja as U,Jb as K,K as g,Kb as et,L as F,Lb as nt,Mb as sn,N as y,Ob as Mt,P as c,Pa as Je,Pb as Ot,Q as Xe,Ra as ut,Sa as I,Ta as tn,Ub as an,Vb as ve,Wb as ln,X as Ut,Xb as R,Ya as $,Yb as qt,Z as $t,Za as L,Zb as Kt,_ as Z,_a as S,ab as E,ba as ot,bb as pt,c as Bt,ca as jt,d as z,eb as en,f as ze,fb as nn,ga as f,h as qe,hc as O,ia as D,ja as Wt,ka as m,kb as j,kc as _e,ma as tt,n as Ke,qa as yt,s as Ye,sc as Q,tb as A,tc as v,u as pe,ub as fe,vb as ge,wb as At,xb as me,xc as b,yb as be,zb as ye}from"./chunk-NV5DRQPL.js";import{a as d,b as N,d as Ge}from"./chunk-WCABR6TI.js";function lt(...n){if(n){let i=[];for(let t=0;t<n.length;t++){let e=n[t];if(!e)continue;let o=typeof e;if(o==="string"||o==="number")i.push(e);else if(o==="object"){let r=Array.isArray(e)?[lt(...e)]:Object.entries(e).map(([s,a])=>a?s:void 0);i=r.length?i.concat(r.filter(s=>!!s)):i}}return i.join(" ").trim()}}var $i=Object.defineProperty,Mn=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,On=(n,i,t)=>i in n?$i(n,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[i]=t,xn=(n,i)=>{for(var t in i||(i={}))ji.call(i,t)&&On(n,t,i[t]);if(Mn)for(var t of Mn(i))Wi.call(i,t)&&On(n,t,i[t]);return n};function Nn(...n){if(n){let i=[];for(let t=0;t<n.length;t++){let e=n[t];if(!e)continue;let o=typeof e;if(o==="string"||o==="number")i.push(e);else if(o==="object"){let r=Array.isArray(e)?[Nn(...e)]:Object.entries(e).map(([s,a])=>a?s:void 0);i=r.length?i.concat(r.filter(s=>!!s)):i}}return i.join(" ").trim()}}function Gi(n){return typeof n=="function"&&"call"in n&&"apply"in n}function zi({skipUndefined:n=!1},...i){return i?.reduce((t,e={})=>{for(let o in e){let r=e[o];if(!(n&&r===void 0))if(o==="style")t.style=xn(xn({},t.style),e.style);else if(o==="class"||o==="className")t[o]=Nn(t[o],e[o]);else if(Gi(r)){let s=t[o];t[o]=s?(...a)=>{s(...a),r(...a)}:r}else t[o]=r}return t},{})}function Ae(...n){return zi({skipUndefined:!1},...n)}var ee={};function gt(n="pui_id_"){return Object.hasOwn(ee,n)||(ee[n]=0),ee[n]++,`${n}${ee[n]}`}var Fn=["*"],qi=(function(n){return n[n.ACCEPT=0]="ACCEPT",n[n.REJECT=1]="REJECT",n[n.CANCEL=2]="CANCEL",n})(qi||{}),Ir=(()=>{class n{requireConfirmationSource=new z;acceptConfirmationSource=new z;requireConfirmation$=this.requireConfirmationSource.asObservable();accept=this.acceptConfirmationSource.asObservable();confirm(t){return this.requireConfirmationSource.next(t),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=g({token:n,factory:n.\u0275fac})}return n})();var P=(()=>{class n{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return n})(),Ar=(()=>{class n{static AND="and";static OR="or"}return n})(),Mr=(()=>{class n{filter(t,e,o,r,s){let a=[];if(t)for(let l of t)for(let u of e){let p=wn(l,u);if(this.filters[r](p,o,s)){a.push(l);break}}return a}filters={startsWith:(t,e,o)=>{if(e==null||e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o);return W(t.toString()).toLocaleLowerCase(o).slice(0,r.length)===r},contains:(t,e,o)=>{if(e==null||typeof e=="string"&&e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o);return W(t.toString()).toLocaleLowerCase(o).indexOf(r)!==-1},notContains:(t,e,o)=>{if(e==null||typeof e=="string"&&e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o);return W(t.toString()).toLocaleLowerCase(o).indexOf(r)===-1},endsWith:(t,e,o)=>{if(e==null||e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o),s=W(t.toString()).toLocaleLowerCase(o);return s.indexOf(r,s.length-r.length)!==-1},equals:(t,e,o)=>e==null||typeof e=="string"&&e.trim()===""?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()===e.getTime():t==e?!0:W(t.toString()).toLocaleLowerCase(o)==W(e.toString()).toLocaleLowerCase(o),notEquals:(t,e,o)=>e==null||typeof e=="string"&&e.trim()===""?!1:t==null?!0:t.getTime&&e.getTime?t.getTime()!==e.getTime():t==e?!1:W(t.toString()).toLocaleLowerCase(o)!=W(e.toString()).toLocaleLowerCase(o),in:(t,e)=>{if(e==null||e.length===0)return!0;for(let o=0;o<e.length;o++)if(Qt(t,e[o]))return!0;return!1},between:(t,e)=>e==null||e[0]==null||e[1]==null?!0:t==null?!1:t.getTime?e[0].getTime()<=t.getTime()&&t.getTime()<=e[1].getTime():e[0]<=t&&t<=e[1],lt:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()<e.getTime():t<e,lte:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()<=e.getTime():t<=e,gt:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()>e.getTime():t>e,gte:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()>=e.getTime():t>=e,is:(t,e,o)=>this.filters.equals(t,e,o),isNot:(t,e,o)=>this.filters.notEquals(t,e,o),before:(t,e,o)=>this.filters.lt(t,e,o),after:(t,e,o)=>this.filters.gt(t,e,o),dateIs:(t,e)=>e==null?!0:t==null?!1:t.toDateString()===e.toDateString(),dateIsNot:(t,e)=>e==null?!0:t==null?!1:t.toDateString()!==e.toDateString(),dateBefore:(t,e)=>e==null?!0:t==null?!1:t.getTime()<e.getTime(),dateAfter:(t,e)=>e==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>e.getTime())};register(t,e){this.filters[t]=e}static \u0275fac=function(e){return new(e||n)};static \u0275prov=g({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Or=(()=>{class n{clickSource=new z;parentDragSource=new z;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=g({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var xr=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=$({type:n,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Fn,decls:1,vars:0,template:function(e,o){e&1&&(et(),nt(0))},encapsulation:2})}return n})(),Nr=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=$({type:n,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Fn,decls:1,vars:0,template:function(e,o){e&1&&(et(),nt(0))},encapsulation:2})}return n})(),Ln=(()=>{class n{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(e){return new(e||n)(I(Je))};static \u0275dir=S({type:n,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return n})(),dt=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[it]})}return n})(),Fr=(()=>{class n{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return n})();var $n=(()=>{class n{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,e){this._renderer=t,this._elementRef=e}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(e){return new(e||n)(I(ut),I(tt))};static \u0275dir=S({type:n})}return n})(),Ki=(()=>{class n extends $n{static \u0275fac=(()=>{let t;return function(o){return(t||(t=m(n)))(o||n)}})();static \u0275dir=S({type:n,features:[E]})}return n})(),jn=new y("");var Yi={provide:jn,useExisting:he(()=>Wn),multi:!0};function Zi(){let n=Ce()?Ce().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var Qi=new y(""),Wn=(()=>{class n extends $n{_compositionMode;_composing=!1;constructor(t,e,o){super(t,e),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!Zi())}writeValue(t){let e=t??"";this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(e){return new(e||n)(I(ut),I(tt),I(Qi,8))};static \u0275dir=S({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,o){e&1&&vt("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[O([Yi]),E]})}return n})();var Xi=new y(""),Ji=new y("");function Gn(n){return n!=null}function zn(n){return en(n)?qe(n):n}function qn(n){let i={};return n.forEach(t=>{i=t!=null?d(d({},i),t):i}),Object.keys(i).length===0?null:i}function Kn(n,i){return i.map(t=>t(n))}function to(n){return!n.validate}function Yn(n){return n.map(i=>to(i)?i:t=>i.validate(t))}function eo(n){if(!n)return null;let i=n.filter(Gn);return i.length==0?null:function(t){return qn(Kn(t,i))}}function Zn(n){return n!=null?eo(Yn(n)):null}function no(n){if(!n)return null;let i=n.filter(Gn);return i.length==0?null:function(t){let e=Kn(t,i).map(zn);return Ye(e).pipe(Ke(qn))}}function Qn(n){return n!=null?no(Yn(n)):null}function Pn(n,i){return n===null?[i]:Array.isArray(n)?[...n,i]:[n,i]}function io(n){return n._rawValidators}function oo(n){return n._rawAsyncValidators}function Me(n){return n?Array.isArray(n)?n:[n]:[]}function ie(n,i){return Array.isArray(n)?n.includes(i):n===i}function Vn(n,i){let t=Me(i);return Me(n).forEach(o=>{ie(t,o)||t.push(o)}),t}function kn(n,i){return Me(i).filter(t=>!ie(n,t))}var oe=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=Zn(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Qn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control?.reset(i)}hasError(i,t){return this.control?this.control.hasError(i,t):!1}getError(i,t){return this.control?this.control.getError(i,t):null}},Oe=class extends oe{name;get formDirective(){return null}get path(){return null}},mt=class extends oe{_parent=null;name=null;valueAccessor=null},xe=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var Jr=(()=>{class n extends xe{constructor(t){super(t)}static \u0275fac=function(e){return new(e||n)(I(mt,2))};static \u0275dir=S({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,o){e&2&&ve("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[E]})}return n})();var Nt="VALID",ne="INVALID",Tt="PENDING",Ft="DISABLED",bt=class{},re=class extends bt{value;source;constructor(i,t){super(),this.value=i,this.source=t}},Lt=class extends bt{pristine;source;constructor(i,t){super(),this.pristine=i,this.source=t}},Pt=class extends bt{touched;source;constructor(i,t){super(),this.touched=i,this.source=t}},wt=class extends bt{status;source;constructor(i,t){super(),this.status=i,this.source=t}};var Ne=class extends bt{source;constructor(i){super(),this.source=i}};function ro(n){return(se(n)?n.validators:n)||null}function so(n){return Array.isArray(n)?Zn(n):n||null}function ao(n,i){return(se(i)?i.asyncValidators:n)||null}function lo(n){return Array.isArray(n)?Qn(n):n||null}function se(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}var Fe=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,t){this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Q(this.statusReactive)}set status(i){Q(()=>this.statusReactive.set(i))}_status=v(()=>this.statusReactive());statusReactive=f(void 0);get valid(){return this.status===Nt}get invalid(){return this.status===ne}get pending(){return this.status===Tt}get disabled(){return this.status===Ft}get enabled(){return this.status!==Ft}errors;get pristine(){return Q(this.pristineReactive)}set pristine(i){Q(()=>this.pristineReactive.set(i))}_pristine=v(()=>this.pristineReactive());pristineReactive=f(!0);get dirty(){return!this.pristine}get touched(){return Q(this.touchedReactive)}set touched(i){Q(()=>this.touchedReactive.set(i))}_touched=v(()=>this.touchedReactive());touchedReactive=f(!1);get untouched(){return!this.touched}_events=new z;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Vn(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Vn(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(kn(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(kn(i,this._rawAsyncValidators))}hasValidator(i){return ie(this._rawValidators,i)}hasAsyncValidator(i){return ie(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let t=this.touched===!1;this.touched=!0;let e=i.sourceControl??this;i.onlySelf||this._parent?.markAsTouched(N(d({},i),{sourceControl:e})),t&&i.emitEvent!==!1&&this._events.next(new Pt(!0,e))}markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(i))}markAsUntouched(i={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let e=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:e})}),i.onlySelf||this._parent?._updateTouched(i,e),t&&i.emitEvent!==!1&&this._events.next(new Pt(!1,e))}markAsDirty(i={}){let t=this.pristine===!0;this.pristine=!1;let e=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(N(d({},i),{sourceControl:e})),t&&i.emitEvent!==!1&&this._events.next(new Lt(!1,e))}markAsPristine(i={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let e=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),i.onlySelf||this._parent?._updatePristine(i,e),t&&i.emitEvent!==!1&&this._events.next(new Lt(!0,e))}markAsPending(i={}){this.status=Tt;let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new wt(this.status,t)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(N(d({},i),{sourceControl:t}))}disable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=Ft,this.errors=null,this._forEachChild(o=>{o.disable(N(d({},i),{onlySelf:!0}))}),this._updateValue();let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new re(this.value,e)),this._events.next(new wt(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(d({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=Nt,this._forEachChild(e=>{e.enable(N(d({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(N(d({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(i,t){i.onlySelf||(this._parent?.updateValueAndValidity(i),i.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Nt||this.status===Tt)&&this._runAsyncValidator(e,i.emitEvent)}let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new re(this.value,t)),this._events.next(new wt(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(N(d({},i),{sourceControl:t}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ft:Nt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,t){if(this.asyncValidator){this.status=Tt,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:i!==!1};let e=zn(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(i){let t=i;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((e,o)=>e&&e._find(o),this)}getError(i,t){let e=t?this.get(t):this;return e?.errors?e.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,t,e){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||e)&&this._events.next(new wt(this.status,t)),this._parent&&this._parent._updateControlsErrors(i,t,e)}_initObservables(){this.valueChanges=new ot,this.statusChanges=new ot}_calculateStatus(){return this._allControlsDisabled()?Ft:this.errors?ne:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Tt)?Tt:this._anyControlsHaveStatus(ne)?ne:Nt}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,t){let e=!this._anyControlsDirty(),o=this.pristine!==e;this.pristine=e,i.onlySelf||this._parent?._updatePristine(i,t),o&&this._events.next(new Lt(this.pristine,t))}_updateTouched(i={},t){this.touched=this._anyControlsTouched(),this._events.next(new Pt(this.touched,t)),i.onlySelf||this._parent?._updateTouched(i,t)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){se(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=so(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=lo(this._rawAsyncValidators)}};var Xn=new y("",{factory:()=>Le}),Le="always";function co(n,i){return[...i.path,n]}function uo(n,i,t=Le){ho(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||t==="always")&&i.valueAccessor.setDisabledState?.(n.disabled),fo(n,i),mo(n,i),go(n,i),po(n,i)}function Rn(n,i){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function po(n,i){if(i.valueAccessor.setDisabledState){let t=e=>{i.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(t),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}function ho(n,i){let t=io(n);i.validator!==null?n.setValidators(Pn(t,i.validator)):typeof t=="function"&&n.setValidators([t]);let e=oo(n);i.asyncValidator!==null?n.setAsyncValidators(Pn(e,i.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let o=()=>n.updateValueAndValidity();Rn(i._rawValidators,o),Rn(i._rawAsyncValidators,o)}function fo(n,i){i.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&Jn(n,i)})}function go(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&Jn(n,i),n.updateOn!=="submit"&&n.markAsTouched()})}function Jn(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function mo(n,i){let t=(e,o)=>{i.valueAccessor.writeValue(e),o&&i.viewToModelUpdate(e)};n.registerOnChange(t),i._registerOnDestroy(()=>{n._unregisterOnChange(t)})}function bo(n,i){if(!n.hasOwnProperty("model"))return!1;let t=n.model;return t.isFirstChange()?!0:!Object.is(i,t.currentValue)}function yo(n){return Object.getPrototypeOf(n.constructor)===Ki}function vo(n,i){if(!i)return null;Array.isArray(i);let t,e,o;return i.forEach(r=>{r.constructor===Wn?t=r:yo(r)?e=r:o=r}),o||e||t||null}function Bn(n,i){let t=n.indexOf(i);t>-1&&n.splice(t,1)}function Hn(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var _o=class extends Fe{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,t,e){super(ro(t),ao(e,t)),this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),se(t)&&(t.nonNullable||t.initialValueIsDefault)&&(Hn(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,t={}){this.value=this._pendingValue=i,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Ne(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){Bn(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){Bn(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){Hn(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var Co={provide:mt,useExisting:he(()=>Eo)},Un=Promise.resolve(),Eo=(()=>{class n extends mt{_changeDetectorRef;callSetDisabledState;control=new _o;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ot;constructor(t,e,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(e),this._setAsyncValidators(o),this.valueAccessor=vo(this,r)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),bo(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){uo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Un.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let e=t.isDisabled.currentValue,o=e!==0&&_(e);Un.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?co(t,this._parent):[t]}static \u0275fac=function(e){return new(e||n)(I(Oe,9),I(Xi,10),I(Ji,10),I(jn,10),I(Yt,8),I(Xn,8))};static \u0275dir=S({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[O([Co]),E,Wt]})}return n})();var So=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})();var es=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Xn,useValue:t.callSetDisabledState??Le}]}}static \u0275fac=function(e){return new(e||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[So]})}return n})();var ti=`
|
|
1
|
+
import{$ as In,B as _n,C as X,Ca as Ie,Da as te,E as we,Fa as Dt,Ja as T,L as Cn,M as En,O as Sn,Q as Dn,S as Tn,T as ft,U as wn,V as Qt,Y as at,Z as Xt,_ as Et,a as _t,aa as An,b as Se,c as pn,d as Ct,da as Jt,e as hn,ea as W,f as fn,h as gn,ha as St,i as mn,j as bn,m as G,p as De,q as yn,r as xt,s as vn,u as Zt,y as Te}from"./chunk-4SG4352Z.js";import{a as Ce,f as dn,g as cn,h as un,i as it,j as ht,k as Ee}from"./chunk-WMGW2UAL.js";import{$ as q,$a as pt,Ab as on,B as Ze,Dc as _,E as Qe,Eb as rn,Ec as st,Fb as vt,H as Ht,Ha as U,Hb as K,Ib as et,J as he,Jb as nt,K as g,Kb as sn,L as F,Mb as Mt,N as y,Na as Je,Nb as Ot,P as c,Pa as ut,Q as Xe,Qa as I,Ra as tn,Sb as an,Tb as ve,Ub as ln,Vb as R,Wa as $,Wb as qt,X as Ut,Xa as L,Xb as Kt,Ya as S,Z as $t,Za as rt,_ as Z,_a as E,ba as ot,c as Bt,ca as jt,cb as en,d as z,db as nn,f as ze,fc as O,ga as f,h as qe,ia as D,ib as j,ic as _e,ja as Wt,ka as m,la as tt,n as Ke,pa as yt,qc as Q,rb as A,rc as v,s as Ye,sb as fe,tb as ge,tc as b,u as pe,ub as At,vb as me,wb as be,xb as ye,yb as Gt,zb as zt,zc as Yt}from"./chunk-VJ57LHDR.js";import{a as d,b as N,d as Ge}from"./chunk-WCABR6TI.js";function lt(...n){if(n){let i=[];for(let t=0;t<n.length;t++){let e=n[t];if(!e)continue;let o=typeof e;if(o==="string"||o==="number")i.push(e);else if(o==="object"){let r=Array.isArray(e)?[lt(...e)]:Object.entries(e).map(([s,a])=>a?s:void 0);i=r.length?i.concat(r.filter(s=>!!s)):i}}return i.join(" ").trim()}}var $i=Object.defineProperty,Mn=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,On=(n,i,t)=>i in n?$i(n,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[i]=t,xn=(n,i)=>{for(var t in i||(i={}))ji.call(i,t)&&On(n,t,i[t]);if(Mn)for(var t of Mn(i))Wi.call(i,t)&&On(n,t,i[t]);return n};function Nn(...n){if(n){let i=[];for(let t=0;t<n.length;t++){let e=n[t];if(!e)continue;let o=typeof e;if(o==="string"||o==="number")i.push(e);else if(o==="object"){let r=Array.isArray(e)?[Nn(...e)]:Object.entries(e).map(([s,a])=>a?s:void 0);i=r.length?i.concat(r.filter(s=>!!s)):i}}return i.join(" ").trim()}}function Gi(n){return typeof n=="function"&&"call"in n&&"apply"in n}function zi({skipUndefined:n=!1},...i){return i?.reduce((t,e={})=>{for(let o in e){let r=e[o];if(!(n&&r===void 0))if(o==="style")t.style=xn(xn({},t.style),e.style);else if(o==="class"||o==="className")t[o]=Nn(t[o],e[o]);else if(Gi(r)){let s=t[o];t[o]=s?(...a)=>{s(...a),r(...a)}:r}else t[o]=r}return t},{})}function Ae(...n){return zi({skipUndefined:!1},...n)}var ee={};function gt(n="pui_id_"){return Object.hasOwn(ee,n)||(ee[n]=0),ee[n]++,`${n}${ee[n]}`}var Fn=["*"],qi=(function(n){return n[n.ACCEPT=0]="ACCEPT",n[n.REJECT=1]="REJECT",n[n.CANCEL=2]="CANCEL",n})(qi||{}),Ir=(()=>{class n{requireConfirmationSource=new z;acceptConfirmationSource=new z;requireConfirmation$=this.requireConfirmationSource.asObservable();accept=this.acceptConfirmationSource.asObservable();confirm(t){return this.requireConfirmationSource.next(t),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=g({token:n,factory:n.\u0275fac})}return n})();var P=(()=>{class n{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return n})(),Ar=(()=>{class n{static AND="and";static OR="or"}return n})(),Mr=(()=>{class n{filter(t,e,o,r,s){let a=[];if(t)for(let l of t)for(let u of e){let p=wn(l,u);if(this.filters[r](p,o,s)){a.push(l);break}}return a}filters={startsWith:(t,e,o)=>{if(e==null||e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o);return W(t.toString()).toLocaleLowerCase(o).slice(0,r.length)===r},contains:(t,e,o)=>{if(e==null||typeof e=="string"&&e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o);return W(t.toString()).toLocaleLowerCase(o).indexOf(r)!==-1},notContains:(t,e,o)=>{if(e==null||typeof e=="string"&&e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o);return W(t.toString()).toLocaleLowerCase(o).indexOf(r)===-1},endsWith:(t,e,o)=>{if(e==null||e.trim()==="")return!0;if(t==null)return!1;let r=W(e.toString()).toLocaleLowerCase(o),s=W(t.toString()).toLocaleLowerCase(o);return s.indexOf(r,s.length-r.length)!==-1},equals:(t,e,o)=>e==null||typeof e=="string"&&e.trim()===""?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()===e.getTime():t==e?!0:W(t.toString()).toLocaleLowerCase(o)==W(e.toString()).toLocaleLowerCase(o),notEquals:(t,e,o)=>e==null||typeof e=="string"&&e.trim()===""?!1:t==null?!0:t.getTime&&e.getTime?t.getTime()!==e.getTime():t==e?!1:W(t.toString()).toLocaleLowerCase(o)!=W(e.toString()).toLocaleLowerCase(o),in:(t,e)=>{if(e==null||e.length===0)return!0;for(let o=0;o<e.length;o++)if(Qt(t,e[o]))return!0;return!1},between:(t,e)=>e==null||e[0]==null||e[1]==null?!0:t==null?!1:t.getTime?e[0].getTime()<=t.getTime()&&t.getTime()<=e[1].getTime():e[0]<=t&&t<=e[1],lt:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()<e.getTime():t<e,lte:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()<=e.getTime():t<=e,gt:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()>e.getTime():t>e,gte:(t,e,o)=>e==null?!0:t==null?!1:t.getTime&&e.getTime?t.getTime()>=e.getTime():t>=e,is:(t,e,o)=>this.filters.equals(t,e,o),isNot:(t,e,o)=>this.filters.notEquals(t,e,o),before:(t,e,o)=>this.filters.lt(t,e,o),after:(t,e,o)=>this.filters.gt(t,e,o),dateIs:(t,e)=>e==null?!0:t==null?!1:t.toDateString()===e.toDateString(),dateIsNot:(t,e)=>e==null?!0:t==null?!1:t.toDateString()!==e.toDateString(),dateBefore:(t,e)=>e==null?!0:t==null?!1:t.getTime()<e.getTime(),dateAfter:(t,e)=>e==null?!0:t==null?!1:(t.setHours(0,0,0,0),t.getTime()>e.getTime())};register(t,e){this.filters[t]=e}static \u0275fac=function(e){return new(e||n)};static \u0275prov=g({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Or=(()=>{class n{clickSource=new z;parentDragSource=new z;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(t){t&&this.clickSource.next(t)}emitParentDrag(t){this.parentDragSource.next(t)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=g({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var xr=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=$({type:n,selectors:[["p-header"]],standalone:!1,ngContentSelectors:Fn,decls:1,vars:0,template:function(e,o){e&1&&(et(),nt(0))},encapsulation:2})}return n})(),Nr=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=$({type:n,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:Fn,decls:1,vars:0,template:function(e,o){e&1&&(et(),nt(0))},encapsulation:2})}return n})(),Ln=(()=>{class n{template;type;name;constructor(t){this.template=t}getType(){return this.name}static \u0275fac=function(e){return new(e||n)(I(Je))};static \u0275dir=S({type:n,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return n})(),dt=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[it]})}return n})(),Fr=(()=>{class n{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return n})();var $n=(()=>{class n{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,e){this._renderer=t,this._elementRef=e}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(e){return new(e||n)(I(ut),I(tt))};static \u0275dir=S({type:n})}return n})(),Ki=(()=>{class n extends $n{static \u0275fac=(()=>{let t;return function(o){return(t||(t=m(n)))(o||n)}})();static \u0275dir=S({type:n,features:[E]})}return n})(),jn=new y("");var Yi={provide:jn,useExisting:he(()=>Wn),multi:!0};function Zi(){let n=Ce()?Ce().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var Qi=new y(""),Wn=(()=>{class n extends $n{_compositionMode;_composing=!1;constructor(t,e,o){super(t,e),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!Zi())}writeValue(t){let e=t??"";this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(e){return new(e||n)(I(ut),I(tt),I(Qi,8))};static \u0275dir=S({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,o){e&1&&vt("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[O([Yi]),E]})}return n})();var Xi=new y(""),Ji=new y("");function Gn(n){return n!=null}function zn(n){return en(n)?qe(n):n}function qn(n){let i={};return n.forEach(t=>{i=t!=null?d(d({},i),t):i}),Object.keys(i).length===0?null:i}function Kn(n,i){return i.map(t=>t(n))}function to(n){return!n.validate}function Yn(n){return n.map(i=>to(i)?i:t=>i.validate(t))}function eo(n){if(!n)return null;let i=n.filter(Gn);return i.length==0?null:function(t){return qn(Kn(t,i))}}function Zn(n){return n!=null?eo(Yn(n)):null}function no(n){if(!n)return null;let i=n.filter(Gn);return i.length==0?null:function(t){let e=Kn(t,i).map(zn);return Ye(e).pipe(Ke(qn))}}function Qn(n){return n!=null?no(Yn(n)):null}function Pn(n,i){return n===null?[i]:Array.isArray(n)?[...n,i]:[n,i]}function io(n){return n._rawValidators}function oo(n){return n._rawAsyncValidators}function Me(n){return n?Array.isArray(n)?n:[n]:[]}function ie(n,i){return Array.isArray(n)?n.includes(i):n===i}function Vn(n,i){let t=Me(i);return Me(n).forEach(o=>{ie(t,o)||t.push(o)}),t}function kn(n,i){return Me(i).filter(t=>!ie(n,t))}var oe=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=Zn(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=Qn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control?.reset(i)}hasError(i,t){return this.control?this.control.hasError(i,t):!1}getError(i,t){return this.control?this.control.getError(i,t):null}},Oe=class extends oe{name;get formDirective(){return null}get path(){return null}},mt=class extends oe{_parent=null;name=null;valueAccessor=null},xe=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var Jr=(()=>{class n extends xe{constructor(t){super(t)}static \u0275fac=function(e){return new(e||n)(I(mt,2))};static \u0275dir=S({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,o){e&2&&ve("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[E]})}return n})();var Nt="VALID",ne="INVALID",Tt="PENDING",Ft="DISABLED",bt=class{},re=class extends bt{value;source;constructor(i,t){super(),this.value=i,this.source=t}},Lt=class extends bt{pristine;source;constructor(i,t){super(),this.pristine=i,this.source=t}},Pt=class extends bt{touched;source;constructor(i,t){super(),this.touched=i,this.source=t}},wt=class extends bt{status;source;constructor(i,t){super(),this.status=i,this.source=t}};var Ne=class extends bt{source;constructor(i){super(),this.source=i}};function ro(n){return(se(n)?n.validators:n)||null}function so(n){return Array.isArray(n)?Zn(n):n||null}function ao(n,i){return(se(i)?i.asyncValidators:n)||null}function lo(n){return Array.isArray(n)?Qn(n):n||null}function se(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}var Fe=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,t){this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return Q(this.statusReactive)}set status(i){Q(()=>this.statusReactive.set(i))}_status=v(()=>this.statusReactive());statusReactive=f(void 0);get valid(){return this.status===Nt}get invalid(){return this.status===ne}get pending(){return this.status===Tt}get disabled(){return this.status===Ft}get enabled(){return this.status!==Ft}errors;get pristine(){return Q(this.pristineReactive)}set pristine(i){Q(()=>this.pristineReactive.set(i))}_pristine=v(()=>this.pristineReactive());pristineReactive=f(!0);get dirty(){return!this.pristine}get touched(){return Q(this.touchedReactive)}set touched(i){Q(()=>this.touchedReactive.set(i))}_touched=v(()=>this.touchedReactive());touchedReactive=f(!1);get untouched(){return!this.touched}_events=new z;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Vn(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Vn(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(kn(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(kn(i,this._rawAsyncValidators))}hasValidator(i){return ie(this._rawValidators,i)}hasAsyncValidator(i){return ie(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let t=this.touched===!1;this.touched=!0;let e=i.sourceControl??this;i.onlySelf||this._parent?.markAsTouched(N(d({},i),{sourceControl:e})),t&&i.emitEvent!==!1&&this._events.next(new Pt(!0,e))}markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(i))}markAsUntouched(i={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let e=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:e})}),i.onlySelf||this._parent?._updateTouched(i,e),t&&i.emitEvent!==!1&&this._events.next(new Pt(!1,e))}markAsDirty(i={}){let t=this.pristine===!0;this.pristine=!1;let e=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(N(d({},i),{sourceControl:e})),t&&i.emitEvent!==!1&&this._events.next(new Lt(!1,e))}markAsPristine(i={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let e=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),i.onlySelf||this._parent?._updatePristine(i,e),t&&i.emitEvent!==!1&&this._events.next(new Lt(!0,e))}markAsPending(i={}){this.status=Tt;let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new wt(this.status,t)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(N(d({},i),{sourceControl:t}))}disable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=Ft,this.errors=null,this._forEachChild(o=>{o.disable(N(d({},i),{onlySelf:!0}))}),this._updateValue();let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new re(this.value,e)),this._events.next(new wt(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(N(d({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=Nt,this._forEachChild(e=>{e.enable(N(d({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(N(d({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(i,t){i.onlySelf||(this._parent?.updateValueAndValidity(i),i.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Nt||this.status===Tt)&&this._runAsyncValidator(e,i.emitEvent)}let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new re(this.value,t)),this._events.next(new wt(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(N(d({},i),{sourceControl:t}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ft:Nt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,t){if(this.asyncValidator){this.status=Tt,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:i!==!1};let e=zn(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(i){let t=i;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((e,o)=>e&&e._find(o),this)}getError(i,t){let e=t?this.get(t):this;return e?.errors?e.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,t,e){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||e)&&this._events.next(new wt(this.status,t)),this._parent&&this._parent._updateControlsErrors(i,t,e)}_initObservables(){this.valueChanges=new ot,this.statusChanges=new ot}_calculateStatus(){return this._allControlsDisabled()?Ft:this.errors?ne:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Tt)?Tt:this._anyControlsHaveStatus(ne)?ne:Nt}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,t){let e=!this._anyControlsDirty(),o=this.pristine!==e;this.pristine=e,i.onlySelf||this._parent?._updatePristine(i,t),o&&this._events.next(new Lt(this.pristine,t))}_updateTouched(i={},t){this.touched=this._anyControlsTouched(),this._events.next(new Pt(this.touched,t)),i.onlySelf||this._parent?._updateTouched(i,t)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){se(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=so(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=lo(this._rawAsyncValidators)}};var Xn=new y("",{factory:()=>Le}),Le="always";function co(n,i){return[...i.path,n]}function uo(n,i,t=Le){ho(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||t==="always")&&i.valueAccessor.setDisabledState?.(n.disabled),fo(n,i),mo(n,i),go(n,i),po(n,i)}function Rn(n,i){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function po(n,i){if(i.valueAccessor.setDisabledState){let t=e=>{i.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(t),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}function ho(n,i){let t=io(n);i.validator!==null?n.setValidators(Pn(t,i.validator)):typeof t=="function"&&n.setValidators([t]);let e=oo(n);i.asyncValidator!==null?n.setAsyncValidators(Pn(e,i.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let o=()=>n.updateValueAndValidity();Rn(i._rawValidators,o),Rn(i._rawAsyncValidators,o)}function fo(n,i){i.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&Jn(n,i)})}function go(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&Jn(n,i),n.updateOn!=="submit"&&n.markAsTouched()})}function Jn(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function mo(n,i){let t=(e,o)=>{i.valueAccessor.writeValue(e),o&&i.viewToModelUpdate(e)};n.registerOnChange(t),i._registerOnDestroy(()=>{n._unregisterOnChange(t)})}function bo(n,i){if(!n.hasOwnProperty("model"))return!1;let t=n.model;return t.isFirstChange()?!0:!Object.is(i,t.currentValue)}function yo(n){return Object.getPrototypeOf(n.constructor)===Ki}function vo(n,i){if(!i)return null;Array.isArray(i);let t,e,o;return i.forEach(r=>{r.constructor===Wn?t=r:yo(r)?e=r:o=r}),o||e||t||null}function Bn(n,i){let t=n.indexOf(i);t>-1&&n.splice(t,1)}function Hn(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var _o=class extends Fe{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,t,e){super(ro(t),ao(e,t)),this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),se(t)&&(t.nonNullable||t.initialValueIsDefault)&&(Hn(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,t={}){this.value=this._pendingValue=i,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Ne(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){Bn(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){Bn(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){Hn(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var Co={provide:mt,useExisting:he(()=>Eo)},Un=Promise.resolve(),Eo=(()=>{class n extends mt{_changeDetectorRef;callSetDisabledState;control=new _o;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ot;constructor(t,e,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(e),this._setAsyncValidators(o),this.valueAccessor=vo(this,r)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),bo(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){uo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Un.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let e=t.isDisabled.currentValue,o=e!==0&&_(e);Un.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?co(t,this._parent):[t]}static \u0275fac=function(e){return new(e||n)(I(Oe,9),I(Xi,10),I(Ji,10),I(jn,10),I(Yt,8),I(Xn,8))};static \u0275dir=S({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[O([Co]),E,Wt]})}return n})();var So=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})();var es=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:Xn,useValue:t.callSetDisabledState??Le}]}}static \u0275fac=function(e){return new(e||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[So]})}return n})();var ti=`
|
|
2
2
|
*,
|
|
3
3
|
::before,
|
|
4
4
|
::after {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{K as Y,L as X,T as vt,ca as Ae,da as ht,fa as _t}from"./chunk-DOWLJNMD.js";import{b as gt,i as we}from"./chunk-AEA5GIA7.js";import{d as mt}from"./chunk-WMGW2UAL.js";import{$ as rt,$a as at,Ab as ct,Db as lt,Gb as dt,Ha as p,Hb as y,K as Z,N as tt,P as W,Sb as ut,Tb as ee,V as nt,Vb as Pe,W as it,Wa as A,Wb as C,Xb as k,Yb as Ce,_ as ot,ga as q,gc as pt,hc as ft,ia as be,ib as S,lb as N,mb as E,nb as st,pb as U,qb as H,rb as F,rc as m,sb as O,tb as P,tc as D,ub as se,vb as w,wb as M,xb as le}from"./chunk-VJ57LHDR.js";import{d as et}from"./chunk-WCABR6TI.js";var wn=new Set(["stale-body","stale-frontmatter","stale-both"]);function yt(e){return e?wn.has(e.status??null):!1}function ge(e){let n=e.metadata;return n&&typeof n=="object"&&!Array.isArray(n)?n:null}function Yi(e){if(!e)return null;let n=e.sidecar?.annotations;if(n&&typeof n.version=="number")return`v${n.version}`;let t=ge(e.frontmatter)?.version;return typeof t=="string"&&t.length>0?`v${t}`:null}function Xi(e){if(!e)return null;let t=e.sidecar?.annotations?.stability;if(t==="stable"||t==="experimental"||t==="deprecated")return t;let i=ge(e.frontmatter)?.stability;return i==="stable"||i==="experimental"||i==="deprecated"?i:null}function Qi(e){if(!e)return[];let n=e.frontmatter,t=[];if(e.kind==="agent"&&Array.isArray(n.tools))for(let i of n.tools)typeof i=="string"&&i.length>0&&t.push(i);if(e.kind==="skill"||e.kind==="command"){let i=n["allowed-tools"];if(Array.isArray(i))for(let o of i)typeof o=="string"&&o.length>0&&t.push(o);else typeof i=="string"&&i.length>0&&t.push(i)}return t}function Ji(e){return yt(e?.sidecar)}function Zi(e){if(!e)return null;let t=e.sidecar?.annotations?.supersededBy;if(typeof t=="string"&&t.length>0)return t;let i=ge(e.frontmatter)?.supersededBy;return typeof i=="string"&&i.length>0?i:null}function xt(e){if(!e)return[];let t=e.sidecar?.annotations?.tags;if(Array.isArray(t))return t.filter(o=>typeof o=="string"&&o.length>0);let i=ge(e.frontmatter)?.tags;return Array.isArray(i)?i.filter(o=>typeof o=="string"&&o.length>0):[]}function eo(e,n){switch(e?.sidecar?.status){case"stale-body":return n.staleBody;case"stale-frontmatter":return n.staleFrontmatter;case"stale-both":return n.staleBoth;default:return""}}function to(e){return e<1e3?`${e}`:e<1e4?`${(e/1e3).toFixed(1).replace(/\.0$/,"")}k`:`${Math.round(e/1e3)}k`}function no(e){let n=new Date(e);if(isNaN(n.getTime()))return e;let t=Date.now()-n.getTime(),i=Math.floor(t/1e3);if(i<60)return"just now";let o=Math.floor(i/60);if(o<60)return`${o} minute${o===1?"":"s"} ago`;let r=Math.floor(o/60);if(r<24)return`${r} hour${r===1?"":"s"} ago`;let s=Math.floor(r/24);if(s<30)return`${s} day${s===1?"":"s"} ago`;let a=Math.floor(s/30);if(a<12)return`${a} month${a===1?"":"s"} ago`;let l=Math.floor(s/365);return`${l} year${l===1?"":"s"} ago`}var bt=["invokes","references","mentions","supersedes"],so=(()=>{class e{_searchText=q("");_selectedKinds=q([]);_kindToggleExplicitEmpty=q(!1);_favoritesOnly=q(!1);_selectedLinkKinds=q([]);_severityErrorActive=q(!1);_severityWarnActive=q(!1);searchText=this._searchText.asReadonly();selectedKinds=this._selectedKinds.asReadonly();favoritesOnly=this._favoritesOnly.asReadonly();selectedLinkKinds=this._selectedLinkKinds.asReadonly();severityErrorActive=this._severityErrorActive.asReadonly();severityWarnActive=this._severityWarnActive.asReadonly();kindToggleExplicitEmpty=this._kindToggleExplicitEmpty.asReadonly();isActive=m(()=>this._searchText().trim().length>0||this._selectedKinds().length>0||this._kindToggleExplicitEmpty()||this._favoritesOnly()||this._selectedLinkKinds().length>0||this._severityErrorActive()||this._severityWarnActive());setSearchText(t){this._searchText.set(t)}setKinds(t){this._kindToggleExplicitEmpty.set(!1),this._selectedKinds.set([...t])}toggleKind(t,i){let o=this._selectedKinds(),r=i,a=this._kindToggleExplicitEmpty()?new Set:o.length===0?new Set(r):new Set(o);a.has(t)?a.delete(t):a.add(t),a.size===r.length?(this._selectedKinds.set([]),this._kindToggleExplicitEmpty.set(!1)):a.size===0?(this._selectedKinds.set([]),this._kindToggleExplicitEmpty.set(!0)):(this._selectedKinds.set([...a]),this._kindToggleExplicitEmpty.set(!1))}isKindActive(t){if(this._kindToggleExplicitEmpty())return!1;let i=this._selectedKinds();return i.length===0?!0:i.includes(t)}setFavoritesOnly(t){this._favoritesOnly.set(t)}setLinkKinds(t){this._selectedLinkKinds.set([...t])}toggleLinkKind(t){let i=this._selectedLinkKinds(),o=i.length===0?new Set(bt):new Set(i);o.has(t)?o.delete(t):o.add(t),o.size===bt.length?this._selectedLinkKinds.set([]):this._selectedLinkKinds.set([...o])}isLinkKindActive(t){let i=this._selectedLinkKinds();return i.length===0?!0:i.includes(t)}toggleSeverity(t){t==="error"?this._severityErrorActive.set(!this._severityErrorActive()):this._severityWarnActive.set(!this._severityWarnActive())}isSeverityActive(t){return t==="error"?this._severityErrorActive():this._severityWarnActive()}setSeverityFilters(t){let i=new Set(t);this._severityErrorActive.set(i.has("error")),this._severityWarnActive.set(i.has("warn"))}reset(){this._searchText.set(""),this._selectedKinds.set([]),this._kindToggleExplicitEmpty.set(!1),this._favoritesOnly.set(!1),this._selectedLinkKinds.set([]),this._severityErrorActive.set(!1),this._severityWarnActive.set(!1)}apply(t,i){let o=this.searchText().trim().toLowerCase(),r=this.selectedKinds(),s=this._kindToggleExplicitEmpty(),a=this.favoritesOnly(),l=this._severityErrorActive(),c=this._severityWarnActive(),f=(l||c)&&i!==void 0;return t.filter(h=>{if(o){let _=xt(h).join(" ");if(![h.path,h.frontmatter.name??"",h.frontmatter.description??"",_].join(" ").toLowerCase().includes(o))return!1}return!(s||r.length>0&&!r.includes(h.kind)||a&&h.isFavorite!==!0||f&&(l&&!i.errors.has(h.path)||c&&!i.warns.has(h.path)))})}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Tn=(()=>{class e{router=W(we);open(t){this.router.navigate(["/"],{queryParams:{path:t}})}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ct=new tt("NODE_OPEN_INTENT",{providedIn:"root",factory:()=>W(Tn)});var Te="sm-debug-slots",Mn="debug-slots",kn="is-debug-slots",wt=(()=>{class e{visible=q(!1);constructor(){this.visible.set(this.resolveInitial()),be(()=>{let t=this.visible();document.documentElement.classList.toggle(kn,t)})}toggle(){let t=!this.visible();this.visible.set(t);try{localStorage.setItem(Te,t?"1":"0")}catch{}}resolveInitial(){let i=new URLSearchParams(window.location.search).get(Mn);if(i==="1"||i==="true"){try{localStorage.setItem(Te,"1")}catch{}return!0}if(i==="0"||i==="false"){try{localStorage.setItem(Te,"0")}catch{}return!1}try{return localStorage.getItem(Te)==="1"}catch{return!1}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Tt=(()=>{class e{registry=q({});setRegistry(t){t&&this.registry.set(t)}get(t){return this.registry()[t]}all(){return this.registry()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Q(e){return typeof e=="object"&&e!==null}function oe(e,n){return Q(e)&&Array.isArray(e[n])}function Me(e,n){return Q(e)&&typeof e[n]=="string"}var K={panelHeader:"Plugin contributions",panelCount:e=>`${e} contribution${e===1?"":"s"}`,emptyDefault:"No contributions for this node.",rendererInvalid:"Contribution data failed schema validation.",rendererUnknownSlot:e=>`Unknown slot: ${e}. Update the UI to a newer catalog version.`,overflowBadge:e=>`+${e}`,overflowTooltip:e=>`Hidden: ${e}`,recordsCell:{boolTrue:"yes",boolFalse:"no"}};var Nn=(e,n)=>n.label;function En(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();p(),k(t.label())}}function In(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();p(),k(t.emptyText())}}function Sn(e,n){if(e&1&&(w(0,"li",4)(1,"span",5),C(2),M(),w(3,"span",6),le(4,"span",7),M(),w(5,"span",8),C(6),M()()),e&2){let t=n.$implicit,i=y(2);S("title",t.tooltip??""),p(2),k(t.label),p(2),ut("width",i.percent(t.value),"%"),p(2),k(t.value)}}function Dn(e,n){if(e&1&&(w(0,"ul",3),U(1,Sn,7,5,"li",4,Nn),M()),e&2){let t=y();p(),H(t.entries())}}var Mt=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return Q(t)?oe(t,"entries")?t:{entries:[]}:{entries:[]}});entries=m(()=>this.typed().entries??[]);label=m(()=>this.inputs().label);emptyText=m(()=>this.inputs().emptyText??K.emptyDefault);maxValue=m(()=>this.entries().reduce((i,o)=>o.value>i?o.value:i,0));percent(t){let i=this.maxValue();return i===0?0:Math.round(t/i*100)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-breakdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-breakdown"],[1,"vc-breakdown__header"],[1,"vc-breakdown__empty"],[1,"vc-breakdown__rows"],[1,"vc-breakdown__row"],[1,"vc-breakdown__label"],[1,"vc-breakdown__bar-track"],["aria-hidden","true",1,"vc-breakdown__bar"],[1,"vc-breakdown__value"]],template:function(i,o){i&1&&(w(0,"section",0),N(1,En,2,1,"h5",1),N(2,In,2,1,"p",2)(3,Dn,3,0,"ul",3),M()),i&2&&(S("data-testid","renderer-node-breakdown"),p(),E(o.label()?1:-1),p(),E(o.entries().length===0?2:3))},styles:[".vc-breakdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-breakdown__rows[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.vc-breakdown__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(4rem,.4fr) 1fr 3rem;align-items:center;gap:.5rem;font-size:.85rem}.vc-breakdown__label[_ngcontent-%COMP%]{color:var(--p-surface-700);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vc-breakdown__bar-track[_ngcontent-%COMP%]{background:var(--p-surface-100);border-radius:var(--sm-radius-md);height:.625rem;overflow:hidden}.vc-breakdown__bar[_ngcontent-%COMP%]{display:block;height:100%;background:var(--p-primary-500)}.vc-breakdown__value[_ngcontent-%COMP%]{text-align:right;color:var(--p-surface-600)}.vc-breakdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function On(e,n){if(e&1&&(w(0,"span",1),C(1),M()),e&2){let t=y(),i=y();Pe(i.hostClass()),p(),k(t.text)}}function Pn(e,n){if(e&1&&le(0,"i",1),e&2){let t=y(),i=y();Pe(i.hostClass()+" "+t.cls)}}function An(e,n){e&1&&N(0,On,2,3,"span",0)(1,Pn,1,2,"i",0),e&2&&E(n.kind==="emoji"?0:1)}function $n(e){if(!e)return null;let n=e.trim();if(n.length===0)return null;let t=n.codePointAt(0)??0;if(!(t>=65&&t<=90||t>=97&&t<=122))return{kind:"emoji",text:n};if(/^pi pi-[a-z0-9-]+$/.test(n))return{kind:"pi",cls:n};if(/^pi-[a-z0-9-]+$/.test(n))return{kind:"pi",cls:`pi ${n}`};if(/^fa-(?:solid|regular|brands) fa-[a-z0-9-]+$/.test(n))return{kind:"fa",cls:n};if(/^fa-[a-z0-9-]+$/.test(n)){let o=n.slice(3);return o==="solid"||o==="regular"||o==="brands"||o.includes("fa-")?null:{kind:"fa",cls:`fa-solid ${n}`}}return null}var ce=(()=>{class e{icon=D(void 0);hostClass=D("");resolved=m(()=>{let t=this.icon(),i=$n(t);return t&&!i&&console.warn(`[sm-icon] Invalid icon string "${t}". Expected emoji, pi-foo, pi pi-foo, fa-{solid|regular|brands} fa-foo, or fa-foo.`),i});static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-icon"]],inputs:{icon:[1,"icon"],hostClass:[1,"hostClass"]},decls:1,vars:1,consts:[["aria-hidden","true",3,"class"],["aria-hidden","true"]],template:function(i,o){if(i&1&&N(0,An,2,1),i&2){let r;E((r=o.resolved())?0:-1,r)}},styles:["[_nghost-%COMP%] i[_ngcontent-%COMP%], [_nghost-%COMP%] span[_ngcontent-%COMP%]{font-size:inherit;line-height:inherit}[_nghost-%COMP%] i[_ngcontent-%COMP%]{transform:translateY(1px)}"],changeDetection:0})}return e})();function Ln(e,n){if(e&1&&(O(0,"span",3),C(1),P()),e&2){let t=y();S("aria-label",t.ariaLabel()),p(),k(t.value())}}var ve=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{value:0}:t});value=m(()=>this.typed().value);icon=m(()=>this.inputs().icon);severity=m(()=>this.typed().severity);resolvedTooltip=m(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=m(()=>this.inputs().label??"");static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-counter"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-counter",3,"pTooltip"],[1,"vc-counter__icon"],[3,"icon"],[1,"vc-counter__value"]],template:function(i,o){i&1&&(O(0,"span",0)(1,"span",1),se(2,"sm-icon",2),P(),N(3,Ln,2,2,"span",3),P()),i&2&&(ee("vc-counter--info",o.severity()==="info")("vc-counter--warn",o.severity()==="warn")("vc-counter--success",o.severity()==="success")("vc-counter--danger",o.severity()==="danger"),F("pTooltip",o.resolvedTooltip()),S("data-testid","renderer-node-counter"),p(2),F("icon",o.icon()),p(),E(o.value()>0?3:-1))},dependencies:[X,Y,ce],styles:[".vc-counter[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-counter__icon[_ngcontent-%COMP%]{font-size:.6rem;line-height:1;display:block}.vc-counter__value[_ngcontent-%COMP%]{font-weight:600;color:var(--p-text-color);line-height:1;display:block}.vc-counter--info[_ngcontent-%COMP%], .vc-counter--info[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-counter--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn);opacity:.85}.vc-counter--warn[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-counter--success[_ngcontent-%COMP%], .vc-counter--success[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-counter--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error);opacity:.85}.vc-counter--danger[_ngcontent-%COMP%] .vc-counter__value[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})}return e})();var Fn=(e,n)=>n.key;function Rn(e,n){if(e&1&&(O(0,"h5",1),C(1),P()),e&2){let t=y();p(),k(t.label())}}function jn(e,n){if(e&1&&(O(0,"p",2),C(1),P()),e&2){let t=y();p(),k(t.emptyText())}}function zn(e,n){if(e&1&&(O(0,"dt",4),C(1),P(),O(2,"dd"),C(3),P()),e&2){let t=n.$implicit,i=y(2);F("pTooltip",t.tooltip??""),p(),k(t.key),p(2),k(i.formatValue(t.value))}}function Bn(e,n){if(e&1&&(O(0,"dl",3),U(1,zn,4,3,null,null,Fn),P()),e&2){let t=y();p(),H(t.entries())}}var kt=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return Q(t)?oe(t,"entries")?t:{entries:[]}:{entries:[]}});entries=m(()=>this.typed().entries??[]);label=m(()=>this.inputs().label);emptyText=m(()=>this.inputs().emptyText??K.emptyDefault);formatValue(t){return t==null?"\xB7":typeof t=="boolean"?t?"true":"false":String(t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-key-values"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-kv"],[1,"vc-kv__header"],[1,"vc-kv__empty"],[1,"vc-kv__list"],[3,"pTooltip"]],template:function(i,o){i&1&&(O(0,"section",0),N(1,Rn,2,1,"h5",1),N(2,jn,2,1,"p",2)(3,Bn,3,0,"dl",3),P()),i&2&&(S("data-testid","renderer-node-key-values"),p(),E(o.label()?1:-1),p(),E(o.entries().length===0?2:3))},dependencies:[X,Y],styles:[".vc-kv__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-kv__list[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(6rem,max-content) 1fr;gap:.25rem .75rem;margin:0;font-size:.85rem}.vc-kv__list[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{color:var(--p-surface-600);font-weight:500}.vc-kv__list[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{color:var(--p-surface-800);margin:0;word-break:break-word}.vc-kv__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();var Kn=(e,n)=>n.path;function Vn(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();p(),k(t.label())}}function Un(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();p(),k(t.emptyText())}}function Hn(e,n){if(e&1&&(w(0,"span",5),C(1),M()),e&2){let t=y().$implicit;p(),k(t.kind)}}function Gn(e,n){if(e&1){let t=lt();w(0,"li")(1,"button",4),dt("click",function(){let o=nt(t).$implicit,r=y(2);return it(r.onOpenPath(o.path))}),N(2,Hn,2,1,"span",5),w(3,"span",6),C(4),M()()()}if(e&2){let t=n.$implicit;p(2),E(t.kind?2:-1),p(2),k(t.label??t.path)}}function Wn(e,n){if(e&1&&(w(0,"ul",3),U(1,Gn,5,2,"li",null,Kn),M()),e&2){let t=y();p(),H(t.entries())}}var Nt=(()=>{class e{openIntent=W(Ct);inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return Q(t)?oe(t,"entries")?t:{entries:[]}:{entries:[]}});entries=m(()=>this.typed().entries??[]);label=m(()=>this.inputs().label);emptyText=m(()=>this.inputs().emptyText??K.emptyDefault);onOpenPath(t){this.openIntent.open(t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-link-list"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-links"],[1,"vc-links__header"],[1,"vc-links__empty"],[1,"vc-links__list"],["type","button",1,"vc-links__btn",3,"click"],[1,"vc-links__kind"],[1,"vc-links__label"]],template:function(i,o){i&1&&(w(0,"section",0),N(1,Vn,2,1,"h5",1),N(2,Un,2,1,"p",2)(3,Wn,3,0,"ul",3),M()),i&2&&(S("data-testid","renderer-node-link-list"),p(),E(o.label()?1:-1),p(),E(o.entries().length===0?2:3))},styles:[".vc-links__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-links__list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.125rem;font-size:.85rem}.vc-links__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;background:transparent;border:0;padding:.25rem .5rem;border-radius:var(--sm-radius-md);color:var(--p-primary-600);cursor:pointer;text-align:left;width:100%}.vc-links__btn[_ngcontent-%COMP%]:hover{background:var(--p-surface-100)}.vc-links__kind[_ngcontent-%COMP%]{color:var(--p-surface-500);font-family:var(--p-font-family-mono);font-size:.75rem}.vc-links__label[_ngcontent-%COMP%]{word-break:break-all}.vc-links__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();var Et=(e,n)=>n.key;function qn(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();p(),k(t.label())}}function Yn(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();p(),k(t.emptyText())}}function Xn(e,n){if(e&1&&(w(0,"th"),C(1),M()),e&2){let t=n.$implicit;p(),k(t.label)}}function Qn(e,n){if(e&1&&le(0,"i",4),e&2){let t=y(4);S("aria-label",t.texts.boolTrue)}}function Jn(e,n){if(e&1&&le(0,"i",5),e&2){let t=y(4);S("aria-label",t.texts.boolFalse)}}function Zn(e,n){}function ei(e,n){if(e&1&&C(0),e&2){let t=y().$implicit,i=y().$implicit,o=y(2);Ce(" ",o.cellText(i[t.key])," ")}}function ti(e,n){if(e&1&&(w(0,"td"),N(1,Qn,1,1,"i",4)(2,Jn,1,1,"i",5)(3,Zn,0,0)(4,ei,1,1),M()),e&2){let t,i=n.$implicit,o=y().$implicit,r=y(2);p(),E((t=r.cellKind(o[i.key]))==="bool-true"?1:t==="bool-false"?2:t==="empty"?3:4)}}function ni(e,n){if(e&1&&(w(0,"tr"),U(1,ti,5,1,"td",null,Et),M()),e&2){let t=y(2);p(),H(t.columns())}}function ii(e,n){if(e&1&&(w(0,"table",3)(1,"thead")(2,"tr"),U(3,Xn,2,1,"th",null,Et),M()(),w(5,"tbody"),U(6,ni,3,0,"tr",null,st),M()()),e&2){let t=y();p(3),H(t.columns()),p(3),H(t.rows())}}var It=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return Q(t)?!oe(t,"columns")||!oe(t,"rows")?{columns:[],rows:[]}:t:{columns:[],rows:[]}});columns=m(()=>this.typed().columns??[]);rows=m(()=>this.typed().rows??[]);label=m(()=>this.inputs().label);emptyText=m(()=>this.inputs().emptyText??K.emptyDefault);texts=K.recordsCell;cellKind(t){return t==null?"empty":typeof t=="boolean"?t?"bool-true":"bool-false":"text"}cellText(t){return t==null?"":String(t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-records"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-records"],[1,"vc-records__header"],[1,"vc-records__empty"],[1,"vc-records__table"],["role","img",1,"pi","pi-check","vc-records__bool","vc-records__bool--true"],["role","img",1,"pi","pi-minus","vc-records__bool","vc-records__bool--false"]],template:function(i,o){i&1&&(w(0,"section",0),N(1,qn,2,1,"h5",1),N(2,Yn,2,1,"p",2)(3,ii,8,0,"table",3),M()),i&2&&(S("data-testid","renderer-node-records"),p(),E(o.label()?1:-1),p(),E(o.rows().length===0?2:3))},styles:[".vc-records__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-records__table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.85rem}.vc-records__table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-200);color:var(--p-surface-700);font-weight:600}.vc-records__table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:.25rem .5rem;border-bottom:1px solid var(--p-surface-100);color:var(--p-surface-800);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:16rem}.vc-records__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}.vc-records__bool[_ngcontent-%COMP%]{font-size:.9rem;line-height:1}.vc-records__bool--true[_ngcontent-%COMP%]{color:var(--p-primary-color)}.vc-records__bool--false[_ngcontent-%COMP%]{color:var(--p-text-muted-color)}"],changeDetection:0})}return e})();function oi(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();p(),k(t.label())}}function ri(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();p(),k(t.emptyText())}}function ai(e,n){if(e&1&&(w(0,"pre",3),C(1),M()),e&2){let t=y();p(),k(t.markdown())}}var St=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return Q(t)?Me(t,"markdown")?t:{markdown:""}:{markdown:""}});markdown=m(()=>this.typed().markdown??"");label=m(()=>this.inputs().label);emptyText=m(()=>this.inputs().emptyText??K.emptyDefault);static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-markdown"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-markdown"],[1,"vc-markdown__header"],[1,"vc-markdown__empty"],[1,"vc-markdown__body"]],template:function(i,o){i&1&&(w(0,"section",0),N(1,oi,2,1,"h5",1),N(2,ri,2,1,"p",2)(3,ai,2,1,"pre",3),M()),i&2&&(S("data-testid","renderer-node-markdown"),p(),E(o.label()?1:-1),p(),E(o.markdown()?3:2))},styles:[".vc-markdown__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-markdown__body[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-800);background:var(--p-surface-50);padding:.5rem;border-radius:var(--sm-radius-md);white-space:pre-wrap;word-break:break-word;margin:0;max-height:12rem;overflow:auto}.vc-markdown__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function si(e,n){if(e&1&&(O(0,"span",1),C(1),P()),e&2){let t=y();p(),k(t.icon())}}var Dt=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{label:""}:t});label=m(()=>this.typed().label||"");icon=m(()=>this.inputs().icon);severity=m(()=>this.typed().severity);resolvedTooltip=m(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-tag"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:12,consts:[[1,"vc-tag",3,"pTooltip"],["aria-hidden","true",1,"vc-tag__icon"],[1,"vc-tag__label"]],template:function(i,o){i&1&&(O(0,"span",0),N(1,si,2,1,"span",1),O(2,"span",2),C(3),P()()),i&2&&(ee("vc-tag--info",o.severity()==="info")("vc-tag--warn",o.severity()==="warn")("vc-tag--success",o.severity()==="success")("vc-tag--danger",o.severity()==="danger"),F("pTooltip",o.resolvedTooltip()),S("data-testid","renderer-node-tag"),p(),E(o.icon()?1:-1),p(2),k(o.label()))},dependencies:[X,Y],styles:[".vc-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.3rem;line-height:1}.vc-tag__icon[_ngcontent-%COMP%]{font-size:.85em;line-height:1;display:block}.vc-tag__label[_ngcontent-%COMP%]{font-weight:500;line-height:1;display:block}.vc-tag--info[_ngcontent-%COMP%]{background:var(--sm-severity-info-bg);color:var(--sm-severity-info);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--warn[_ngcontent-%COMP%]{background:var(--sm-severity-warn-bg);color:var(--sm-severity-warn);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--success[_ngcontent-%COMP%]{background:var(--sm-severity-success-bg);color:var(--sm-severity-success);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}.vc-tag--danger[_ngcontent-%COMP%]{background:var(--sm-severity-error-bg);color:var(--sm-severity-error);padding:.1rem .4rem;border-radius:var(--sm-radius-sm)}"],changeDetection:0})}return e})();var ci=()=>[],Ot=(e,n)=>n.label;function li(e,n){if(e&1&&(w(0,"h5",1),C(1),M()),e&2){let t=y();p(),k(t.label())}}function di(e,n){if(e&1&&(w(0,"p",2),C(1),M()),e&2){let t=y();p(),k(t.emptyText())}}function ui(e,n){if(e&1&&(w(0,"span",5),C(1),M()),e&2){let t=y().$implicit;p(),k(t.marker)}}function pi(e,n){if(e&1&&(w(0,"span",5),C(1),M()),e&2){let t=y().$implicit;p(),k(t.marker)}}function fi(e,n){if(e&1&&(w(0,"li",4),N(1,pi,2,1,"span",5),w(2,"span",6),C(3),M()()),e&2){let t=n.$implicit;S("title",t.tooltip??""),p(),E(t.marker?1:-1),p(2),k(t.label)}}function mi(e,n){if(e&1&&(w(0,"ul",7),U(1,fi,4,3,"li",4,Ot),M()),e&2){let t=y().$implicit;p(),H(t.children)}}function gi(e,n){if(e&1&&(w(0,"li",4),N(1,ui,2,1,"span",5),w(2,"span",6),C(3),M(),N(4,mi,3,0,"ul",7),M()),e&2){let t=n.$implicit;S("title",t.tooltip??""),p(),E(t.marker?1:-1),p(2),k(t.label),p(),E(t.children&&t.children.length>0?4:-1)}}function vi(e,n){if(e&1&&(w(0,"ul",3),U(1,gi,5,4,"li",4,Ot),M()),e&2){let t=y();p(),H(t.root().children??pt(0,ci))}}var Pt=(()=>{class e{inputs=D.required();root=m(()=>{let t=this.inputs().payload;return Q(t)?Me(t,"label")?t.children!==void 0&&!Array.isArray(t.children)?{label:""}:t:{label:""}:{label:""}});rootIsEmpty=m(()=>{let t=this.root();return!t.children||t.children.length===0});label=m(()=>this.inputs().label);emptyText=m(()=>this.inputs().emptyText??K.emptyDefault);static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-tree"]],inputs:{inputs:[1,"inputs"]},decls:4,vars:3,consts:[[1,"vc-tree"],[1,"vc-tree__header"],[1,"vc-tree__empty"],["role","tree",1,"vc-tree__list"],["role","treeitem"],["aria-hidden","true",1,"vc-tree__marker"],[1,"vc-tree__label"],["role","group",1,"vc-tree__list"]],template:function(i,o){i&1&&(w(0,"section",0),N(1,li,2,1,"h5",1),N(2,di,2,1,"p",2)(3,vi,3,1,"ul",3),M()),i&2&&(S("data-testid","renderer-node-tree"),p(),E(o.label()?1:-1),p(),E(o.rootIsEmpty()?2:3))},styles:[".vc-tree__header[_ngcontent-%COMP%]{font-size:.85rem;color:var(--p-surface-700);margin:0 0 .5rem}.vc-tree__list[_ngcontent-%COMP%]{list-style:none;padding-left:1rem;margin:0;font-size:.85rem}.vc-tree__list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:.125rem 0}.vc-tree__marker[_ngcontent-%COMP%]{margin-right:.25rem;opacity:.7}.vc-tree__label[_ngcontent-%COMP%]{color:var(--p-surface-800)}.vc-tree__empty[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.85rem;margin:0}"],changeDetection:0})}return e})();function hi(e,n){if(e&1&&(O(0,"span",2),C(1),P()),e&2){let t=y();p(),k(t.formattedCount())}}var At=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{}:t});icon=m(()=>this.typed().icon??this.inputs().icon);severity=m(()=>this.typed().severity);count=m(()=>this.typed().count??null);resolvedTooltip=m(()=>this.typed().tooltip??this.inputs().tooltip??"");formattedCount=m(()=>{let t=this.count();return t===null?"":t>=99?"99+":String(t)});static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-alert"]],inputs:{inputs:[1,"inputs"]},decls:3,vars:12,consts:[[1,"vc-alert",3,"pTooltip"],["hostClass","vc-alert__icon",3,"icon"],[1,"vc-alert__count"]],template:function(i,o){i&1&&(O(0,"span",0),se(1,"sm-icon",1),N(2,hi,2,1,"span",2),P()),i&2&&(ee("vc-alert--info",o.severity()==="info")("vc-alert--warn",o.severity()==="warn")("vc-alert--success",o.severity()==="success")("vc-alert--danger",o.severity()==="danger"),F("pTooltip",o.resolvedTooltip()),S("data-testid","renderer-node-alert"),p(),F("icon",o.icon()),p(),E(o.count()!==null?2:-1))},dependencies:[X,Y,ce],styles:[".vc-alert[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.125rem;min-width:1.1rem;min-height:1.1rem;font-size:.85rem;color:var(--p-surface-700)}.vc-alert--info[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-alert--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-alert--success[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-alert--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})}return e})();var $t=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{}:t});icon=m(()=>this.typed().icon??this.inputs().icon);severity=m(()=>this.typed().severity);resolvedTooltip=m(()=>this.typed().tooltip??this.inputs().tooltip??"");ariaLabel=m(()=>this.inputs().label??"");static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-node-icon"]],inputs:{inputs:[1,"inputs"]},decls:2,vars:12,consts:[[1,"vc-icon",3,"pTooltip"],["hostClass","vc-icon__glyph",3,"icon"]],template:function(i,o){i&1&&(O(0,"span",0),se(1,"sm-icon",1),P()),i&2&&(ee("vc-icon--info",o.severity()==="info")("vc-icon--warn",o.severity()==="warn")("vc-icon--success",o.severity()==="success")("vc-icon--danger",o.severity()==="danger"),F("pTooltip",o.resolvedTooltip()),S("aria-label",o.ariaLabel())("data-testid","renderer-node-icon"),p(),F("icon",o.icon()))},dependencies:[X,Y,ce],styles:[".vc-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;line-height:1;width:22px;height:22px}.vc-icon__glyph[_ngcontent-%COMP%]{font-size:.7rem;line-height:1;display:block}.vc-icon--info[_ngcontent-%COMP%]{color:var(--sm-severity-info)}.vc-icon--warn[_ngcontent-%COMP%]{color:var(--sm-severity-warn)}.vc-icon--success[_ngcontent-%COMP%]{color:var(--sm-severity-success)}.vc-icon--danger[_ngcontent-%COMP%]{color:var(--sm-severity-error)}"],changeDetection:0})}return e})();function _i(e,n){if(e&1&&(O(0,"span",3),C(1),P()),e&2){let t=y();p(),k(t.label())}}var Lt=(()=>{class e{inputs=D.required();typed=m(()=>{let t=this.inputs().payload;return typeof t!="object"||t===null?{value:""}:t});value=m(()=>String(this.typed().value??""));label=m(()=>this.typed().label??this.inputs().label);icon=m(()=>this.inputs().icon);severity=m(()=>this.typed().severity);resolvedTooltip=m(()=>this.typed().tooltip??this.inputs().tooltip??"");static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-scope-stat"]],inputs:{inputs:[1,"inputs"]},decls:5,vars:13,consts:[[1,"vc-stat",3,"pTooltip"],["hostClass","vc-stat__icon",3,"icon"],[1,"vc-stat__value"],[1,"vc-stat__label"]],template:function(i,o){i&1&&(O(0,"span",0),se(1,"sm-icon",1),O(2,"span",2),C(3),P(),N(4,_i,2,1,"span",3),P()),i&2&&(ee("vc-stat--info",o.severity()==="info")("vc-stat--warn",o.severity()==="warn")("vc-stat--success",o.severity()==="success")("vc-stat--danger",o.severity()==="danger"),F("pTooltip",o.resolvedTooltip()),S("data-testid","renderer-scope-stat"),p(),F("icon",o.icon()),p(2),k(o.value()),p(),E(o.label()?4:-1))},dependencies:[X,Y,ce],styles:[".vc-stat[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;padding:.125rem .5rem;border-radius:.75rem;font-size:.85rem;background:var(--p-surface-100);color:var(--p-surface-800)}.vc-stat__label[_ngcontent-%COMP%]{color:var(--p-surface-500);font-size:.8rem}.vc-stat--info[_ngcontent-%COMP%]{background:var(--p-blue-100);color:var(--p-blue-700)}.vc-stat--warn[_ngcontent-%COMP%]{background:var(--p-yellow-100);color:var(--p-yellow-800)}.vc-stat--success[_ngcontent-%COMP%]{background:var(--p-green-100);color:var(--p-green-700)}.vc-stat--danger[_ngcontent-%COMP%]{background:var(--p-red-100);color:var(--p-red-700)}"],changeDetection:0})}return e})();var $e={"card.title.right":$t,"card.subtitle.left":ve,"card.footer.left":ve,"card.footer.right":ve,"graph.node.alert":At,"inspector.header.badge.counter":ve,"inspector.header.badge.tag":Dt,"inspector.body.panel.breakdown":Mt,"inspector.body.panel.records":It,"inspector.body.panel.tree":Pt,"inspector.body.panel.key-values":kt,"inspector.body.panel.link-list":Nt,"inspector.body.panel.markdown":St,"topbar.nav.start":Lt};function Ft(e){return e in $e}var de={"topbar.nav.start":{id:"topbar.nav.start",cardinality:"multi",maxItems:3,order:"alphabetical",strategy:"append"},"inspector.header.badge.counter":{id:"inspector.header.badge.counter",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.header.badge.tag":{id:"inspector.header.badge.tag",cardinality:"multi",maxItems:4,order:"alphabetical",strategy:"append"},"inspector.body.panel.breakdown":{id:"inspector.body.panel.breakdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.records":{id:"inspector.body.panel.records",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.tree":{id:"inspector.body.panel.tree",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.key-values":{id:"inspector.body.panel.key-values",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.link-list":{id:"inspector.body.panel.link-list",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"inspector.body.panel.markdown":{id:"inspector.body.panel.markdown",cardinality:"multi",maxItems:50,order:"alphabetical",strategy:"append"},"card.footer.left":{id:"card.footer.left",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.footer.right":{id:"card.footer.right",cardinality:"multi",maxItems:5,order:"priority",strategy:"append",respectSeverity:!0},"card.subtitle.left":{id:"card.subtitle.left",cardinality:"multi",maxItems:3,order:"priority",strategy:"append",respectSeverity:!0},"card.title.right":{id:"card.title.right",cardinality:"multi",maxItems:2,order:"priority",strategy:"append",respectSeverity:!0},"graph.node.alert":{id:"graph.node.alert",cardinality:"multi",maxItems:1,order:"severity",strategy:"append",showOverflowBadge:!1}};var yi=e=>({inputs:e}),xi=(e,n)=>n.qualifiedId;function bi(e,n){e&1&&ct(0)}function Ci(e,n){if(e&1&&(O(0,"span",1),at(1,bi,1,0,"ng-container",3),P()),e&2){let t=n.$implicit,i=y(2);S("data-testid","contribution-"+t.qualifiedId.replaceAll("/","-")),p(),F("ngComponentOutlet",i.rendererFor(t.slot))("ngComponentOutletInputs",ft(3,yi,t.rendererInputs))}}function wi(e,n){if(e&1&&(O(0,"span",2),C(1),P()),e&2){let t=y(2);F("pTooltip",t.overflowTooltip()),p(),Ce(" ",t.overflowBadge()," ")}}function Ti(e,n){if(e&1&&(O(0,"span",0),U(1,Ci,2,5,"span",1,xi),N(3,wi,2,2,"span",2),P()),e&2){let t=y();S("data-testid","view-contributions-host-"+t.testidSuffix()),p(),H(t.visible()),p(2),E(t.overflowCount()>0&&t.showOverflowBadge()?3:-1)}}var ca=(()=>{class e{slot=D.required();node=D(null);debugSlots=W(wt);debugVisible=this.debugSlots.visible;testidSuffix=m(()=>this.slot().replaceAll(".","-"));registry=W(Tt);dispatched=m(()=>{let t=this.node();if(!t)return[];let i=t.contributions??[];if(i.length===0)return[];let o=this.slot(),r=i.filter(s=>s.slot===o).filter(s=>Ft(s.slot));return this.sortBySlotOrder(r,o).map(s=>({qualifiedId:`${s.pluginId}/${s.extensionId}/${s.contributionId}`,slot:s.slot,rendererInputs:this.buildInputs(s,o)}))});visible=m(()=>{let t=this.dispatched(),i=de[this.slot()].maxItems;return t.slice(0,i)});overflowCount=m(()=>{let t=this.dispatched(),i=de[this.slot()].maxItems;return Math.max(0,t.length-i)});showOverflowBadge=m(()=>de[this.slot()].showOverflowBadge!==!1);overflowBadge=m(()=>K.overflowBadge(this.overflowCount()));overflowTooltip=m(()=>{let t=this.dispatched(),i=de[this.slot()].maxItems,o=t.slice(i).map(r=>r.qualifiedId).join(", ");return K.overflowTooltip(o)});rendererFor(t){return $e[t]}buildInputs(t,i){let o=`${t.pluginId}/${t.extensionId}/${t.contributionId}`,r=this.registry.get(o),s=de[i].respectSeverity!==!1,a=t.payload;if(!s&&typeof a=="object"&&a!==null&&"severity"in a){let c=a,{severity:f}=c;a=et(c,["severity"])}let l={pluginId:t.pluginId,extensionId:t.extensionId,contributionId:t.contributionId,payload:a};return r?.label&&(l.label=r.label),r?.tooltip&&(l.tooltip=r.tooltip),r?.icon&&(l.icon=r.icon),r?.emptyText&&(l.emptyText=r.emptyText),l}sortBySlotOrder(t,i){let o=de[i].order;return o==="fifo"?t.slice():o==="priority"?t.slice().sort((r,s)=>{let a=this.priorityFor(r),l=this.priorityFor(s);return a!==l?a-l:Le(r,s)}):o==="severity"?t.slice().sort((r,s)=>{let a=Rt(r),l=Rt(s);return a!==l?l-a:Le(r,s)}):t.slice().sort(Le)}priorityFor(t){let i=`${t.pluginId}/${t.extensionId}/${t.contributionId}`;return this.registry.get(i)?.priority??100}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=A({type:e,selectors:[["sm-view-contributions-host"]],hostVars:3,hostBindings:function(i,o){i&2&&(S("data-debug-slot",o.debugVisible()?o.slot():null),ee("sm-debug-slot",o.debugVisible()))},inputs:{slot:[1,"slot"],node:[1,"node"]},decls:1,vars:1,consts:[[1,"vch"],[1,"vch__slot"],["data-testid","view-contributions-host-overflow",1,"vch__overflow",3,"pTooltip"],[4,"ngComponentOutlet","ngComponentOutletInputs"]],template:function(i,o){i&1&&N(0,Ti,4,2,"span",0),i&2&&E(o.visible().length>0||o.overflowCount()>0?0:-1)},dependencies:[mt,X,Y],styles:[".vch[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.7rem;flex-wrap:wrap}.vch__slot[_ngcontent-%COMP%]{display:inline-flex}.vch__overflow[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.125rem .5rem;border-radius:.75rem;background:var(--p-surface-100);color:var(--p-surface-600);font-size:.8rem;cursor:default}"],changeDetection:0})}return e})();function Le(e,n){let t=`${e.pluginId}/${e.extensionId}/${e.contributionId}`,i=`${n.pluginId}/${n.extensionId}/${n.contributionId}`;return t<i?-1:t>i?1:0}function Rt(e){let n=e.payload;if(typeof n!="object"||n===null)return 0;switch(n.severity){case"danger":return 4;case"warn":return 3;case"info":return 2;case"success":return 1;default:return 0}}var ha=(()=>{class e{router=W(we);theme=W(_t);destroyRef=W(rt);constructor(){this.router.events.pipe(vt(this.destroyRef)).subscribe(t=>{if(t instanceof gt){let i=Mi(t.urlAfterRedirects);i!==null&&Ae(`ui.view.${i}`)}}),be(()=>this.syncTheme())}trackFeature(t){Ae(`ui.feature.${t}`)}syncTheme(){ht({theme_base:this.theme.resolved(),theme_extra:this.theme.extraTheme()??"none"})}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Mi(e){return(e.split("?")[0]??"")==="/"?"workspace":null}function Fe(e,n){var t,i=1;e==null&&(e=0),n==null&&(n=0);function o(){var r,s=t.length,a,l=0,c=0;for(r=0;r<s;++r)a=t[r],l+=a.x,c+=a.y;for(l=(l/s-e)*i,c=(c/s-n)*i,r=0;r<s;++r)a=t[r],a.x-=l,a.y-=c}return o.initialize=function(r){t=r},o.x=function(r){return arguments.length?(e=+r,o):e},o.y=function(r){return arguments.length?(n=+r,o):n},o.strength=function(r){return arguments.length?(i=+r,o):i},o}function jt(e){let n=+this._x.call(null,e),t=+this._y.call(null,e);return zt(this.cover(n,t),n,t,e)}function zt(e,n,t,i){if(isNaN(n)||isNaN(t))return e;var o,r=e._root,s={data:i},a=e._x0,l=e._y0,c=e._x1,f=e._y1,h,_,u,T,g,d,v,x;if(!r)return e._root=s,e;for(;r.length;)if((g=n>=(h=(a+c)/2))?a=h:c=h,(d=t>=(_=(l+f)/2))?l=_:f=_,o=r,!(r=r[v=d<<1|g]))return o[v]=s,e;if(u=+e._x.call(null,r.data),T=+e._y.call(null,r.data),n===u&&t===T)return s.next=r,o?o[v]=s:e._root=s,e;do o=o?o[v]=new Array(4):e._root=new Array(4),(g=n>=(h=(a+c)/2))?a=h:c=h,(d=t>=(_=(l+f)/2))?l=_:f=_;while((v=d<<1|g)===(x=(T>=_)<<1|u>=h));return o[x]=r,o[v]=s,e}function Bt(e){var n,t,i=e.length,o,r,s=new Array(i),a=new Array(i),l=1/0,c=1/0,f=-1/0,h=-1/0;for(t=0;t<i;++t)isNaN(o=+this._x.call(null,n=e[t]))||isNaN(r=+this._y.call(null,n))||(s[t]=o,a[t]=r,o<l&&(l=o),o>f&&(f=o),r<c&&(c=r),r>h&&(h=r));if(l>f||c>h)return this;for(this.cover(l,c).cover(f,h),t=0;t<i;++t)zt(this,s[t],a[t],e[t]);return this}function Kt(e,n){if(isNaN(e=+e)||isNaN(n=+n))return this;var t=this._x0,i=this._y0,o=this._x1,r=this._y1;if(isNaN(t))o=(t=Math.floor(e))+1,r=(i=Math.floor(n))+1;else{for(var s=o-t||1,a=this._root,l,c;t>e||e>=o||i>n||n>=r;)switch(c=(n<i)<<1|e<t,l=new Array(4),l[c]=a,a=l,s*=2,c){case 0:o=t+s,r=i+s;break;case 1:t=o-s,r=i+s;break;case 2:o=t+s,i=r-s;break;case 3:t=o-s,i=r-s;break}this._root&&this._root.length&&(this._root=a)}return this._x0=t,this._y0=i,this._x1=o,this._y1=r,this}function Vt(){var e=[];return this.visit(function(n){if(!n.length)do e.push(n.data);while(n=n.next)}),e}function Ut(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function B(e,n,t,i,o){this.node=e,this.x0=n,this.y0=t,this.x1=i,this.y1=o}function Ht(e,n,t){var i,o=this._x0,r=this._y0,s,a,l,c,f=this._x1,h=this._y1,_=[],u=this._root,T,g;for(u&&_.push(new B(u,o,r,f,h)),t==null?t=1/0:(o=e-t,r=n-t,f=e+t,h=n+t,t*=t);T=_.pop();)if(!(!(u=T.node)||(s=T.x0)>f||(a=T.y0)>h||(l=T.x1)<o||(c=T.y1)<r))if(u.length){var d=(s+l)/2,v=(a+c)/2;_.push(new B(u[3],d,v,l,c),new B(u[2],s,v,d,c),new B(u[1],d,a,l,v),new B(u[0],s,a,d,v)),(g=(n>=v)<<1|e>=d)&&(T=_[_.length-1],_[_.length-1]=_[_.length-1-g],_[_.length-1-g]=T)}else{var x=e-+this._x.call(null,u.data),I=n-+this._y.call(null,u.data),b=x*x+I*I;if(b<t){var $=Math.sqrt(t=b);o=e-$,r=n-$,f=e+$,h=n+$,i=u.data}}return i}function Gt(e){if(isNaN(f=+this._x.call(null,e))||isNaN(h=+this._y.call(null,e)))return this;var n,t=this._root,i,o,r,s=this._x0,a=this._y0,l=this._x1,c=this._y1,f,h,_,u,T,g,d,v;if(!t)return this;if(t.length)for(;;){if((T=f>=(_=(s+l)/2))?s=_:l=_,(g=h>=(u=(a+c)/2))?a=u:c=u,n=t,!(t=t[d=g<<1|T]))return this;if(!t.length)break;(n[d+1&3]||n[d+2&3]||n[d+3&3])&&(i=n,v=d)}for(;t.data!==e;)if(o=t,!(t=t.next))return this;return(r=t.next)&&delete t.next,o?(r?o.next=r:delete o.next,this):n?(r?n[d]=r:delete n[d],(t=n[0]||n[1]||n[2]||n[3])&&t===(n[3]||n[2]||n[1]||n[0])&&!t.length&&(i?i[v]=t:this._root=t),this):(this._root=r,this)}function Wt(e){for(var n=0,t=e.length;n<t;++n)this.remove(e[n]);return this}function qt(){return this._root}function Yt(){var e=0;return this.visit(function(n){if(!n.length)do++e;while(n=n.next)}),e}function Xt(e){var n=[],t,i=this._root,o,r,s,a,l;for(i&&n.push(new B(i,this._x0,this._y0,this._x1,this._y1));t=n.pop();)if(!e(i=t.node,r=t.x0,s=t.y0,a=t.x1,l=t.y1)&&i.length){var c=(r+a)/2,f=(s+l)/2;(o=i[3])&&n.push(new B(o,c,f,a,l)),(o=i[2])&&n.push(new B(o,r,f,c,l)),(o=i[1])&&n.push(new B(o,c,s,a,f)),(o=i[0])&&n.push(new B(o,r,s,c,f))}return this}function Qt(e){var n=[],t=[],i;for(this._root&&n.push(new B(this._root,this._x0,this._y0,this._x1,this._y1));i=n.pop();){var o=i.node;if(o.length){var r,s=i.x0,a=i.y0,l=i.x1,c=i.y1,f=(s+l)/2,h=(a+c)/2;(r=o[0])&&n.push(new B(r,s,a,f,h)),(r=o[1])&&n.push(new B(r,f,a,l,h)),(r=o[2])&&n.push(new B(r,s,h,f,c)),(r=o[3])&&n.push(new B(r,f,h,l,c))}t.push(i)}for(;i=t.pop();)e(i.node,i.x0,i.y0,i.x1,i.y1);return this}function Jt(e){return e[0]}function Zt(e){return arguments.length?(this._x=e,this):this._x}function en(e){return e[1]}function tn(e){return arguments.length?(this._y=e,this):this._y}function ue(e,n,t){var i=new Re(n??Jt,t??en,NaN,NaN,NaN,NaN);return e==null?i:i.addAll(e)}function Re(e,n,t,i,o,r){this._x=e,this._y=n,this._x0=t,this._y0=i,this._x1=o,this._y1=r,this._root=void 0}function nn(e){for(var n={data:e.data},t=n;e=e.next;)t=t.next={data:e.data};return n}var G=ue.prototype=Re.prototype;G.copy=function(){var e=new Re(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root,t,i;if(!n)return e;if(!n.length)return e._root=nn(n),e;for(t=[{source:n,target:e._root=new Array(4)}];n=t.pop();)for(var o=0;o<4;++o)(i=n.source[o])&&(i.length?t.push({source:i,target:n.target[o]=new Array(4)}):n.target[o]=nn(i));return e};G.add=jt;G.addAll=Bt;G.cover=Kt;G.data=Vt;G.extent=Ut;G.find=Ht;G.remove=Gt;G.removeAll=Wt;G.root=qt;G.size=Yt;G.visit=Xt;G.visitAfter=Qt;G.x=Zt;G.y=tn;function L(e){return function(){return e}}function ne(e){return(e()-.5)*1e-6}function ki(e){return e.x+e.vx}function Ni(e){return e.y+e.vy}function je(e){var n,t,i,o=1,r=1;typeof e!="function"&&(e=L(e==null?1:+e));function s(){for(var c,f=n.length,h,_,u,T,g,d,v=0;v<r;++v)for(h=ue(n,ki,Ni).visitAfter(a),c=0;c<f;++c)_=n[c],g=t[_.index],d=g*g,u=_.x+_.vx,T=_.y+_.vy,h.visit(x);function x(I,b,$,V,J){var R=I.data,te=I.r,j=g+te;if(R){if(R.index>_.index){var re=u-R.x-R.vx,ae=T-R.y-R.vy,ie=re*re+ae*ae;ie<j*j&&(re===0&&(re=ne(i),ie+=re*re),ae===0&&(ae=ne(i),ie+=ae*ae),ie=(j-(ie=Math.sqrt(ie)))/ie*o,_.vx+=(re*=ie)*(j=(te*=te)/(d+te)),_.vy+=(ae*=ie)*j,R.vx-=re*(j=1-j),R.vy-=ae*j)}return}return b>u+j||V<u-j||$>T+j||J<T-j}}function a(c){if(c.data)return c.r=t[c.data.index];for(var f=c.r=0;f<4;++f)c[f]&&c[f].r>c.r&&(c.r=c[f].r)}function l(){if(n){var c,f=n.length,h;for(t=new Array(f),c=0;c<f;++c)h=n[c],t[h.index]=+e(h,c,n)}}return s.initialize=function(c,f){n=c,i=f,l()},s.iterations=function(c){return arguments.length?(r=+c,s):r},s.strength=function(c){return arguments.length?(o=+c,s):o},s.radius=function(c){return arguments.length?(e=typeof c=="function"?c:L(+c),l(),s):e},s}function Ei(e){return e.index}function on(e,n){var t=e.get(n);if(!t)throw new Error("node not found: "+n);return t}function ze(e){var n=Ei,t=h,i,o=L(30),r,s,a,l,c,f=1;e==null&&(e=[]);function h(d){return 1/Math.min(a[d.source.index],a[d.target.index])}function _(d){for(var v=0,x=e.length;v<f;++v)for(var I=0,b,$,V,J,R,te,j;I<x;++I)b=e[I],$=b.source,V=b.target,J=V.x+V.vx-$.x-$.vx||ne(c),R=V.y+V.vy-$.y-$.vy||ne(c),te=Math.sqrt(J*J+R*R),te=(te-r[I])/te*d*i[I],J*=te,R*=te,V.vx-=J*(j=l[I]),V.vy-=R*j,$.vx+=J*(j=1-j),$.vy+=R*j}function u(){if(s){var d,v=s.length,x=e.length,I=new Map(s.map(($,V)=>[n($,V,s),$])),b;for(d=0,a=new Array(v);d<x;++d)b=e[d],b.index=d,typeof b.source!="object"&&(b.source=on(I,b.source)),typeof b.target!="object"&&(b.target=on(I,b.target)),a[b.source.index]=(a[b.source.index]||0)+1,a[b.target.index]=(a[b.target.index]||0)+1;for(d=0,l=new Array(x);d<x;++d)b=e[d],l[d]=a[b.source.index]/(a[b.source.index]+a[b.target.index]);i=new Array(x),T(),r=new Array(x),g()}}function T(){if(s)for(var d=0,v=e.length;d<v;++d)i[d]=+t(e[d],d,e)}function g(){if(s)for(var d=0,v=e.length;d<v;++d)r[d]=+o(e[d],d,e)}return _.initialize=function(d,v){s=d,c=v,u()},_.links=function(d){return arguments.length?(e=d,u(),_):e},_.id=function(d){return arguments.length?(n=d,_):n},_.iterations=function(d){return arguments.length?(f=+d,_):f},_.strength=function(d){return arguments.length?(t=typeof d=="function"?d:L(+d),T(),_):t},_.distance=function(d){return arguments.length?(o=typeof d=="function"?d:L(+d),g(),_):o},_}var Ii={value:()=>{}};function an(){for(var e=0,n=arguments.length,t={},i;e<n;++e){if(!(i=arguments[e]+"")||i in t||/[\s.]/.test(i))throw new Error("illegal type: "+i);t[i]=[]}return new ke(t)}function ke(e){this._=e}function Si(e,n){return e.trim().split(/^|\s+/).map(function(t){var i="",o=t.indexOf(".");if(o>=0&&(i=t.slice(o+1),t=t.slice(0,o)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:i}})}ke.prototype=an.prototype={constructor:ke,on:function(e,n){var t=this._,i=Si(e+"",t),o,r=-1,s=i.length;if(arguments.length<2){for(;++r<s;)if((o=(e=i[r]).type)&&(o=Di(t[o],e.name)))return o;return}if(n!=null&&typeof n!="function")throw new Error("invalid callback: "+n);for(;++r<s;)if(o=(e=i[r]).type)t[o]=rn(t[o],e.name,n);else if(n==null)for(o in t)t[o]=rn(t[o],e.name,null);return this},copy:function(){var e={},n=this._;for(var t in n)e[t]=n[t].slice();return new ke(e)},call:function(e,n){if((o=arguments.length-2)>0)for(var t=new Array(o),i=0,o,r;i<o;++i)t[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(n,t)},apply:function(e,n,t){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var i=this._[e],o=0,r=i.length;o<r;++o)i[o].value.apply(n,t)}};function Di(e,n){for(var t=0,i=e.length,o;t<i;++t)if((o=e[t]).name===n)return o.value}function rn(e,n,t){for(var i=0,o=e.length;i<o;++i)if(e[i].name===n){e[i]=Ii,e=e.slice(0,i).concat(e.slice(i+1));break}return t!=null&&e.push({name:n,value:t}),e}var Be=an;var me=0,_e=0,he=0,cn=1e3,Ne,ye,Ee=0,pe=0,Ie=0,xe=typeof performance=="object"&&performance.now?performance:Date,ln=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Ue(){return pe||(ln(Oi),pe=xe.now()+Ie)}function Oi(){pe=0}function Ke(){this._call=this._time=this._next=null}Ke.prototype=Se.prototype={constructor:Ke,restart:function(e,n,t){if(typeof e!="function")throw new TypeError("callback is not a function");t=(t==null?Ue():+t)+(n==null?0:+n),!this._next&&ye!==this&&(ye?ye._next=this:Ne=this,ye=this),this._call=e,this._time=t,Ve()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ve())}};function Se(e,n,t){var i=new Ke;return i.restart(e,n,t),i}function dn(){Ue(),++me;for(var e=Ne,n;e;)(n=pe-e._time)>=0&&e._call.call(void 0,n),e=e._next;--me}function sn(){pe=(Ee=xe.now())+Ie,me=_e=0;try{dn()}finally{me=0,Ai(),pe=0}}function Pi(){var e=xe.now(),n=e-Ee;n>cn&&(Ie-=n,Ee=e)}function Ai(){for(var e,n=Ne,t,i=1/0;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Ne=t);ye=e,Ve(i)}function Ve(e){if(!me){_e&&(_e=clearTimeout(_e));var n=e-pe;n>24?(e<1/0&&(_e=setTimeout(sn,e-xe.now()-Ie)),he&&(he=clearInterval(he))):(he||(Ee=xe.now(),he=setInterval(Pi,cn)),me=1,ln(sn))}}function un(){let e=1;return()=>(e=(1664525*e+1013904223)%4294967296)/4294967296}function pn(e){return e.x}function fn(e){return e.y}var $i=10,Li=Math.PI*(3-Math.sqrt(5));function He(e){var n,t=1,i=.001,o=1-Math.pow(i,1/300),r=0,s=.6,a=new Map,l=Se(h),c=Be("tick","end"),f=un();e==null&&(e=[]);function h(){_(),c.call("tick",n),t<i&&(l.stop(),c.call("end",n))}function _(g){var d,v=e.length,x;g===void 0&&(g=1);for(var I=0;I<g;++I)for(t+=(r-t)*o,a.forEach(function(b){b(t)}),d=0;d<v;++d)x=e[d],x.fx==null?x.x+=x.vx*=s:(x.x=x.fx,x.vx=0),x.fy==null?x.y+=x.vy*=s:(x.y=x.fy,x.vy=0);return n}function u(){for(var g=0,d=e.length,v;g<d;++g){if(v=e[g],v.index=g,v.fx!=null&&(v.x=v.fx),v.fy!=null&&(v.y=v.fy),isNaN(v.x)||isNaN(v.y)){var x=$i*Math.sqrt(.5+g),I=g*Li;v.x=x*Math.cos(I),v.y=x*Math.sin(I)}(isNaN(v.vx)||isNaN(v.vy))&&(v.vx=v.vy=0)}}function T(g){return g.initialize&&g.initialize(e,f),g}return u(),n={tick:_,restart:function(){return l.restart(h),n},stop:function(){return l.stop(),n},nodes:function(g){return arguments.length?(e=g,u(),a.forEach(T),n):e},alpha:function(g){return arguments.length?(t=+g,n):t},alphaMin:function(g){return arguments.length?(i=+g,n):i},alphaDecay:function(g){return arguments.length?(o=+g,n):+o},alphaTarget:function(g){return arguments.length?(r=+g,n):r},velocityDecay:function(g){return arguments.length?(s=1-g,n):1-s},randomSource:function(g){return arguments.length?(f=g,a.forEach(T),n):f},force:function(g,d){return arguments.length>1?(d==null?a.delete(g):a.set(g,T(d)),n):a.get(g)},find:function(g,d,v){var x=0,I=e.length,b,$,V,J,R;for(v==null?v=1/0:v*=v,x=0;x<I;++x)J=e[x],b=g-J.x,$=d-J.y,V=b*b+$*$,V<v&&(R=J,v=V);return R},on:function(g,d){return arguments.length>1?(c.on(g,d),n):c.on(g)}}}function Ge(){var e,n,t,i,o=L(-30),r,s=1,a=1/0,l=.81;function c(u){var T,g=e.length,d=ue(e,pn,fn).visitAfter(h);for(i=u,T=0;T<g;++T)n=e[T],d.visit(_)}function f(){if(e){var u,T=e.length,g;for(r=new Array(T),u=0;u<T;++u)g=e[u],r[g.index]=+o(g,u,e)}}function h(u){var T=0,g,d,v=0,x,I,b;if(u.length){for(x=I=b=0;b<4;++b)(g=u[b])&&(d=Math.abs(g.value))&&(T+=g.value,v+=d,x+=d*g.x,I+=d*g.y);u.x=x/v,u.y=I/v}else{g=u,g.x=g.data.x,g.y=g.data.y;do T+=r[g.data.index];while(g=g.next)}u.value=T}function _(u,T,g,d){if(!u.value)return!0;var v=u.x-n.x,x=u.y-n.y,I=d-T,b=v*v+x*x;if(I*I/l<b)return b<a&&(v===0&&(v=ne(t),b+=v*v),x===0&&(x=ne(t),b+=x*x),b<s&&(b=Math.sqrt(s*b)),n.vx+=v*u.value*i/b,n.vy+=x*u.value*i/b),!0;if(u.length||b>=a)return;(u.data!==n||u.next)&&(v===0&&(v=ne(t),b+=v*v),x===0&&(x=ne(t),b+=x*x),b<s&&(b=Math.sqrt(s*b)));do u.data!==n&&(I=r[u.data.index]*i/b,n.vx+=v*I,n.vy+=x*I);while(u=u.next)}return c.initialize=function(u,T){e=u,t=T,f()},c.strength=function(u){return arguments.length?(o=typeof u=="function"?u:L(+u),f(),c):o},c.distanceMin=function(u){return arguments.length?(s=u*u,c):Math.sqrt(s)},c.distanceMax=function(u){return arguments.length?(a=u*u,c):Math.sqrt(a)},c.theta=function(u){return arguments.length?(l=u*u,c):Math.sqrt(l)},c}function We(e){var n=L(.1),t,i,o;typeof e!="function"&&(e=L(e==null?0:+e));function r(a){for(var l=0,c=t.length,f;l<c;++l)f=t[l],f.vx+=(o[l]-f.x)*i[l]*a}function s(){if(t){var a,l=t.length;for(i=new Array(l),o=new Array(l),a=0;a<l;++a)i[a]=isNaN(o[a]=+e(t[a],a,t))?0:+n(t[a],a,t)}}return r.initialize=function(a){t=a,s()},r.strength=function(a){return arguments.length?(n=typeof a=="function"?a:L(+a),s(),r):n},r.x=function(a){return arguments.length?(e=typeof a=="function"?a:L(+a),s(),r):e},r}function qe(e){var n=L(.1),t,i,o;typeof e!="function"&&(e=L(e==null?0:+e));function r(a){for(var l=0,c=t.length,f;l<c;++l)f=t[l],f.vy+=(o[l]-f.y)*i[l]*a}function s(){if(t){var a,l=t.length;for(i=new Array(l),o=new Array(l),a=0;a<l;++a)i[a]=isNaN(o[a]=+e(t[a],a,t))?0:+n(t[a],a,t)}}return r.initialize=function(a){t=a,s()},r.strength=function(a){return arguments.length?(n=typeof a=="function"?a:L(+a),s(),r):n},r.y=function(a){return arguments.length?(e=typeof a=="function"?a:L(+a),s(),r):e},r}function Ye(e){let n=e.normalize("NFD");return n=n.replace(new RegExp("\\p{Mn}+","gu"),""),n=n.toLowerCase(),n=n.replace(/[-_\s]+/g," "),n=n.replace(/\s+/g," "),n.trim()}function Xe(e){let n=new Map;return Fi(e,n),Ri(e,n),n}function Fi(e,n){for(let t of e){let i=mn(t);if(i===null)continue;let o=Ye(i);n.has(o)||n.set(o,t.path)}}function Ri(e,n){for(let t of e){if(mn(t)!==null)continue;let i=ji(t.path);if(i.length===0)continue;let o=Ye(i);n.has(o)||n.set(o,t.path)}}function mn(e){let n=e.frontmatter?.name;return typeof n!="string"||n.length===0?null:n}function ji(e){let n=e.split("/").filter(i=>i.length>0);if(n.length===0)return e;let t=n[n.length-1];return t==="SKILL.md"&&n.length>=2?n[n.length-2]:t.replace(/\.md$/,"")}function Qe(e,n,t){let i=e.charAt(0);if(i!=="/"&&i!=="@")return e;let o=n!==null?n.replace(/^[/@]/,"").trim():Ye(e.slice(1));return t.get(o)??e}var zi=["network-simplex","longest-path","force"];function $s(e){return e!=="force"}var Bi=["TOP_BOTTOM","BOTTOM_TOP","LEFT_RIGHT","RIGHT_LEFT"];var gn={compact:{nodeGap:40,layerGap:56},normal:{nodeGap:64,layerGap:96},spacious:{nodeGap:96,layerGap:144}},Ls="network-simplex",Fs="TOP_BOTTOM",Rs="normal";function js(e){return typeof e=="string"&&zi.includes(e)}function zs(e){return typeof e=="string"&&Bi.includes(e)}var Je=260,vn=120;function Ws(e,n){let t=n?.links??[],i=new Set(e.map(h=>h.path)),o=Xe(e),r=new Set,s=0,a=0,l=0,c=0,f=0;for(let h of t){if(!i.has(h.source)){s++;continue}let _=Qe(h.target,h.trigger?.normalizedTrigger??null,o);if(!i.has(_)){a++;continue}if(h.source===_){l++;continue}let u=hn(h.kind,h.source,_);if(r.has(u)){c++;continue}r.add(u),f++}return{raw:t.length,drawn:f,brokenSource:s,brokenTarget:a,selfLoops:l,duplicates:c}}function qs(e,n){let t=e.map(o=>o.path).sort(),i=n.map(o=>o.id).sort();return`${t.length}|${t.join(",")}|${i.length}|${i.join(",")}`}function Ys(e,n){let t=new Set(e.map(c=>c.path)),i=Xe(e),o=new Map,r=n?.links??[];for(let c of r){if(!t.has(c.source))continue;let f=Qe(c.target,c.trigger?.normalizedTrigger??null,i);if(!t.has(f)||c.source===f)continue;let h=hn(c.kind,c.source,f),_=typeof c.confidence=="number"?c.confidence:.6,u=o.get(h);u?_>u.confidence&&(u.confidence=_):o.set(h,{id:h,from:c.source,to:f,kind:c.kind,confidence:_})}let s=[...o.values()],a=new Map;for(let c of e)a.set(c.path,c);let l=new Map;for(let c of n?.nodes??[])l.set(c.path,c);return{nodesByPath:a,apiNodesByPath:l,edges:s}}async function Xs(e,n,t,i){let o={width:Je,height:vn},r=n.map(f=>({id:f.path,size:o})),s=t.map(f=>({source:f.from,target:f.to})),a=gn[i.spacing],l=await e.calculate(r,s,{algorithm:i.algorithm,direction:i.direction,nodeGap:a.nodeGap,layerGap:a.layerGap}),c=new Map;for(let{id:f,position:h}of l.nodes)c.set(f,{x:h.x,y:h.y});return c}function Qs(e,n){let t=e.map(a=>({id:a.path})),i=n.map(a=>({source:a.from,target:a.to})),o=He(t).force("link",ze(i).id(a=>a.id).distance(90).strength(1)).force("charge",Ge().strength(-200)).force("center",Fe(0,0)).force("x",We(0).strength(.06)).force("y",qe(0).strength(.06)).force("collide",je(Je/2+12)).stop(),r=400;for(let a=0;a<r;a++)o.tick();let s=new Map;for(let a of t)s.set(a.id,{x:(a.x??0)-Je/2,y:(a.y??0)-vn/2});return s}function Js(e,n,t,i=null){let o=e.edges.filter(l=>n.has(l.from)&&n.has(l.to)&&(i===null||i.has(l.kind))),r=new Map,s=new Map;for(let l of o)r.set(l.from,(r.get(l.from)??0)+1),s.set(l.to,(s.get(l.to)??0)+1);let a=[];for(let l of n){let c=e.nodesByPath.get(l);if(!c)continue;let f=e.apiNodesByPath.get(l),h=t.get(l),_=e.positions.get(l)??{x:0,y:0},u=h?{x:h.x,y:h.y}:_;a.push({id:l,path:l,view:c,kind:c.kind,position:u,stats:{linksIn:s.get(l)??0,linksOut:r.get(l)??0,bytesTotal:f?.bytes.total,tokensTotal:f?.tokens?.total,externalRefsCount:f?.externalRefsCount},summary:Ki(c)})}return{nodes:a,edges:o}}function Ki(e){let n={injectionDetected:!1,contentQuality:"clean"},t=(e.frontmatter.description??e.frontmatter.name??"").trim();return{kind:"markdown",confidence:.6,safety:n,whatItCovers:t||`${e.kind} entry`,topics:[],keyFacts:[]}}function hn(e,n,t){return`${e}:${n}::${t}`}var _n={invalidHex:e=>`deriveTints: invalid hex color "${e}" (expected #RRGGBB)`};function De(e,n,t){return[Math.round(e[0]+(n[0]-e[0])*t),Math.round(e[1]+(n[1]-e[1])*t),Math.round(e[2]+(n[2]-e[2])*t)]}function Vi(e){let n=/^#([0-9a-f]{6})$/i.exec(e);if(!n)throw new Error(_n.invalidHex(e));let t=parseInt(n[1],16);return[t>>16&255,t>>8&255,t&255]}function Oe([e,n,t]){let i=o=>Math.max(0,Math.min(255,o)).toString(16).padStart(2,"0");return`#${i(e)}${i(n)}${i(t)}`}var yn=[255,255,255],xn=[0,0,0];function Ze(e,n){let t=Vi(e);return n==="light"?{bg:Oe(De(t,yn,.85)),fg:Oe(De(t,xn,.5))}:{bg:Oe(De(t,xn,.7)),fg:Oe(De(t,yn,.6))}}var Ui=/^[a-zA-Z][a-zA-Z0-9_-]{0,63}$/,bn=/^#[0-9a-f]{6}$/i,sc=(()=>{class e{doc=W(ot);_entries=q([]);kinds=this._entries.asReadonly();index=m(()=>{let t=new Map;for(let i of this._entries())t.set(i.name,i);return t});ingest(t){if(!t)return;let i=[];for(let[r,s]of Object.entries(t)){if(!Ui.test(r))continue;let a=s.providers[s.primaryProviderId];if(!a)continue;let l={name:r,primaryProviderId:s.primaryProviderId,providers:s.providers,label:a.label,color:a.color};a.colorDark!==void 0&&(l.colorDark=a.colorDark),a.emoji!==void 0&&(l.emoji=a.emoji),a.icon!==void 0&&(l.icon=a.icon),i.push(l)}let o=this._entries();Gi(o,i)||(this._entries.set(i),this.applyCssVars())}lookup(t){return this.index().get(t)}labelOf(t){return this.lookup(t)?.label??t}colorOf(t,i="light"){let o=this.lookup(t);return o?i==="dark"?o.colorDark??o.color:o.color:"#9ca3af"}iconOf(t){return this.lookup(t)?.icon}emojiOf(t){return this.lookup(t)?.emoji}providersOf(t){return this.lookup(t)?.providers}applyCssVars(){if(!this.doc.head)return;let t=Hi(this.doc),i=[],o=[];for(let r of this._entries()){if(!bn.test(r.color))continue;let s=r.colorDark??r.color;if(bn.test(s))try{let a=Ze(r.color,"light"),l=Ze(s,"dark");i.push(`--sm-kind-${r.name}: ${r.color};`),i.push(`--sm-kind-${r.name}-bg: ${a.bg};`),i.push(`--sm-kind-${r.name}-fg: ${a.fg};`),o.push(`--sm-kind-${r.name}: ${s};`),o.push(`--sm-kind-${r.name}-bg: ${l.bg};`),o.push(`--sm-kind-${r.name}-fg: ${l.fg};`)}catch{continue}}t.textContent=`:root { ${i.join(" ")} } .app-dark { ${o.join(" ")} }`}static \u0275fac=function(i){return new(i||e)};static \u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Cn="sm-kind-vars";function Hi(e){let n=e.getElementById(Cn);return n||(n=e.createElement("style"),n.id=Cn,e.head.appendChild(n)),n}function Gi(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;t++){let i=e[t],o=n[t];if(i.name!==o.name||i.primaryProviderId!==o.primaryProviderId||JSON.stringify(i.providers)!==JSON.stringify(o.providers))return!1}return!0}export{yt as a,Yi as b,Xi as c,Qi as d,Ji as e,Zi as f,xt as g,eo as h,to as i,no as j,bt as k,so as l,Ct as m,ji as n,zi as o,$s as p,Bi as q,Ls as r,Fs as s,Rs as t,js as u,zs as v,sc as w,wt as x,Tt as y,ca as z,ha as A,Ws as B,qs as C,Ys as D,Xs as E,Qs as F,Js as G};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as l,W as d,_ as p}from"./chunk-
|
|
1
|
+
import{V as l,W as d,_ as p}from"./chunk-DOWLJNMD.js";import{K as a,P as s,ga as o,rc as r}from"./chunk-VJ57LHDR.js";import{a as c}from"./chunk-WCABR6TI.js";var S={triggerLabel:"Settings",triggerTooltip:"Settings",modalTitle:"Settings",closeLabel:"Close",sections:{plugins:"Plugins",general:"General",project:"Project",changelog:"Changelog",about:"About"},general:{heading:"General",intro:"Per-machine preferences.",loadErrorPrefix:"Could not load preferences:",saveErrorPrefix:"Could not save preferences:",toggles:{"updateCheck.enabled":{label:"Check for updates",description:"Check npm for newer @skill-map/cli releases."},telemetry:{label:"Send anonymous error & usage reports",description:"Report crashes and which features you use. No file contents or paths.",hint:"Restart sm for this to take effect."}},extraTheme:{label:"Theme",description:"Pick a specialty theme.",options:{none:{label:"None",description:"Use the topbar dark/light toggle."}}},storageHintLabel:"Settings are stored in:",storageHintPath:"~/.skill-map/settings.json"},project:{heading:"Project",introPrefix:"These settings apply only to this project and are saved in",introPath:".skill-map/settings.local.json",introSuffix:".",loadErrorPrefix:"Could not load project settings:",saveErrorPrefix:"Could not save project settings:",referencePathsLabel:"Folders for link validation",referencePathsDescription:"If your notes link to files outside this project, list those folders here. Skill-map checks them only to confirm the links work, nothing from these folders shows up in the map.",referencePathsPlaceholder:"~/Documents/research",commaForbidden:"Add one path at a time, without commas.",addPathLabel:"Add path",removePathLabel:"Remove",confirmDialogHeader:"Allow access to folders outside this project?",confirmDialogIntro:"This change lets the scan read files in:",confirmDialogAccept:"Allow access",confirmDialogReject:"Cancel",ignorePatternsLabel:"Ignored patterns",ignorePatternsDescriptionPrefix:"Patterns that exclude files and folders from the scan, stored in",ignorePatternsDescriptionFile:".skillmapignore",ignorePatternsDescriptionMiddle:"at the project root. Same syntax as",ignorePatternsDescriptionGitignore:".gitignore",ignorePatternsDescriptionSuffix:"(one pattern per line).",ignorePatternsPlaceholder:"secrets.md",ignorePatternEmpty:"Pattern cannot be empty or whitespace-only.",ignorePatternHasControlChar:"Pattern must be a single line without control characters.",ignorePatternDuplicate:"This pattern is already in the list.",addIgnorePatternLabel:"Add pattern",removeIgnorePatternLabel:"Remove",activeProviderLabel:"Active provider",activeProviderDescription:"Selects which provider sees this project. The map reflects how the chosen provider interprets your files.",activeProviderSourceAutodetect:"Auto-detected from your files (no value saved yet).",activeProviderSourceNone:"No provider detected. Install or enable a provider to start.",activeProviderDetectedPrefix:"Detected:",activeProviderEmptyOption:"(none)",activeProviderConfirmHeader:"Switch the active provider?",activeProviderConfirmIntro:"Switching will clear the persisted scan (nodes, links, issues). Jobs and history are kept. You will need to run `sm scan` after the switch.",activeProviderConfirmAccept:"Switch and clear scan",activeProviderConfirmReject:"Cancel",activeProviderSwitchedPrefix:"Lens switched. Cleared",activeProviderSwitchedSuffix:"scan table(s). Run `sm scan` to repopulate.",activeProviderSwitchedNoDb:"Lens switched. Run `sm scan` to populate the map under the new lens."},changelogHeading:"Changelog",changelogIntro:"What's new in skill-map. Each entry covers a release of @skill-map/cli (the CLI + bundled UI) and lists the user-facing changes plus the workspace(s) each one affects.",changelogEmpty:"No release notes yet. Future releases will populate this list automatically from the changesets shipped in each PR.",changelogInternalRelease:"Internal release. Focus on stability, infra, and refactors. No user-facing changes this time.",changelogAffectedPackages:"Affected packages",changelogFooterText:"Want the full changelog?",changelogFooterLinkLabel:"See it on GitHub \u2192",changelogFooterUrl:"https://github.com/crystian/skill-map/blob/main/src/CHANGELOG.md",aboutHeading:"About",aboutIntro:"Version information for the running CLI / server.",aboutCliLabel:"skill-map CLI",aboutSpecLabel:"Spec version",aboutSchemaLabel:"Schema version",aboutFolderLabel:"Project folder",aboutDbLabel:"Project DB",aboutDbValue:(e,i)=>e==="present"?i:`${e} \xB7 ${i}`,aboutLoading:"Loading\u2026",aboutUnknown:"-",aboutErrorPrefix:"Could not read health endpoint:",aboutLinksHeading:"Links",aboutWebsiteLabel:"Website",aboutGithubLabel:"GitHub",aboutWebsiteUrl:"https://skill-map.ai/",aboutGithubUrl:"https://github.com/crystian/skill-map",aboutStarHeading:"Enjoying skill-map?",aboutStarBody:"If it's useful to you, drop us a star on GitHub, it helps a lot and keeps the project alive.",aboutStarCta:"Star on GitHub",aboutStarA11y:"Open the skill-map repository on GitHub to give it a star",pluginsHeading:"Plugins",pluginsIntro:"Enable or disable installed plugins.",pluginsSearchPlaceholder:"Filter by name\u2026",pluginsSearchA11y:"Filter plugins by name",pluginsSearchEmpty:e=>`No plugins match "${e}".`,pluginsKindFilterAll:"All",pluginsKindFilterOptionA11y:(e,i)=>i?`Show only ${e} extensions`:"Show all kinds",pluginsSourceFilterOptionA11y:(e,i)=>i?`Show only ${e} plugins`:"Show all sources",pluginsFilterA11y:"Filter plugins by source and kind",pluginsFilterAllA11y:"Show every plugin (clear the source and kind filters)",pluginsProjectEmpty:"No project plugins yet. Drop one under .skill-map/plugins/ or create it with sm plugins create <id>.",unsavedChangesMessage:e=>e===1?'1 unsaved change. Click "Apply" to persist it.':`${e} unsaved changes. Click "Apply" to persist them.`,startsAsDisabledRowHint:"This plugin started disabled and is not loaded in memory. Restart `sm serve` for the change to take effect.",startsAsDisabledFooterHint:"Some plugins were disabled when the server started. Consider restarting `sm serve` so they take effect.",discardChanges:"Discard",applyAndClose:"Apply",discardA11y:"Discard pending plugin changes",applyA11y:"Apply pending plugin changes and refresh the map",confirmCloseTitle:"Apply pending changes?",confirmCloseBody:e=>e===1?"You have 1 unsaved change.":`You have ${e} unsaved changes.`,keepEditing:"Keep editing",sourceBuiltIn:"Built-in",sourceProject:"Project",enabledLabel:"Enabled",disabledLabel:"Disabled",lockedLabel:"Locked",lockedTooltip:"Locked by the host (cannot be toggled).",expandLabel:"Show extensions",collapseLabel:"Hide extensions",statusFailure:{"incompatible-spec":"Incompatible spec version","invalid-manifest":"Invalid manifest","load-error":"Failed to load","id-collision":"Plugin id collision"},loading:"Loading plugins\u2026",empty:"No plugins installed.",errorPrefix:"Could not load plugins:",toggleErrorPrefix:"Toggle failed:",a11y:{triggerLabel:"Open settings",pluginToggle:(e,i)=>i?`Enable plugin ${e}`:`Disable plugin ${e}`,extensionToggle:(e,i)=>i?`Enable ${e}`:`Disable ${e}`,pluginRow:e=>`Plugin ${e} row`,extensionRow:e=>`Extension ${e} row`}};var y="#9ca3af",k="#6b7280",A=(()=>{class e{_entries=o([]);providers=this._entries.asReadonly();index=r(()=>{let t=new Map;for(let n of this._entries())t.set(n.id,n);return t});ingest(t){if(!t)return;let n=[];for(let[b,v]of Object.entries(t))n.push(c({id:b},v));P(this._entries(),n)||this._entries.set(n)}lookup(t){return this.index().get(t)}cardChip(t){if(!t)return null;let n=this.lookup(t);return n?n.hideChip?null:u(n):g(t)}lensChip(t){if(!t)return null;let n=this.lookup(t);return n?u(n):g(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=a({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function u(e){let i={label:e.label,color:e.color};return e.colorDark!==void 0&&(i.colorDark=e.colorDark),i}function g(e){return{label:e,color:y,colorDark:k}}function P(e,i){if(e.length!==i.length)return!1;for(let t=0;t<e.length;t++)if(JSON.stringify(e[t])!==JSON.stringify(i[t]))return!1;return!0}var f={available:"Update available",copiedLabel:"Copied!",tooltip:e=>`v${e} is available. Click to copy the install command.`,copyCommand:"npm i -g @skill-map/cli@latest",copiedTooltip:"Copied! Paste it in your terminal.",npmLinkUrl:"https://www.npmjs.com/package/@skill-map/cli",npmLinkTooltip:"Open on npm",npmLinkA11y:"Open the @skill-map/cli package page on npm",a11yLabel:e=>`Update available: version ${e}, click to copy the install command`,versionLabel:e=>`v${e}`,versionTooltip:e=>`skill-map CLI v${e}`,versionA11yLabel:e=>`Running version ${e}`,fetchFailed:e=>`UpdateCheckService: fetch failed (${e})`};var R=(()=>{class e{dataSource=s(l);status=o(null);isOutdated=r(()=>this.status()?.isOutdated===!0);latest=r(()=>this.status()?.latest??null);current=r(()=>this.status()?.current??null);async load(){try{let t=await this.dataSource.getUpdateStatus();this.status.set(t)}catch(t){let n=t instanceof Error?t.message:String(t);console.warn(f.fetchFailed(n))}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=a({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var m={scanFailed:e=>`scan-trigger failed: ${e}`};var M=(()=>{class e{dataSource=s(l);loader=s(p);scanning=o(!1);scanError=o(null);async run(){if(!this.scanning()){this.scanning.set(!0),this.scanError.set(null);try{await this.dataSource.runScan(),await this.loader.load()}catch(t){let n=t instanceof d||t instanceof Error?t.message:String(t);this.scanError.set(n),console.warn(m.scanFailed(n))}finally{this.scanning.set(!1)}}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=a({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{A as a,f as b,R as c,S as d,M as e};
|